@hasna/cloud 0.1.32 → 0.1.33

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/mcp/bin.js +2 -0
  2. package/package.json +3 -3
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env bun
2
+ import "./index.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hasna/cloud",
3
- "version": "0.1.32",
3
+ "version": "0.1.33",
4
4
  "description": "Shared cloud infrastructure — database adapter (SQLite + PostgreSQL), sync engine, feedback system, unified dotfile config",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -8,7 +8,7 @@
8
8
  "types": "dist/index.d.ts",
9
9
  "bin": {
10
10
  "cloud": "dist/cli/index.js",
11
- "cloud-mcp": "dist/mcp/index.js"
11
+ "cloud-mcp": "dist/mcp/bin.js"
12
12
  },
13
13
  "exports": {
14
14
  ".": {
@@ -21,7 +21,7 @@
21
21
  "LICENSE"
22
22
  ],
23
23
  "scripts": {
24
- "build": "bun build src/index.ts --outdir dist --target node && bun build src/cli/index.ts --outdir dist/cli --target node && bun build src/mcp/index.ts --outdir dist/mcp --target node && bun build src/scheduled-sync.ts --outdir dist --target node && bun run build:types",
24
+ "build": "bun build src/index.ts --outdir dist --target node && bun build src/cli/index.ts --outdir dist/cli --target node && bun build src/mcp/index.ts --outdir dist/mcp --target node && printf '#!/usr/bin/env bun\\nimport \"./index.js\";\\n' > dist/mcp/bin.js && chmod +x dist/mcp/bin.js && bun build src/scheduled-sync.ts --outdir dist --target node && bun run build:types",
25
25
  "build:types": "tsc --emitDeclarationOnly --declaration --outDir dist",
26
26
  "test": "bun test",
27
27
  "prepublishOnly": "bun run build",