mirror of
https://github.com/penpot/penpot.git
synced 2026-09-11 14:39:35 +00: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
33 lines
1.1 KiB
JSON
33 lines
1.1 KiB
JSON
{
|
|
"name": "@penpot/text-editor",
|
|
"private": true,
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"main": "src/editor/TextEditor.js",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"coverage": "vitest run --coverage",
|
|
"wasm:update": "mkdir -p src/wasm && cp ../resources/public/js/render-wasm.wasm ./src/wasm/render-wasm.wasm && cp ../resources/public/js/render-wasm.js ./src/wasm/render-wasm.js",
|
|
"test": "vitest --run",
|
|
"fmt:js": "pnpx prettier -c src/**/*.js",
|
|
"test:watch": "vitest",
|
|
"test:watch:ui": "vitest --ui",
|
|
"test:watch:e2e": "vitest --browser"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "1.62.1",
|
|
"@types/node": "^26.1.2",
|
|
"@vitest/browser": "^4.1.10",
|
|
"@vitest/coverage-v8": "^4.1.10",
|
|
"@vitest/ui": "^4.1.11",
|
|
"canvas": "^3.2.3",
|
|
"esbuild": "^0.28.0",
|
|
"jsdom": "^30.0.1",
|
|
"playwright": "1.62.1",
|
|
"prettier": "^3.9.6",
|
|
"vite": "^8.2.0",
|
|
"vitest": "^4.1.10"
|
|
},
|
|
"packageManager": "pnpm@12.3.4+sha512.961aa41fb077da3a04a441d9f8e15ebc0c96da8ef710b2eb67bf9ee7cb0610eabd48f1fd85f51cffe73846785fa0f87c56a3a872a1d893f8446741b5cce45457"
|
|
}
|