mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-05-13 23:16:47 +00:00
feat: update core deps
This commit is contained in:
@@ -40,7 +40,7 @@ export async function resolveNotionPage(domain: string, rawPageId?: string) {
|
||||
// e.g., /developer-x-entrepreneur versus /71201624b204481f862630ea25ce62fe
|
||||
const siteMaps = await getSiteMaps()
|
||||
const siteMap = siteMaps[0]
|
||||
pageId = siteMap.canonicalPageMap[rawPageId]
|
||||
pageId = siteMap?.canonicalPageMap[rawPageId]
|
||||
|
||||
if (pageId) {
|
||||
// TODO: we're not re-using the site from siteMaps because it is
|
||||
|
||||
@@ -7,5 +7,8 @@ const withBundleAnalyzer = require('@next/bundle-analyzer')({
|
||||
module.exports = withBundleAnalyzer({
|
||||
images: {
|
||||
domains: ['pbs.twimg.com']
|
||||
},
|
||||
future: {
|
||||
webpack5: true
|
||||
}
|
||||
})
|
||||
|
||||
49
package.json
49
package.json
@@ -26,52 +26,51 @@
|
||||
"posttest": "run-s build"
|
||||
},
|
||||
"dependencies": {
|
||||
"@google-cloud/firestore": "^4.9.1",
|
||||
"chrome-aws-lambda": "^5.5.0",
|
||||
"classnames": "^2.2.6",
|
||||
"date-fns": "^2.19.0",
|
||||
"@google-cloud/firestore": "^4.10.1",
|
||||
"classnames": "^2.3.1",
|
||||
"date-fns": "^2.21.1",
|
||||
"fathom-client": "^3.0.0",
|
||||
"got": "^11.8.1",
|
||||
"got": "^11.8.2",
|
||||
"isomorphic-unfetch": "^3.1.0",
|
||||
"lqip-modern": "^1.1.3",
|
||||
"next": "^10.1.3",
|
||||
"lqip-modern": "^1.2.0",
|
||||
"next": "^10.2.0",
|
||||
"node-fetch": "^2.6.1",
|
||||
"notion-client": "^4.4.0",
|
||||
"notion-client": "^4.5.2",
|
||||
"notion-types": "^4.3.0",
|
||||
"notion-utils": "^4.4.0",
|
||||
"notion-utils": "^4.5.2",
|
||||
"p-map": "^4.0.0",
|
||||
"p-memoize": "^4.0.0",
|
||||
"react": "^17.0.2",
|
||||
"react-body-classname": "^1.3.1",
|
||||
"react-dom": "^17.0.2",
|
||||
"react-icons": "^4.1.0",
|
||||
"react-notion-x": "^4.5.0",
|
||||
"react-icons": "^4.2.0",
|
||||
"react-notion-x": "^4.5.2",
|
||||
"react-static-tweets": "^0.5.3",
|
||||
"react-use": "^15.3.3",
|
||||
"react-use": "^17.2.4",
|
||||
"static-tweets": "^0.5.3",
|
||||
"use-dark-mode": "^2.3.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@next/bundle-analyzer": "^10.1.3",
|
||||
"@types/classnames": "^2.2.10",
|
||||
"@types/node": "^14.14.37",
|
||||
"@types/node-fetch": "^2.5.9",
|
||||
"@types/react": "^17.0.3",
|
||||
"@typescript-eslint/eslint-plugin": "^4.21.0",
|
||||
"@typescript-eslint/parser": "^4.21.0",
|
||||
"@next/bundle-analyzer": "^10.2.0",
|
||||
"@types/classnames": "^2.3.1",
|
||||
"@types/node": "^15.0.1",
|
||||
"@types/node-fetch": "^2.5.10",
|
||||
"@types/react": "^17.0.4",
|
||||
"@typescript-eslint/eslint-plugin": "^4.22.0",
|
||||
"@typescript-eslint/parser": "^4.22.0",
|
||||
"babel-eslint": "^10.0.3",
|
||||
"cross-env": "^7.0.2",
|
||||
"eslint": "^7.23.0",
|
||||
"eslint-config-prettier": "^8.1.0",
|
||||
"eslint": "^7.25.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-config-standard": "^16.0.2",
|
||||
"eslint-config-standard-react": "^11.0.1",
|
||||
"eslint-plugin-import": "^2.21.2",
|
||||
"eslint-plugin-node": "^11.0.0",
|
||||
"eslint-plugin-prettier": "^3.1.1",
|
||||
"eslint-plugin-promise": "^4.3.1",
|
||||
"eslint-plugin-react": "^7.23.1",
|
||||
"eslint-plugin-prettier": "^3.4.0",
|
||||
"eslint-plugin-promise": "^5.1.0",
|
||||
"eslint-plugin-react": "^7.23.2",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"prettier": "^2.0.5",
|
||||
"typescript": "^4.1.3"
|
||||
"typescript": "^4.2.4"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user