File tree Expand file tree Collapse file tree 7 files changed +441
-10
lines changed Expand file tree Collapse file tree 7 files changed +441
-10
lines changed Original file line number Diff line number Diff line change 1+ --- 
2+ " @apollo/client-integration-nextjs " patch 
3+ --- 
4+ 
5+ Update peer dependencies for ` next `  to allow usage with ` ^16.0.0 ` .
Original file line number Diff line number Diff line change 11/// <reference types="next" /> 
22/// <reference types="next/image-types/global" /> 
3+ import  "./.next/types/routes.d.ts" ; 
34
45// NOTE: This file should not be edited 
56// see https://nextjs.org/docs/app/api-reference/config/typescript for more information. 
Original file line number Diff line number Diff line change 44  "private" : true ,
55  "scripts" : {
66    "dev" : " next dev" 
7-     "build" : " next build" 
7+     "build" : " next build --webpack " 
88    "start" : " next start" 
99    "build-and-test" : " yarn build && yarn test" 
1010    "test" : " yarn test:nextjs" 
2222    "graphql" : " ^16.7.1" 
2323    "graphql-17-alpha2" : 
" npm:[email protected] " ,
 2424    "graphql-tag" : " ^2.12.6" 
25-     "next" : " ^15.2.4 " 
25+     "next" : " ^16.0.0 " 
2626    "react" : " ^19.0.0" 
2727    "react-dom" : " ^19.0.0" 
2828    "react-error-boundary" : " ^4.0.13" 
Original file line number Diff line number Diff line change 11import  {  NextRequest ,  NextResponse  }  from  "next/server" ; 
22
3- export  function  middleware ( request : NextRequest )  { 
3+ export  function  proxy ( request : NextRequest )  { 
44  const  nonce  =  request . nextUrl . searchParams . get ( "nonce" ) ; 
55  if  ( nonce )  { 
66    // we set a fixed nonce here so we can test correct and incorrect nonce values 
Original file line number Diff line number Diff line change 1616    "moduleResolution" : " node" 
1717    "resolveJsonModule" : true ,
1818    "isolatedModules" : true ,
19-     "jsx" : " preserve " 
19+     "jsx" : " react-jsx " 
2020    "incremental" : true ,
2121    "plugins" : [
2222      {
3535    " **/*.tsx" 
3636    " .next/types/**/*.ts" 
3737    " ../shared/*.ts" 
38+     " .next/dev/types/**/*.ts" 
3839  ],
3940  "exclude" : [
4041    " node_modules" 
4142  ]
42- }
43+ }
Original file line number Diff line number Diff line change 9090    "esbuild" : " ^0.24.2" 
9191    "eslint" : " 8.57.0" 
9292    "graphql" : " ^16.10.0" 
93-     "next" : " ^15.2.4 " 
93+     "next" : " ^16.0.0 " 
9494    "publint" : " 0.2.7" 
9595    "react" : " ^19.0.0" 
9696    "react-dom" : " ^19.0.0" 
102102  },
103103  "peerDependencies" : {
104104    "@apollo/client" : " ^4.0.0" 
105-     "next" : " ^15.2.3" 
105+     "next" : " ^15.2.3 || ^16.0.0 " 
106106    "react" : " ^19" 
107107    "rxjs" : " ^7.3.0" 
108108  },
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments