Skip to content

Commit

Permalink
feat(ssr): main parts moved to ssr
Browse files Browse the repository at this point in the history
  • Loading branch information
JappyMondo committed Oct 10, 2024
1 parent 7944507 commit 48680c3
Show file tree
Hide file tree
Showing 68 changed files with 2,259 additions and 5,709 deletions.
4 changes: 0 additions & 4 deletions .npmrc

This file was deleted.

Binary file added bun.lockb
Binary file not shown.
16 changes: 16 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@ const nextConfig = {
async redirects() {
return [{ source: "/", destination: "/pilot-id", permanent: false }];
},
images: {
remotePatterns: [
{
protocol: "https",
hostname: "**.supabase.co",
port: "",
pathname: "/**",
},
{
protocol: "http",
hostname: "127.0.0.1",
port: "54321",
pathname: "/**",
}
],
},
};

export default nextConfig;
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "pnpm run supabase start && next dev",
"dev": "bun run supabase start && next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
Expand All @@ -13,16 +13,18 @@
},
"dependencies": {
"@radix-ui/react-avatar": "^1.0.4",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-dialog": "^1.1.2",
"@radix-ui/react-label": "^2.1.0",
"@radix-ui/react-popover": "^1.1.2",
"@radix-ui/react-progress": "^1.1.0",
"@radix-ui/react-select": "^2.1.2",
"@radix-ui/react-separator": "^1.0.3",
"@radix-ui/react-slot": "^1.0.2",
"@supabase/ssr": "^0.3.0",
"@supabase/ssr": "^0.5.1",
"@supabase/supabase-js": "^2.45.4",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"cmdk": "1.0.0",
"lodash-es": "^4.17.21",
"lucide-react": "^0.394.0",
"nanoid": "^5.0.7",
Expand All @@ -35,6 +37,7 @@
"swr": "^2.2.5",
"tailwind-merge": "^2.3.0",
"tailwindcss-animate": "^1.0.7",
"vaul": "^1.0.0",
"zustand": "^4.5.2"
},
"devDependencies": {
Expand Down
Loading

0 comments on commit 48680c3

Please sign in to comment.