Skip to content

Commit 94a18d5

Browse files
committed
Moved to react-router framework cause why not.
Signed-off-by: Noorain Panjwani <[email protected]>
1 parent ef81057 commit 94a18d5

20 files changed

+1214
-274
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@ lerna-debug.log*
99

1010
node_modules
1111
dist
12+
build
1213
dist-ssr
1314
*.local
15+
.react-router/
1416

1517
# Editor directories and files
1618
.vscode/*

eslint.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import simpleImportSort from 'eslint-plugin-simple-import-sort';
55
import tseslint from 'typescript-eslint';
66

77
export default tseslint.config({
8-
ignores: ['dist/**', 'node_modules/**'],
8+
ignores: ['build/**', 'dist/**', 'node_modules/**', '.react-router/**'],
99
extends: [
1010
eslint.configs.recommended,
1111
...tseslint.configs.recommended,

index.html

-13
This file was deleted.

package.json

+9-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@
44
"version": "0.0.0",
55
"type": "module",
66
"scripts": {
7-
"dev": "vite",
8-
"build": "tsc -b && vite build",
7+
"dev": "react-router dev",
8+
"typecheck": "react-router typegen && tsc",
9+
"build": "cross-env NODE_ENV=production react-router build",
910
"lint": "eslint . && prettier --check .",
11+
"lint:fix": "eslint --fix . && prettier --write .",
1012
"preview": "vite preview",
1113
"prettier": "prettier",
1214
"eslint": "eslint"
@@ -15,9 +17,12 @@
1517
"@headlessui/react": "^2.2.0",
1618
"@radix-ui/react-slider": "^1.2.2",
1719
"@radix-ui/react-tooltip": "^1.1.5",
20+
"@react-router/node": "^7.1.1",
21+
"@tanstack/react-query": "^5.62.16",
1822
"class-variance-authority": "^0.7.1",
1923
"clsx": "^2.1.1",
2024
"framer-motion": "^11.14.4",
25+
"isbot": "^5",
2126
"lucide-react": "^0.468.0",
2227
"next-themes": "^0.4.4",
2328
"react": "^18.3.1",
@@ -29,11 +34,12 @@
2934
},
3035
"devDependencies": {
3136
"@eslint/js": "^9.15.0",
37+
"@react-router/dev": "^7.1.1",
3238
"@stylistic/eslint-plugin-ts": "^2.12.1",
3339
"@types/react": "^18.3.12",
3440
"@types/react-dom": "^18.3.1",
35-
"@vitejs/plugin-react-swc": "^3.5.0",
3641
"autoprefixer": "^10.4.20",
42+
"cross-env": "^7.0.3",
3743
"eslint": "^9.15.0",
3844
"eslint-config-prettier": "^9.1.0",
3945
"eslint-plugin-react-hooks": "^5.0.0",

0 commit comments

Comments
 (0)