Skip to content

Commit

Permalink
upgrade next@9.5.1 (keystonejs#3315)
Browse files Browse the repository at this point in the history
  • Loading branch information
gautamsi committed Jul 30, 2020
1 parent 7e9c684 commit 1673029
Show file tree
Hide file tree
Showing 8 changed files with 218 additions and 129 deletions.
7 changes: 7 additions & 0 deletions .changeset/mighty-brooms-glow.md
@@ -0,0 +1,7 @@
---
'@keystonejs/demo-project-blog': patch
'@keystonejs/demo-project-meetup': patch
'@keystonejs/app-next': patch
---

Updated Next.js to 9.5.1 which make revalidate prop a stable api.
4 changes: 2 additions & 2 deletions demo-projects/blog/package.json
Expand Up @@ -43,10 +43,10 @@
"express": "^4.17.1",
"graphql-tag": "^2.10.3",
"isomorphic-unfetch": "^3.0.0",
"next": "^9.4.4",
"next": "^9.5.1",
"node-fetch": "^2.3.0",
"react": "^16.13.1",
"react-dom": "^16.13.1"
},
"repository": "https://github.com/keystonejs/keystone/tree/master/demo-projects/blog"
}
}
2 changes: 1 addition & 1 deletion demo-projects/meetup/package.json
Expand Up @@ -43,7 +43,7 @@
"graphql-tag": "^2.10.3",
"isomorphic-unfetch": "^3.0.0",
"lodash.uniqby": "^4.7.0",
"next": "^9.4.4",
"next": "^9.5.1",
"prop-types": "^15.7.2",
"react": "^16.13.1",
"react-dom": "^16.13.1",
Expand Down
2 changes: 1 addition & 1 deletion demo-projects/meetup/site/pages/about.js
Expand Up @@ -134,6 +134,6 @@ export async function getStaticProps() {
props: {
initialApolloState: apolloClient.cache.extract(),
},
unstable_revalidate: 1,
revalidate: 1,
};
}
2 changes: 1 addition & 1 deletion demo-projects/meetup/site/pages/events.js
Expand Up @@ -50,6 +50,6 @@ export async function getStaticProps() {
props: {
initialApolloState: apolloClient.cache.extract(),
},
unstable_revalidate: 1,
revalidate: 1,
};
}
2 changes: 1 addition & 1 deletion demo-projects/meetup/site/pages/index.js
Expand Up @@ -343,7 +343,7 @@ export async function getStaticProps() {
initialApolloState: apolloClient.cache.extract(),
now,
},
unstable_revalidate: 1,
revalidate: 1,
};
}

Expand Down
2 changes: 1 addition & 1 deletion packages/app-next/package.json
Expand Up @@ -8,7 +8,7 @@
"node": ">=10.0.0"
},
"dependencies": {
"next": "^9.4.4"
"next": "^9.5.1"
},
"repository": "https://github.com/keystonejs/keystone/tree/master/packages/app-next"
}
326 changes: 204 additions & 122 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 1673029

Please sign in to comment.