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:
5
.changeset/mean-trams-beam.md
Normal file
5
.changeset/mean-trams-beam.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"create-better-t-stack": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix ai example template path
|
||||||
@@ -39,7 +39,7 @@ This repository is organized as a monorepo containing:
|
|||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
Visit [better-t-stack.pages.dev](https://better-t-stack.pages.dev) for full documentation, guides, and examples.
|
Visit [better-t-stack.amanv.dev](https://better-t-stack.amanv.dev) for full documentation, guides, and examples.
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
"url": "git+https://github.com/AmanVarshney01/create-better-t-stack.git",
|
"url": "git+https://github.com/AmanVarshney01/create-better-t-stack.git",
|
||||||
"directory": "apps/cli"
|
"directory": "apps/cli"
|
||||||
},
|
},
|
||||||
"homepage": "https://better-t-stack.pages.dev/",
|
"homepage": "https://better-t-stack.amanv.dev/",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsup",
|
"build": "tsup",
|
||||||
"dev": "tsup --watch",
|
"dev": "tsup --watch",
|
||||||
|
|||||||
@@ -14,6 +14,11 @@ export async function getAddonsChoice(
|
|||||||
frontends?.includes("tanstack-router");
|
frontends?.includes("tanstack-router");
|
||||||
|
|
||||||
const addonOptions = [
|
const addonOptions = [
|
||||||
|
{
|
||||||
|
value: "turborepo" as const,
|
||||||
|
label: "Turborepo (Recommended)",
|
||||||
|
hint: "Optimize builds for monorepos",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
value: "starlight" as const,
|
value: "starlight" as const,
|
||||||
label: "Starlight",
|
label: "Starlight",
|
||||||
@@ -29,11 +34,6 @@ export async function getAddonsChoice(
|
|||||||
label: "Husky",
|
label: "Husky",
|
||||||
hint: "Add Git hooks with Husky, lint-staged (requires Biome)",
|
hint: "Add Git hooks with Husky, lint-staged (requires Biome)",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
value: "turborepo" as const,
|
|
||||||
label: "Turborepo",
|
|
||||||
hint: "Optimize builds for monorepos",
|
|
||||||
},
|
|
||||||
];
|
];
|
||||||
|
|
||||||
const webAddonOptions = [
|
const webAddonOptions = [
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ export const appRouter = {
|
|||||||
privateData: protectedProcedure.handler(({ context }) => {
|
privateData: protectedProcedure.handler(({ context }) => {
|
||||||
return {
|
return {
|
||||||
message: "This is private",
|
message: "This is private",
|
||||||
user: context.session!.user,
|
user: context.session?.user,
|
||||||
};
|
};
|
||||||
}),
|
}),
|
||||||
{{/if}}
|
{{/if}}
|
||||||
@@ -48,4 +48,4 @@ export const appRouter = router({
|
|||||||
{{/if}}
|
{{/if}}
|
||||||
});
|
});
|
||||||
{{/if}}
|
{{/if}}
|
||||||
export type AppRouter = typeof appRouter;
|
export type AppRouter = typeof appRouter;
|
||||||
|
|||||||
@@ -44,4 +44,4 @@ To learn more about the technologies used in this website:
|
|||||||
|
|
||||||
- [Next.js Documentation](https://nextjs.org/docs) - Next.js features and API
|
- [Next.js Documentation](https://nextjs.org/docs) - Next.js features and API
|
||||||
- [Fumadocs](https://fumadocs.vercel.app) - The documentation framework used
|
- [Fumadocs](https://fumadocs.vercel.app) - The documentation framework used
|
||||||
- [Better-T-Stack](https://better-t-stack.pages.dev) - Main project site
|
- [Better-T-Stack](https://better-t-stack.amanv.dev) - Main project site
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ export const metadata: Metadata = {
|
|||||||
email: false,
|
email: false,
|
||||||
telephone: false,
|
telephone: false,
|
||||||
},
|
},
|
||||||
metadataBase: new URL("https://better-t-stack.pages.dev"),
|
metadataBase: new URL("https://better-t-stack.amanv.dev"),
|
||||||
alternates: {
|
alternates: {
|
||||||
canonical: "/",
|
canonical: "/",
|
||||||
},
|
},
|
||||||
@@ -46,7 +46,7 @@ export const metadata: Metadata = {
|
|||||||
title: "Better-T Stack",
|
title: "Better-T Stack",
|
||||||
description:
|
description:
|
||||||
"A modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations",
|
"A modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations",
|
||||||
url: "https://better-t-stack.pages.dev",
|
url: "https://better-t-stack.amanv.dev",
|
||||||
siteName: "Better-T Stack",
|
siteName: "Better-T Stack",
|
||||||
images: [
|
images: [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user