Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

Fix knip

Blue Mouse867f866c703d
diff --git a/web/knip.jsonc b/web/knip.jsonc
index e924a489a..af8a5a230 100644
--- a/web/knip.jsonc
+++ b/web/knip.jsonc
@@ -1,6 +1,6 @@
{
"$schema": "https://unpkg.com/knip@5/schema.json",
- "ignoreDependencies": ["eslint-plugin-jsx-a11y", "@typescript-eslint/typescript-estree", "@typescript-eslint/parser", "@tailwindcss/forms", "@tailwindcss/typography", "tailwindcss", "postcss"],
+ "ignoreDependencies": ["eslint-plugin-jsx-a11y", "@typescript-eslint/typescript-estree", "@typescript-eslint/parser", "@tailwindcss/forms", "@tailwindcss/typography", "tailwindcss", "postcss", "@react-router/fs-routes"],
"ignoreBinaries": ["flyctl"],
- "ignore": ["./ecosystem.config.js"]
+ "ignore": ["./ecosystem.config.js", "./app/routes.ts", "./react-router.config.ts"]
}
diff --git a/web/package.json b/web/package.json
index c1985bc9a..7401f716e 100644
--- a/web/package.json
+++ b/web/package.json
@@ -8,9 +8,9 @@
"dev": "react-router dev",
"deploy": "flyctl deploy --remote-only",
"import-env": "node fly_import_env.js --env-file .env",
- "dev:staging": "cross-env STAGING=true remix vite:dev",
+ "dev:staging": "cross-env STAGING=true react-router dev",
"start": "react-router-serve ./build/server/index.js",
- "start:staging": "cross-env STAGING=true remix-serve ./build/server/index.js",
+ "start:staging": "cross-env STAGING=true react-router-serve ./build/server/index.js",
"typecheck": "react-router typegen && tsc",
"lint": "eslint app",
"lint:fix": "eslint app --fix",