This PR bumps the repo to pnpm v11 (from v9). I kept running into weird Windows specific issues for the integration tests due to some shims but they all pass right now. Bumping to pnpm v11 also meant that everything is driven by a `pnpm-workspace.yaml` file, and changes applied via the `pnpm` field in the `package.json` don't work anymore. This also moved the `node-linker` setup that was defined in the `.npmrc` file for the wasm oxide build into the `pnpm-workspace.yaml` file. Ideally this is scoped to just this package, but I couldn't get that to work, so it's applied to all packages right now. [ci-all]
64 lines
1.7 KiB
JSON
64 lines
1.7 KiB
JSON
{
|
|
"name": "@tailwindcss/root",
|
|
"private": true,
|
|
"version": "1.0.0",
|
|
"prettier": {
|
|
"semi": false,
|
|
"singleQuote": true,
|
|
"printWidth": 100,
|
|
"plugins": [
|
|
"prettier-plugin-organize-imports"
|
|
],
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"tsconfig.json"
|
|
],
|
|
"options": {
|
|
"parser": "jsonc"
|
|
}
|
|
},
|
|
{
|
|
"files": [
|
|
"integrations/**/*.ts"
|
|
],
|
|
"options": {
|
|
"plugins": [
|
|
"prettier-plugin-embed",
|
|
"prettier-plugin-organize-imports"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"format": "prettier --write .",
|
|
"lint": "prettier --check . && turbo lint",
|
|
"build": "turbo build --filter=!./playgrounds/*",
|
|
"postbuild": "node ./scripts/pack-packages.mjs",
|
|
"dev": "turbo dev --filter=!./playgrounds/*",
|
|
"test": "cargo test && vitest run --hideSkippedTests",
|
|
"test:integrations": "vitest --root=./integrations",
|
|
"test:ui": "pnpm run --filter=tailwindcss test:ui && pnpm run --filter=@tailwindcss/browser test:ui",
|
|
"tdd": "vitest --hideSkippedTests",
|
|
"bench": "vitest bench",
|
|
"version-packages": "node ./scripts/version-packages.mjs",
|
|
"vite": "pnpm run --filter=vite-playground dev",
|
|
"nextjs": "pnpm run --filter=nextjs-playground dev"
|
|
},
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.60.0",
|
|
"@types/node": "catalog:",
|
|
"postcss": "catalog:",
|
|
"postcss-import": "^16.1.1",
|
|
"prettier": "catalog:",
|
|
"prettier-plugin-embed": "^0.5.1",
|
|
"prettier-plugin-organize-imports": "^4.3.0",
|
|
"tsup": "^8.5.1",
|
|
"turbo": "^2.9.18",
|
|
"typescript": "^5.9.3",
|
|
"vitest": "^4.1.7"
|
|
},
|
|
"packageManager": "pnpm@11.9.0"
|
|
}
|