build: update typescript and its friend to 5.1#271
build: update typescript and its friend to 5.1#271valarnin merged 18 commits intoOverlayPlugin:mainfrom
Conversation
Reported in #271 Some are not actually fixed, but leave a FIXME comment whenever someone are willing to fix it.
|
I'd like to land this so I can fix some of the underlying issues with my PR #462, as well as do some maintenance on outdated/vulnerable dependencies. Can you rebase to current main and fix the remaining linting/testing errors? |
Sure, it'd take some time to resolve linting / testing errors though. |
Done |
valarnin
left a comment
There was a problem hiding this comment.
The tech changes here all look good.
Linting adjustments for triggers don't really match our normal patterns (early out for undefined) and should be adjusted.
I'm fine with merging with ESNext module spec.
This PR takes the precedence of the Vite migration in #159
Summary
moduleResolutionset tobundlerwhich not requires.jsextension in the import statement.--experimental-specifier-resolution=nodeto enable extensionless even in ESM mode,ts-nodeimplemented the feature as well.tsconfig.jsonfiles for different requirement (ESLint, Mocha, etc)typescript-eslintrequiresparserOptions.projectto be setRemaining Issue
TypeScript report that type definisions of the package(resolved)chokidarare not correct.It is a package required by webpack, maybe we should update webpack?Several files have not been reported errors by eslint before but now they are reported, dunno why but it is a good change to fix them.(fixed)