@repodog/build-references
The RepoDog build-references command.
Installation
yarn add @repodog/build-references --dev
Usage
The command iterates through each package in a monorepo and adds the references
objects into each package's
tsconfig.json
based on the "internal" dependencies in a package's package.json
.
The command can be configured through the repodog.config.json
configuration file.
// package.json
{
"scripts": {
"build-references": "build-references"
}
}
// repodog.config.json
{
"buildReferences": {
"global": ["@repodog/types"],
},
}
# terminal
yarn run build-references