diff --git a/next-env.d.ts b/next-env.d.ts
index 830fb59..9edff1c 100644
--- a/next-env.d.ts
+++ b/next-env.d.ts
@@ -1,6 +1,6 @@
///
///
-///
+import "./.next/types/routes.d.ts";
// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
diff --git a/next.config.js b/next.config.js
index 595f9c4..f55f61b 100644
--- a/next.config.js
+++ b/next.config.js
@@ -12,6 +12,7 @@ const nextConfig = {
bodySizeLimit: "2mb",
},
},
+ turbopack: {},
webpack: (config) => {
config.resolve.alias.canvas = false;
config.resolve.alias.encoding = false;
@@ -20,6 +21,14 @@ const nextConfig = {
// Add this section
async rewrites() {
return [
+ {
+ source: "/publications/cv.pdf",
+ destination: "https://git.soconnor.dev/soconnor/resume-cv/releases/download/latest/cv.pdf",
+ },
+ {
+ source: "/publications/resume.pdf",
+ destination: "https://git.soconnor.dev/soconnor/resume-cv/releases/download/latest/resume.pdf",
+ },
{
source: "/content/:path*",
destination: "/api/content/:path*",
diff --git a/package.json b/package.json
index 2ca43ad..e21a1b0 100644
--- a/package.json
+++ b/package.json
@@ -4,7 +4,7 @@
"private": true,
"type": "module",
"scripts": {
- "build": "bun run update-pdfs && next build",
+ "build": "next build",
"dev": "next dev",
"lint": "next lint",
"lint:fix": "next lint --fix",
@@ -72,4 +72,4 @@
"@types/react": "19.2.7",
"@types/react-dom": "19.2.3"
}
-}
+}
\ No newline at end of file
diff --git a/public/publications/cv.pdf b/public/publications/cv.pdf
deleted file mode 100644
index 5d0146c..0000000
Binary files a/public/publications/cv.pdf and /dev/null differ
diff --git a/public/publications/resume.pdf b/public/publications/resume.pdf
deleted file mode 100644
index 127153e..0000000
Binary files a/public/publications/resume.pdf and /dev/null differ
diff --git a/src/app/cv/page.tsx b/src/app/cv/page.tsx
index 19e2073..93c65da 100644
--- a/src/app/cv/page.tsx
+++ b/src/app/cv/page.tsx
@@ -521,10 +521,7 @@ export default function CVPage() {
- {/* Last Updated */}
-
- Last updated: {new Date().toLocaleDateString()}
-
+
);
}
diff --git a/tsconfig.json b/tsconfig.json
index e450ba3..c006e4b 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -13,11 +13,15 @@
"noUncheckedIndexedAccess": true,
"checkJs": true,
/* Bundled projects */
- "lib": ["dom", "dom.iterable", "ES2022"],
+ "lib": [
+ "dom",
+ "dom.iterable",
+ "ES2022"
+ ],
"noEmit": true,
"module": "ESNext",
"moduleResolution": "Bundler",
- "jsx": "preserve", // or "react" for older versions
+ "jsx": "react-jsx", // or "react" for older versions
"plugins": [
{
"name": "next"
@@ -27,7 +31,9 @@
/* Path Aliases */
"baseUrl": ".",
"paths": {
- "~/*": ["./src/*"]
+ "~/*": [
+ "./src/*"
+ ]
}
},
"include": [
@@ -37,7 +43,12 @@
"**/*.tsx",
"**/*.cjs",
"**/*.js",
- ".next/types/**/*.ts"
+ ".next/types/**/*.ts",
+ ".next/dev/types/**/*.ts"
],
- "exclude": ["node_modules", "drizzle.config.ts", "scripts/**/*"]
+ "exclude": [
+ "node_modules",
+ "drizzle.config.ts",
+ "scripts/**/*"
+ ]
}