* 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
60 lines
1.3 KiB
JSON
60 lines
1.3 KiB
JSON
{
|
|
"name": "@open-pencil/vue",
|
|
"version": "0.14.0",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js",
|
|
"default": "./dist/index.js"
|
|
}
|
|
},
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"sideEffects": false,
|
|
"files": [
|
|
"dist",
|
|
"README.md"
|
|
],
|
|
"scripts": {
|
|
"build": "bunx tsdown --config tsdown.config.ts",
|
|
"prepack": "bun run build"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/open-pencil/open-pencil.git",
|
|
"directory": "packages/vue"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"provenance": true
|
|
},
|
|
"peerDependencies": {
|
|
"@open-pencil/core": "workspace:*",
|
|
"canvaskit-wasm": ">=0.41.1",
|
|
"vue": "^3.5.41"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"canvaskit-wasm": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@atlaskit/pragmatic-drag-and-drop": "^1.8.1",
|
|
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.2.0",
|
|
"@nanostores/i18n": "^1.3.3",
|
|
"@nanostores/vue": "^1.1.0",
|
|
"@open-pencil/scene-graph": "workspace:*",
|
|
"@tanstack/vue-table": "^8.21.3",
|
|
"@vueuse/core": "^14.4.0",
|
|
"nanostores": "^1.5.0",
|
|
"reka-ui": "^2.10.3"
|
|
},
|
|
"devDependencies": {
|
|
"tsdown": "^0.22.14",
|
|
"unplugin-raw": "^0.7.0",
|
|
"unplugin-vue": "^7.2.0"
|
|
}
|
|
}
|