@releasekit/publish 0.3.0 → 0.4.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.
- package/README.md +14 -3
- package/dist/chunk-ZMMZ7S6G.js +1864 -0
- package/dist/cli.d.ts +6 -0
- package/dist/cli.js +80 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +38 -0
- package/docs/github-releases.md +177 -0
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
# @releasekit/publish
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/@releasekit/publish)
|
|
4
|
+
[](https://www.npmjs.com/package/@releasekit/publish)
|
|
5
|
+
[](https://www.npmjs.com/package/@releasekit/publish)
|
|
6
|
+
|
|
7
|
+
**Publish packages to npm and crates.io with git tagging and GitHub releases.**
|
|
4
8
|
|
|
5
9
|
## Features
|
|
6
10
|
|
|
@@ -50,6 +54,8 @@ The publish pipeline runs in order:
|
|
|
50
54
|
8. **Git Push** - Push commits and tags to remote
|
|
51
55
|
9. **GitHub Release** - Create GitHub releases
|
|
52
56
|
|
|
57
|
+
The pipeline is **fail-fast**: the first package publish failure throws immediately. Git push and GitHub release are skipped, so the version commit and tag remain local until the issue is fixed and the release is retried.
|
|
58
|
+
|
|
53
59
|
## CLI Reference
|
|
54
60
|
|
|
55
61
|
| Flag | Description | Default |
|
|
@@ -59,7 +65,7 @@ The publish pipeline runs in order:
|
|
|
59
65
|
| `--registry <type>` | Registry to publish to: `npm`, `cargo`, `all` | `all` |
|
|
60
66
|
| `--npm-auth <method>` | NPM auth method: `oidc`, `token`, `auto` | `auto` |
|
|
61
67
|
| `--dry-run` | Simulate all operations | `false` |
|
|
62
|
-
| `--skip-git` | Skip git commit/tag/push | `false` |
|
|
68
|
+
| `--skip-git` | Skip git commit/tag/push (also skips GitHub release — no tag to release against) | `false` |
|
|
63
69
|
| `--skip-publish` | Skip registry publishing | `false` |
|
|
64
70
|
| `--skip-github-release` | Skip GitHub Release creation | `false` |
|
|
65
71
|
| `--skip-verification` | Skip post-publish verification | `false` |
|
|
@@ -126,7 +132,7 @@ Configure via `releasekit.config.json`:
|
|
|
126
132
|
"githubRelease": {
|
|
127
133
|
"enabled": true,
|
|
128
134
|
"draft": true,
|
|
129
|
-
"
|
|
135
|
+
"body": "auto"
|
|
130
136
|
},
|
|
131
137
|
"verify": {
|
|
132
138
|
"npm": {
|
|
@@ -144,6 +150,11 @@ Configure via `releasekit.config.json`:
|
|
|
144
150
|
|
|
145
151
|
See [@releasekit/config](../config/README.md) for full configuration options.
|
|
146
152
|
|
|
153
|
+
## Documentation
|
|
154
|
+
|
|
155
|
+
**Guides**
|
|
156
|
+
- [GitHub Releases](./docs/github-releases.md) — release body options, LLM prose, draft workflow
|
|
157
|
+
|
|
147
158
|
## License
|
|
148
159
|
|
|
149
160
|
MIT
|