Commit 5073a6d
committed
Correctly install optional native dependencies
See #1320 for a description of the problem.
To fix it while causing minimal disruption to our `package-lock.json`,
I did the following:
- Run
```sh
npm i -D @swc/core@1.11.24 rollup@4.40.2 esbuild@0.25.0 @parcel/watcher@2.5.0
```
This installs (and saves to `package.json` under `devDependencies`)
all the dependencies we have that have optional native transitive dependencies.
The versions are the versions we currently have,
so as to not update anything in the process.
- Run
```sh
git restore package.json
npm i
```
We actually don't want these transitive deps as direct deps;
we just wanted `npm` to update `package-lock.json`,
which should have happened now.
Hopefully fixes #1320.1 parent bc5a804 commit 5073a6d
1 file changed
Lines changed: 1562 additions & 512 deletions
0 commit comments