@better-t-stack/template-generator 3.35.0 → 3.35.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +1 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -3051,7 +3051,6 @@ function generateReadmeContent(options) {
|
|
|
3051
3051
|
const { projectName, packageManager, database, auth, addons = [], orm = "drizzle", runtime = "bun", frontend = ["tanstack-router"], backend = "hono", api = "trpc", dbSetup, webDeploy, serverDeploy } = options;
|
|
3052
3052
|
const isConvex = backend === "convex";
|
|
3053
3053
|
const hasReactRouter = frontend.includes("react-router");
|
|
3054
|
-
const hasTanStackRouter = frontend.includes("tanstack-router");
|
|
3055
3054
|
const hasNative = hasNativeFrontend(frontend);
|
|
3056
3055
|
const hasReactWeb = frontend.some((f) => [
|
|
3057
3056
|
"tanstack-router",
|
|
@@ -3062,7 +3061,7 @@ function generateReadmeContent(options) {
|
|
|
3062
3061
|
const hasSvelte = frontend.includes("svelte");
|
|
3063
3062
|
const hasAstro = frontend.includes("astro");
|
|
3064
3063
|
const packageManagerRunCmd = `${packageManager} run`;
|
|
3065
|
-
const webPort = hasReactRouter ||
|
|
3064
|
+
const webPort = hasReactRouter || hasSvelte ? "5173" : hasAstro ? "4321" : "3001";
|
|
3066
3065
|
const stackDescription = generateStackDescription(frontend, backend, api, isConvex);
|
|
3067
3066
|
return `# ${projectName}
|
|
3068
3067
|
|