Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@sobreak/svn-merge-annotator) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
SVN Merge Annotator Engine CLI
本目录用于发布 npx 本地引擎安装器。
开发阶段声明:当前包处于开发阶段(Alpha),接口和行为可能随迭代调整,请勿直接用于生产环境。 Vibe Coding 说明:项目允许探索性/即兴式开发(vibe coding),实现细节可能快速演进,欢迎反馈与 PR。
开发阶段(私有 registry)
- 配置私有 registry(示例):
@sobreak:registry=https://your-registry.example.com/
//your-registry.example.com/:_authToken=YOUR_TOKEN- 发布:
npm publish --registry https://your-registry.example.com/- 用户侧使用:
npx --yes @sobreak/svn-merge-annotator ensure转公有 npm
- 确认包名在公有 npm 可用
- 发布:
npm publish --access public发布脚本(PowerShell)
scripts/publish.ps1 -Registry "https://your-registry.example.com/" -Access restricted
scripts/publish.ps1 -Access public
scripts/publish.ps1 -Access public -Tag next -DryRun本地测试(不发布)
npx --yes E:\File\NitaFile\Projects\svn-merge-annotator-repo\tools\engine-cli ensure说明
prepack会将仓库根目录的backend/复制到本包内,确保 npx 可用。postpack会清理复制后的backend/。