You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tsc has monorepo capabilities I wasn't even aware of
you can add this to the root/base tsconfig.json:
"composite": true,
"incremental": true
and build with tsc -b
and in individual package.json, add "references": [{ "path": "..." }] to reference dependencies
And typescript takes care to cache builds, and build dependencies automatically. No need to do pnpm --filter package... build to build all sub-dependencies (and even if we keep that command, it'll be faster anyway due to caching)
The text was updated successfully, but these errors were encountered:
tsc has monorepo capabilities I wasn't even aware of
you can add this to the root/base
tsconfig.json
:and build with
tsc -b
and in individual package.json, add
"references": [{ "path": "..." }]
to reference dependenciesAnd typescript takes care to cache builds, and build dependencies automatically. No need to do
pnpm --filter package... build
to build all sub-dependencies (and even if we keep that command, it'll be faster anyway due to caching)The text was updated successfully, but these errors were encountered: