@auto-engineer/cli 0.7.6 → 0.7.7
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 +10 -0
- package/dist/src/server/dashboard.html +1 -1
- package/package.json +17 -18
package/LICENSE
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Elastic License 2.0
|
|
2
|
+
|
|
3
|
+
Copyright 2024 Sam Hatoum
|
|
4
|
+
|
|
5
|
+
This software and associated documentation files (the "Software") are licensed under the Elastic License 2.0 (the "License"). You may not use this file except in compliance with the License.
|
|
6
|
+
|
|
7
|
+
You may obtain a copy of the License at:
|
|
8
|
+
https://www.elastic.co/licensing/elastic-license
|
|
9
|
+
|
|
10
|
+
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|
|
@@ -1310,7 +1310,7 @@
|
|
|
1310
1310
|
// Build unified handlers list
|
|
1311
1311
|
const handlersListEl = document.getElementById('handlersList');
|
|
1312
1312
|
|
|
1313
|
-
if (
|
|
1313
|
+
if (commandHandlers.length === 0) {
|
|
1314
1314
|
handlersListEl.innerHTML = '<div class="empty">No handlers registered</div>';
|
|
1315
1315
|
} else {
|
|
1316
1316
|
let html = '';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@auto-engineer/cli",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/src/index.js",
|
|
6
6
|
"types": "./dist/src/index.d.ts",
|
|
@@ -32,22 +32,6 @@
|
|
|
32
32
|
"engines": {
|
|
33
33
|
"node": ">=18.0.0"
|
|
34
34
|
},
|
|
35
|
-
"scripts": {
|
|
36
|
-
"build": "tsc && tsx ../../scripts/fix-esm-imports.ts && chmod +x dist/bin/auto.js && cp -r src/server/*.html src/server/*.svg dist/src/server/ 2>/dev/null || true",
|
|
37
|
-
"build:tsx": "echo 'Using tsx runtime, no build needed'",
|
|
38
|
-
"dev": "tsc --watch",
|
|
39
|
-
"test": "vitest run",
|
|
40
|
-
"test:watch": "vitest",
|
|
41
|
-
"lint": "eslint 'src/**/*.ts' --ignore-pattern '**/*.specs.ts' --max-warnings 0 --config ../../eslint.config.ts",
|
|
42
|
-
"type-check": "tsc --noEmit",
|
|
43
|
-
"flow": "tsx src/index.ts flow",
|
|
44
|
-
"prepublishOnly": "npm run build",
|
|
45
|
-
"format": "prettier --write \"**/*.{js,ts,json,md,yml,yaml}\" --ignore-path ../../.prettierignore",
|
|
46
|
-
"lint:fix": "eslint 'src/**/*.ts' --fix --config ../../eslint.config.ts",
|
|
47
|
-
"format:fix": "prettier --write \"**/*.{js,ts,json,md,yml,yaml}\" --ignore-path ../../.prettierignore",
|
|
48
|
-
"link:dev": "pnpm build && pnpm link --global",
|
|
49
|
-
"unlink:dev": "pnpm unlink --global"
|
|
50
|
-
},
|
|
51
35
|
"publishConfig": {
|
|
52
36
|
"access": "public"
|
|
53
37
|
},
|
|
@@ -82,5 +66,20 @@
|
|
|
82
66
|
"@types/marked": "^6.0.0",
|
|
83
67
|
"@types/marked-terminal": "^6.1.1",
|
|
84
68
|
"tsx": "^4.20.3"
|
|
69
|
+
},
|
|
70
|
+
"scripts": {
|
|
71
|
+
"build": "tsc && tsx ../../scripts/fix-esm-imports.ts && chmod +x dist/bin/auto.js && cp -r src/server/*.html src/server/*.svg dist/src/server/ 2>/dev/null || true",
|
|
72
|
+
"build:tsx": "echo 'Using tsx runtime, no build needed'",
|
|
73
|
+
"dev": "tsc --watch",
|
|
74
|
+
"test": "vitest run",
|
|
75
|
+
"test:watch": "vitest",
|
|
76
|
+
"lint": "eslint 'src/**/*.ts' --ignore-pattern '**/*.specs.ts' --max-warnings 0 --config ../../eslint.config.ts",
|
|
77
|
+
"type-check": "tsc --noEmit",
|
|
78
|
+
"flow": "tsx src/index.ts flow",
|
|
79
|
+
"format": "prettier --write \"**/*.{js,ts,json,md,yml,yaml}\" --ignore-path ../../.prettierignore",
|
|
80
|
+
"lint:fix": "eslint 'src/**/*.ts' --fix --config ../../eslint.config.ts",
|
|
81
|
+
"format:fix": "prettier --write \"**/*.{js,ts,json,md,yml,yaml}\" --ignore-path ../../.prettierignore",
|
|
82
|
+
"link:dev": "pnpm build && pnpm link --global",
|
|
83
|
+
"unlink:dev": "pnpm unlink --global"
|
|
85
84
|
}
|
|
86
|
-
}
|
|
85
|
+
}
|