-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
Description
Describe the bug
After npm i @swc/jest
in a project, there are two core distributions available in node_modules
:
$ du -sh node_modules/@swc/*
444K node_modules/@swc/core
74M node_modules/@swc/core-linux-x64-gnu
78M node_modules/@swc/core-linux-x64-musl
24K node_modules/@swc/jest
Input code
npm i @swc/jest
Config
n/a
Playground link
No response
Expected behavior
Both of these are >70M in size. Ideally only one would be installed at a time.
Actual behavior
Both packages have the same system dependencies listed in their package.json
files:
...and so both get installed on Linux x64 systems.
Version
1.2.143
Additional context
I'm not familiar enough with npm/node OS & CPU identifiers to know whether a more granular description could be used. If there is, I would love to send a PR to fix this. 😄
If not, it might be the case that npm/rfcs#519 blocks a real resolution?
Context: typescript-eslint/tslint-to-eslint-config#1367. WSL 2.0 in an Ubuntu drive.
chiawendt, simonhammes and transitive-bullshit