diff --git a/.changeset/modern-hotels-ask.md b/.changeset/modern-hotels-ask.md new file mode 100644 index 0000000..6d9f13e --- /dev/null +++ b/.changeset/modern-hotels-ask.md @@ -0,0 +1,5 @@ +--- +"create-better-t-stack": patch +--- + +ensure .npmrc is included and copied for native setup diff --git a/apps/cli/src/helpers/template-manager.ts b/apps/cli/src/helpers/template-manager.ts index ff7fe11..d7974f6 100644 --- a/apps/cli/src/helpers/template-manager.ts +++ b/apps/cli/src/helpers/template-manager.ts @@ -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); diff --git a/apps/cli/templates/extras/.npmrc b/apps/cli/templates/extras/_npmrc similarity index 100% rename from apps/cli/templates/extras/.npmrc rename to apps/cli/templates/extras/_npmrc diff --git a/apps/web/src/lib/constant.ts b/apps/web/src/lib/constant.ts index ca27921..cb43570 100644 --- a/apps/web/src/lib/constant.ts +++ b/apps/web/src/lib/constant.ts @@ -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", },