a sane way to manage lots of open source packages
RepoMan is a tool that helps you manage lots of packages, whether you are ejecting them from a mono-repo, or just want an easier way to maintain your many repos.
It is primarily focused on node packages to start, adding helpers for linking them all together and publishing them, but eventually will be pluggable.
⚠️ note: repo-man NOT repoman⚠️
npm i -g repo-manFor a list of all commands and their details:
repoman helpUseful commands:
repoman initto set up your projects folderrepoman trackto track any folder on your systemrepoman ejectto pull a folder into your repoman projects folderrepoman statusto see your projectsrepoman linkto npm link your projects togetherrepoman run [command]to run any command from your package.jsonrepoman publish [org]to publish all your packages, like lerna
Repoman wants to solve one general big problem:
I don't want to have any extra pain going from managing 1 to N open source packages
To get there you need:
- Avoid the pain of copy/pasting tons of dotfiles around
- Avoid the pain of linking together modules
- Avoid the pain of releasing all your modules
- Avoid the pain of syncing your repos all up/down
Separately, if you are working on a team, you need the concept of a set of repos that everyone is using. And finally, you likely have a parent mono repo that these repos all connect into.
To make this all possible, repoman has the concept of a set of repos, or a reposet, as well as your workspace.
So you have your workspace:
~/projectsand then you have your sets:
~/projects/[set]which then contain all your packages:
~/projects/[set]/[package]