Skip to content

Commit e643665

Browse files
committed
feat: add support for Gatsby v5
1 parent 26287ed commit e643665

File tree

3 files changed

+391
-468
lines changed

3 files changed

+391
-468
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [ubuntu-latest, macOS-latest] #, windows-latest] # TODO add an e2etest.bat file
15-
node-version: [14.15.0, '*']
15+
node-version: [18.12, '*']
1616
exclude:
1717
- os: macOS-latest
18-
node-version: 14.15.0
18+
node-version: 18.12
1919
# - os: windows-latest
20-
# node-version: 14.15.0
20+
# node-version: 18.12
2121
fail-fast: false
2222

2323
steps:

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"dependencies": {
1616
"@babel/runtime": "^7.16.7",
1717
"fs-extra": "^10.0.0",
18-
"gatsby-core-utils": "^3.5.2",
18+
"gatsby-core-utils": "^4.0.0",
1919
"kebab-hash": "^0.1.2",
2020
"lodash.mergewith": "^4.6.2",
2121
"webpack-assets-manifest": "^5.0.6"
@@ -27,10 +27,10 @@
2727
"@babel/eslint-plugin": "^7.16.5",
2828
"@netlify/eslint-config-node": "^5.1.8",
2929
"@types/jest": "^28.0.0",
30-
"babel-preset-gatsby-package": "^2.5.0",
30+
"babel-preset-gatsby-package": "^3.0.0",
3131
"cross-env": "^7.0.3",
32-
"gatsby": "^4.5.3",
33-
"gatsby-plugin-utils": "^3.0.0",
32+
"gatsby": "^5.0.1",
33+
"gatsby-plugin-utils": "^4.0.0",
3434
"jest": "^28.0.0",
3535
"prettier": "^2.3.2",
3636
"typescript": "^4.5.4"
@@ -45,7 +45,7 @@
4545
"license": "MIT",
4646
"main": "index.js",
4747
"peerDependencies": {
48-
"gatsby": "^4.0.0"
48+
"gatsby": "^4.0 || ^5.0"
4949
},
5050
"repository": {
5151
"type": "git",
@@ -66,6 +66,6 @@
6666
"watch": "tsc --watch"
6767
},
6868
"engines": {
69-
"node": ">=14.0.0"
69+
"node": ">=18.0.0"
7070
}
7171
}

0 commit comments

Comments
 (0)