Issue → Branch → PR → Review → Merge, same as every other vemjs repo:
- Open an issue, unless one already covers it.
- Branch from
main. - Make the change with tests — every plugin here has its own
src/index.test.ts. - Open a PR against
main. CI (test, lint, format) must pass. - A maintainer reviews and merges.
git clone https://github.com/vemjs/vem-plugins.git
cd vem-plugins
bun install
bun testmkdir my-plugin && cd my-plugin, copy thepackage.json/tsconfig.jsonshape from an existing plugin (e.g.autopairs).- Add the directory to the root
package.json'sworkspacesarray and tobuild'sfor dir in …list. - Write
src/index.tsexporting aVemPlugin(see the README's "Writing a new plugin" section) andsrc/index.test.tswith real coverage — register it viaPluginRegistryin the test and assert onVemEditorStatechanges, not just thatactivate()doesn't throw. - Add a changeset (
bun run changeset) for the initial publish.
Changesets, one changeset per user-visible change:
bun run changesetpatch for bug fixes, minor for backward-compatible new features, major for breaking changes.
Merging to main with pending changesets opens (or updates) a "Version Packages" PR; merging that
publishes the bumped packages to npm automatically.
Please don't file public issues for security vulnerabilities — see SECURITY.md.