sun-agent-kit-cli 1.1.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/README.md +217 -0
- package/bin/sk.js +56 -0
- package/dist/index.js +67297 -0
- package/package.json +95 -0
package/package.json
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "sun-agent-kit-cli",
|
|
3
|
+
"version": "1.1.1",
|
|
4
|
+
"description": "CLI tool for bootstrapping and managing Sun Agent Kit projects",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/sun-asterisk-internal/agent-kit.git"
|
|
9
|
+
},
|
|
10
|
+
"publishConfig": {
|
|
11
|
+
"access": "public",
|
|
12
|
+
"registry": "https://registry.npmjs.org"
|
|
13
|
+
},
|
|
14
|
+
"bin": {
|
|
15
|
+
"sk": "bin/sk.js"
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"bin/sk.js",
|
|
19
|
+
"dist/index.js"
|
|
20
|
+
],
|
|
21
|
+
"scripts": {
|
|
22
|
+
"dev": "bun run src/index.ts",
|
|
23
|
+
"build": "bun build src/index.ts --outdir dist --target node --external @octokit/rest --external better-sqlite3 && node -e \"const fs=require('fs'),f='dist/index.js',c=fs.readFileSync(f,'utf-8');fs.writeFileSync(f,c.replace(/^#!.*\\n\\/\\/ @bun\\n/,''))\"",
|
|
24
|
+
"verify:package": "node scripts/prepublish-check.js",
|
|
25
|
+
"test": "bun test",
|
|
26
|
+
"test:integration": "CK_RUN_CLI_INTEGRATION=1 bun test tests/integration/cli.test.ts",
|
|
27
|
+
"test:watch": "bun test --watch",
|
|
28
|
+
"test:quick": "./scripts/dev-quick-start.sh test",
|
|
29
|
+
"lint": "biome check .",
|
|
30
|
+
"lint:fix": "biome check --fix .",
|
|
31
|
+
"lint:fix-unsafe": "biome check --fix --unsafe .",
|
|
32
|
+
"format": "biome format --write .",
|
|
33
|
+
"typecheck": "tsc --noEmit",
|
|
34
|
+
"dev:quick": "./scripts/dev-quick-start.sh",
|
|
35
|
+
"dev:all": "./scripts/dev-quick-start.sh all",
|
|
36
|
+
"metrics": "bun run scripts/workflow-metrics.ts",
|
|
37
|
+
"validate": "bun run typecheck && bun run lint && bun test && bun run build",
|
|
38
|
+
"install:hooks": "./.githooks/install.sh",
|
|
39
|
+
"prepare": "node -e \"try{require('child_process').execSync('git rev-parse --git-dir',{stdio:'ignore'});require('child_process').execSync('bash .githooks/install.sh',{stdio:'inherit'})}catch(e){console.warn('[i] Hook install skipped:',e.message)}\""
|
|
40
|
+
},
|
|
41
|
+
"keywords": [
|
|
42
|
+
"cli",
|
|
43
|
+
"sun-agent-kit",
|
|
44
|
+
"boilerplate",
|
|
45
|
+
"bootstrap",
|
|
46
|
+
"template"
|
|
47
|
+
],
|
|
48
|
+
"author": "Sun Agent Kit",
|
|
49
|
+
"license": "MIT",
|
|
50
|
+
"engines": {
|
|
51
|
+
"node": ">=18.0.0"
|
|
52
|
+
},
|
|
53
|
+
"dependencies": {
|
|
54
|
+
"@clack/prompts": "^0.7.0",
|
|
55
|
+
"@octokit/rest": "^22.0.0",
|
|
56
|
+
"better-sqlite3": "^12.6.2",
|
|
57
|
+
"cac": "^6.7.14",
|
|
58
|
+
"cli-progress": "^3.12.0",
|
|
59
|
+
"compare-versions": "^6.1.1",
|
|
60
|
+
"diff": "^8.0.3",
|
|
61
|
+
"extract-zip": "^2.0.1",
|
|
62
|
+
"fs-extra": "^11.2.0",
|
|
63
|
+
"gray-matter": "^4.0.3",
|
|
64
|
+
"ignore": "^5.3.2",
|
|
65
|
+
"minimatch": "^10.1.1",
|
|
66
|
+
"ora": "^8.0.0",
|
|
67
|
+
"p-limit": "^7.2.0",
|
|
68
|
+
"picocolors": "^1.1.1",
|
|
69
|
+
"picomatch": "^4.0.3",
|
|
70
|
+
"proper-lockfile": "^4.1.2",
|
|
71
|
+
"semver": "^7.7.3",
|
|
72
|
+
"tar": "^7.4.3",
|
|
73
|
+
"tmp": "^0.2.3",
|
|
74
|
+
"zod": "^3.23.8"
|
|
75
|
+
},
|
|
76
|
+
"devDependencies": {
|
|
77
|
+
"@biomejs/biome": "^1.9.4",
|
|
78
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
79
|
+
"@semantic-release/git": "^10.0.1",
|
|
80
|
+
"@types/better-sqlite3": "^7.6.13",
|
|
81
|
+
"@types/bun": "latest",
|
|
82
|
+
"@types/cli-progress": "^3.11.6",
|
|
83
|
+
"@types/diff": "^8.0.0",
|
|
84
|
+
"@types/fs-extra": "^11.0.4",
|
|
85
|
+
"@types/node": "^22.19.7",
|
|
86
|
+
"@types/picomatch": "^4.0.2",
|
|
87
|
+
"@types/proper-lockfile": "^4.1.4",
|
|
88
|
+
"@types/semver": "^7.7.1",
|
|
89
|
+
"@types/tar": "^6.1.13",
|
|
90
|
+
"@types/tmp": "^0.2.6",
|
|
91
|
+
"conventional-changelog-conventionalcommits": "^9.1.0",
|
|
92
|
+
"semantic-release": "^24.2.0",
|
|
93
|
+
"typescript": "^5.7.2"
|
|
94
|
+
}
|
|
95
|
+
}
|