Complete Story 1-1 and fix TypeScript issues
Add TypeScript strict mode and typecheck tasks to monorepo infrastructure. Fix E2E test @payload-config alias and frontend TypeScript errors. - Add tsconfig.json to backend with strict mode and path aliases - Add typecheck task to Turborepo and all packages - Fix @payload-config alias for E2E tests and dev server - Add setToken method to AuthService for middleware use - Fix implicit any types in Footer.astro and Header.astro - Remove invalid typescript config from astro.config.mjs
This commit is contained in:
@@ -20,17 +20,20 @@
|
||||
"start": "cross-env NODE_OPTIONS=--no-deprecation next start",
|
||||
"test": "pnpm run test:int && pnpm run test:e2e",
|
||||
"test:e2e": "cross-env NODE_OPTIONS=\"--no-deprecation --no-experimental-strip-types\" pnpm exec playwright test --config=playwright.config.ts",
|
||||
"test:int": "cross-env NODE_OPTIONS=--no-deprecation vitest run --config ./vitest.config.mts"
|
||||
"test:int": "cross-env NODE_OPTIONS=--no-deprecation vitest run --config ./vitest.config.mts",
|
||||
"test:load": "k6 run tests/k6/public-browsing.js",
|
||||
"test:load:all": "k6 run tests/k6/public-browsing.js && k6 run tests/k6/api-performance.js",
|
||||
"test:load:admin": "k6 run tests/k6/admin-operations.js",
|
||||
"test:load:api": "k6 run tests/k6/api-performance.js",
|
||||
"typecheck": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@opennextjs/cloudflare": "^1.10.1",
|
||||
"@enchun/shared": "workspace:*",
|
||||
"@payloadcms/admin-bar": "3.59.1",
|
||||
"@payloadcms/db-mongodb": "3.59.1",
|
||||
"@payloadcms/email-resend": "3.59.1",
|
||||
"@payloadcms/live-preview-react": "3.59.1",
|
||||
"@payloadcms/next": "3.59.1",
|
||||
"@payloadcms/payload-cloud": "3.59.1",
|
||||
"@payloadcms/plugin-form-builder": "3.59.1",
|
||||
"@payloadcms/plugin-nested-docs": "3.59.1",
|
||||
"@payloadcms/plugin-redirects": "3.59.1",
|
||||
"@payloadcms/plugin-search": "3.59.1",
|
||||
@@ -58,8 +61,7 @@
|
||||
"react-hook-form": "7.45.4",
|
||||
"sharp": "0.34.2",
|
||||
"tailwind-merge": "^2.3.0",
|
||||
"tailwindcss-animate": "^1.0.7",
|
||||
"@enchun/shared": "workspace:*"
|
||||
"tailwindcss-animate": "^1.0.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/eslintrc": "^3.2.0",
|
||||
|
||||
Reference in New Issue
Block a user