@w32191/just-loop
v0.1.9
Published
OpenCode plugin package for just-loop.
Readme
@w32191/just-loop
OpenCode plugin package for just-loop.
Requirements
- Node 20+
Usage
在 opencode.json 的 plugin 欄位加入 plugin 名稱即可載入:
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["@w32191/just-loop"]
}依官方文件,opencode.json 放在專案根目錄(專案設定)或 ~/.config/opencode/opencode.json(全域設定)皆可,OpenCode 會在啟動時自動安裝與載入 npm 套件型 plugin。
Publishing notes
Bun is only a maintenance and release prerequisite. It is not a runtime dependency for normal installers.
Release
Primary release flow uses GitHub Actions and only allows manual dispatch from main.
GitHub Actions release
Prerequisites:
- GitHub Actions release workflow is configured in this repository
- npm Trusted Publisher is configured for this package
Steps:
- Open the
Releaseworkflow in GitHub Actions from themainbranch. - Choose either:
auto-bump = patch|minor, orauto-bump = noand provideversion = X.Y.Z
- Optionally add one-line
notes. - Optionally set
dry_run = trueto validate without pushing, tagging, or publishing.
The workflow will:
- Lock to the dispatched
maincommit SHA. - Install dependencies with
bun install --frozen-lockfile. - Update
package.jsonto the release version. - Run
npm run verify:publish. - Generate a release notes artifact.
- On non-dry-run:
- commit the version bump to
main - create and push tag
vX.Y.Z - publish to npm with
npm publish --provenance --access public - create the GitHub Release
- commit the version bump to
Local fallback
If GitHub Actions is unavailable, the equivalent manual flow is:
- Bump the package version.
- Run
npm run verify:publish. - Publish with
npm publish --access public.
