We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd9a66d commit 2fd8292Copy full SHA for 2fd8292
scripts/resetdeps.js
@@ -12,6 +12,7 @@ const cleanup = async () => {
12
}
13
14
const main = async ({ packageLock }) => {
15
+ await git('status') // run ANY @npmcli/git command to instantiate its lazy loading
16
await fs.rimraf(join(CWD, 'node_modules'))
17
for (const { path } of await pkg.mapWorkspaces()) {
18
await fs.rimraf(join(path, 'node_modules'))
0 commit comments