Skip to content

Commit 47f9bab

Browse files
author
Pascal Klesse
committed
fix: add missing .npmrc
1 parent 5588063 commit 47f9bab

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

index.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ async function create() {
4646
'Copied .gitignore successfully!'
4747
);
4848

49+
// Copy .npmrc
50+
await writeFile(
51+
projectDir + '/.npmrc',
52+
await getRemoteContent('https://raw.githubusercontent.com/lenneTech/nuxt-base-starter/refs/heads/main/nuxt-base-template/.npmrc'),
53+
'Copied .npmrc successfully!'
54+
);
55+
4956
// Copy .env
5057
await copyFiles(__dirname + '/nuxt-base-template/.env.example', projectDir + '/.env', 'Copied .env successfully!');
5158

0 commit comments

Comments
 (0)