Skip to content

Commit

Permalink
chore: update next js (#100)
Browse files Browse the repository at this point in the history
* update

* update

* node 22
  • Loading branch information
lynxtaa authored Dec 18, 2024
1 parent 8ef761b commit afda17b
Show file tree
Hide file tree
Showing 7 changed files with 1,100 additions and 1,074 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
node-version: [18.x, 20.x]
node-version: [18.x, 20.x, 22.x]

steps:
- name: Checkout repository
Expand Down
2 changes: 1 addition & 1 deletion examples/next-js/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ export default [
},
},
{
ignores: ['lib/graphql-queries.ts'],
ignores: ['.next', 'lib/graphql-queries.ts'],
},
]
2 changes: 1 addition & 1 deletion examples/next-js/next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.
1 change: 0 additions & 1 deletion examples/next-js/next.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/** @type {import('next').NextConfig} */
module.exports = {
reactStrictMode: true,
swcMinify: true,
}
24 changes: 12 additions & 12 deletions examples/next-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,26 @@
"prettier": "@lynxtaa/prettier-config",
"dependencies": {
"awesome-graphql-client": "*",
"next": "14.2.5",
"react": "18.3.1",
"react-dom": "18.3.1"
"next": "15.1.1",
"react": "19.0.0",
"react-dom": "19.0.0"
},
"devDependencies": {
"@graphql-codegen/cli": "5.0.2",
"@graphql-codegen/typescript": "4.0.9",
"@graphql-codegen/typescript-operations": "4.2.3",
"@graphql-codegen/cli": "5.0.3",
"@graphql-codegen/typescript": "4.1.1",
"@graphql-codegen/typescript-operations": "4.3.1",
"@graphql-codegen/typescript-react-query": "6.1.0",
"@lynxtaa/eslint-config": "0.11.0",
"@lynxtaa/prettier-config": "0.2.0",
"@tanstack/react-query": "5.51.15",
"@testing-library/jest-dom": "6.4.8",
"@testing-library/react": "16.0.0",
"@tanstack/react-query": "5.59.19",
"@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "16.1.0",
"@testing-library/user-event": "14.5.2",
"@types/jest": "29.5.12",
"@types/jest": "29.5.14",
"@types/node": "20.14.12",
"@types/react": "18.3.3",
"@types/react": "19.0.2",
"eslint": "9.14.0",
"eslint-config-next": "14.2.5",
"eslint-config-next": "15.1.1",
"eslint-plugin-jest": "28.8.3",
"graphql": "16.9.0",
"jest": "29.7.0",
Expand Down
8 changes: 4 additions & 4 deletions examples/typed-document-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
"graphql": "16.9.0"
},
"devDependencies": {
"@graphql-codegen/cli": "5.0.2",
"@graphql-codegen/typed-document-node": "5.0.9",
"@graphql-codegen/typescript": "4.0.9",
"@graphql-codegen/typescript-operations": "4.2.3",
"@graphql-codegen/cli": "5.0.3",
"@graphql-codegen/typed-document-node": "5.0.11",
"@graphql-codegen/typescript": "4.1.1",
"@graphql-codegen/typescript-operations": "4.3.1",
"@graphql-typed-document-node/core": "3.2.0",
"@lynxtaa/eslint-config": "0.11.0",
"@lynxtaa/prettier-config": "0.2.0",
Expand Down
Loading

0 comments on commit afda17b

Please sign in to comment.