@temps-sdk/cli 0.1.0 → 0.1.2

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.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env bun
1
+ #!/usr/bin/env node
2
2
  // @bun
3
3
  import { createRequire } from "node:module";
4
4
  var __create = Object.create;
package/package.json CHANGED
@@ -1,11 +1,10 @@
1
1
  {
2
2
  "name": "@temps-sdk/cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "CLI for Temps deployment platform",
5
- "module": "src/index.ts",
6
5
  "type": "module",
7
6
  "bin": {
8
- "temps": "./bin/temps"
7
+ "temps": "./dist/index.js"
9
8
  },
10
9
  "files": [
11
10
  "dist"
@@ -14,7 +13,7 @@
14
13
  "dev": "bun run src/index.ts",
15
14
  "clean": "rm -rf dist",
16
15
  "prepublishOnly": "bun run clean && bun run build",
17
- "build": "bun build src/index.ts --outdir dist --target node",
16
+ "build": "bun build src/index.ts --outdir dist --target node && sed -i '' '1s|#!/usr/bin/env bun|#!/usr/bin/env node|' dist/index.js && chmod +x dist/index.js",
18
17
  "build:bin": "bun build src/index.ts --compile --outfile bin/temps",
19
18
  "generate:api": "bun openapi-ts",
20
19
  "typecheck": "tsc --noEmit",
package/bin/temps DELETED
Binary file