@tplog/zendcli 1.2.0 → 1.3.0

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/zend +0 -0
  2. package/package.json +5 -13
  3. package/dist/cli.js +0 -3860
package/dist/zend ADDED
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tplog/zendcli",
3
- "version": "1.2.0",
4
- "description": "Minimal Zendesk CLI for tickets and comments",
3
+ "version": "1.3.0",
4
+ "description": "Minimal Zendesk CLI for tickets and comments (Rust)",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/tplog/zendcli.git"
@@ -11,22 +11,14 @@
11
11
  "url": "https://github.com/tplog/zendcli/issues"
12
12
  },
13
13
  "bin": {
14
- "zend": "dist/cli.js"
14
+ "zend": "dist/zend"
15
15
  },
16
16
  "files": [
17
17
  "dist/"
18
18
  ],
19
19
  "scripts": {
20
- "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'))\"",
20
+ "build": "cargo build --release && mkdir -p dist && cp target/release/zend dist/zend",
21
21
  "prepublishOnly": "npm run build",
22
- "start": "node dist/cli.js"
23
- },
24
- "devDependencies": {
25
- "esbuild": "^0.25.0",
26
- "typescript": "^5.7.0",
27
- "@types/node": "^22.0.0"
28
- },
29
- "dependencies": {
30
- "commander": "^14.0.3"
22
+ "test": "cargo test"
31
23
  }
32
24
  }