designagent-cli 0.1.0 → 0.2.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/README.md +18 -7
- package/dist/index.js +418 -803
- package/package.json +6 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "designagent-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "The design brain Claude Code needs. npx designagent-cli init — web, mobile, any canvas, any framework.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
"README.md"
|
|
12
12
|
],
|
|
13
13
|
"scripts": {
|
|
14
|
-
"build": "rm -rf dist && bun build src/index.ts --target node --outfile dist/index.js --external @clack/prompts --external @google/design.md --external picocolors --external postcss
|
|
14
|
+
"build": "rm -rf dist && bun build src/index.ts --target node --outfile dist/index.js --external @clack/prompts --external @google/design.md --external picocolors --external postcss && node scripts/copy-assets.mjs",
|
|
15
15
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
16
|
-
"test": "bun ./test/smoke.mjs && bun ./test/e2e.mjs",
|
|
16
|
+
"test": "bun ./test/smoke.mjs && bun ./test/e2e.mjs && bun ./test/detect.mjs",
|
|
17
17
|
"dev": "bun run src/index.ts",
|
|
18
18
|
"start": "node dist/index.js"
|
|
19
19
|
},
|
|
@@ -33,16 +33,14 @@
|
|
|
33
33
|
"@clack/prompts": "^0.9.0",
|
|
34
34
|
"@google/design.md": "^0.2.0",
|
|
35
35
|
"picocolors": "^1.1.1",
|
|
36
|
-
"postcss": "^8.4.49"
|
|
37
|
-
"ts-morph": "^24.0.0"
|
|
36
|
+
"postcss": "^8.4.49"
|
|
38
37
|
},
|
|
39
|
-
"//deps": "scanner + docs
|
|
38
|
+
"//deps": "scanner + docs are bundled into dist/index.js at build time (bun build) — not runtime deps. postcss (scanner) is an external runtime dep. @designagent/* stay workspace devDependencies so the bundler can resolve them.",
|
|
40
39
|
"devDependencies": {
|
|
41
40
|
"typescript": "^5.7.0",
|
|
42
41
|
"@types/node": "^22.10.0",
|
|
43
42
|
"@designagent/scanner": "workspace:*",
|
|
44
|
-
"@designagent/docs": "workspace:*"
|
|
45
|
-
"@designagent/studio": "workspace:*"
|
|
43
|
+
"@designagent/docs": "workspace:*"
|
|
46
44
|
},
|
|
47
45
|
"engines": {
|
|
48
46
|
"node": ">=18"
|