mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
fix: ensure .npmrc is included and copied for native setup
This commit is contained in:
@@ -531,7 +531,7 @@ export async function handleExtras(
|
||||
}
|
||||
|
||||
if (context.frontend.includes("native")) {
|
||||
const npmrcSrc = path.join(PKG_ROOT, "templates/extras/.npmrc");
|
||||
const npmrcSrc = path.join(PKG_ROOT, "templates/extras/_npmrc");
|
||||
const npmrcDest = path.join(projectDir, ".npmrc");
|
||||
if (await fs.pathExists(npmrcSrc)) {
|
||||
await fs.copy(npmrcSrc, npmrcDest);
|
||||
|
||||
Reference in New Issue
Block a user