Skip to content

Commit 5939c88

Browse files
authored
V3 Update Tanstack Start to RC (#617)
1 parent 44fb48d commit 5939c88

File tree

353 files changed

+1631
-2549
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

353 files changed

+1631
-2549
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# production
1212
.output
1313
.vinxi
14+
/dist
1415
/build
1516
/public/storybook
1617
/storybook-static
@@ -47,6 +48,7 @@ build-info.gen.json
4748
# Prisma
4849
prisma/dev.db
4950
prisma/dev.db-journal
51+
src/server/db/generated
5052

5153
# Emails
5254
.react-email

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ public
1414
!.env.validator.js
1515
pnpm-lock.yaml
1616
*.gen.ts
17+
generated

.prettierrc.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const config = {
1010
trailingComma: 'es5',
1111
arrowParens: 'always',
1212

13-
tailwindStylesheet: './app/styles/app.css',
13+
tailwindStylesheet: './src/styles/app.css',
1414
tailwindFunctions: ['cn', 'cva'],
1515
};
1616

.storybook/preview.tsx

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,29 @@ import type { Preview } from '@storybook/react-vite';
22
import { useDarkMode } from '@vueless/storybook-dark-mode';
33
import { useTheme } from 'next-themes';
44
import { useEffect } from 'react';
5+
import { ReactNode } from 'react';
56
import { useTranslation } from 'react-i18next';
7+
import { StoryContext } from 'storybook/internal/csf';
68

79
import '@/styles/app.css';
810
import './preview.css';
911

1012
import {
1113
AVAILABLE_LANGUAGES,
1214
DEFAULT_LANGUAGE_KEY,
13-
} from '../app/lib/i18n/constants';
14-
import i18nGlobal from '../app/lib/i18n/index';
15-
import { Providers } from '../app/providers';
15+
} from '../src/lib/i18n/constants';
16+
import i18nGlobal from '../src/lib/i18n/index';
17+
import { Providers } from '../src/providers';
1618

17-
const DocumentationWrapper = ({ children, isDarkMode, context }) => {
19+
const DocumentationWrapper = ({
20+
children,
21+
isDarkMode,
22+
context,
23+
}: {
24+
children: ReactNode;
25+
isDarkMode: boolean;
26+
context: StoryContext;
27+
}) => {
1828
const { i18n } = useTranslation();
1929
const { setTheme } = useTheme();
2030

.vscode/settings.example.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
["cn\\(((?:[^()]|\\([^()]*\\))*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"]
88
],
99
"i18n-ally.localesPaths": [
10-
"app/locales",
10+
"src/locales",
1111
"node_modules/zod-i18n-map/locales"
1212
],
1313
"i18n-ally.keystyle": "nested",

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ The maildev UI is available at [0.0.0.0:1080](http://0.0.0.0:1080).
6363

6464
#### Preview emails
6565

66-
Emails templates are built with `react-email` components in the `app/emails` folder.
66+
Emails templates are built with `react-email` components in the `src/emails` folder.
6767

6868
You can preview an email template at `http://localhost:3000/api/dev/email/{template}` where `{template}` is the name of the template file in the `src/emails/templates` folder.
6969

@@ -80,7 +80,7 @@ You can add search params to the preview url to pass as props to the template.
8080

8181
### Generate custom icons components from svg files
8282

83-
Put the custom svg files into the `app/components/icons/svg-sources` folder and then run the following command:
83+
Put the custom svg files into the `src/components/icons/svg-sources` folder and then run the following command:
8484

8585
```bash
8686
pnpm gen:icons

app/routes/api/auth.$.ts

Lines changed: 0 additions & 12 deletions
This file was deleted.

app/routes/api/dev.email.$template.ts

Lines changed: 0 additions & 19 deletions
This file was deleted.

app/routes/api/openapi/app.schema.ts

Lines changed: 0 additions & 53 deletions
This file was deleted.

app/routes/api/openapi/app.ts

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)