@photon-ai/cli 0.1.4 → 0.2.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@photon-ai/cli",
3
- "version": "0.1.4",
3
+ "version": "0.2.1",
4
4
  "description": "Photon CLI — typed terminal UI for the Photon Dashboard. Binary: `photon` (alias `pho`).",
5
5
  "keywords": [
6
6
  "photon",
@@ -12,6 +12,7 @@
12
12
  "developer-tools"
13
13
  ],
14
14
  "author": "Photon",
15
+ "license": "MIT",
15
16
  "homepage": "https://github.com/photon-hq/cli#readme",
16
17
  "repository": {
17
18
  "type": "git",
@@ -32,12 +33,13 @@
32
33
  "access": "public"
33
34
  },
34
35
  "engines": {
35
- "bun": ">=1.3.0"
36
+ "bun": ">=1.3.0",
37
+ "node": ">=18.0.0"
36
38
  },
37
39
  "scripts": {
38
40
  "start": "bun run src/index.ts",
39
41
  "dev": "bun run --watch src/index.ts",
40
- "build": "bun build ./src/index.ts --outfile dist/photon.js --target bun --minify && chmod +x dist/photon.js",
42
+ "build": "bun build ./src/index.ts --outfile dist/photon.js --target node --minify && chmod +x dist/photon.js",
41
43
  "compile": "bun build ./src/index.ts --compile --outfile dist/photon",
42
44
  "typecheck": "tsc --noEmit",
43
45
  "sync:api": "bun run scripts/sync-api-types.ts",
@@ -45,6 +47,7 @@
45
47
  },
46
48
  "devDependencies": {
47
49
  "@types/bun": "latest",
50
+ "@types/node": "^25.6.2",
48
51
  "@types/update-notifier": "^6.0.8",
49
52
  "elysia": "1.4.28",
50
53
  "typescript": "^5"