* refactor(canvas): adopt immutable CanvasKit paths - Upgrade CanvasKit to 0.41.1 across app, Core, CLI, and Vue peers - Build mutable geometry with PathBuilder and detach immutable paths for drawing - Replace in-place strokes, transforms, and boolean operations with immutable results - Update renderer mocks and path construction tests for the new API * test(canvas): model immutable path ownership - Return detached path instances from CanvasKit builder mocks - Assert shadow ring and combined path disposal - Preserve recorded vector operations across ownership transfer * fix(build): align CanvasKit workspace versions
50 lines
1.1 KiB
JSON
50 lines
1.1 KiB
JSON
{
|
|
"name": "@open-pencil/cli",
|
|
"version": "0.14.0",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"imports": {
|
|
"#cli/*": "./src/*"
|
|
},
|
|
"bin": {
|
|
"openpencil": "./bin/openpencil.js"
|
|
},
|
|
"exports": {
|
|
"./library": {
|
|
"types": "./dist/library/index.d.mts",
|
|
"bun": "./src/library/index.ts",
|
|
"import": "./dist/library/index.mjs",
|
|
"default": "./dist/library/index.mjs"
|
|
}
|
|
},
|
|
"files": [
|
|
"bin",
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "bunx tsdown --config tsdown.config.ts",
|
|
"prepublishOnly": "bun run build"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/open-pencil/open-pencil.git",
|
|
"directory": "packages/cli"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"provenance": true
|
|
},
|
|
"dependencies": {
|
|
"@open-pencil/core": "workspace:*",
|
|
"@open-pencil/dom-css": "workspace:*",
|
|
"@open-pencil/mcp": "workspace:*",
|
|
"@open-pencil/scene-graph": "workspace:*",
|
|
"agentfmt": "^0.1.3",
|
|
"canvaskit-wasm": "^0.41.1",
|
|
"citty": "^0.1.6"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bun": "^1.3.14"
|
|
}
|
|
}
|