@factory/cli 0.1.0 → 0.1.2-dev.7

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,14 +1,14 @@
1
1
  {
2
2
  "name": "@factory/cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.2-dev.7",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "bin": {
8
- "factory": "bundle/factory.js"
8
+ "droid": "bundle/droid.js"
9
9
  },
10
10
  "engines": {
11
- "node": ">=20"
11
+ "bun": ">=1.0.0"
12
12
  },
13
13
  "files": [
14
14
  "bundle/",
@@ -16,34 +16,48 @@
16
16
  "LICENSE"
17
17
  ],
18
18
  "scripts": {
19
- "start": "node scripts/start.js",
20
- "debug": "DEBUG=1 node scripts/start.js",
21
- "build": "node scripts/build.js",
22
- "bundle": "npm run build && node esbuild.config.js",
19
+ "start": "bun scripts/start.js",
20
+ "debug": "DEBUG=1 bun scripts/start.js",
21
+ "build": "bun run clean && bun scripts/build.js",
22
+ "build:sea:linux": "bun scripts/build-sea.ts linux x64",
23
+ "build:sea:mac:x64": "bun scripts/build-sea.ts darwin x64",
24
+ "build:sea:mac:arm64": "bun scripts/build-sea.ts darwin arm64",
25
+ "build:sea:windows": "bun scripts/build-sea.ts windows x64",
26
+ "bundle": "bun bun.build.ts",
27
+ "bundle:dev": "bun bun.build.ts --dev",
28
+ "package": "bun run build && bun run bundle",
23
29
  "clean": "rm -rf dist bundle",
24
- "prepare": "npm run bundle",
30
+ "prepare": "bun run bundle",
25
31
  "typecheck": "tsc --noEmit",
26
- "test": "NODE_OPTIONS='--experimental-vm-modules' jest --coverage",
27
- "lint": "eslint ./src --ext .ts,.tsx",
28
- "fix": "npm run lint -- --fix; npm run format",
32
+ "test": "NODE_OPTIONS='--experimental-vm-modules' bun run jest --coverage",
33
+ "test:watch": "NODE_OPTIONS='--experimental-vm-modules' bun run jest --watch",
34
+ "lint": "eslint \"./src/**/*.{ts,tsx}\"",
35
+ "fix": "bun run lint -- --fix; bun run format",
29
36
  "format": "prettier --list-different --write ./src"
30
37
  },
31
38
  "dependencies": {
32
39
  "@anthropic-ai/sdk": "^0.57.0",
40
+ "@factory/common": "^0.1.0",
33
41
  "@factory/droid-core": "^0.1.0",
34
42
  "@factory/errors": "^0.1.0",
35
43
  "@factory/logging": "^0.1.0",
44
+ "@factory/mcp": "^0.1.0",
36
45
  "@factory/models": "^0.1.0",
37
46
  "@factory/services": "^0.1.0",
38
47
  "@factory/utils": "^0.1.0",
39
48
  "@modelcontextprotocol/sdk": "^1.1.0",
49
+ "@statsig/react-bindings": "^3.8.2",
50
+ "@statsig/statsig-node-core": "^0.6.1",
40
51
  "@types/express": "^5.0.3",
41
52
  "@types/lodash": "^4.17.20",
42
53
  "@types/marked": "^5.0.2",
43
- "@types/mime": "^1.3.5",
54
+ "@types/react": "19.0.2",
44
55
  "@types/uuid": "^10.0.0",
56
+ "@vscode/ripgrep": "^1.15.14",
57
+ "ansi-escapes": "^7.0.0",
45
58
  "chalk": "^5.3.0",
46
59
  "commander": "^11.0.0",
60
+ "diff": "^8.0.2",
47
61
  "express": "^5.1.0",
48
62
  "glob": "^10.4.5",
49
63
  "highlight.js": "^11.11.1",
@@ -52,10 +66,13 @@
52
66
  "jose": "^5.9.4",
53
67
  "lodash-es": "^4.17.21",
54
68
  "marked": "^16.1.1",
69
+ "mime": "^4.0.7",
55
70
  "node-fetch": "^3.3.2",
56
71
  "open": "^10.2.0",
57
72
  "ora": "^8.1.1",
58
- "react": "^19.1.0",
73
+ "prop-types": "^15.8.1",
74
+ "shell-quote": "^1.8.3",
75
+ "semver": "^7.7.2",
59
76
  "table": "^6.8.2",
60
77
  "terminal-link": "^3.0.0",
61
78
  "uuid": "^9.0.0",
@@ -65,29 +82,23 @@
65
82
  "devDependencies": {
66
83
  "@factory/eslint-config": "^0.1.0",
67
84
  "@jest/globals": "^29.7.0",
68
- "@testing-library/react": "^16.1.0",
85
+ "@types/diff": "^7.0.2",
69
86
  "@types/inquirer": "^9.0.8",
70
87
  "@types/jest": "^29.5.14",
71
88
  "@types/jsdom": "^21.1.7",
72
89
  "@types/lodash-es": "^4.17.12",
73
90
  "@types/node": "^20",
74
91
  "@types/node-fetch": "^2.6.11",
75
- "@types/react": "^19.0.0",
76
- "@types/react-dom": "^19.1.6",
92
+ "@types/prop-types": "^15.7.15",
93
+ "@types/shell-quote": "^1.7.5",
77
94
  "esbuild": "^0.25.0",
78
95
  "eslint-plugin-no-barrel-files": "^1.2.2",
79
96
  "ink-testing-library": "^4.0.0",
80
97
  "jest": "^29.7.0",
81
98
  "jsdom": "^26.1.0",
82
- "react-devtools-core": "^4.28.5",
83
- "react-dom": "^19.1.0",
84
99
  "ts-jest": "^29.2.6",
85
100
  "ts-node": "^10.9.2",
86
101
  "tsx": "^4.20.3",
87
102
  "typescript": "^5.3.3"
88
- },
89
- "overrides": {
90
- "react": "^19.1.0",
91
- "react-dom": "^19.1.0"
92
103
  }
93
104
  }