Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typescript project references #9588

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

christopherthielen
Copy link
Contributor

This adds typescript project references between the various modules that make up deck.
Allows all the projects to be compiled at once using tsc -b from root, or tsc -b -w for watch mode.

This will create tsconfig.tsbuildinfo cache files that should not be checked in (will be added to .gitignore) used by --incremental mode (which is implicitly enabled in -b mode). Typescript will compile only the changed packages and its dependencies. Right now core is a huge dependency on all other packages, so the speed improvement is minimal. However, this does provide a single command to rebuild or watch all of the deck packages.

@christopherthielen christopherthielen force-pushed the typescript-project-references branch 2 times, most recently from e3bfeff to 39f6611 Compare September 28, 2021 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant