@scheduler-systems/gal-cli 0.1.13 → 0.1.16-beta
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 +71 -0
- package/dist/index.cjs +426 -78
- package/package.json +19 -9
package/package.json
CHANGED
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scheduler-systems/gal-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.16-beta",
|
|
4
4
|
"description": "GAL CLI - Command-line tool for managing AI agent configurations across your organization",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"private": false,
|
|
7
|
-
"publishConfig": {
|
|
8
|
-
"registry": "https://registry.npmjs.org",
|
|
9
|
-
"access": "public"
|
|
10
|
-
},
|
|
11
7
|
"type": "module",
|
|
12
8
|
"main": "./dist/index.cjs",
|
|
13
9
|
"bin": {
|
|
@@ -24,13 +20,16 @@
|
|
|
24
20
|
"postinstall": "node scripts/postinstall.cjs",
|
|
25
21
|
"preuninstall": "node scripts/preuninstall.cjs",
|
|
26
22
|
"dev": "tsx watch src/index.ts",
|
|
27
|
-
"build": "rm -rf dist && esbuild src/index.ts --bundle --platform=node --target=node18 --outfile=dist/index.cjs --format=cjs --define:__CLI_VERSION__=\\\"$(node -p \"require('./package.json').version\")\\\" --define:__DEFAULT_API_URL__=\\\"http://localhost:3000\\\" && chmod +x dist/index.cjs",
|
|
28
|
-
"build:publish": "rm -rf dist && esbuild src/index.ts --bundle --platform=node --target=node18 --minify --outfile=dist/index.cjs --format=cjs --define:__CLI_VERSION__=\\\"$(node -p \"require('./package.json').version\")\\\" --define:__DEFAULT_API_URL__=\\\"${DEFAULT_API_URL:-https://
|
|
23
|
+
"build": "rm -rf dist && esbuild src/index.ts --bundle --platform=node --target=node18 --outfile=dist/index.cjs --format=cjs --define:__CLI_VERSION__=\\\"$(node -p \"require('./package.json').version\")-local+$(git rev-parse --short HEAD)\\\" --define:__DEFAULT_API_URL__=\\\"http://localhost:3000\\\" && chmod +x dist/index.cjs",
|
|
24
|
+
"build:publish": "rm -rf dist && esbuild src/index.ts --bundle --platform=node --target=node18 --minify --outfile=dist/index.cjs --format=cjs --define:__CLI_VERSION__=\\\"$(node -p \"require('./package.json').version\")\\\" --define:__DEFAULT_API_URL__=\\\"${DEFAULT_API_URL:-https://api.gal.run}\\\" && { printf '%s\\n' '#!/usr/bin/env node'; cat dist/index.cjs; } > dist/temp.cjs && mv dist/temp.cjs dist/index.cjs && chmod +x dist/index.cjs",
|
|
29
25
|
"start": "node dist/index.js",
|
|
30
26
|
"test": "vitest run --pool=forks",
|
|
31
27
|
"test:watch": "vitest",
|
|
32
28
|
"test:unit": "vitest run --pool=forks tests/unit/",
|
|
33
29
|
"test:e2e": "vitest run --pool=forks tests/e2e/",
|
|
30
|
+
"test:mutation": "stryker run",
|
|
31
|
+
"test:mutation:incremental": "stryker run --incremental",
|
|
32
|
+
"test:coverage": "vitest run --coverage",
|
|
34
33
|
"type-check": "tsc --noEmit",
|
|
35
34
|
"prepublishOnly": "npm run build:publish",
|
|
36
35
|
"clean": "rm -rf dist"
|
|
@@ -72,12 +71,23 @@
|
|
|
72
71
|
"ora": "^8.1.1"
|
|
73
72
|
},
|
|
74
73
|
"devDependencies": {
|
|
74
|
+
"@eslint/js": "^9.39.1",
|
|
75
75
|
"@gal/types": "workspace:*",
|
|
76
|
+
"@stryker-mutator/core": "^9.4.0",
|
|
77
|
+
"@stryker-mutator/typescript-checker": "^9.4.0",
|
|
78
|
+
"@stryker-mutator/vitest-runner": "^9.4.0",
|
|
76
79
|
"@types/node": "^22.10.2",
|
|
80
|
+
"@vitest/coverage-v8": "^4.0.16",
|
|
77
81
|
"esbuild": "^0.24.0",
|
|
82
|
+
"eslint": "^9.39.2",
|
|
83
|
+
"eslint-plugin-security": "^3.0.1",
|
|
84
|
+
"eslint-plugin-sonarjs": "^3.0.5",
|
|
85
|
+
"fast-check": "^4.5.3",
|
|
86
|
+
"globals": "^16.5.0",
|
|
78
87
|
"node-pty": "^1.0.0",
|
|
79
88
|
"tsx": "^4.19.2",
|
|
80
89
|
"typescript": "^5.7.2",
|
|
81
|
-
"
|
|
90
|
+
"typescript-eslint": "^8.46.4",
|
|
91
|
+
"vitest": "^4.0.16"
|
|
82
92
|
}
|
|
83
|
-
}
|
|
93
|
+
}
|