-
Notifications
You must be signed in to change notification settings - Fork 321
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
chore: bump and align dependencies; dedupe typescript #379
Conversation
8f91d2b
to
afc3a42
Compare
This also updates dependencies
which would pull in dependents/node-filing-cabinet#117 which should fix some breakage with index.ts files |
@PabloLION @pahen @kamiazya PTAL |
Hi, I'm just back to dev. |
Hi, @legobeat ! thanks for the PR and I think it's almost ready to get merged! Only thing is that I find the base of your branch is 499 commits ago. Could you rebase it to current master? I tried to do it but it seems you didn't select "Allow edits from maintainers" so my hands are tied. |
Already included transitively through precinct
afc3a42
to
b5aeefe
Compare
@PabloLION Hm, odd, the "Allow edits and access to secrets by maintainers" box is and was checked. Either way, just rebased on current |
Sorry I just logged off. This will be the first priority on my next session. Thanks again! |
@typescript-eslint/typescript-estree 6.8 does not support TS>5.2.0
I found TS>5.2.0 gets a warning (no error) with @typescript-eslint/typescript-estree So I'm limiting it to 5.2.0. I think it's enough for our current stage. And since it's already in the dev dependency, we no longer need it as a peer dep nor in the peer dep meta. So I removed those fields. |
devDeps: pin to typescript ~5.2.0 in devDeps only @typescript-eslint/typescript-estree is only used for linting and shouldn't affect runtime dependencies.
Hm, so my observations:
Did I miss something here? Just pushed 726d2c2, which restricts the version of the devDependency but retains the peerDependency Separately, checking in the lockfile (part of #394) would improve reproducability and consistency with regards to |
Sorry that I was sloppy on 9db3ebd Your statements are all correct, I'm just trying to relate them to
We should restrict typescript version as devDependency
Should keep TS as peerDependency for non-dev users. Finally, thanks again for the correction and the work. |
This bumps and aligns dependency versions to resolve inefficiencies and fixed upstream issues.
[email protected]
currently pulls in multiple different versions oftypescript
. This removes the3.x
and4.x
transitive dependencies, aligning on a single^5.0.4
, which is now also the version used asdevDependency
.detective-*
packages which are already included throughprecinct
madge
to ESM as well, which should be done as a future breaking change in madge v7 or later. These have been kept at the latest CommonJS version.This reduces the size of
node_modules
on a local checkout from 333MB to 149MB.