Fixes https://github.com/payloadcms/payload/issues/8111 and https://github.com/payloadcms/payload/issues/8113 Before: 132 dependencies After: 123 dependencies This PR also contains a small performance optimization during telemetry startup: By using the async `fs.promises.readFile` instead of `readFileSync` we're not blocking the entire thread anymore and are allowing other stuff to happen while the file is being read. Also, in our dependency checker, this moves some variables out of loops, to the module scope, as they only need to be calculated once. We have to pin file-type to 19.3.0 and cannot upgrade it further (latest is 19.5.0). See reasoning in https://github.com/payloadcms/payload/issues/8111#issuecomment-2348119533
92 lines
3.5 KiB
JSON
92 lines
3.5 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"
|
|
},
|
|
"lint-staged": {
|
|
"**/package.json": "sort-package-json",
|
|
"*.{md,mdx,yml,json}": "prettier --write",
|
|
"*.{js,jsx,ts,tsx}": [
|
|
"prettier --write",
|
|
"eslint --cache --fix"
|
|
],
|
|
"templates/website/**/*": "sh -c \"cd templates/website; pnpm install --ignore-workspace --frozen-lockfile; pnpm run lint --fix\"",
|
|
"tsconfig.json": "node scripts/reset-tsconfig.js"
|
|
},
|
|
"devDependencies": {
|
|
"@aws-sdk/client-s3": "^3.614.0",
|
|
"@lexical/headless": "0.17.0",
|
|
"@lexical/markdown": "0.17.0",
|
|
"@payloadcms/db-mongodb": "workspace:*",
|
|
"@payloadcms/db-postgres": "workspace:*",
|
|
"@payloadcms/db-sqlite": "workspace:*",
|
|
"@payloadcms/db-vercel-postgres": "workspace:*",
|
|
"@payloadcms/drizzle": "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-rc.0",
|
|
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.0",
|
|
"babel-plugin-react-compiler": "0.0.0-experimental-48eb8f4-20240822",
|
|
"comment-json": "^4.2.3",
|
|
"create-payload-app": "workspace:*",
|
|
"dotenv": "16.4.5",
|
|
"drizzle-kit": "0.23.2-df9e596",
|
|
"eslint-plugin-playwright": "1.6.2",
|
|
"execa": "5.1.1",
|
|
"file-type": "19.3.0",
|
|
"http-status": "1.6.2",
|
|
"jwt-decode": "4.0.0",
|
|
"lexical": "0.17.0",
|
|
"next": "15.0.0-canary.104",
|
|
"payload": "workspace:*",
|
|
"qs-esm": "7.0.2",
|
|
"react": "19.0.0-rc-06d0b89e-20240801",
|
|
"react-dom": "19.0.0-rc-06d0b89e-20240801",
|
|
"server-only": "^0.0.1",
|
|
"slate": "0.91.4",
|
|
"tempy": "^1.0.1",
|
|
"ts-essentials": "10.0.2",
|
|
"typescript": "5.6.2",
|
|
"uploadthing": "^6.10.1",
|
|
"uuid": "10.0.0"
|
|
},
|
|
"overrides": {
|
|
"@types/react": "npm:types-react@19.0.0-rc.0",
|
|
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.0"
|
|
}
|
|
}
|