Make CLI available as bun open-pencil in workspace

This commit is contained in:
Danila Poyarkov 2026-03-01 01:21:29 +03:00
parent 1975fae36e
commit 33435cc1d1
3 changed files with 4 additions and 1 deletions

View file

@ -5,6 +5,7 @@
"": {
"name": "open-pencil-app",
"dependencies": {
"@open-pencil/cli": "workspace:*",
"@open-pencil/core": "workspace:*",
"@tailwindcss/vite": "^4.2.1",
"@tauri-apps/api": "^2",

View file

@ -17,7 +17,8 @@
"test:update": "playwright test --project=openpencil --update-snapshots",
"test:figma": "playwright test --project=figma",
"figma:debug": "open -a Figma --args --remote-debugging-port=9222",
"test:unit": "bun test ./tests/engine"
"test:unit": "bun test ./tests/engine",
"open-pencil": "bun packages/cli/src/index.ts"
},
"dependencies": {
"@tailwindcss/vite": "^4.2.1",
@ -25,6 +26,7 @@
"@tauri-apps/plugin-dialog": "^2.6.0",
"@tauri-apps/plugin-fs": "^2.4.5",
"@tauri-apps/plugin-opener": "^2",
"@open-pencil/cli": "workspace:*",
"@open-pencil/core": "workspace:*",
"@vueuse/core": "^14.2.1",
"canvaskit-wasm": "^0.40.0",

0
packages/cli/src/index.ts Normal file → Executable file
View file