Skip to content

Commit 58f9b30

Browse files
refactor: migrate to TanStack file-based routing (#246)
* removing npm lock and renaming the app name * refactor: migrate to TanStack file-based routing * fix for the build * implemented standard TanStack auth pattern with beforeLoad guard and split root concerns * move index route under _authenticated layout and add explicit login redirect guard (#254) --------- Co-authored-by: Kasey Wright <kasey@kaseywright.com>
1 parent 0b59c21 commit 58f9b30

83 files changed

Lines changed: 1374 additions & 10494 deletions

File tree

Some content is hidden

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

.gitattributes

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,7 @@ Dockerfile text eol=lf
7373
*.sql text eol=lf
7474
*.graphql text eol=lf
7575
*.eslintrc text eol=lf
76-
*.babelrc text eol=lf
76+
*.babelrc text eol=lf
77+
78+
# Generated files
79+
src/routeTree.gen.ts linguist-generated=true

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,5 @@ public/assets/
2424
# Specific files
2525
*.min.js
2626
*.d.ts
27+
28+
src/routeTree.gen.ts

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Scribe Web
1+
# Fluent Web
22

33
A modern web application built with React, TypeScript, and TanStack Router.
44

@@ -34,7 +34,6 @@ This application includes a complete authentication system powered by Auth0:
3434
```
3535

3636
2. Configure your Auth0 application:
37-
3837
- Allowed Callback URLs: `http://localhost:5173/callback`
3938
- Allowed Logout URLs: `http://localhost:5173`
4039
- Allowed Web Origins: `http://localhost:5173`
@@ -131,8 +130,8 @@ Follow these steps to set up and run the project locally:
131130
### 1. Clone the repository
132131

133132
```bash
134-
git clone https://github.com/BiblioNexus-Foundation/scribe-web.git
135-
cd scribe-web
133+
git clone https://github.com/eten-tech-foundation/fluent-web.git
134+
cd fluent-web
136135
```
137136

138137
### 2. Set up Node.js version

eslint.config.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ export default typescriptEslint.config(
8888
'vite.config.ts',
8989
'tailwind.config.js',
9090
'**/stats.html',
91+
'**/routeTree.gen.ts',
9192
],
9293
languageOptions: baseLanguageOptions,
9394
/* Plugin registration */
@@ -212,7 +213,12 @@ export default typescriptEslint.config(
212213
...importSettings,
213214
},
214215
},
215-
216+
{
217+
files: ['**/routeTree.gen.ts'],
218+
linterOptions: {
219+
reportUnusedDisableDirectives: 'off',
220+
},
221+
},
216222
/* JavaScript-specific config */
217223
{
218224
files: ['**/*.{js,jsx,mjs,cjs}'],

0 commit comments

Comments
 (0)