Commit 9ab956e
Fergus Bisset
feat(publish): add smart publish script with automatic tag detection
- Add scripts/publish-package.cjs that auto-detects prerelease versions
- Automatically applies correct --tag parameter (alpha/beta/rc/latest)
- Update package.json scripts:
- publish:package now uses smart script
- Add publish:alpha, publish:beta, publish:latest shortcuts
- Add release:prerelease:beta for beta releases
- Add docs/PUBLISHING.md with comprehensive guide
- Update README.md with publishing section
Fixes recurring 'must specify --tag' publish failures for prereleases
Prevents manual errors by detecting version format automatically1 parent 0846cb2 commit 9ab956e
File tree
5 files changed
+395
-183
lines changed- dist/meta
- docs
- scripts
5 files changed
+395
-183
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
305 | 326 | | |
306 | 327 | | |
307 | 328 | | |
| |||
0 commit comments