mirror of
https://github.com/cloudflare/vinext.git
synced 2026-09-14 19:04:59 +08:00
a27193fcaf
* chore: upgrade pnpm 10 to 11 and enable frozenLockfile - Bump packageManager from pnpm@10.32.1 to pnpm@11.1.1 - Migrate .npmrc settings to pnpm-workspace.yaml (pnpm 11 only reads auth/registry from .npmrc) - auto-install-peers=false -> autoInstallPeers: false - Remove playground save-exact=true (minor pnpm add preference, not needed for builds) - Convert onlyBuiltDependencies list to allowBuilds map (pnpm 11 format) - Add frozenLockfile: true and preferFrozenLockfile: true - Delete .npmrc files (contained no auth settings) * fix: handle pnpm 11 strictDepBuilds, preserve autoInstallPeers, remove minimumReleaseAgeExclude - Add unrs-resolver: false to allowBuilds (reviewed, deny build scripts) - Keep autoInstallPeers: false to match existing lockfile - Remove minimumReleaseAgeExclude entirely - Append allowBuilds to scaffolded project's pnpm-workspace.yaml after create-next-app so subsequent pnpm steps don't abort
44 lines
1.2 KiB
JSON
44 lines
1.2 KiB
JSON
{
|
|
"name": "vinext-monorepo",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "vp run vinext#build",
|
|
"check": "vp check",
|
|
"test": "vp test run",
|
|
"test:unit": "vp test run --project unit",
|
|
"test:integration": "vp test run --project integration",
|
|
"test:watch": "vp test",
|
|
"generate:google-fonts": "node scripts/generate-google-fonts.js",
|
|
"fmt": "vp fmt",
|
|
"fmt:check": "vp fmt --check",
|
|
"lint": "vp lint",
|
|
"test:e2e": "playwright test",
|
|
"knip": "knip",
|
|
"prepare": "vp config",
|
|
"postinstall": "vp run vinext#build"
|
|
},
|
|
"dependencies": {
|
|
"@mdx-js/react": "catalog:",
|
|
"@mdx-js/rollup": "catalog:"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "catalog:",
|
|
"@types/node": "catalog:",
|
|
"@types/react": "catalog:",
|
|
"@types/react-dom": "catalog:",
|
|
"@typescript/native-preview": "catalog:",
|
|
"@vitejs/plugin-rsc": "catalog:",
|
|
"@vitest/coverage-istanbul": "catalog:",
|
|
"knip": "catalog:",
|
|
"next": "catalog:",
|
|
"playwright": "catalog:",
|
|
"react": "catalog:",
|
|
"react-dom": "catalog:",
|
|
"typescript": "catalog:",
|
|
"vite": "catalog:",
|
|
"vite-plus": "catalog:",
|
|
"vitest": "catalog:"
|
|
},
|
|
"packageManager": "pnpm@11.1.1"
|
|
}
|