An opinionated command line utility for managing a repository.
yarn add repodog --dev
The script creates a new monorepo package from scaffolding files in the .repodog/scaffold/new-package/
folder and
generates/updates the package's package.json with the name and description arguments passed to the script. The package
version is taken from the package.json in the root of the project. The script also provides a new-package:post
script
hook that runs after a new package has been created.
"scripts": {
"new-package": "new-package",
"new-package:post": "lerna bootstrap"
}
yarn run new-package --name valid-name --desc "A valid package description."