- Upgrades eslint from v8 to v9 - Upgrades all other eslint packages. We will have to do a new full-project lint, as new rules have been added - Upgrades husky from v8 to v9 - Upgrades lint-staged from v14 to v15 - Moves the old .eslintrc.cjs file format to the new eslint.config.js flat file format. Previously, we were very specific regarding which rules are applied to which files. Now that `extends` is no longer a thing, I have to use deepMerge & imports instead. This is rather uncommon and is not a documented pattern - e.g. typescript-eslint docs want us to add the default typescript-eslint rules to the top-level & then disable it in files using the disable-typechecked config. However, I hate this opt-out approach. The way I did it here adds a lot of clarity as to which rules are applied to which files, and is pretty easy to read. Much less black magic ## .eslintignore These files are no longer supported (see https://eslint.org/docs/latest/use/configure/migration-guide#ignoring-files). I moved the entries to the ignores property in the eslint config. => one less file in each package folder!
73 lines
2.7 KiB
JSON
73 lines
2.7 KiB
JSON
{
|
|
"name": "payload-test-suite",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"description": "Payload test suite",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "cross-env NODE_OPTIONS=--no-deprecation node ./dev.js",
|
|
"test": "pnpm -C \"../\" run test",
|
|
"test:e2e": "pnpm -C \"../\" run test:e2e",
|
|
"test:int": "pnpm -C \"../\" run test:int",
|
|
"typecheck": "pnpm turbo build --filter test && tsc --project tsconfig.typecheck.json"
|
|
},
|
|
"devDependencies": {
|
|
"@aws-sdk/client-s3": "^3.525.0",
|
|
"@lexical/headless": "0.16.1",
|
|
"@lexical/markdown": "0.16.1",
|
|
"@payloadcms/db-mongodb": "workspace:*",
|
|
"@payloadcms/db-postgres": "workspace:*",
|
|
"@payloadcms/email-nodemailer": "workspace:*",
|
|
"@payloadcms/email-resend": "workspace:*",
|
|
"@payloadcms/eslint-config": "workspace:*",
|
|
"@payloadcms/eslint-plugin": "workspace:*",
|
|
"@payloadcms/graphql": "workspace:*",
|
|
"@payloadcms/live-preview": "workspace:*",
|
|
"@payloadcms/live-preview-react": "workspace:*",
|
|
"@payloadcms/next": "workspace:*",
|
|
"@payloadcms/plugin-cloud": "workspace:*",
|
|
"@payloadcms/plugin-cloud-storage": "workspace:*",
|
|
"@payloadcms/plugin-form-builder": "workspace:*",
|
|
"@payloadcms/plugin-nested-docs": "workspace:*",
|
|
"@payloadcms/plugin-redirects": "workspace:*",
|
|
"@payloadcms/plugin-relationship-object-ids": "workspace:*",
|
|
"@payloadcms/plugin-search": "workspace:*",
|
|
"@payloadcms/plugin-sentry": "workspace:*",
|
|
"@payloadcms/plugin-seo": "workspace:*",
|
|
"@payloadcms/plugin-stripe": "workspace:*",
|
|
"@payloadcms/richtext-lexical": "workspace:*",
|
|
"@payloadcms/richtext-slate": "workspace:*",
|
|
"@payloadcms/storage-azure": "workspace:*",
|
|
"@payloadcms/storage-gcs": "workspace:*",
|
|
"@payloadcms/storage-s3": "workspace:*",
|
|
"@payloadcms/storage-uploadthing": "workspace:*",
|
|
"@payloadcms/storage-vercel-blob": "workspace:*",
|
|
"@payloadcms/translations": "workspace:*",
|
|
"@payloadcms/ui": "workspace:*",
|
|
"@sentry/react": "^7.77.0",
|
|
"@types/react": "npm:types-react@19.0.0-beta.2",
|
|
"@types/react-dom": "npm:types-react-dom@19.0.0-beta.2",
|
|
"babel-plugin-react-compiler": "0.0.0-experimental-592953e-20240517",
|
|
"comment-json": "^4.2.3",
|
|
"create-payload-app": "workspace:*",
|
|
"dotenv": "16.4.5",
|
|
"eslint-plugin-playwright": "1.6.2",
|
|
"execa": "5.1.1",
|
|
"http-status": "1.6.2",
|
|
"jwt-decode": "4.0.0",
|
|
"lexical": "0.15.0",
|
|
"payload": "workspace:*",
|
|
"qs": "6.12.1",
|
|
"server-only": "^0.0.1",
|
|
"slate": "0.91.4",
|
|
"tempy": "^1.0.1",
|
|
"ts-essentials": "7.0.3",
|
|
"typescript": "5.5.3",
|
|
"uploadthing": "^6.10.1"
|
|
},
|
|
"overrides": {
|
|
"@types/react": "npm:types-react@19.0.0-beta.2",
|
|
"@types/react-dom": "npm:types-react-dom@19.0.0-beta.2"
|
|
}
|
|
}
|