Update dependencies and fix lefthook command #14
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Updates all dependencies in this project since some of them were really old, for example
vitest,typescriptand@vitest/coverage-v8.What to do with the CJS version of react router app?
I haven't touched the CJS version and it seems like that even if it builds, i cannot run the CJS version.
First of all, the CJS build of Vite's Node API is deprecated even in the version that's defined in the current state (version 5).
Secondly, if I build it and run it, it exits with the following error
Type of change
Please mark relevant options with an
xin the brackets..jsand.cjsinstead of.mjsand.js. Not sure if it's a breaking changeHow Has This Been Tested?
I have cloned this repo, updated the packages listed in this PR, fixed the
lefthookcommand.I have also
pnpm buildand checked the output ofarethetypeswrongReviewer checklist
Mark everything that needs to be checked before merging the PR.