@srobroek/harness-kit 1.0.0 → 1.0.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 +2 -2
- package/package.json +8 -4
package/README.md
CHANGED
|
@@ -92,7 +92,7 @@ The library exports `readPlugins`, `render`, `drift`, `write`, `stampVersion`, `
|
|
|
92
92
|
export default releaseConfig({ forge: ["@semantic-release/gitlab", { gitlabUrl: "https://gitlab.example.com" }] })
|
|
93
93
|
```
|
|
94
94
|
|
|
95
|
-
Its `prepareCmd` runs `harness-kit stamp "$(basename "$PWD")" ${nextRelease.version} --git-add`. Install `semantic-release`, `@anolilab/multi-semantic-release`, `@semantic-release/changelog`, `@semantic-release/exec`, `@semantic-release/git
|
|
95
|
+
Its `prepareCmd` runs `harness-kit stamp "$(basename "$PWD")" ${nextRelease.version} --git-add`. Install `semantic-release`, `@anolilab/multi-semantic-release`, `@semantic-release/changelog`, `@semantic-release/exec`, `@semantic-release/git`, `conventional-changelog-conventionalcommits` and `@visulima/yaml` (which multi-semantic-release imports without declaring) as dev dependencies. Keep `.multi-releaserc` (tag format) in your repo.
|
|
96
96
|
|
|
97
97
|
## GitHub workflows
|
|
98
98
|
|
|
@@ -128,7 +128,7 @@ Extend the preset in `renovate.json`:
|
|
|
128
128
|
{ "extends": ["github>srobroek/harness-kit"] }
|
|
129
129
|
```
|
|
130
130
|
|
|
131
|
-
It puts the npm package and the `srobroek/harness-kit` workflow refs in one `harness-kit` group, so they move in one PR, pinned to the tag. Renovate's hosted app does not run `postUpgradeTasks`, so the PR arrives without the regenerated files. In CI, `harness-kit check` fails on the PR; run `npx harness-kit build` on the PR branch and push the result. Repos without Actions run `harness-kit check` locally before merging.
|
|
131
|
+
The preset extends `config:recommended`. It puts the npm package and the `srobroek/harness-kit` workflow refs in one `harness-kit` group, so they move in one PR, pinned to the tag. Renovate's hosted app does not run `postUpgradeTasks`, so the PR arrives without the regenerated files. In CI, `harness-kit check` fails on the PR; run `npx harness-kit build` on the PR branch and push the result. Repos without Actions run `harness-kit check` locally before merging.
|
|
132
132
|
|
|
133
133
|
### Without Renovate: `harness-kit update` in GitLab CI
|
|
134
134
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@srobroek/harness-kit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Shared build tooling for multi-harness agent plugin repos: generator, version stamping, Claude validation, presets and CI workflows.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -38,19 +38,20 @@
|
|
|
38
38
|
"pack-check": "sh scripts/pack-check.sh"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@anthropic-ai/claude-code": "*",
|
|
42
41
|
"@anolilab/multi-semantic-release": "*",
|
|
42
|
+
"@anthropic-ai/claude-code": "*",
|
|
43
43
|
"@semantic-release/changelog": "*",
|
|
44
44
|
"@semantic-release/exec": "*",
|
|
45
45
|
"@semantic-release/git": "*",
|
|
46
|
+
"@visulima/yaml": "*",
|
|
46
47
|
"conventional-changelog-conventionalcommits": "*",
|
|
47
48
|
"semantic-release": "*"
|
|
48
49
|
},
|
|
49
50
|
"peerDependenciesMeta": {
|
|
50
|
-
"@
|
|
51
|
+
"@anolilab/multi-semantic-release": {
|
|
51
52
|
"optional": true
|
|
52
53
|
},
|
|
53
|
-
"@
|
|
54
|
+
"@anthropic-ai/claude-code": {
|
|
54
55
|
"optional": true
|
|
55
56
|
},
|
|
56
57
|
"@semantic-release/changelog": {
|
|
@@ -62,6 +63,9 @@
|
|
|
62
63
|
"@semantic-release/git": {
|
|
63
64
|
"optional": true
|
|
64
65
|
},
|
|
66
|
+
"@visulima/yaml": {
|
|
67
|
+
"optional": true
|
|
68
|
+
},
|
|
65
69
|
"conventional-changelog-conventionalcommits": {
|
|
66
70
|
"optional": true
|
|
67
71
|
},
|