@swarmcraftai/cli 0.1.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/LICENSE.txt +20 -0
- package/README.md +79 -0
- package/dist/main.cjs +4312 -0
- package/package.json +41 -0
package/package.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@swarmcraftai/cli",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Customer-facing SwarmCraft command line tool.",
|
|
5
|
+
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"homepage": "https://swarmcraft.ai",
|
|
8
|
+
"bugs": {
|
|
9
|
+
"url": "https://swarmcraft.ai/login?next=%2Fapp%2Fsupport"
|
|
10
|
+
},
|
|
11
|
+
"bin": {
|
|
12
|
+
"swarmcraft": "dist/main.cjs"
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"dist",
|
|
16
|
+
"README.md",
|
|
17
|
+
"LICENSE.txt"
|
|
18
|
+
],
|
|
19
|
+
"publishConfig": {
|
|
20
|
+
"access": "public"
|
|
21
|
+
},
|
|
22
|
+
"engines": {
|
|
23
|
+
"node": ">=20.19.0"
|
|
24
|
+
},
|
|
25
|
+
"scripts": {
|
|
26
|
+
"clean": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",
|
|
27
|
+
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
28
|
+
"build": "pnpm --filter @swarmcraft/repo-seed build && pnpm run typecheck && pnpm run clean && esbuild src/main.ts --bundle --platform=node --format=cjs --target=node20.19 --outfile=dist/main.cjs",
|
|
29
|
+
"check": "pnpm --filter @swarmcraft/repo-seed build && pnpm run typecheck && vitest run && pnpm run build && node ./dist/main.cjs --help",
|
|
30
|
+
"dev": "pnpm run build && node ./dist/main.cjs",
|
|
31
|
+
"release:smoke": "pnpm run build && node ./scripts/smoke-packed-cli.mjs"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@swarmcraft/packet-workflow": "workspace:*",
|
|
35
|
+
"@swarmcraft/repo-seed": "workspace:*",
|
|
36
|
+
"@types/node": "^24.10.1",
|
|
37
|
+
"esbuild": "^0.25.11",
|
|
38
|
+
"typescript": "^5.9.3",
|
|
39
|
+
"vitest": "^3.2.4"
|
|
40
|
+
}
|
|
41
|
+
}
|