0.5.10 • Published 5 years ago
repo-genesis v0.5.10
Organize multiple repositories into monolith structure
Install
yarn add repo-genesis
Use
const { init } = require("repo-genesis");
await init(config);
Full test: repo.test.js
Full config: sample.config.js
Config
const config = {
provider: "myProviderAlias",
repospacePath: path.join(__dirname, "../sandbox"),
repositories: [
{
servexyz: "npm-starter"
},
{
servexyz: "cli-starter"
}
]
};
Provider
Public
repos? Provider isoptional
Private
repos? Provider isrequired
Read more about defining config here
Goals
- 1:many repo locations without using submodules
- Easy-to-update layout without moving massive files
- Consistency for entire time with option for individual layouts
- Monolith convenience with micro lib modularity
Docs
For Users
- Config
Creating config used by init
For Maintainers
3rd party API's
Todos by release version & questions
Thinking about the API
Errors & notes about fixing them