loaner-sdk 0.4.0 → 0.5.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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "loaner-sdk",
3
- "version": "0.4.0",
4
- "description": "TypeScript client for Loaner: disposable Linux machines for AI agents, on your own server",
3
+ "version": "0.5.0",
4
+ "description": "TypeScript client and `loaner` command for Loaner: disposable Linux machines for AI agents, on your own server",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "keywords": [
@@ -22,13 +22,20 @@
22
22
  },
23
23
  "bugs": "https://github.com/escalay/loaner/issues",
24
24
  "engines": {
25
- "node": ">=20"
25
+ "node": ">=20.10"
26
26
  },
27
27
  "sideEffects": false,
28
+ "bin": {
29
+ "loaner": "./dist/cli/bin.js"
30
+ },
28
31
  "exports": {
29
32
  ".": {
30
33
  "types": "./dist/index.d.ts",
31
34
  "import": "./dist/index.js"
35
+ },
36
+ "./pack": {
37
+ "types": "./dist/pack.d.ts",
38
+ "import": "./dist/pack.js"
32
39
  }
33
40
  },
34
41
  "files": [
@@ -40,9 +47,12 @@
40
47
  "access": "public",
41
48
  "provenance": true
42
49
  },
50
+ "devDependencies": {
51
+ "@types/node": "^26.6.11"
52
+ },
43
53
  "scripts": {
44
- "typecheck": "tsc -p .",
45
- "build": "rm -rf dist && tsc -p tsconfig.build.json"
54
+ "typecheck": "tsc -p . && tsc --noEmit -p cli/tsconfig.json",
55
+ "build": "rm -rf dist && tsc -p tsconfig.build.json && tsc -p cli/tsconfig.json"
46
56
  },
47
57
  "types": "./dist/index.d.ts"
48
58
  }