codeharbor 0.1.2 → 0.1.3

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.
Files changed (2) hide show
  1. package/README.md +8 -4
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -126,10 +126,13 @@ If the same package version already exists on npm, publish is skipped automatica
126
126
 
127
127
  Release checklist (recommended):
128
128
 
129
- 1. Update version in `package.json` (`npm version patch|minor|major`).
130
- 2. Push to `main` with `[publish-npm]` or `release vX.Y.Z` in commit message.
131
- 3. Verify workflow status in GitHub Actions.
132
- 4. Verify package on npm:
129
+ 1. Update `CHANGELOG.md` with a new version section and bullet-point release notes.
130
+ 2. Update version in `package.json` (`npm version patch|minor|major`).
131
+ 3. Validate changelog entry:
132
+ - `npm run changelog:check`
133
+ 4. Push to `main` with `[publish-npm]` or `release vX.Y.Z` in commit message.
134
+ 5. Verify workflow status in GitHub Actions.
135
+ 6. Verify package on npm:
133
136
 
134
137
  ```bash
135
138
  npm view codeharbor version
@@ -217,6 +220,7 @@ It documents:
217
220
  - `codeharbor admin serve`: start admin UI + config API server
218
221
  - `codeharbor config export`: export current config snapshot as JSON
219
222
  - `codeharbor config import <file>`: import config snapshot JSON (supports `--dry-run`)
223
+ - `npm run changelog:check`: validate `CHANGELOG.md` has notes for current package version
220
224
  - `scripts/install-linux.sh`: Linux bootstrap installer (creates runtime dir + installs npm package)
221
225
  - `scripts/install-linux-easy.sh`: one-shot Linux install + config + systemd auto-start
222
226
  - `scripts/backup-config.sh`: export timestamped snapshot and keep latest N backups
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeharbor",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Instant-messaging bridge for Codex CLI sessions",
5
5
  "license": "MIT",
6
6
  "main": "dist/cli.js",
@@ -57,7 +57,8 @@
57
57
  "test:legacy": ".venv/bin/python -m pytest -q tests",
58
58
  "prepare": "npm run build",
59
59
  "prepack": "npm run build",
60
- "prepublishOnly": "npm run typecheck && npm run lint && npm run test:coverage && npm run build",
60
+ "prepublishOnly": "npm run changelog:check && npm run typecheck && npm run lint && npm run test:coverage && npm run build",
61
+ "changelog:check": "bash ./scripts/check-changelog.sh",
61
62
  "lint": "eslint .",
62
63
  "lint:fix": "eslint . --fix",
63
64
  "test:coverage": "vitest run test --coverage"