self-healing-cli 0.0.1 → 0.0.2
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 +1 -1
- package/package.json +11 -2
package/README.md
CHANGED
|
@@ -91,7 +91,7 @@ self-healing heal --log check.log --verify "pnpm run check" --model gpt-5.2
|
|
|
91
91
|
if: steps.lint.outcome == 'failure'
|
|
92
92
|
env:
|
|
93
93
|
COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }}
|
|
94
|
-
GH_TOKEN: ${{ secrets.
|
|
94
|
+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
|
95
95
|
run: |
|
|
96
96
|
npm install -g @github/copilot
|
|
97
97
|
npx self-healing heal --log lint.log --verify "pnpm run check"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "self-healing-cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"self-healing": "./dist/cli.js"
|
|
@@ -14,15 +14,24 @@
|
|
|
14
14
|
"@rstest/adapter-rslib": "^0.2.0",
|
|
15
15
|
"@rstest/core": "^0.8.1",
|
|
16
16
|
"@types/node": "^24.10.9",
|
|
17
|
+
"nano-staged": "^0.9.0",
|
|
18
|
+
"simple-git-hooks": "^2.13.1",
|
|
17
19
|
"typescript": "^5.9.3"
|
|
18
20
|
},
|
|
19
21
|
"publishConfig": {
|
|
20
22
|
"access": "public",
|
|
21
23
|
"registry": "https://registry.npmjs.org/"
|
|
22
24
|
},
|
|
25
|
+
"simple-git-hooks": {
|
|
26
|
+
"pre-commit": "npx nano-staged"
|
|
27
|
+
},
|
|
28
|
+
"nano-staged": {
|
|
29
|
+
"*.{js,ts,jsx,tsx,json}": "biome check --write --no-errors-on-unmatched"
|
|
30
|
+
},
|
|
23
31
|
"scripts": {
|
|
24
32
|
"build": "rslib build",
|
|
25
|
-
"check": "biome check
|
|
33
|
+
"check": "biome check",
|
|
34
|
+
"check:write": "biome check --write",
|
|
26
35
|
"dev": "rslib build --watch",
|
|
27
36
|
"format": "biome format --write",
|
|
28
37
|
"test": "rstest",
|