Skip to content

v2.7.0

Choose a tag to compare

@azu azu released this 20 Oct 13:35
· 56 commits to master since this release

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 update references in <root>/tsconfig.json too
  • If --includesRoot --check, it will check the references in <root>/tsconfig.json too

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