@shadr/iterm2-ts 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/package.json CHANGED
@@ -7,17 +7,17 @@
7
7
  "type": "git",
8
8
  "url": "https://github.com/shad/iterm2-ts"
9
9
  },
10
- "version": "0.1.0",
10
+ "version": "0.1.2",
11
11
  "description": "TypeScript client library for iTerm2's native WebSocket/Protobuf API",
12
12
  "type": "module",
13
13
  "main": "./dist/index.cjs",
14
- "module": "./dist/index.mjs",
14
+ "module": "./dist/index.js",
15
15
  "types": "./dist/index.d.ts",
16
16
  "exports": {
17
17
  ".": {
18
18
  "import": {
19
- "types": "./dist/index.d.mts",
20
- "default": "./dist/index.mjs"
19
+ "types": "./dist/index.d.ts",
20
+ "default": "./dist/index.js"
21
21
  },
22
22
  "require": {
23
23
  "types": "./dist/index.d.cts",
@@ -25,6 +25,9 @@
25
25
  }
26
26
  }
27
27
  },
28
+ "bin": {
29
+ "it2": "./dist/cli.js"
30
+ },
28
31
  "files": [
29
32
  "dist"
30
33
  ],
@@ -39,8 +42,8 @@
39
42
  "lint": "biome check src/",
40
43
  "lint:fix": "biome check --fix src/",
41
44
  "check": "npm run typecheck && npm run lint",
42
- "check-all": "npm run typecheck && npm run lint && npm run test && npm run build",
43
- "example": "tsx"
45
+ "check-all": "npm run typecheck && npm run lint:fix && npm run test && npm run build",
46
+ "it2": "tsx src/cli.ts"
44
47
  },
45
48
  "keywords": [
46
49
  "iterm2",
@@ -56,6 +59,7 @@
56
59
  },
57
60
  "dependencies": {
58
61
  "@bufbuild/protobuf": "^2.11.0",
62
+ "commander": "^14.0.3",
59
63
  "ws": "^8.18.0"
60
64
  },
61
65
  "devDependencies": {