File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import { Button } from "@workspace/ui/components/button"
21import Link from "next/link"
32
43export default function Page ( ) {
Original file line number Diff line number Diff line change 11import { QueryClient , isServer } from "@tanstack/react-query"
2- import { cache } from "react"
32
43function makeQueryClient ( ) {
54 return new QueryClient ( {
@@ -13,7 +12,7 @@ function makeQueryClient() {
1312 dehydrate : {
1413 // Include both successful and error states to avoid refetching on the client
1514 // This prevents loading states when there's an error in prefetched data
16- shouldDehydrateQuery : ( query ) => {
15+ shouldDehydrateQuery : ( ) => {
1716 return true
1817 }
1918 }
Original file line number Diff line number Diff line change 88 "build" : " next build" ,
99 "start" : " next start" ,
1010 "start:e2e" : " rm -rf .next && rm -rf node_modules && pnpm install && pnpm build && NODE_ENV=test next start" ,
11- "lint" : " next lint " ,
12- "lint:fix" : " next lint --fix" ,
11+ "lint" : " eslint . --max-warnings 0 " ,
12+ "lint:fix" : " eslint . --fix" ,
1313 "typecheck" : " tsc --noEmit"
1414 },
1515 "dependencies" : {
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ export const config = [
2929 {
3030 ignores : [
3131 "dist/**" ,
32+ ".next/**" ,
3233 "**/__tests__/**" ,
3334 "**/*.test.ts" ,
3435 "**/*.test.tsx" ,
Original file line number Diff line number Diff line change 55 "build" : {
66 "dependsOn" : [" ^build" ],
77 "inputs" : [" $TURBO_DEFAULT$" , " .env*" ],
8- "outputs" : [" .next/**" , " !.next/cache/**" ]
8+ "outputs" : [" .next/**" , " !.next/cache/**" ],
9+ "env" : [" BASE_URL" , " NEXT_PUBLIC_BASE_URL" ]
910 },
1011 "lint" : {
11- "dependsOn" : [" ^lint" ]
12+ "dependsOn" : [" ^lint" ],
13+ "env" : [" BASE_URL" , " NEXT_PUBLIC_BASE_URL" ]
1214 },
1315 "typecheck" : {
1416 "outputs" : [" .tsbuildinfo" , " dist/**" ],
2931 },
3032 "dev" : {
3133 "cache" : false ,
32- "persistent" : true
34+ "persistent" : true ,
35+ "env" : [" BASE_URL" , " NEXT_PUBLIC_BASE_URL" ]
3336 }
3437 }
3538}
You can’t perform that action at this time.
0 commit comments