From 95de3541506f3353450be29688f84ea805b0601d Mon Sep 17 00:00:00 2001 From: Celibioux <33708072+Celibioux@users.noreply.github.com> Date: Sun, 31 Dec 2023 02:20:38 +0100 Subject: [PATCH 1/2] Update init.ts This removes the npmrc with shamefully-hoist=true for pnpm Package Manager as it's not needed anymore --- src/commands/init.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/commands/init.ts b/src/commands/init.ts index ca3e6abe..64c07d8b 100644 --- a/src/commands/init.ts +++ b/src/commands/init.ts @@ -108,12 +108,7 @@ export default defineCommand({ type: 'select', 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) { From b1a691bbe5fd656e2dacd9103cdb21c4427c1e42 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Tue, 2 Jan 2024 11:54:19 +0000 Subject: [PATCH 2/2] [autofix.ci] apply automated fixes --- src/commands/init.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/init.ts b/src/commands/init.ts index 64c07d8b..386125fb 100644 --- a/src/commands/init.ts +++ b/src/commands/init.ts @@ -108,7 +108,7 @@ export default defineCommand({ type: 'select', options: packageManagerOptions, }) - + // Install project dependencies // or skip installation based on the '--no-install' flag if (ctx.args.install === false) {