Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

HARP-6198: Use Typescript project references (experiment). #592

Closed
wants to merge 1 commit into from

Conversation

zbigg
Copy link
Contributor

@zbigg zbigg commented Jun 26, 2019

Typescript project references allow to build typescript in incremental way, so webpack/mocha doens't have to compile them.

As for now, build is faster

  • each CI job takes 1 minute less on average)
  • but requies yarn tsc -w in background in addition to other tasks like mocha -w, webpack-dev-server ...

Task steps:

  • yarn build-bundle uses project references
  • yarn buid-examples uses project references
  • yarn build-test uses project references
  • yarn test uses project references
  • yarn build uses project references
  • package publishing reuses already compiled JS output
  • out-of-source build (?)
  • find a way to integrate this with ts-loader (waiting for Using Solution builder to build project references TypeStrong/ts-loader#935) and TypeScript 3.6, works but slow as hell
  • generate (?) project references from package.jsons of particular packages ..

Signed-off-by: Zbigniew Zagorski ext-zbyszek.zagorski@here.com

@zbigg zbigg force-pushed the tsc-build branch 4 times, most recently from eb60fbe to b22f692 Compare June 26, 2019 15:16
@stale
Copy link

stale bot commented Sep 8, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Sep 8, 2019
@stale stale bot removed the wontfix This will not be worked on label Sep 14, 2019
@zbigg zbigg force-pushed the tsc-build branch 6 times, most recently from a34e3d6 to 9b731ec Compare September 14, 2019 14:02
@zbigg zbigg force-pushed the tsc-build branch 2 times, most recently from 7b1f466 to 36ab7d4 Compare October 30, 2019 13:14
* introduce optional, parallel `tsc --build` based build system

Signed-off-by: Zbigniew Zagorski <ext-zbyszek.zagorski@here.com>
@stale
Copy link

stale bot commented Feb 8, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Feb 8, 2020
@stale stale bot closed this Feb 23, 2020
@musculman musculman deleted the tsc-build branch March 2, 2020 15:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
wontfix This will not be worked on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant