-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: manually hoist latest versions of some of our deps
I manually installed `@npmcli/fs` and `minipass-fetch` to the root of our the dependency tree so that the deduped version would now live at the root of `node_modules/` and any conflicting versions would be deduped inside of its nested parent `node_modules/` directory. Once this was locked in `package-lock.json` removing them from the `package.json` does not undo the hoisting and deduping. This has no effect on the resolved versions bundled with `npm` but it does make it easier to visually scan the output of `query` commands to be sure we are not inadvertently deduping dependencies in the future.
- Loading branch information
1 parent
6a27a7b
commit 7563a94
Showing
52 changed files
with
117 additions
and
1,734 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,9 @@ | ||
'use strict' | ||
|
||
const cp = require('./cp/index.js') | ||
const withTempDir = require('./with-temp-dir.js') | ||
|
||
module.exports = { | ||
...require('./fs.js'), | ||
copyFile: require('./copy-file.js'), | ||
cp: require('./cp/index.js'), | ||
mkdir: require('./mkdir.js'), | ||
mkdtemp: require('./mkdtemp.js'), | ||
rm: require('./rm/index.js'), | ||
withTempDir: require('./with-temp-dir.js'), | ||
withOwner: require('./with-owner.js'), | ||
withOwnerSync: require('./with-owner-sync.js'), | ||
writeFile: require('./write-file.js'), | ||
cp, | ||
withTempDir, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...e/node_modules/@npmcli/fs/lib/cp/index.js → ...p/node_modules/@npmcli/fs/lib/cp/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
12 changes: 12 additions & 0 deletions
12
node_modules/node-gyp/node_modules/@npmcli/fs/lib/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
module.exports = { | ||
...require('./fs.js'), | ||
copyFile: require('./copy-file.js'), | ||
cp: require('./cp/index.js'), | ||
mkdir: require('./mkdir.js'), | ||
mkdtemp: require('./mkdtemp.js'), | ||
rm: require('./rm/index.js'), | ||
withTempDir: require('./with-temp-dir.js'), | ||
withOwner: require('./with-owner.js'), | ||
withOwnerSync: require('./with-owner-sync.js'), | ||
writeFile: require('./write-file.js'), | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.