mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
Rename AI example directories from apps/ to web/
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
"url": "git+https://github.com/AmanVarshney01/create-better-t-stack.git",
|
||||
"directory": "apps/cli"
|
||||
},
|
||||
"homepage": "https://better-t-stack.pages.dev/",
|
||||
"homepage": "https://better-t-stack.amanv.dev/",
|
||||
"scripts": {
|
||||
"build": "tsup",
|
||||
"dev": "tsup --watch",
|
||||
|
||||
@@ -14,6 +14,11 @@ export async function getAddonsChoice(
|
||||
frontends?.includes("tanstack-router");
|
||||
|
||||
const addonOptions = [
|
||||
{
|
||||
value: "turborepo" as const,
|
||||
label: "Turborepo (Recommended)",
|
||||
hint: "Optimize builds for monorepos",
|
||||
},
|
||||
{
|
||||
value: "starlight" as const,
|
||||
label: "Starlight",
|
||||
@@ -29,11 +34,6 @@ export async function getAddonsChoice(
|
||||
label: "Husky",
|
||||
hint: "Add Git hooks with Husky, lint-staged (requires Biome)",
|
||||
},
|
||||
{
|
||||
value: "turborepo" as const,
|
||||
label: "Turborepo",
|
||||
hint: "Optimize builds for monorepos",
|
||||
},
|
||||
];
|
||||
|
||||
const webAddonOptions = [
|
||||
|
||||
@@ -12,7 +12,7 @@ export const appRouter = {
|
||||
privateData: protectedProcedure.handler(({ context }) => {
|
||||
return {
|
||||
message: "This is private",
|
||||
user: context.session!.user,
|
||||
user: context.session?.user,
|
||||
};
|
||||
}),
|
||||
{{/if}}
|
||||
@@ -48,4 +48,4 @@ export const appRouter = router({
|
||||
{{/if}}
|
||||
});
|
||||
{{/if}}
|
||||
export type AppRouter = typeof appRouter;
|
||||
export type AppRouter = typeof appRouter;
|
||||
|
||||
Reference in New Issue
Block a user