Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
/.pnp
.pnp.js
.yarn/install-state.gz
.pnpm-store

# testing
/coverage
Expand Down
19 changes: 17 additions & 2 deletions next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ const nextConfig: NextConfig = {
experimental: {
reactCompiler: {
compilationMode: 'annotation'
}
},
optimizePackageImports: ['@radix-ui/react-dialog', '@radix-ui/react-popover'],
},
images: {
remotePatterns: [
Expand All @@ -21,11 +22,16 @@ const nextConfig: NextConfig = {
},
],
formats: ["image/avif", "image/webp"],
deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048, 3840],
deviceSizes: [640, 750, 828, 1080, 1200, 1920],
imageSizes: [16, 32, 48, 64, 96, 128, 256, 384],
minimumCacheTTL: 31536000, // 1 year in seconds
dangerouslyAllowSVG: false,
contentDispositionType: 'inline',
contentSecurityPolicy: "default-src 'self'; script-src 'none'; sandbox;",
},
pageExtensions: ["mdx", "ts", "tsx"],
compress: true,
poweredByHeader: false,
async headers() {
return [
{
Expand All @@ -46,6 +52,15 @@ const nextConfig: NextConfig = {
},
],
},
{
source: '/_next/image',
headers: [
{
key: 'Cache-Control',
value: 'public, max-age=31536000, immutable',
},
],
},
];
},
};
Expand Down
158 changes: 80 additions & 78 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,80 +1,82 @@
{
"name": "grbpwr.com",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev --turbo",
"build": "next build",
"start": "next start",
"lint": "next lint",
"format": "pnpm prettier --write .",
"gen": "cd proto && git pull origin main && cd .. && make proto"
},
"dependencies": {
"@formatjs/intl-localematcher": "^0.5.4",
"@hookform/resolvers": "^3.6.0",
"@next/third-parties": "^15.5.2",
"@radix-ui/react-accordion": "^1.2.1",
"@radix-ui/react-checkbox": "^1.1.2",
"@radix-ui/react-dialog": "^1.1.4",
"@radix-ui/react-label": "^2.1.0",
"@radix-ui/react-navigation-menu": "^1.2.1",
"@radix-ui/react-popover": "1.1.2",
"@radix-ui/react-radio-group": "^1.2.1",
"@radix-ui/react-select": "^2.1.2",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-switch": "^1.1.3",
"@radix-ui/react-toast": "^1.2.14",
"@react-google-maps/api": "^2.20.6",
"@react-input/mask": "^1.2.5",
"@stripe/react-stripe-js": "^2.8.0",
"@stripe/stripe-js": "^4.6.0",
"@tanstack/react-query": "^5.72.0",
"@uidotdev/usehooks": "^2.4.1",
"babel-plugin-react-compiler": "19.0.0-beta-40c6c23-20250301",
"class-variance-authority": "^0.7.0",
"clsx": "2.1.0",
"embla-carousel-react": "^8.5.1",
"embla-carousel-wheel-gestures": "^8.0.1",
"framer-motion": "^12.23.12",
"negotiator": "^0.6.3",
"next": "15.5.7",
"next-intl": "^4.3.9",
"qrcode": "^1.5.3",
"react": "0.0.0-experimental-443b7ff2-20250303",
"react-dom": "0.0.0-experimental-443b7ff2-20250303",
"react-hook-form": "^7.52.0",
"react-intersection-observer": "^9.13.0",
"react-markdown": "^10.1.0",
"react-photo-view": "^1.2.4",
"react-zoom-pan-pinch": "^3.7.0",
"vaul": "^1.1.2",
"zod": "^3.23.8",
"zustand": "^5.0.0"
},
"devDependencies": {
"@ianvs/prettier-plugin-sort-imports": "^4.3.1",
"@tailwindcss/typography": "^0.5.13",
"@types/mdx": "^2.0.13",
"@types/node": "20",
"@types/qrcode": "^1.5.5",
"@types/react": "npm:types-react@19.0.0-rc.1",
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",
"autoprefixer": "10.4.20",
"eslint": "8.57.0",
"eslint-config-next": "15.0.0",
"postcss": "^8.4.47",
"postcss-nesting": "^12.1.5",
"prettier": "3.2.5",
"prettier-plugin-tailwindcss": "0.6.11",
"tailwind-merge": "^2.3.0",
"tailwindcss": "3.4.14",
"typescript": "5.4.3"
},
"pnpm": {
"overrides": {
"@types/react": "npm:types-react@19.0.0-rc.1",
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1"
"name": "grbpwr.com",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev --turbo",
"build": "next build",
"start": "next start",
"lint": "next lint",
"format": "pnpm prettier --write .",
"gen": "cd proto && git pull origin main && cd .. && make proto"
},
"dependencies": {
"@formatjs/intl-localematcher": "^0.5.4",
"@hookform/resolvers": "^3.6.0",
"@next/third-parties": "^15.5.2",
"@radix-ui/react-accordion": "^1.2.1",
"@radix-ui/react-checkbox": "^1.1.2",
"@radix-ui/react-dialog": "^1.1.4",
"@radix-ui/react-label": "^2.1.0",
"@radix-ui/react-navigation-menu": "^1.2.1",
"@radix-ui/react-popover": "1.1.2",
"@radix-ui/react-radio-group": "^1.2.1",
"@radix-ui/react-select": "^2.1.2",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-switch": "^1.1.3",
"@radix-ui/react-toast": "^1.2.14",
"@react-google-maps/api": "^2.20.6",
"@react-input/mask": "^1.2.5",
"@stripe/react-stripe-js": "^2.8.0",
"@stripe/stripe-js": "^4.6.0",
"@tanstack/react-query": "^5.72.0",
"@uidotdev/usehooks": "^2.4.1",
"@vercel/speed-insights": "^1.3.1",
"babel-plugin-react-compiler": "19.0.0-beta-40c6c23-20250301",
"blurhash": "^2.0.5",
"class-variance-authority": "^0.7.0",
"clsx": "2.1.0",
"embla-carousel-react": "^8.5.1",
"embla-carousel-wheel-gestures": "^8.0.1",
"framer-motion": "^12.23.12",
"negotiator": "^0.6.3",
"next": "15.5.7",
"next-intl": "^4.3.9",
"qrcode": "^1.5.3",
"react": "0.0.0-experimental-443b7ff2-20250303",
"react-dom": "0.0.0-experimental-443b7ff2-20250303",
"react-hook-form": "^7.52.0",
"react-intersection-observer": "^9.13.0",
"react-markdown": "^10.1.0",
"react-photo-view": "^1.2.4",
"react-zoom-pan-pinch": "^3.7.0",
"vaul": "^1.1.2",
"zod": "^3.23.8",
"zustand": "^5.0.0"
},
"devDependencies": {
"@ianvs/prettier-plugin-sort-imports": "^4.3.1",
"@tailwindcss/typography": "^0.5.13",
"@types/mdx": "^2.0.13",
"@types/node": "20",
"@types/qrcode": "^1.5.5",
"@types/react": "npm:types-react@19.0.0-rc.1",
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",
"autoprefixer": "10.4.20",
"eslint": "8.57.0",
"eslint-config-next": "15.0.0",
"postcss": "^8.4.47",
"postcss-nesting": "^12.1.5",
"prettier": "3.2.5",
"prettier-plugin-tailwindcss": "0.6.11",
"tailwind-merge": "^2.3.0",
"tailwindcss": "3.4.14",
"typescript": "5.4.3"
},
"pnpm": {
"overrides": {
"@types/react": "npm:types-react@19.0.0-rc.1",
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1"
}
}
}
}
}
Loading