@andespindola/brainlink 0.1.0-alpha.4 → 0.1.0-alpha.6
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/docs/RELEASE.md +7 -0
- package/package.json +1 -1
package/docs/RELEASE.md
CHANGED
|
@@ -47,11 +47,18 @@ blink server --vault ./tmp-vault --host 0.0.0.0
|
|
|
47
47
|
|
|
48
48
|
The preferred path is the `Publish npm` GitHub Actions workflow:
|
|
49
49
|
|
|
50
|
+
- Push to `main`: runs checks, pack smoke, then publishes the package to npm with `latest` when `package.json` contains a version that is not already published.
|
|
50
51
|
- GitHub Release `published`: runs checks, pack smoke, then publishes to npm with provenance.
|
|
51
52
|
- Manual `workflow_dispatch`: runs a dry run by default. Disable `dry_run` only for an intentional manual publish.
|
|
52
53
|
- Manual `workflow_dispatch` accepts an optional `dist_tag` override. Use `latest` only when the default npm install command should resolve to that version.
|
|
53
54
|
- Prerelease versions publish under their prerelease dist-tag, for example `0.1.0-alpha.1` publishes with `--tag alpha`.
|
|
54
55
|
|
|
56
|
+
On `main`, the publish job checks npm before publishing. If the version already exists, it automatically bumps the package inside the runner to the next available version before checks, packing and publishing. For example, `0.1.0-alpha.4` becomes `0.1.0-alpha.5`.
|
|
57
|
+
|
|
58
|
+
The automatic bump is intentionally not pushed back to `main`. The branch stays protected, and npm remains the source of truth for the latest published package version.
|
|
59
|
+
|
|
60
|
+
Manual and GitHub Release publishes do not auto-bump. If their version already exists, they skip `npm publish` because npm versions are immutable.
|
|
61
|
+
|
|
55
62
|
For emergency local publishing of scoped public packages:
|
|
56
63
|
|
|
57
64
|
```bash
|
package/package.json
CHANGED