Fix/issue 134#142
Conversation
VivekFitkariwala
commented
Sep 19, 2021
- Added swc transpiler
- Removed type checking from typescript transpilation and added separate command for transpilation
- Added husky for pre commit hook for lint and type check during development
- Added type checking during build
Updating ts-node to use swc compiler
|
Husky is added at the root level of the project. So for husky to work properly you need to npm install at the root level. |
| @@ -1,8 +1,16112 @@ | |||
| { | |||
| "name": "ab-testing", | |||
| "version": "1.0.52", | |||
| "lockfileVersion": 1, | |||
| "lockfileVersion": 2, | |||
There was a problem hiding this comment.
@VivekFitkariwala Do we really need this change as we don't have any changes in the package.json file?
There was a problem hiding this comment.
This is due to different npm version we are using. I think if we are npm > ^7.0.0 it uses "lockfileVersion": 2. I have reverted the change for now but I think we can force user to use minimum version of npm to avoid this conflict in future
|
I just got: I don't like husky sideloading itself into my local git config without any warning just because I ran |