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

perf(build): Don't invoke tsc during test and development #1503

Merged
merged 2 commits into from
Dec 4, 2024

Conversation

rkaraivanov
Copy link
Member

  • Since the repo migrated to Storybook and its Vite builder invoking tsc during development preview is a waste of developer time.
  • The same goes for unit test runs. Now the test runner uses the esbuild plugin to transform .ts files on the fly during testing.
  • Removed some obsolete npm scripts.

The typescript compiler is now invoked only when
running build:publish, i.e. before release.

* Since the repo migrated to Storybook and its Vite builder
invoking tsc during development preview is a waste of developer
time.
* The same goes for unit test runs. Now the test runner
uses the esbuild plugin to transform `.ts` files on the fly
during testing.
* Removed some obsolete npm scripts.

The typescript compiler is now invoked only when
running `build:publish`, i.e. before release.
@rkaraivanov rkaraivanov added the dependencies Pull requests that update a dependency file label Dec 4, 2024
@damyanpetev damyanpetev merged commit 29fb7c1 into master Dec 4, 2024
5 checks passed
@damyanpetev damyanpetev deleted the rkaraivanov/improve-startup-times branch December 4, 2024 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file squash-merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants