mirror of
https://github.com/penpot/penpot.git
synced 2026-09-22 12:25:04 -04:00
Corepack is gone from Node 25+, so every `corepack enable` call fails. pnpm now ships as a system binary (devenv, CI runners and Docker images install it directly) and auto-downloads the version pinned in `packageManager` on mismatch. Scripts, workflows and Dockerfiles call `pnpm` straight away; the three deploy workflows use a single `pnpm/setup@v2` step; and the new `scripts/sync-pnpm-version` stamps all 35 `packageManager` fields from the system pnpm, replacing the `corepack use` sweep. AI-assisted-by: muse-spark-1.3-contributor
24 lines
1.1 KiB
JSON
24 lines
1.1 KiB
JSON
{
|
|
"name": "plugin-api-test-suite",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build --emptyOutDir && pnpm run build:headless && pnpm run build:tests",
|
|
"build:headless": "vite build --config vite.config.headless.ts",
|
|
"build:tests": "vite build --config vite.config.tests.ts",
|
|
"watch": "concurrently --kill-others --names app,tests \"vite build --watch --mode development\" \"vite build --watch --mode development --config vite.config.tests.ts\"",
|
|
"serve": "vite preview",
|
|
"init": "concurrently --kill-others --names build,serve \"pnpm run watch\" \"pnpm run serve\"",
|
|
"lint": "eslint .",
|
|
"gen:api": "tsx tools/gen-api-surface.ts",
|
|
"test:ci": "pnpm run build:headless && tsx ci/run-ci.ts",
|
|
"test:ci:mocked": "pnpm run build:headless && MOCK_BACKEND=1 tsx ci/run-ci.ts"
|
|
},
|
|
"devDependencies": {
|
|
"playwright": "^1.62.1"
|
|
},
|
|
"packageManager": "pnpm@12.5.0+sha512.9cdbaa34ffacae1768635ac0d23e94db6201c7d59bf3da236b23d67c8f6b794d1dab323bcd5bcc51b55c8cafbf6f19a24e4aa61d6ab7772aa3b5cc85e325dc4d"
|
|
}
|