@repodog/new-repo
The RepoDog new-repo command.
Installation
yarn add @repodog/new-repo --dev
The package depends on @repodog/constants and @repodog/helpers, as well as core-js, @babel/runtime and lodash, so these packages also need to be installed in your project.
yarn add @repodog/constants @repodog/helpers core-js @babel/runtime lodash --dev
Usage
The command creates a new repo in an existing project, copying over scaffolding files for Typescript, popular
linters and build tools, and merging its package.json
with the one in the root of the project. It then installs
the project's dependencies.
// package.json
{
"scripts": {
"new-repo": "new-repo"
}
}
# terminal
yarn run new-repo