lazypock 0.8.2 → 0.8.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.
- package/README.md +28 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.global.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +3 -0
package/README.md
CHANGED
|
@@ -531,6 +531,34 @@ const off = client.collection('public_feed').subscribe((e) => {
|
|
|
531
531
|
});
|
|
532
532
|
```
|
|
533
533
|
|
|
534
|
+
|
|
535
|
+
## Releasing (automatic)
|
|
536
|
+
|
|
537
|
+
Releases are fully automatic via [release-please](https://github.com/googleapis/release-please):
|
|
538
|
+
|
|
539
|
+
1. Push a feature/fix to `main` with a conventional commit message
|
|
540
|
+
(`fix(...)`, `feat(...)`, `chore(...)`). Release Please opens a
|
|
541
|
+
**release PR** — `chore(main): release vX.Y.Z` — with the version bump
|
|
542
|
+
and generated `CHANGELOG.md`.
|
|
543
|
+
2. **Merge the release PR** (review it first — it's the human gate). That
|
|
544
|
+
merge creates the `vX.Y.Z` GitHub Release and tag, then the same workflow
|
|
545
|
+
run builds, typechecks, runs the smoke tests, and publishes the package
|
|
546
|
+
to npm.
|
|
547
|
+
|
|
548
|
+
There is no manual `workflow_dispatch` step and no local `npm publish`.
|
|
549
|
+
|
|
550
|
+
### Version selection
|
|
551
|
+
|
|
552
|
+
- `fix(...)` commits → patch (`0.8.2` → `0.8.3`)
|
|
553
|
+
- `feat(...)` commits → minor (`0.8.2` → `0.9.0`)
|
|
554
|
+
- a `BREAKING CHANGE:` footer in any commit body → major (`0.8.2` → `1.0.0`)
|
|
555
|
+
|
|
556
|
+
### One-time setup
|
|
557
|
+
|
|
558
|
+
- Add an npm access token (Automation or Publish scope, from
|
|
559
|
+
<https://www.npmjs.com/settings/<you>/tokens>) as the repo secret
|
|
560
|
+
**`NPM_TOKEN`** under Settings → Secrets and variables → Actions.
|
|
561
|
+
|
|
534
562
|
## License
|
|
535
563
|
|
|
536
564
|
[MIT](LICENSE) © 2024-2025 Chris Nguyen (gnuzd)
|