Found a feature you want? Try moving it with Portsmith
说明与用途
Portsmith 让开发者在多个仓库之间提取并合并 JavaScript/TypeScript 功能,生成可审查的补丁,原始仓库保持不变。
问题
Reuse focused JavaScript/TypeScript features across multiple repositories without duplicating code.
结果
Portsmith enables developers to extract and consolidate features across repositories, producing a reviewable patch while keeping original codebases intact.
工作流
- Identify the feature to reuse
- Run Portsmith with the command
npx --yes --package=portsmith-workbench@alpha portsmith-demo(or a custom command) - Portsmith prepares changes in a temporary copy of the target repository
- Declared behavior checks are executed to ensure feature integrity
- A patch file is exported for review
- Apply the patch to the original repository if approved
证据
I built Portsmith to help reuse focused JS/TS features across repositories.
It prepares changes in a copy, runs declared behavior checks and exports a patch you can review.
Your original repos stay unchanged.
- 记录日期: 2026-10-14T14:41:23.119Z