mirror of
https://github.com/penpot/penpot.git
synced 2026-09-13 14:19:23 -04:00
Run `corepack use pnpm@next-12` (resolved to 12.3.4) on every directory with a package.json: the repo root, the 11 module workspaces, and all submodules. Every packageManager field now carries the same pinned version and hash; the root and backend move off 11.20.0. Fix the composable-test-suite workspace config (esbuild allowBuilds placeholder left by pnpm 12) so its install passes, and add the missing packageManager fields to frontend/packages/ui and mcp/packages/plugin, since corepack only updates existing fields. Document the canonical update procedure in .serena/memories/workflow/updating-pnpm.md. AI-assisted-by: omen-alpha
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.3.4+sha512.961aa41fb077da3a04a441d9f8e15ebc0c96da8ef710b2eb67bf9ee7cb0610eabd48f1fd85f51cffe73846785fa0f87c56a3a872a1d893f8446741b5cce45457"
|
|
}
|