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:
5
.changeset/modern-hotels-ask.md
Normal file
5
.changeset/modern-hotels-ask.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"create-better-t-stack": patch
|
||||
---
|
||||
|
||||
ensure .npmrc is included and copied for native setup
|
||||
@@ -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);
|
||||
|
||||
@@ -11,7 +11,7 @@ export const TECH_OPTIONS = {
|
||||
{
|
||||
id: "orpc",
|
||||
name: "oRPC",
|
||||
description: "Opinionated RPC framework",
|
||||
description: "Typesafe APIs Made Simple",
|
||||
icon: "/icon/orpc.svg",
|
||||
color: "from-indigo-400 to-indigo-600",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user