You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`beta` is the recommended install channel until the package has a stable release. This keeps prereleases off `latest`.
20
+
19
21
If you want reproducible installs instead of automatic plugin refreshes, pin an exact version:
20
22
21
23
```json
22
24
{
23
-
"plugin": ["opencode-planner@0.1.0"]
25
+
"plugin": ["opencode-planner@0.1.1-beta.0"]
24
26
}
25
27
```
26
28
@@ -32,9 +34,12 @@ If you want reproducible installs instead of automatic plugin refreshes, pin an
32
34
33
35
## Auto-updates
34
36
35
-
OpenCode installs npm plugins automatically. Using `opencode-planner@latest` gives the smoothest update path for most users.
37
+
OpenCode installs npm plugins automatically. During the prerelease phase, `opencode-planner@beta` gives the smoothest update path for most users.
38
+
39
+
For this package's current prerelease phase, use `opencode-planner@beta` instead of `@latest`.
36
40
37
-
-`@latest`: pick up new published plugin versions on restart
41
+
-`@beta`: pick up new prerelease plugin versions on restart without opting into a future stable channel
42
+
-`@latest`: reserved for stable releases
38
43
- exact version pin: stay fixed until the config is changed deliberately
39
44
40
45
If OpenCode appears to keep an older cached plugin, clear the cache under `~/.cache/opencode/` and restart.
@@ -50,8 +55,8 @@ npm test
50
55
1. Update `CHANGELOG.md`.
51
56
2. Bump the version in `package.json`.
52
57
3. Commit the release.
53
-
4. Create and push a git tag like `v0.1.1`.
54
-
5.Publish to npm.
58
+
4. Create and push a git tag like `v0.1.1-beta.0` for prereleases or `v0.1.1` for stable releases.
59
+
5.Let GitHub Actions publish to npm using the correct dist-tag.
55
60
6. Publish matching GitHub release notes.
56
61
57
62
The repository includes GitHub Actions templates for CI and npm publishing from version tags.
@@ -62,7 +67,7 @@ Set this repository secret for automated npm publishing:
62
67
63
68
-`NPM_TOKEN`
64
69
65
-
The release workflow publishes on version tags like `v0.1.0` and creates GitHub release notes automatically.
70
+
The release workflow publishes prerelease tags like `v0.1.1-beta.0`to the npm `beta` dist-tag, stable tags like `v0.1.1` to `latest`, and creates matching GitHub release notes automatically.
0 commit comments