opencode-enhancer 1.0.5 → 1.0.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/README.md +0 -49
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -53,55 +53,6 @@ opencode-enhancer plugins update
|
|
|
53
53
|
|
|
54
54
|
Other registry plugins are still updated with `@latest`.
|
|
55
55
|
|
|
56
|
-
## Publishing
|
|
57
|
-
|
|
58
|
-
### GitHub Actions
|
|
59
|
-
|
|
60
|
-
Configure npm Trusted Publishing for this package:
|
|
61
|
-
|
|
62
|
-
1. Go to `npmjs.com` -> package `opencode-enhancer` -> `Settings`
|
|
63
|
-
2. Open `Trusted Publisher`
|
|
64
|
-
3. Add a GitHub Actions publisher for:
|
|
65
|
-
4. Organization or user: `rokartur`
|
|
66
|
-
5. Repository: `opencode-enhancer`
|
|
67
|
-
6. Workflow filename: `publish.yml`
|
|
68
|
-
|
|
69
|
-
The workflow in `.github/workflows/publish.yml` will then publish automatically when you push a semver tag like `v1.0.2`.
|
|
70
|
-
|
|
71
|
-
It will:
|
|
72
|
-
|
|
73
|
-
- install dependencies
|
|
74
|
-
- verify that the git tag matches `package.json` version
|
|
75
|
-
- run `npm run release:check`
|
|
76
|
-
- run `npm publish --access public`
|
|
77
|
-
|
|
78
|
-
With Trusted Publishing enabled, no `NPM_TOKEN` secret or OTP is needed in GitHub Actions.
|
|
79
|
-
|
|
80
|
-
### Manual Local Publish
|
|
81
|
-
|
|
82
|
-
For a normal local registry publish flow:
|
|
83
|
-
|
|
84
|
-
```bash
|
|
85
|
-
npm run release:check
|
|
86
|
-
npm publish
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
Then users can install the CLI with `npm install -g opencode-enhancer` and the plugin with `opencode plugin "opencode-enhancer@latest" --global`.
|
|
90
|
-
|
|
91
|
-
### Release Flow
|
|
92
|
-
|
|
93
|
-
Recommended release flow with GitHub Actions:
|
|
94
|
-
|
|
95
|
-
```bash
|
|
96
|
-
npm version patch
|
|
97
|
-
git push origin main
|
|
98
|
-
git push origin --tags
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
You can also use `npm version minor` or `npm version major`.
|
|
102
|
-
|
|
103
|
-
The package is published under the unscoped name `opencode-enhancer`.
|
|
104
|
-
|
|
105
56
|
## CLI
|
|
106
57
|
|
|
107
58
|
```bash
|