File tree 2 files changed +2
-5
lines changed
2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -47,10 +47,7 @@ export class BunPackageManager extends BasePackageManager {
47
47
const jsonContentBefore = this . $fs . readJson ( packageJsonPath ) ;
48
48
49
49
const flags = this . getFlagsString ( config , true ) ;
50
- // TODO: Confirm desired behavior. The npm version uses --legacy-peer-deps
51
- // by default, we could use `--no-peer` for Bun if similar is needed; the
52
- // pnpm version uses `--shamefully-hoist`, but Bun has no similar flag.
53
- let params = [ "install" , "--legacy-peer-deps" ] ;
50
+ let params = [ "install" ] ;
54
51
const isInstallingAllDependencies = packageName === pathToSave ;
55
52
if ( ! isInstallingAllDependencies ) {
56
53
params . push ( packageName ) ;
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ export class NodePackageManager extends BasePackageManager {
47
47
const jsonContentBefore = this . $fs . readJson ( packageJsonPath ) ;
48
48
49
49
const flags = this . getFlagsString ( config , true ) ;
50
- let params = [ "install" , "--legacy-peer-deps" ] ;
50
+ let params = [ "install" ] ;
51
51
const isInstallingAllDependencies = packageName === pathToSave ;
52
52
if ( ! isInstallingAllDependencies ) {
53
53
params . push ( packageName ) ;
You can’t perform that action at this time.
0 commit comments