@hileeon/mcc 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/mcc.js +1 -0
  2. package/package.json +2 -2
package/dist/mcc.js CHANGED
@@ -1,3 +1,4 @@
1
+ #!/usr/bin/env node
1
2
  "use strict";
2
3
  /**
3
4
  * MCC - My Cloud Code
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hileeon/mcc",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "My Cloud Code - Multi-provider account and model switching for Claude Code",
5
5
  "license": "MIT",
6
6
  "author": "Zhang Chicheng",
@@ -14,7 +14,7 @@
14
14
  "node": ">=18.0.0"
15
15
  },
16
16
  "scripts": {
17
- "build": "tsc",
17
+ "build": "tsc && node -e \"const fs=require('fs');const p='dist/mcc.js';const c=fs.readFileSync(p,'utf8');fs.writeFileSync(p,'#!/usr/bin/env node\\n'+c);\"",
18
18
  "build:watch": "tsc --watch",
19
19
  "typecheck": "tsc --noEmit",
20
20
  "dev": "node dist/mcc.js",