Skip to content

Commit cad64c3

Browse files
committed
chore: prepare package.json for npm publish
1 parent 4e535d2 commit cad64c3

2 files changed

Lines changed: 17 additions & 5 deletions

File tree

package.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,20 @@
4444
],
4545
"author": "Herodotus Dev Ltd",
4646
"license": "MIT",
47+
"repository": {
48+
"type": "git",
49+
"url": "git+https://github.com/HerodotusDev/hcloud-sdk.git"
50+
},
51+
"homepage": "https://github.com/HerodotusDev/hcloud-sdk#readme",
52+
"bugs": {
53+
"url": "https://github.com/HerodotusDev/hcloud-sdk/issues"
54+
},
55+
"engines": {
56+
"node": ">=20"
57+
},
58+
"publishConfig": {
59+
"access": "public"
60+
},
4761
"dependencies": {
4862
"viem": "^2.33.3"
4963
},

src/cli/index.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
#!/usr/bin/env bun
1+
#!/usr/bin/env node
22

33
import { runCli } from './dispatcher';
44

5-
if (import.meta.main) {
6-
const exitCode = await runCli(process.argv.slice(2));
7-
process.exit(exitCode);
8-
}
5+
const exitCode = await runCli(process.argv.slice(2));
6+
process.exit(exitCode);
97

108
export { runCli };

0 commit comments

Comments
 (0)