diff --git a/package-lock.json b/package-lock.json index cc4b8d61956bc..081037aaf3e19 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "npm", - "version": "10.7.0", + "version": "10.7.0-1d24db047fed05413dd7a7bf0d92c55211364a4f.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "npm", - "version": "10.7.0", + "version": "10.7.0-1d24db047fed05413dd7a7bf0d92c55211364a4f.0", "bundleDependencies": [ "@isaacs/string-locale-compare", "@npmcli/arborist", diff --git a/smoke-tests/test/npm-replace-global.js b/smoke-tests/test/npm-replace-global.js index 758d5ba7e8230..b12f1b2b1c7ca 100644 --- a/smoke-tests/test/npm-replace-global.js +++ b/smoke-tests/test/npm-replace-global.js @@ -145,6 +145,9 @@ t.test('publish and replace global self', async t => { }).reply(201, {}) await npmLocal('publish', { proxy: true, force: true }) + if (setup.SMOKE_PUBLISH) { + await npmPackage() + } const paths = await npmInstall(npm) t.equal(paths.npmRoot, join(globalNodeModules, 'npm'), 'npm root is in the testdir') t.equal(paths.pathNpm, join(globalBin, 'npm'), 'npm bin is in the testdir')