@marcopeg/hal 1.0.27 → 1.0.28
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 +10 -5
- package/package.json +8 -4
package/README.md
CHANGED
|
@@ -177,13 +177,18 @@ The engine can send files back through Telegram. Each user has a `downloads/` fo
|
|
|
177
177
|
|
|
178
178
|
## Releasing
|
|
179
179
|
|
|
180
|
-
Releases use [conventional commits](https://www.conventionalcommits.org/)
|
|
180
|
+
Releases use [release-it](https://github.com/release-it/release-it) with [conventional commits](https://www.conventionalcommits.org/) for versioning and changelog, then you publish with npm so the browser/OTP flow works normally.
|
|
181
181
|
|
|
182
|
-
|
|
183
|
-
2. **Auth** — Run `npm login` if you are not already logged in to the registry.
|
|
184
|
-
3. **Release** — Run `pnpm run deploy` (or `npm run deploy`). This runs `npm version patch` then `npm publish --access public`. The `version` script regenerates `CHANGELOG.md` from commits since the last tag and adds it to the release commit before the version tag is created.
|
|
182
|
+
**Package manager:** This repo uses **pnpm** (see `packageManager` in `package.json`). You can use **npm** instead; Node 18+ and `npm login` are the only requirements.
|
|
185
183
|
|
|
186
|
-
|
|
184
|
+
1. **Clean tree** — Commit or stash all changes. release-it will refuse to run if the working directory is dirty.
|
|
185
|
+
2. **Auth** — Run `npm login` if you are not already logged in.
|
|
186
|
+
3. **Version + changelog** — Either:
|
|
187
|
+
- **Patch:** `pnpm run deploy` or `npm run deploy` — non-interactive patch bump, updates `CHANGELOG.md`, commit, and tag.
|
|
188
|
+
- **Interactive (patch/minor/major):** `pnpm run release` or `npm run release` — choose the bump, then same (changelog, commit, tag).
|
|
189
|
+
4. **Publish** — Run `pnpm run publish` or `npm run publish`. This runs `npm publish --access public` in your terminal, so npm can open the browser or prompt for your OTP as usual when you have 2FA enabled.
|
|
190
|
+
|
|
191
|
+
Config: [.release-it.json](.release-it.json) (conventional-commits preset, `CHANGELOG.md` at repo root). release-it is configured not to run publish; the separate publish step keeps the flow simple and restores the normal npm 2FA experience.
|
|
187
192
|
|
|
188
193
|
## Security Notice
|
|
189
194
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@marcopeg/hal",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.28",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -17,10 +17,12 @@
|
|
|
17
17
|
"typecheck": "tsc --noEmit",
|
|
18
18
|
"lint": "biome check src",
|
|
19
19
|
"lint:fix": "biome check --write src",
|
|
20
|
-
"prepublishOnly": "
|
|
20
|
+
"prepublishOnly": "npm run build",
|
|
21
21
|
"sync-skills": "node .agents/scripts/sync-skills.mjs",
|
|
22
22
|
"prepare": "husky",
|
|
23
|
-
"
|
|
23
|
+
"release": "release-it",
|
|
24
|
+
"deploy": "release-it patch --ci",
|
|
25
|
+
"publish": "npm publish --access public",
|
|
24
26
|
"docs": "npx mdts"
|
|
25
27
|
},
|
|
26
28
|
"keywords": [
|
|
@@ -40,7 +42,7 @@
|
|
|
40
42
|
"description": "Telegram bot for AI coding agents. Multi-project and multi-engine: run Claude Code, Copilot, Codex, or OpenCode per project, each with its own bot.",
|
|
41
43
|
"repository": {
|
|
42
44
|
"type": "git",
|
|
43
|
-
"url": "https://github.com/marcopeg/hal.git"
|
|
45
|
+
"url": "git+https://github.com/marcopeg/hal.git"
|
|
44
46
|
},
|
|
45
47
|
"dependencies": {
|
|
46
48
|
"chokidar": "^5.0.0",
|
|
@@ -54,8 +56,10 @@
|
|
|
54
56
|
},
|
|
55
57
|
"devDependencies": {
|
|
56
58
|
"@biomejs/biome": "^2.3.11",
|
|
59
|
+
"@release-it/conventional-changelog": "^10.0.0",
|
|
57
60
|
"@types/node": "^25.0.8",
|
|
58
61
|
"husky": "^9.1.7",
|
|
62
|
+
"release-it": "^19.0.0",
|
|
59
63
|
"tsx": "^4.21.0",
|
|
60
64
|
"typescript": "^5.9.3"
|
|
61
65
|
},
|