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", "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", "description": "AI Workflow CLI for arcrun — deploy and run WASM-based AI workflows on Cloudflare",
"bin": { "bin": {
"acr": "./dist/index.js" "acr": "dist/index.js"
}, },
"main": "./dist/index.js", "main": "./dist/index.js",
"type": "module", "type": "module",
"scripts": { "scripts": {
"build": "tsc", "build": "tsc",
"dev": "tsc --watch", "dev": "tsc --watch",
"prepublishOnly": "npm run build" "prepublishOnly": "npm run build && chmod +x dist/index.js"
}, },
"dependencies": { "dependencies": {
"chalk": "^5.3.0", "chalk": "^5.3.0",
@@ -26,10 +26,20 @@
"engines": { "engines": {
"node": ">=18.0.0" "node": ">=18.0.0"
}, },
"keywords": ["cloudflare", "workers", "wasm", "workflow", "ai", "arcrun"], "files": [
"dist/"
],
"keywords": [
"cloudflare",
"workers",
"wasm",
"workflow",
"ai",
"arcrun"
],
"license": "MIT", "license": "MIT",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/arcrun/arcrun.git" "url": "git+https://github.com/richblack/arcrun.git"
} }
} }