Skip to content

Commit b4c9f93

Browse files
authored
Merge pull request #1304 from oclif/jf/W-22029692
chore: updating npm dependency to v11 @W-22029692@
2 parents d17a761 + 247f3cb commit b4c9f93

File tree

3 files changed

+637
-709
lines changed

3 files changed

+637
-709
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"@oclif/core": "^4.8.0",
99
"ansis": "^3.17.0",
1010
"debug": "^4.4.0",
11-
"npm": "^10.9.7",
11+
"npm": "^11.12.1",
1212
"npm-package-arg": "^11.0.3",
1313
"npm-run-path": "^5.3.0",
1414
"object-treeify": "^4.0.1",

test/integration/install.integration.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,5 +264,14 @@ describe('install/uninstall integration tests', () => {
264264
expect(stdout).to.contain('@heroku-cli/plugin-ps-exec')
265265
expect(result?.some((r) => r.name === '@heroku-cli/plugin-ps-exec')).to.be.true
266266
})
267+
268+
it('should uninstall legacy plugin', async () => {
269+
await runCommand('plugins uninstall @heroku-cli/plugin-ps-exec')
270+
await runCommand('plugins uninstall @oclif/plugin-legacy')
271+
const {result, stdout} = await runCommand<Array<{name: string}>>('plugins')
272+
expect(stdout).to.contain('No plugins installed.')
273+
expect(result?.some((r) => r.name === '@heroku-cli/plugin-ps-exec')).to.be.false
274+
expect(result?.some((r) => r.name === '@oclif/plugin-legacy')).to.be.false
275+
})
267276
})
268277
})

0 commit comments

Comments
 (0)