v2.7.0
2.7.0 (2021-10-20)
Features
- @monorepo-utils/workspaces-to-typescript-project-references: add --includesRoot flag (#52) (fa0b3ce)
--includesRoot help you to build your all packages.
- If
--includesRoot, it will updatereferencesin<root>/tsconfig.jsontoo - If
--includesRoot --check, it will check thereferencesin<root>/tsconfig.jsontoo
It allow to build all packages at once.
You can generate <root>/tsconfig.json via next command.
npx @monorepo-utils/workspaces-to-typescript-project-references --includesRoot
<root>/tsconfig.json
{
"references": [
{
"path": "packages/@monorepo-utils/collect-changelog"
},
{
"path": "packages/@monorepo-utils/package-utils"
},
{
"path": "packages/@monorepo-utils/workspaces-to-typescript-project-references"
}
]
}You can 3 packages at once by running next command in <root>.
tsc -b .
Of course, You can watch changes of all packages.
tsc -b . --watch
fix #43