@tplog/zendcli 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 (3) hide show
  1. package/dist/cli.js +3290 -1958
  2. package/package.json +7 -9
  3. package/README.md +0 -15
package/package.json CHANGED
@@ -1,8 +1,7 @@
1
1
  {
2
2
  "name": "@tplog/zendcli",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Minimal Zendesk CLI for tickets and comments",
5
- "type": "module",
6
5
  "bin": {
7
6
  "zend": "dist/cli.js"
8
7
  },
@@ -10,15 +9,14 @@
10
9
  "dist/"
11
10
  ],
12
11
  "scripts": {
13
- "build": "bun build src/cli.ts --outdir dist --target bun",
14
- "prepublishOnly": "bun run build",
15
- "start": "bun src/cli.ts"
12
+ "build": "rm -rf dist && npx esbuild src/cli.ts --bundle --platform=node --format=cjs --outfile=dist/cli.js && node -e \"const f='dist/cli.js';const fs=require('fs');fs.writeFileSync(f,'#!/usr/bin/env node\\n'+fs.readFileSync(f,'utf8'))\"",
13
+ "prepublishOnly": "npm run build",
14
+ "start": "node dist/cli.js"
16
15
  },
17
16
  "devDependencies": {
18
- "@types/bun": "latest"
19
- },
20
- "peerDependencies": {
21
- "typescript": "^5"
17
+ "esbuild": "^0.25.0",
18
+ "typescript": "^5.7.0",
19
+ "@types/node": "^22.0.0"
22
20
  },
23
21
  "dependencies": {
24
22
  "commander": "^14.0.3"
package/README.md DELETED
@@ -1,15 +0,0 @@
1
- # zendcli
2
-
3
- To install dependencies:
4
-
5
- ```bash
6
- bun install
7
- ```
8
-
9
- To run:
10
-
11
- ```bash
12
- bun run index.ts
13
- ```
14
-
15
- This project was created using `bun init` in bun v1.3.10. [Bun](https://bun.com) is a fast all-in-one JavaScript runtime.