Skip to content

Commit

Permalink
Update Next.js in Legacy Faust (#1886)
Browse files Browse the repository at this point in the history
* Update Next 12 in appropriate packages

* Add WordPress 6.5 to testing Matrix

* Add changeset

* Update Next.js 14 in packages < 14.1.1
  • Loading branch information
ChrisWiegman authored May 14, 2024
1 parent 4954452 commit 3c78b75
Show file tree
Hide file tree
Showing 8 changed files with 153 additions and 213 deletions.
5 changes: 5 additions & 0 deletions .changeset/many-turkeys-rescue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@faustjs/next': patch
---

Update Next.js dependency to 12.3.4
2 changes: 1 addition & 1 deletion .github/workflows/test-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
wordpress: ['6.3', '6.4']
wordpress: ['6.3', '6.4', '6.5']
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
6 changes: 3 additions & 3 deletions examples/next/app-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@faustwp/core": "^3.0.1",
"@faustwp/experimental-app-router": "^0.3.1",
"graphql": "^16.7.1",
"next": "^14.0.1",
"next": "^14.2.3",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand All @@ -28,7 +28,7 @@
"@types/node": "^20.6.3",
"@types/react": "^18.2.36",
"@types/react-dom": "^18.2.14",
"typescript": "^5.2.2",
"next-secure-headers": "^2.2.0"
"next-secure-headers": "^2.2.0",
"typescript": "^5.2.2"
}
}
4 changes: 2 additions & 2 deletions examples/next/block-support/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@
"@faustwp/core": "^3.0.1",
"classnames": "^2.3.1",
"graphql": "^16.8.1",
"next": "^14.0.3",
"next": "^14.2.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"sass": "^1.54.9"
},
"devDependencies": {
"@wordpress/scripts": "26.18.0",
"@faustwp/block-editor-utils": "0.2.0",
"@wordpress/base-styles": "^4.41.0",
"@wordpress/block-library": "^8.27.0",
"@wordpress/scripts": "26.18.0",
"next-secure-headers": "^2.2.0"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions examples/next/faustwp-getting-started/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@wordpress/block-library": "^7.19.0",
"classnames": "^2.3.1",
"graphql": "^16.6.0",
"next": "^12.1.6",
"next": "^12.3.4",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"sass": "^1.54.9"
Expand All @@ -29,4 +29,4 @@
"node": ">=18",
"npm": ">=8"
}
}
}
4 changes: 2 additions & 2 deletions examples/next/getting-started/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"dependencies": {
"@faustjs/core": "^0.15.13",
"@faustjs/next": "^0.15.13",
"next": "^12.2.4",
"next": "^12.3.4",
"normalize.css": "^8.0.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
Expand All @@ -36,4 +36,4 @@
"rimraf": "^3.0.2",
"typescript": "^4.5.2"
}
}
}
Loading

0 comments on commit 3c78b75

Please sign in to comment.