create-nelsonlai-app 0.0.0-stage → 0.1.0

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.
Files changed (57) hide show
  1. package/README.md +37 -2
  2. package/dist/actions/install-dependencies.js +29 -0
  3. package/dist/actions/merge-package-json.js +30 -0
  4. package/dist/cli.js +42 -0
  5. package/dist/core/feature-resolver.js +53 -0
  6. package/dist/core/project-directory.js +47 -0
  7. package/dist/features/agents/index.js +8 -0
  8. package/dist/features/cspell/index.js +15 -0
  9. package/dist/features/dependabot/index.js +8 -0
  10. package/dist/features/github-actions/index.js +8 -0
  11. package/dist/features/knip/index.js +10 -0
  12. package/dist/features/lefthook/index.js +25 -0
  13. package/dist/features/oxfmt/index.js +22 -0
  14. package/dist/features/oxlint/index.js +26 -0
  15. package/dist/features/react-compiler/index.js +14 -0
  16. package/dist/features/tailwindcss/index.js +20 -0
  17. package/dist/features/varlock/index.js +20 -0
  18. package/dist/features/vscode/index.js +8 -0
  19. package/dist/package.json.js +3 -0
  20. package/dist/plopfile.js +79 -0
  21. package/dist/prompts/project.js +49 -0
  22. package/package.json +51 -3
  23. package/src/features/agents/templates/AGENTS.md.hbs +11 -0
  24. package/src/features/cspell/templates/.cspell/names.txt.hbs +10 -0
  25. package/src/features/cspell/templates/.cspell/tech-terms.txt.hbs +9 -0
  26. package/src/features/cspell/templates/cspell.config.yaml.hbs +28 -0
  27. package/src/features/dependabot/templates/.github/dependabot.yml.hbs +38 -0
  28. package/src/features/github-actions/templates/.github/workflows/ci.yml.hbs +77 -0
  29. package/src/features/knip/templates/knip.config.ts.hbs +11 -0
  30. package/src/features/lefthook/templates/lefthook.yml.hbs +17 -0
  31. package/src/features/oxfmt/templates/oxfmt.config.ts.hbs +3 -0
  32. package/src/features/oxlint/templates/oxlint.config.ts.hbs +12 -0
  33. package/src/features/tailwindcss/nextjs/templates/postcss.config.mjs.hbs +5 -0
  34. package/src/features/tailwindcss/nextjs/templates/src/app/globals.css.hbs +1 -0
  35. package/src/features/varlock/templates/.env.schema.hbs +6 -0
  36. package/src/features/vscode/templates/.vscode/extensions.json.hbs +7 -0
  37. package/src/features/vscode/templates/.vscode/settings.json.hbs +36 -0
  38. package/src/frameworks/nextjs/templates/.gitignore.hbs +21 -0
  39. package/src/frameworks/nextjs/templates/README.md.hbs +26 -0
  40. package/src/frameworks/nextjs/templates/next.config.ts.hbs +21 -0
  41. package/src/frameworks/nextjs/templates/package.json.hbs +22 -0
  42. package/src/frameworks/nextjs/templates/pnpm-workspace.yaml.hbs +15 -0
  43. package/src/frameworks/nextjs/templates/src/app/layout.tsx.hbs +21 -0
  44. package/src/frameworks/nextjs/templates/src/app/page.tsx.hbs +9 -0
  45. package/src/frameworks/nextjs/templates/tsconfig.json.hbs +11 -0
  46. package/src/frameworks/tanstack-start/templates/.gitignore.hbs +23 -0
  47. package/src/frameworks/tanstack-start/templates/README.md.hbs +23 -0
  48. package/src/frameworks/tanstack-start/templates/package.json.hbs +25 -0
  49. package/src/frameworks/tanstack-start/templates/pnpm-workspace.yaml.hbs +10 -0
  50. package/src/frameworks/tanstack-start/templates/src/components/main-layout.tsx.hbs +9 -0
  51. package/src/frameworks/tanstack-start/templates/src/router.tsx.hbs +14 -0
  52. package/src/frameworks/tanstack-start/templates/src/routes/__root.tsx.hbs +35 -0
  53. package/src/frameworks/tanstack-start/templates/src/routes/_main/index.tsx.hbs +9 -0
  54. package/src/frameworks/tanstack-start/templates/src/routes/_main/route.tsx.hbs +15 -0
  55. package/src/frameworks/tanstack-start/templates/src/styles/index.css.hbs +3 -0
  56. package/src/frameworks/tanstack-start/templates/tsconfig.json.hbs +11 -0
  57. package/src/frameworks/tanstack-start/templates/vite.config.ts.hbs +27 -0
