intershell 0.4.0 → 0.6.0

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 +6 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -110,10 +110,14 @@ bun run check # lint --fix, then typecheck, test, and build
110
110
  Release to npm after `version:prepare` and `version:apply` (so `package.json` and the git tag match):
111
111
 
112
112
  ```bash
113
- bun run publish # validate, build, npm publish
114
- bun run publish -- --dry-run # npm publish --dry-run
113
+ bun run version:publish # validate, build, npm publish
114
+ bun run version:publish -- --dry-run # npm publish --dry-run
115
115
  ```
116
116
 
117
+ The script lives at `scripts/version/publish.ts` and is exposed as `version:publish` so it stays grouped with the other version scripts and does not use the script name `publish` (npm treats that as a lifecycle hook after `npm publish`).
118
+
119
+ After a real `npm publish`, it runs [`gh release create`](https://cli.github.com/manual/gh_release_create) (or `gh release edit` if the release already exists). Install the [GitHub CLI](https://cli.github.com/) and run `gh auth login`. The version tag must exist on the remote (`--verify-tag`). Use `--no-github` to skip. Release notes come from the package `CHANGELOG.md` when it is non-empty; otherwise GitHub auto-generates notes on create only.
120
+
117
121
  ## Requirements
118
122
 
119
123
  - **Bun** >= 1.0.0 (recommended runtime)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "intershell",
4
- "version": "0.4.0",
4
+ "version": "0.6.0",
5
5
  "description": "Bun-first TypeScript library of monorepo entities (commits, packages, versioning, tags, affected, compose, config).",
6
6
  "license": "MIT",
7
7
  "author": "Soheil Movahedan <soheil.movahedan@gmail.com>",
@@ -40,7 +40,7 @@
40
40
  "commit:check": "bun run ./src/commit-check.ts",
41
41
  "version:prepare": "bun run ./scripts/version/prepare.ts",
42
42
  "version:apply": "bun run ./scripts/version/apply.ts",
43
- "publish": "bun run ./scripts/publish/publish.ts"
43
+ "version:publish": "bun run ./scripts/version/publish.ts"
44
44
  },
45
45
  "keywords": [
46
46
  "monorepo",