@sr-connect/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/README.md +554 -0
- package/dist/chunk-7ZX4RISS.js +8 -0
- package/dist/chunk-HHBSYJ3E.js +2 -0
- package/dist/chunk-STBTNAXZ.js +21 -0
- package/dist/dist-A3XXQMMP.js +148 -0
- package/dist/dist-UQEAKLYF.js +2 -0
- package/dist/highlight-7NU3CBVT.js +2 -0
- package/dist/index.js +1398 -0
- package/package.json +74 -0
package/package.json
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@sr-connect/cli",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Human-first, agent-safe CLI for the ScriptRunner Connect REST API",
|
|
5
|
+
"license": "UNLICENSED",
|
|
6
|
+
"homepage": "https://scriptrunnerconnect.com",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"bin": {
|
|
9
|
+
"sr-connect": "./dist/index.js"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"dist"
|
|
13
|
+
],
|
|
14
|
+
"engines": {
|
|
15
|
+
"node": ">=22"
|
|
16
|
+
},
|
|
17
|
+
"publishConfig": {
|
|
18
|
+
"access": "public"
|
|
19
|
+
},
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"@napi-rs/keyring": "^1.3.0"
|
|
22
|
+
},
|
|
23
|
+
"devDependencies": {
|
|
24
|
+
"@clack/core": "^1.4.3",
|
|
25
|
+
"@clack/prompts": "^1.7.0",
|
|
26
|
+
"@types/node": "^24.0.0",
|
|
27
|
+
"@types/ws": "^8.18.1",
|
|
28
|
+
"commander": "^15.0.0",
|
|
29
|
+
"cronstrue": "^3.24.0",
|
|
30
|
+
"emphasize": "^7.0.0",
|
|
31
|
+
"highlight.js": "~11.9.0",
|
|
32
|
+
"lint-staged": "^17.4.1",
|
|
33
|
+
"marked": "^18.0.9",
|
|
34
|
+
"openapi-fetch": "^0.17.0",
|
|
35
|
+
"openapi-typescript": "^7.13.0",
|
|
36
|
+
"oxfmt": "^0.59.0",
|
|
37
|
+
"oxlint": "^1.74.0",
|
|
38
|
+
"oxlint-tsgolint": "^7.0.2001",
|
|
39
|
+
"picocolors": "^1.1.1",
|
|
40
|
+
"promise-throttle-all": "^1.1.1",
|
|
41
|
+
"simple-git-hooks": "^2.14.0",
|
|
42
|
+
"tsup": "^8.5.1",
|
|
43
|
+
"tsx": "^4.20.0",
|
|
44
|
+
"typescript": "^5.9.0",
|
|
45
|
+
"ulid": "^3.0.2",
|
|
46
|
+
"vitest": "^3.2.0",
|
|
47
|
+
"ws": "^8.18.3",
|
|
48
|
+
"zod": "^4.4.3"
|
|
49
|
+
},
|
|
50
|
+
"lint-staged": {
|
|
51
|
+
"*.{js,mjs,cjs,ts,mts,cts,json,jsonc,md,yaml,yml}": "oxfmt --config .oxfmtrc.json --write",
|
|
52
|
+
"*.{js,mjs,cjs,ts,mts,cts}": "oxlint --config .oxlintrc.json --fix"
|
|
53
|
+
},
|
|
54
|
+
"simple-git-hooks": {
|
|
55
|
+
"pre-commit": "./node_modules/.bin/lint-staged"
|
|
56
|
+
},
|
|
57
|
+
"scripts": {
|
|
58
|
+
"build": "tsup",
|
|
59
|
+
"dev": "tsx src/index.ts",
|
|
60
|
+
"generate": "openapi-typescript openapi.1.0.yaml -o src/api/schema.d.ts",
|
|
61
|
+
"readme:sync": "tsx src/readme-commands.ts",
|
|
62
|
+
"test": "vitest run",
|
|
63
|
+
"lint": "oxlint --config .oxlintrc.json --type-aware src test scripts",
|
|
64
|
+
"lint:fix": "oxlint --config .oxlintrc.json --type-aware --fix src test scripts",
|
|
65
|
+
"format": "oxfmt --config .oxfmtrc.json --write src test scripts",
|
|
66
|
+
"format:check": "oxfmt --config .oxfmtrc.json --check src test scripts",
|
|
67
|
+
"check": "pnpm format && pnpm lint:fix",
|
|
68
|
+
"typecheck": "tsc --noEmit",
|
|
69
|
+
"release:build": "tsx scripts/release-build.ts",
|
|
70
|
+
"release:build:no-tests": "tsx scripts/release-build.ts --no-tests",
|
|
71
|
+
"release:test": "tsx scripts/release-test.ts",
|
|
72
|
+
"release:publish": "tsx scripts/release-publish.ts"
|
|
73
|
+
}
|
|
74
|
+
}
|