Skip to content

Commit

Permalink
fix: don't write .npmrc with shamefully-hoist=true anymore (#319)
Browse files Browse the repository at this point in the history
  • Loading branch information
Celibioux authored Jan 2, 2024
1 parent 1aa5095 commit c448ade
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/commands/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,6 @@ export default defineCommand({
options: packageManagerOptions,
})

// Write `.npmrc` with `shamefully-hoist=true` for pnpm
if (selectedPackageManager === 'pnpm') {
await writeFile(join(template.dir, '.npmrc'), 'shamefully-hoist=true')
}

// Install project dependencies
// or skip installation based on the '--no-install' flag
if (ctx.args.install === false) {
Expand Down

0 comments on commit c448ade

Please sign in to comment.