chore(cli): fix bin path, add files field, bump to v1.0.1

- npm pkg fix: bin path "dist/index.js" (no leading ./)
- files: ["dist/"] to only publish compiled output
- prepublishOnly: chmod +x dist/index.js to preserve executable bit
- version: 1.0.0 → 1.0.1

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-16 14:17:37 +08:00
parent c4351e4b7f
commit 67e1e03d0b
+15 -5
View File
@@ -1,16 +1,16 @@
{
"name": "arcrun",
"version": "1.0.0",
"version": "1.0.1",
"description": "AI Workflow CLI for arcrun — deploy and run WASM-based AI workflows on Cloudflare",
"bin": {
"acr": "./dist/index.js"
"acr": "dist/index.js"
},
"main": "./dist/index.js",
"type": "module",
"scripts": {
"build": "tsc",
"dev": "tsc --watch",
"prepublishOnly": "npm run build"
"prepublishOnly": "npm run build && chmod +x dist/index.js"
},
"dependencies": {
"chalk": "^5.3.0",
@@ -26,10 +26,20 @@
"engines": {
"node": ">=18.0.0"
},
"keywords": ["cloudflare", "workers", "wasm", "workflow", "ai", "arcrun"],
"files": [
"dist/"
],
"keywords": [
"cloudflare",
"workers",
"wasm",
"workflow",
"ai",
"arcrun"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/arcrun/arcrun.git"
"url": "git+https://github.com/richblack/arcrun.git"
}
}