This PR introduces a few changes to improve turbopack compatibility and ensure e2e tests pass with turbopack enabled ## Changes to improve turbopack compatibility - Use correct sideEffects configuration to fix scss issues - Import scss directly instead of duplicating our scss rules - Fix some scss rules that are not supported by turbopack - Bump Next.js and all other dependencies used to build payload ## Changes to get tests to pass For an unknown reason, flaky tests flake a lot more often in turbopack. This PR does the following to get them to pass: - add more `wait`s - fix actual flakes by ensuring previous operations are properly awaited ## Blocking turbopack bugs - [X] https://github.com/vercel/next.js/issues/76464 - Fix PR: https://github.com/vercel/next.js/pull/76545 - Once fixed: change `"sideEffectsDisabled":` back to `"sideEffects":` ## Non-blocking turbopack bugs - [ ] https://github.com/vercel/next.js/issues/76956 ## Related PRs https://github.com/payloadcms/payload/pull/12653 https://github.com/payloadcms/payload/pull/12652
55 lines
1.4 KiB
JSON
55 lines
1.4 KiB
JSON
{
|
|
"name": "@tools/releaser",
|
|
"version": "0.0.1",
|
|
"description": "Release scripts for Payload",
|
|
"keywords": [],
|
|
"license": "MIT",
|
|
"author": "Payload <dev@payloadcms.com> (https://payloadcms.com)",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"import": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"default": "./src/index.ts"
|
|
},
|
|
"./lib": {
|
|
"import": "./src/lib/*.ts",
|
|
"types": "./src/lib/*.ts",
|
|
"default": "./src/lib/*.ts"
|
|
},
|
|
"./utils": {
|
|
"import": "./src/utils/*.ts",
|
|
"types": "./src/utils/*.ts",
|
|
"default": "./src/utils/*.ts"
|
|
}
|
|
},
|
|
"main": "src/index.ts",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix",
|
|
"list-published": "tsx src/lib/getPackageRegistryVersions.ts",
|
|
"publish-prerelease": "tsx src/publish-prerelease.ts",
|
|
"release": "tsx src/release.ts",
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"dependencies": {
|
|
"@swc-node/register": "1.10.10",
|
|
"@tools/constants": "workspace:*",
|
|
"chalk": "^4.1.2",
|
|
"changelogen": "^0.5.5",
|
|
"execa": "5.1.1",
|
|
"minimist": "1.2.8",
|
|
"open": "^10.1.0",
|
|
"p-limit": "^5.0.0",
|
|
"prompts": "2.4.2",
|
|
"semver": "^7.5.4",
|
|
"tsx": "^4.19.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/minimist": "1.2.5",
|
|
"@types/prompts": "^2.4.5",
|
|
"@types/semver": "^7.5.3"
|
|
}
|
|
}
|