@@ -26,6 +26,7 @@ const npm: AgentCommands = {
2626 'add' : [ 'npm' , 'i' , 0 ] ,
2727 'upgrade' : [ 'npm' , 'update' , 0 ] ,
2828 'upgrade-interactive' : null ,
29+ 'dedupe' : [ 'npm' , 'dedupe' , 0 ] ,
2930 'execute' : [ 'npx' , 0 ] ,
3031 'execute-local' : [ 'npx' , 0 ] ,
3132 'uninstall' : [ 'npm' , 'uninstall' , 0 ] ,
@@ -42,6 +43,7 @@ const yarn: AgentCommands = {
4243 'add' : [ 'yarn' , 'add' , 0 ] ,
4344 'upgrade' : [ 'yarn' , 'upgrade' , 0 ] ,
4445 'upgrade-interactive' : [ 'yarn' , 'upgrade-interactive' , 0 ] ,
46+ 'dedupe' : null ,
4547 'execute' : [ 'npx' , 0 ] ,
4648 'execute-local' : dashDashArg ( 'yarn' , 'exec' ) ,
4749 'uninstall' : [ 'yarn' , 'remove' , 0 ] ,
@@ -54,6 +56,7 @@ const yarnBerry: AgentCommands = {
5456 'frozen' : [ 'yarn' , 'install' , '--immutable' , 0 ] ,
5557 'upgrade' : [ 'yarn' , 'up' , 0 ] ,
5658 'upgrade-interactive' : [ 'yarn' , 'up' , '-i' , 0 ] ,
59+ 'dedupe' : [ 'yarn' , 'dedupe' , 0 ] ,
5760 'execute' : [ 'yarn' , 'dlx' , 0 ] ,
5861 'execute-local' : [ 'yarn' , 'exec' , 0 ] ,
5962 // Yarn 2+ removed 'global', see https://github.com/yarnpkg/berry/issues/821
@@ -70,6 +73,7 @@ const pnpm: AgentCommands = {
7073 'add' : [ 'pnpm' , 'add' , 0 ] ,
7174 'upgrade' : [ 'pnpm' , 'update' , 0 ] ,
7275 'upgrade-interactive' : [ 'pnpm' , 'update' , '-i' , 0 ] ,
76+ 'dedupe' : [ 'pnpm' , 'dedupe' , 0 ] ,
7377 'execute' : [ 'pnpm' , 'dlx' , 0 ] ,
7478 'execute-local' : [ 'pnpm' , 'exec' , 0 ] ,
7579 'uninstall' : [ 'pnpm' , 'remove' , 0 ] ,
@@ -85,6 +89,7 @@ const bun: AgentCommands = {
8589 'add' : [ 'bun' , 'add' , 0 ] ,
8690 'upgrade' : [ 'bun' , 'update' , 0 ] ,
8791 'upgrade-interactive' : [ 'bun' , 'update' , '-i' , 0 ] ,
92+ 'dedupe' : null ,
8893 'execute' : [ 'bun' , 'x' , 0 ] ,
8994 'execute-local' : [ 'bun' , 'x' , 0 ] ,
9095 'uninstall' : [ 'bun' , 'remove' , 0 ] ,
@@ -100,6 +105,7 @@ const deno: AgentCommands = {
100105 'add' : [ 'deno' , 'add' , 0 ] ,
101106 'upgrade' : [ 'deno' , 'outdated' , '--update' , 0 ] ,
102107 'upgrade-interactive' : [ 'deno' , 'outdated' , '--update' , 0 ] ,
108+ 'dedupe' : null ,
103109 'execute' : denoExecute ( ) ,
104110 'execute-local' : [ 'deno' , 'task' , '--eval' , 0 ] ,
105111 'uninstall' : [ 'deno' , 'remove' , 0 ] ,
0 commit comments