@@ -0,0 +1,10 @@
1
+ {{name}}
2
+ {{#if vscode}}
3
+ {{#if tailwindcss}}
4
+ bradlc
5
+ {{/if}}
6
+ {{/if}}
7
+ nelsonlaidev
8
+ {{#if oxlint}}
9
+ tsgolint
10
+ {{/if}}
@@ -0,0 +1,9 @@
1
+ {{#if varlock}}
2
+ codegen
3
+ {{/if}}
4
+ {{#if lefthook}}
5
+ doublestar
6
+ {{/if}}
7
+ {{#if tailwindcss}}
8
+ lightningcss
9
+ {{/if}}
@@ -0,0 +1,28 @@
1
+ $schema: https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json
2
+
3
+ version: '0.2'
4
+ language: en-US
5
+ useGitignore: true
6
+ enableGlobDot: true
7
+
8
+ dictionaryDefinitions:
9
+ - name: names
10
+ path: ./.cspell/names.txt
11
+ - name: tech-terms
12
+ path: ./.cspell/tech-terms.txt
13
+
14
+ dictionaries:
15
+ - npm
16
+ - names
17
+ - tech-terms
18
+
19
+ files:
20
+ - '**/*'
21
+
22
+ ignorePaths:
23
+ - '**/.git/**'
24
+ - '.cspell/*.txt'
25
+ - pnpm-lock.yaml
26
+ {{#if tanstackStart}}
27
+ - src/routeTree.gen.ts
28
+ {{/if}}
@@ -0,0 +1,38 @@
1
+ {{#*inline "updatePolicy"}}
2
+ schedule:
3
+ interval: 'weekly'
4
+ day: 'monday'
5
+ time: '09:00'
6
+ timezone: 'Asia/Hong_Kong'
7
+
8
+ groups:
9
+ minor-and-patch:
10
+ patterns:
11
+ - '*'
12
+ update-types:
13
+ - 'minor'
14
+ - 'patch'
15
+
16
+ labels:
17
+ - dependencies
18
+
19
+ open-pull-requests-limit: 10
20
+ {{/inline}}
21
+ version: 2
22
+
23
+ updates:
24
+ - package-ecosystem: 'npm'
25
+ directory: '/'
26
+
27
+ {{> updatePolicy}}
28
+
29
+ ignore:
30
+ - dependency-name: 'typescript'
31
+ versions: ['>=6.1.0']
32
+ {{#if githubActions}}
33
+
34
+ - package-ecosystem: 'github-actions'
35
+ directory: '/'
36
+
37
+ {{> updatePolicy}}
38
+ {{/if}}
@@ -0,0 +1,77 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
+
9
+ permissions:
10
+ contents: read
11
+
12
+ concurrency:
13
+ group: $\{{ github.workflow }}-$\{{ github.event.pull_request.number || github.ref }}
14
+ cancel-in-progress: $\{{ github.event_name == 'pull_request' }}
15
+
16
+ jobs:
17
+ checks:
18
+ name: Build and checks
19
+ runs-on: ubuntu-latest
20
+ timeout-minutes: 20
21
+ steps:
22
+ - name: Checkout
23
+ uses: actions/checkout@v7
24
+ with:
25
+ persist-credentials: false
26
+
27
+ - name: Install pnpm
28
+ uses: pnpm/action-setup@v6
29
+
30
+ - name: Install Node.js
31
+ uses: actions/setup-node@v7
32
+ with:
33
+ node-version: '24'
34
+ cache: pnpm
35
+
36
+ - name: Install dependencies
37
+ run: pnpm install --frozen-lockfile
38
+ {{#if varlock}}
39
+
40
+ - name: Generate environment types
41
+ run: pnpm env:generate
42
+ {{/if}}
43
+
44
+ - name: Build
45
+ run: pnpm build
46
+ {{#if oxfmt}}
47
+ {{#if cspell}}
48
+
49
+ - parallel:
50
+ - name: Check formatting
51
+ run: pnpm format:check
52
+
53
+ - name: Check spelling
54
+ run: pnpm spellcheck
55
+ {{else}}
56
+
57
+ - name: Check formatting
58
+ run: pnpm format:check
59
+ {{/if}}
60
+ {{else if cspell}}
61
+
62
+ - name: Check spelling
63
+ run: pnpm spellcheck
64
+ {{/if}}
65
+ {{#if oxlint}}
66
+
67
+ - name: Lint
68
+ run: pnpm lint
69
+ {{/if}}
70
+
71
+ - name: Check types
72
+ run: pnpm typecheck
73
+ {{#if knip}}
74
+
75
+ - name: Check unused code and dependencies
76
+ run: pnpm knip
77
+ {{/if}}
@@ -0,0 +1,11 @@
1
+ {{#if nextjs}}
2
+ {{#if varlock}}
3
+ import 'varlock/auto-load'
4
+
5
+ {{/if}}
6
+ {{/if}}
7
+ import type { KnipConfig } from 'knip'
8
+
9
+ const config: KnipConfig = {}
10
+
11
+ export default config
@@ -0,0 +1,17 @@
1
+ glob_matcher: doublestar
2
+
3
+ pre-commit:
4
+ {{#if checks.length}}
5
+ parallel: true
6
+ jobs:
7
+ {{#each checks}}
8
+ {{#unless @first}}
9
+
10
+ {{/unless}}
11
+ - name: {{name}}
12
+ glob: '{{preCommit.glob}}'
13
+ run: {{preCommit.run}}
14
+ {{/each}}
15
+ {{else}}
16
+ jobs: []
17
+ {{/if}}
@@ -0,0 +1,3 @@
1
+ import { defineConfig } from '@nelsonlaidev/oxfmt-config'
2
+
3
+ export default defineConfig()
@@ -0,0 +1,12 @@
1
+ import { defineConfig, {{#if nextjs}}nextjs, {{/if}}react{{#if tailwindcss}}, tailwindcss{{/if}} } from '@nelsonlaidev/oxlint-config'
2
+
3
+ export default defineConfig({
4
+ overrides: [react(){{#if nextjs}}, nextjs(){{/if}}{{#if tailwindcss}}, tailwindcss(){{/if}}],
5
+ {{#if tailwindcss}}
6
+ settings: {
7
+ 'better-tailwindcss': {
8
+ entryPoint: './{{tailwindStylesheet}}',
9
+ },
10
+ },
11
+ {{/if}}
12
+ })
@@ -0,0 +1,5 @@
1
+ const config = {
2
+ plugins: ['@tailwindcss/postcss'],
3
+ }
4
+
5
+ export default config
@@ -0,0 +1 @@
1
+ @import 'tailwindcss';
@@ -0,0 +1,6 @@
1
+ # @generateTsTypes(path=./src/env.ts, exposeEnv=local)
2
+ # ---
3
+
4
+ # Add project environment variables and validation rules here.
5
+ # @type=string @sensitive=false
6
+ APP_NAME={{name}}
@@ -0,0 +1,7 @@
1
+ {
2
+ "recommendations": [
3
+ {{#each vscodeExtensions}}
4
+ "{{this}}"{{#unless @last}},{{/unless}}
5
+ {{/each}}
6
+ ]
7
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ {{#if tanstackStart}}
3
+ "files.watcherExclude": {
4
+ "**/routeTree.gen.ts": true
5
+ },
6
+ "search.exclude": {
7
+ "**/routeTree.gen.ts": true
8
+ },
9
+ "files.readonlyInclude": {
10
+ "**/routeTree.gen.ts": true
11
+ },
12
+
13
+ {{/if}}
14
+ {{#if oxlint}}
15
+ "editor.codeActionsOnSave": {
16
+ "source.fixAll.oxc": "explicit"
17
+ },
18
+
19
+ {{/if}}
20
+ {{#if oxfmt}}
21
+ "editor.defaultFormatter": "oxc.oxc-vscode",
22
+ "editor.formatOnPaste": true,
23
+ "editor.formatOnSave": true,
24
+
25
+ {{/if}}
26
+ {{#if tailwindcss}}
27
+ "files.associations": {
28
+ "*.css": "tailwindcss"
29
+ },
30
+ "tailwindCSS.classFunctions": ["cva", "cn"],
31
+
32
+ {{/if}}
33
+ "js/ts.tsdk.promptToUseWorkspaceVersion": true,
34
+ "js/ts.preferences.preferTypeOnlyAutoImports": true,
35
+ "js/ts.tsdk.path": "node_modules/typescript/lib"
36
+ }
@@ -0,0 +1,21 @@
1
+ # Dependencies
2
+ node_modules/
3
+
4
+ # Next.js
5
+ .next/
6
+
7
+ # Environment Variables
8
+ .env*
9
+ {{#if varlock}}
10
+ !.env.schema
11
+
12
+ # Varlock
13
+ src/env.ts
14
+ {{/if}}
15
+
16
+ # TypeScript
17
+ *.tsbuildinfo
18
+ next-env.d.ts
19
+
20
+ # Miscellaneous
21
+ .DS_Store
@@ -0,0 +1,26 @@
1
+ # {{name}}
2
+
3
+ ## Development
4
+
5
+ ```sh
6
+ pnpm install
7
+ {{#if varlock}}
8
+ pnpm env:generate
9
+ {{/if}}
10
+ pnpm dev
11
+ ```
12
+
13
+ Edit `src/app/page.tsx` to change the homepage and `src/app/layout.tsx` to change the root layout.
14
+
15
+ Next.js generates route types during development and builds. To check a fresh clone before starting the development server, run `pnpm exec next typegen` and then `pnpm typecheck`.
16
+ {{#if knip}}
17
+
18
+ Run `pnpm knip` to find unused files, exports, and dependencies.
19
+ {{/if}}
20
+
21
+ ## Production
22
+
23
+ ```sh
24
+ pnpm build
25
+ pnpm start
26
+ ```
@@ -0,0 +1,21 @@
1
+ import type { NextConfig } from 'next'
2
+ {{#if varlock}}
3
+
4
+ import { varlockNextConfigPlugin } from '@varlock/nextjs-integration/plugin'
5
+
6
+ const withVarlock = varlockNextConfigPlugin()
7
+ {{/if}}
8
+
9
+ {{#if reactCompiler}}
10
+ const config: NextConfig = {
11
+ reactCompiler: true,
12
+ }
13
+ {{else}}
14
+ const config: NextConfig = {}
15
+ {{/if}}
16
+
17
+ {{#if varlock}}
18
+ export default withVarlock(config)
19
+ {{else}}
20
+ export default config
21
+ {{/if}}
@@ -0,0 +1,22 @@
1
+ {
2
+ "name": "{{name}}",
3
+ "private": true,
4
+ "type": "module",
5
+ "scripts": {
6
+ "build": "next build",
7
+ "dev": "next dev",
8
+ "start": "next start"
9
+ },
10
+ "dependencies": {
11
+ "next": "16.4.6",
12
+ "react": "19.3.1",
13
+ "react-dom": "19.3.1"
14
+ },
15
+ "devDependencies": {
16
+ "@nelsonlaidev/typescript-config": "3.0.0",
17
+ "@types/node": "26.6.11",
18
+ "@types/react": "19.3.3",
19
+ "@types/react-dom": "19.3.0",
20
+ "typescript": "6.0.3"
21
+ }
22
+ }
@@ -0,0 +1,15 @@
1
+ packages:
2
+ - .
3
+
4
+ allowBuilds:
5
+ {{#if tailwindcss}}
6
+ lightningcss: true
7
+ {{/if}}
8
+ sharp: true
9
+ {{#if varlock}}
10
+
11
+ overrides:
12
+ '@next/env': 'npm:@varlock/nextjs-integration@2.0.1'
13
+ {{/if}}
14
+
15
+ saveExact: true
@@ -0,0 +1,21 @@
1
+ {{#if tailwindcss}}
2
+ import './globals.css'
3
+
4
+ {{/if}}
5
+ import type { Metadata } from 'next'
6
+
7
+ export const metadata: Metadata = {
8
+ title: '{{name}}',
9
+ }
10
+
11
+ function RootLayout(props: LayoutProps<'/'>) {
12
+ const { children } = props
13
+
14
+ return (
15
+ <html lang='en'>
16
+ <body>{children}</body>
17
+ </html>
18
+ )
19
+ }
20
+
21
+ export default RootLayout
@@ -0,0 +1,9 @@
1
+ function Page() {
2
+ return (
3
+ <main>
4
+ <h1>{{name}}</h1>
5
+ </main>
6
+ )
7
+ }
8
+
9
+ export default Page
@@ -0,0 +1,11 @@
1
+ {
2
+ "compilerOptions": {
3
+ "paths": {
4
+ "@/*": ["./src/*"]
5
+ },
6
+ "tsBuildInfoFile": "./node_modules/.cache/tsconfig.tsbuildinfo"
7
+ },
8
+ "extends": "@nelsonlaidev/typescript-config/nextjs.json",
9
+ "include": ["**/*.ts", "**/*.tsx", "next-env.d.ts", ".next/types/**/*.ts", ".next/dev/types/**/*.ts"],
10
+ "exclude": ["node_modules"]
11
+ }
@@ -0,0 +1,23 @@
1
+ # Dependencies
2
+ node_modules/
3
+
4
+ # Build Output
5
+ dist/
6
+
7
+ # TanStack
8
+ .tanstack/
9
+
10
+ # Nitro
11
+ .output/
12
+
13
+ # Environment Variables
14
+ .env*
15
+ {{#if varlock}}
16
+ !.env.schema
17
+
18
+ # Varlock
19
+ src/env.ts
20
+ {{/if}}
21
+
22
+ # Miscellaneous
23
+ .DS_Store
@@ -0,0 +1,23 @@
1
+ # {{name}}
2
+
3
+ ## Development
4
+
5
+ ```sh
6
+ pnpm install
7
+ {{#if varlock}}
8
+ pnpm env:generate
9
+ {{/if}}
10
+ pnpm dev
11
+ ```
12
+
13
+ Edit `src/routes/_main/index.tsx` to change the homepage. Project setup runs `pnpm build` to generate `src/routeTree.gen.ts`. The development server keeps the route tree up to date as you edit routes.
14
+ {{#if knip}}
15
+
16
+ Run `pnpm knip` to find unused files, exports, and dependencies.
17
+ {{/if}}
18
+
19
+ ## Source layout
20
+
21
+ - `src/router.tsx` configures the router. `src/routes/__root.tsx` defines the HTML document and loads `src/styles/index.css`.
22
+ - `src/routes/_main/route.tsx` wraps its child routes in the shared layout from `src/components/main-layout.tsx`. The layout adds no URL segment.
23
+ - As the app grows, group domain-specific components and server functions in `src/features/<domain>/`. Keep shared hooks in `src/hooks/` and shared application utilities in `src/lib/`.
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "{{name}}",
3
+ "private": true,
4
+ "type": "module",
5
+ "scripts": {
6
+ "build": "vite build",
7
+ "dev": "vite dev --port 3000",
8
+ "preview": "vite preview"
9
+ },
10
+ "dependencies": {
11
+ "@tanstack/react-router": "1.170.46",
12
+ "@tanstack/react-start": "1.170.0",
13
+ "react": "19.3.1",
14
+ "react-dom": "19.3.1"
15
+ },
16
+ "devDependencies": {
17
+ "@nelsonlaidev/typescript-config": "3.0.0",
18
+ "@types/node": "26.6.11",
19
+ "@types/react": "19.3.3",
20
+ "@types/react-dom": "19.3.0",
21
+ "@vitejs/plugin-react": "6.3.0",
22
+ "typescript": "6.0.3",
23
+ "vite": "8.4.0"
24
+ }
25
+ }
@@ -0,0 +1,10 @@
1
+ packages:
2
+ - .
3
+
4
+ allowBuilds:
5
+ esbuild: true
6
+ {{#if tailwindcss}}
7
+ lightningcss: true
8
+ {{/if}}
9
+
10
+ saveExact: true
@@ -0,0 +1,9 @@
1
+ type MainLayoutProps = {
2
+ children: React.ReactNode
3
+ }
4
+
5
+ export function MainLayout(props: MainLayoutProps) {
6
+ const { children } = props
7
+
8
+ return <main>{children}</main>
9
+ }
@@ -0,0 +1,14 @@
1
+ import { createRouter as createTanStackRouter } from '@tanstack/react-router'
2
+
3
+ import { routeTree } from './routeTree.gen'
4
+
5
+ export function getRouter() {
6
+ const router = createTanStackRouter({
7
+ routeTree,
8
+ scrollRestoration: true,
9
+ defaultPreload: 'intent',
10
+ defaultPreloadStaleTime: 0,
11
+ })
12
+
13
+ return router
14
+ }
@@ -0,0 +1,35 @@
1
+ import { createRootRoute, HeadContent, Scripts } from '@tanstack/react-router'
2
+
3
+ import appCss from '@/styles/index.css?url'
4
+
5
+ export const Route = createRootRoute({
6
+ head: () => ({
7
+ meta: [
8
+ { charSet: 'utf-8' },
9
+ { name: 'viewport', content: 'width=device-width, initial-scale=1' },
10
+ { title: '{{name}}' },
11
+ ],
12
+ links: [{ rel: 'stylesheet', href: appCss }],
13
+ }),
14
+ shellComponent: RootDocument,
15
+ })
16
+
17
+ type RootDocumentProps = {
18
+ children: React.ReactNode
19
+ }
20
+
21
+ function RootDocument(props: RootDocumentProps) {
22
+ const { children } = props
23
+
24
+ return (
25
+ <html lang='en'>
26
+ <head>
27
+ <HeadContent />
28
+ </head>
29
+ <body>
30
+ {children}
31
+ <Scripts />
32
+ </body>
33
+ </html>
34
+ )
35
+ }
@@ -0,0 +1,9 @@
1
+ import { createFileRoute } from '@tanstack/react-router'
2
+
3
+ export const Route = createFileRoute('/_main/')({
4
+ component: RouteComponent,
5
+ })
6
+
7
+ function RouteComponent() {
8
+ return <h1>{{name}}</h1>
9
+ }
@@ -0,0 +1,15 @@
1
+ import { createFileRoute, Outlet } from '@tanstack/react-router'
2
+
3
+ import { MainLayout } from '@/components/main-layout'
4
+
5
+ export const Route = createFileRoute('/_main')({
6
+ component: RouteComponent,
7
+ })
8
+
9
+ function RouteComponent() {
10
+ return (
11
+ <MainLayout>
12
+ <Outlet />
13
+ </MainLayout>
14
+ )
15
+ }
@@ -0,0 +1,3 @@
1
+ {{#if tailwindcss}}
2
+ @import 'tailwindcss';
3
+ {{/if}}
@@ -0,0 +1,11 @@
1
+ {
2
+ "compilerOptions": {
3
+ "paths": {
4
+ "@/*": ["./src/*"]
5
+ },
6
+ "types": ["vite/client", "@nelsonlaidev/typescript-config/react"],
7
+ "tsBuildInfoFile": "./node_modules/.cache/tsconfig.tsbuildinfo"
8
+ },
9
+ "extends": "@nelsonlaidev/typescript-config/tanstack-start.json",
10
+ "include": ["**/*.ts", "**/*.tsx"]
11
+ }
@@ -0,0 +1,27 @@
1
+ {{#if tailwindcss}}
2
+ import tailwindcss from '@tailwindcss/vite'
3
+ {{/if}}
4
+ import { tanstackStart } from '@tanstack/react-start/plugin/vite'
5
+ {{#if varlock}}
6
+ import { varlockVitePlugin } from '@varlock/vite-integration'
7
+ {{/if}}
8
+ import viteReact from '@vitejs/plugin-react'
9
+ import { defineConfig } from 'vite'
10
+
11
+ export default defineConfig({
12
+ resolve: { tsconfigPaths: true },
13
+ plugins: [
14
+ {{#if varlock}}
15
+ varlockVitePlugin({ ssrInjectMode: 'auto-load' }),
16
+ {{/if}}
17
+ {{#if tailwindcss}}
18
+ tailwindcss(),
19
+ {{/if}}
20
+ tanstackStart(),
21
+ {{#if reactCompiler}}
22
+ viteReact({ compiler: true }),
23
+ {{else}}
24
+ viteReact(),
25
+ {{/if}}
26
+ ],
27
+ })