@tritard/waterbrother 0.16.157 → 0.16.159
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 +25 -7
- package/package.json +8 -1
package/README.md
CHANGED
|
@@ -328,23 +328,41 @@ Current Telegram behavior:
|
|
|
328
328
|
Partners should ship updates by pushing a version tag, not by running `npm publish` locally.
|
|
329
329
|
|
|
330
330
|
1. Add an npm publish token as the repository secret `NPM_TOKEN`. The token must be able to publish `@tritard/waterbrother`.
|
|
331
|
-
2.
|
|
331
|
+
2. If you already committed the feature/docs slice, run one command from a tracked-clean repo:
|
|
332
332
|
|
|
333
333
|
```bash
|
|
334
|
-
npm run release:
|
|
334
|
+
npm run release:patch
|
|
335
335
|
```
|
|
336
336
|
|
|
337
|
-
|
|
337
|
+
That command now:
|
|
338
|
+
- bumps the patch version
|
|
339
|
+
- commits `package.json` and `package-lock.json`
|
|
340
|
+
- tags the release
|
|
341
|
+
- pushes `main`
|
|
342
|
+
- pushes the release tag
|
|
343
|
+
- waits until the npm registry reports the new version
|
|
338
344
|
|
|
339
|
-
3.
|
|
345
|
+
3. If you want the feature plus version bump to ship as one release commit, skip the separate feature commit and run:
|
|
340
346
|
|
|
341
347
|
```bash
|
|
342
|
-
|
|
348
|
+
npm run release:patch:tracked
|
|
343
349
|
```
|
|
344
350
|
|
|
345
|
-
|
|
351
|
+
That mode stages the current tracked worktree slice plus release metadata into the single `Release vX.Y.Z` commit. It ignores the repo's local checkpoint noise, but it still excludes untracked scratch files.
|
|
346
352
|
|
|
347
|
-
|
|
353
|
+
For non-patch releases, use:
|
|
354
|
+
|
|
355
|
+
```bash
|
|
356
|
+
npm run release:ship -- minor
|
|
357
|
+
npm run release:ship -- major
|
|
358
|
+
npm run release:ship -- 0.16.200
|
|
359
|
+
npm run release:minor:tracked
|
|
360
|
+
npm run release:major:tracked
|
|
361
|
+
```
|
|
362
|
+
|
|
363
|
+
GitHub Actions still publishes from `.github/workflows/publish.yml` after `npm ci`, `npm run check`, and `npm run smoke` pass.
|
|
364
|
+
|
|
365
|
+
Users update with:
|
|
348
366
|
|
|
349
367
|
```bash
|
|
350
368
|
npm install -g @tritard/waterbrother@latest
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tritard/waterbrother",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.159",
|
|
4
4
|
"description": "Waterbrother: bring-your-own-model coding CLI with local tools, sessions, operator modes, and approval controls",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -21,6 +21,13 @@
|
|
|
21
21
|
"soak:long-session": "node scripts/long-session-soak.mjs",
|
|
22
22
|
"release:version": "node scripts/release-version.mjs",
|
|
23
23
|
"release:await-publish": "node scripts/await-publish.mjs",
|
|
24
|
+
"release:ship": "node scripts/release-ship.mjs",
|
|
25
|
+
"release:patch": "node scripts/release-ship.mjs patch",
|
|
26
|
+
"release:patch:tracked": "node scripts/release-ship.mjs patch --include-tracked",
|
|
27
|
+
"release:minor": "node scripts/release-ship.mjs minor",
|
|
28
|
+
"release:minor:tracked": "node scripts/release-ship.mjs minor --include-tracked",
|
|
29
|
+
"release:major": "node scripts/release-ship.mjs major",
|
|
30
|
+
"release:major:tracked": "node scripts/release-ship.mjs major --include-tracked",
|
|
24
31
|
"test": "vitest run",
|
|
25
32
|
"test:watch": "vitest"
|
|
26
33
|
},
|