diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a716b1f..37bb559 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -27,6 +27,9 @@ jobs: - name: 'lint:editorconfig' run: 'npm run lint:editorconfig' + - name: 'lint:typescript' + run: 'npm run lint:typescript' + - name: 'lint:markdown' run: 'npm run lint:markdown' diff --git a/next.config.js b/next.config.js index da9e976..d7ca205 100644 --- a/next.config.js +++ b/next.config.js @@ -2,6 +2,12 @@ const nextConfig = { reactStrictMode: true, output: 'standalone', + typescript: { + ignoreBuildErrors: true + }, + eslint: { + ignoreDuringBuilds: true + }, experimental: { serverActions: true } diff --git a/package-lock.json b/package-lock.json index 509ef3e..f8820d9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -46,6 +46,7 @@ "@semantic-release/git": "10.0.1", "@tailwindcss/typography": "0.5.9", "@tsconfig/strictest": "2.0.1", + "@types/date-and-time": "0.13.0", "@types/negotiator": "0.6.1", "@types/node": "20.5.4", "@types/react": "18.2.21", @@ -2413,6 +2414,12 @@ "resolved": "https://registry.npmjs.org/@types/cookie/-/cookie-0.5.1.tgz", "integrity": "sha512-COUnqfB2+ckwXXSFInsFdOAWQzCCx+a5hq2ruyj+Vjund94RJQd4LG2u9hnvJrTgunKAaax7ancBYlDrNYxA0g==" }, + "node_modules/@types/date-and-time": { + "version": "0.13.0", + "resolved": "https://registry.npmjs.org/@types/date-and-time/-/date-and-time-0.13.0.tgz", + "integrity": "sha512-kHEncapIgrqaY8r2tyb19EvdKyhNjwheLl5cYTorsWJtURoI+oGm5ehW8CLAaq4dvu8x9z56FcXqAT4Mm5Nvzw==", + "dev": true + }, "node_modules/@types/debug": { "version": "4.1.8", "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.8.tgz", diff --git a/package.json b/package.json index 62e4f71..e413543 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "build": "npm run curriculum-vitae:build && next build", "lint:commit": "commitlint", "lint:editorconfig": "editorconfig-checker", + "lint:typescript": "tsc", "lint:markdown": "markdownlint-cli2", "lint:eslint": "eslint . --max-warnings 0 --report-unused-disable-directives --ignore-path .gitignore", "lint:prettier": "prettier . --check", @@ -66,6 +67,7 @@ "@semantic-release/git": "10.0.1", "@tailwindcss/typography": "0.5.9", "@tsconfig/strictest": "2.0.1", + "@types/date-and-time": "0.13.0", "@types/negotiator": "0.6.1", "@types/node": "20.5.4", "@types/react": "18.2.21", diff --git a/tsconfig.json b/tsconfig.json index cbf7dc3..9674464 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -11,7 +11,7 @@ }, "types": ["cypress"], "noEmit": true, - "moduleResolution": "node", + "moduleResolution": "Bundler", "resolveJsonModule": true, "jsx": "preserve", "incremental": true,