@w32191/just-loop
v0.1.5
Published
OpenCode plugin package for just-loop.
Readme
@w32191/just-loop
OpenCode plugin package for just-loop.
Requirements
- Node 20+
Install
npm install @w32191/just-loopUsage
Put this in your OpenCode plugin entry or config file:
import justLoop from "@w32191/just-loop"
export default justLoopThis package is intended for OpenCode plugin usage.
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.
