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

build: add typescript project references #4055

Merged
merged 22 commits into from
May 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
ac079d0
build: add typescript project references
Apr 21, 2022
b70f3c6
test: add check for typescript proj refs
Apr 21, 2022
25a4eae
build: add compile scripts, fix tsconfig in packages
Apr 21, 2022
bf7f9cd
refactor: extract common tsconfig into common config
Apr 21, 2022
a25d302
build: add post compile step to deal with JS files and test artifacts
Apr 22, 2022
a6828fa
build: add tsconfig for node 14
Apr 22, 2022
580495b
refactor: common tsconfig to reuse node 14 base config
Apr 22, 2022
9d7556b
refactor: remove tsc clean from existing clean script
Apr 22, 2022
c66653a
docs: add info about new compile scripts
Apr 22, 2022
2dae190
fix(compile): add packages that use webpack to compile step
Apr 22, 2022
14ee6d6
fix: add separate tsconfig for ts-loader / webpack
Apr 23, 2022
b27f02c
fix(soql): add tsconfig for webpack / ts-loader
Apr 23, 2022
352d068
Merge branch 'develop' into mohanraj-r/typescript-project-ref-enable
mohanraj-r Apr 23, 2022
3d61170
build: revert to es6 target in tsconfig
Apr 23, 2022
3dec188
build: refactor post compile webpack and file copy steps
Apr 25, 2022
cff7b38
docs: update info about limitations of compile watch mode
Apr 25, 2022
c076518
refactor: remove unnecessary tsconfig webpack config files
Apr 25, 2022
6e7e80b
docs: link work items to TODO items
Apr 26, 2022
6cfd6bc
Merge branch 'develop' into mohanraj-r/typescript-project-ref-enable
Apr 26, 2022
761cd60
docs: update comment about copying js files
Apr 26, 2022
25bfccf
Merge branch 'develop' into mohanraj-r/typescript-project-ref-enable
May 3, 2022
58e53fd
Merge branch 'develop' into mohanraj-r/typescript-project-ref-enable
mohanraj-r May 3, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion contributing/developing.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,10 @@ this command.

### `npm run compile`

This runs `npm run compile` on each of the package in packages.
This invokes typescript compiler on the packages in the monorepo using [typescript project references](https://www.typescriptlang.org/docs/handbook/project-references.html).
- `npm run compile:watch` invokes typescript compiler to watch for changes in the background and compile only changed code and its dependencies. This would not invoke the post compile steps such as webpack or copying file artifacts.
- `npm run compile:clean` cleans previously compiled artifacts and invokes compile
- `npm run check:typescript-project-references` validates typescript project references and would error if there are any missing references

### `npm run clean`

Expand Down
Loading