From c448ade0ae58dff611bd01252c7ad10c76a805b6 Mon Sep 17 00:00:00 2001 From: Celibioux <33708072+Celibioux@users.noreply.github.com> Date: Tue, 2 Jan 2024 12:56:57 +0100 Subject: [PATCH] fix: don't write `.npmrc` with `shamefully-hoist=true` anymore (#319) --- src/commands/init.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/commands/init.ts b/src/commands/init.ts index ca3e6abe..386125fb 100644 --- a/src/commands/init.ts +++ b/src/commands/init.ts @@ -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) {