You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The extensions.json file contains some recommended extensions for the project.
54
54
55
-
<FileTreeTitlefolder>.e2e</FileTreeTitle>
55
+
<FileTreeTitlefolderlabel=".e2e"/>
56
56
57
57
End-to-end tests folder for [Playwright](https://playwright.dev/) tests.
58
58
59
-
<FileTreeTitlefolder>prisma</FileTreeTitle>
59
+
<FileTreeTitlefolderlabel="prisma"/>
60
60
61
61
[Prisma](https://www.prisma.io/) folder for database schema and seed scripts.
62
62
63
63
Prisma generator and client blocs are defined in the /schema/main.prisma file.
64
64
65
65
All other schema files organize related models / enum together. For example, in /schema/user.prisma you will be able to find all models / enum related or used by a User model, like VerificationToken model or UserRole enum.
66
66
67
-
<FileTreeTitlefolder>public</FileTreeTitle>
67
+
<FileTreeTitlefolderlabel="public"/>
68
68
69
69
Static assets served as-is (images, icons, robots.txt, etc.).
React generic UI components. In this folder, all components should be "dumb", focus on UI rendering and without business logic. These components should be documented in Storybook.
78
78
79
-
<FileTreeTitlefolder>src/emails</FileTreeTitle>
79
+
<FileTreeTitlefolderlabel="src/emails"/>
80
80
81
81
This folder contains all emails templates created with [react-email](https://react.email/).
82
82
83
-
<FileTreeTitlefolder>src/env</FileTreeTitle>
83
+
<FileTreeTitlefolderlabel="src/env"/>
84
84
85
85
Environment variables and validation utilities.
86
86
87
-
<FileTreeTitlefolder>src/features</FileTreeTitle>
87
+
<FileTreeTitlefolderlabel="src/features"/>
88
88
89
89
All business features for client code or code shared between client and server.
90
90
91
-
<FileTreeTitlefolder>src/hooks</FileTreeTitle>
91
+
<FileTreeTitlefolderlabel="src/hooks"/>
92
92
93
93
React generic hooks that can be use accross the application.
94
94
95
-
<FileTreeTitlefolder>src/layout</FileTreeTitle>
95
+
<FileTreeTitlefolderlabel="src/layout"/>
96
96
97
97
Layout components and page wrappers.
98
98
99
-
<FileTreeTitlefolder>src/lib</FileTreeTitle>
99
+
<FileTreeTitlefolderlabel="src/lib"/>
100
100
101
101
Global configuration for client libraries or libraries shared between client and server. If you need a configuration only on the server side, use the src/server/config folder.
102
102
103
-
<FileTreeTitlefolder>src/locales</FileTreeTitle>
103
+
<FileTreeTitlefolderlabel="src/locales"/>
104
104
105
105
Folder which contains all the translations files. Use [i18n Ally VS Code extension for help](https://marketplace.visualstudio.com/items?itemName=lokalise.i18n-ally) on this part 😅.
106
106
107
-
<FileTreeTitlefolder>src/routes</FileTreeTitle>
107
+
<FileTreeTitlefolderlabel="src/routes"/>
108
108
109
109
Tanstack Start router folder, all the routes of the application are declared in this folder. See the [Tanstack Start](https://tanstack.com/start/latest) documentation for more details.
110
110
111
-
<FileTreeTitlefolder>src/server</FileTreeTitle>
111
+
<FileTreeTitlefolderlabel="src/server"/>
112
112
113
113
All the code for the server ONLY code.
114
114
115
-
<FileTreeTitlefolder>src/styles</FileTreeTitle>
115
+
<FileTreeTitlefolderlabel="src/styles"/>
116
116
117
117
Global styles, Tailwind config, or CSS utilities.
118
118
119
-
<FileTreeTitlefolder>src/tests</FileTreeTitle>
119
+
<FileTreeTitlefolderlabel="src/tests"/>
120
120
121
121
Unit and integration tests.
122
122
123
-
<FileTreeTitlefolder>src/types</FileTreeTitle>
123
+
<FileTreeTitlefolderlabel="src/types"/>
124
124
125
125
Global TypeScript types available accross all the code base without imports.
This file is **LOCAL and should NEVER be tracked on GIT**. All sensitive information should be set in this `.env` file by each developers.
142
142
143
-
<FileTreeTitle>.env.example</FileTreeTitle>
143
+
<FileTreeTitlelabel=".env.example"/>
144
144
145
145
This file IS tracked on GIT, make sure that you **NEVER** put sensitive information in this file. All sensitive information should be set in the `.env`. This file show an example of the `.env` that a new developer on the project can duplicate to create their own `.env` file.
146
146
147
-
<FileTreeTitle>lefthook.yml</FileTreeTitle>
147
+
<FileTreeTitlelabel="lefthook.yml"/>
148
148
149
149
GIT hooks created with [Lefthook](https://lefthook.dev/).
150
150
151
-
<FileTreeTitle>vite.config.ts</FileTreeTitle>
151
+
<FileTreeTitlelabel="vite.config.ts"/>
152
152
153
153
Vite build and dev server configuration.
154
154
155
-
<FileTreeTitle>vitest.config.ts</FileTreeTitle>
155
+
<FileTreeTitlelabel="vitest.config.ts"/>
156
156
157
157
Vitest configuration for unit and integration tests.
0 commit comments