chore: use import instead of require for bundling diff command#3847
chore: use import instead of require for bundling diff command#3847fahslaj merged 1 commit intolerna:mainfrom
Conversation
f339e57 to
d5fa724
Compare
|
@fahslaj @JamesHenry what do you think about this approach? I recognized that during build no typechecks are executed for libs/command libraries. I know for tests typechecks are applied but not during build. |
|
@amorscher I like it. When changing how these commands and functions are exported, we should ensure that they can be imported by end users in the same way as before. For example: I just tested this branch locally and this appears to be the case with |
|
@fahslaj Ok good. Thx for having a look! |
|
I will update the commit message to make it clear that only diff command is changed for now |
- ensures that typechecks are executed during build command
a1891c5 to
915e476
Compare
Description
using require does not execute type checks during
npx nx run-many -t build --parallel=3Motivation and Context
Ensure typechecking during build for libs as well. Remove warnings/errors from eslint regarding
requirestatementsHow Has This Been Tested?
All unit tests and integration tests still pass.
Types of changes
Checklist: