Skip to content

Commit

Permalink
Add next.js 14 compatibility (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
typeofweb authored Oct 26, 2023
1 parent 63f2ae2 commit 60b6b7e
Show file tree
Hide file tree
Showing 2 changed files with 340 additions and 190 deletions.
25 changes: 12 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,9 @@
"graphql": "^16.8.1"
},
"peerDependencies": {
"@apollo/client": "^3.7.15",
"next": "^13.4.4",
"react-dom": "^18.2.0",
"next": "^13.4.4 || ^14.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"urql": "^4.0.3"
},
"peerDependenciesMeta": {
Expand All @@ -55,34 +54,34 @@
"@graphql-typed-document-node/core": "^3.2.0",
"@types/cookie": "^0.5.3",
"@types/debug": "^4.1.10",
"@types/node": "^20.8.9",
"@types/node-fetch": "^2.6.7",
"@types/node": "^20.8.7",
"@types/react": "^18.2.33",
"@types/react-dom": "^18.2.14",
"@types/react": "^18.2.30",
"@types/uuid": "^9.0.6",
"@typescript-eslint/eslint-plugin": "^6.8.0",
"@typescript-eslint/parser": "^6.8.0",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"@vitejs/plugin-react": "^4.1.0",
"clean-publish": "^4.2.0",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint": "^8.51.0",
"jsdom": "^22.1.0",
"prettier": "^3.0.3",
"react-dom": "^18.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"release-it": "^16.2.1",
"tsup": "^7.2.0",
"typescript": "^5.2.2",
"urql": "^4.0.5",
"vite": "^4.5.0",
"vitest-fetch-mock": "^0.2.2",
"vitest": "^0.34.6"
"vitest": "^0.34.6",
"vitest-fetch-mock": "^0.2.2"
},
"lint-staged": {
"*.{js,ts,tsx}": "eslint --cache --fix",
Expand Down
Loading

0 comments on commit 60b6b7e

Please sign in to comment.