From e80bce7d3adfc19f4ab5fc9cead9da9f60cedb55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20De=20Boey?= Date: Tue, 30 May 2023 21:14:21 +0200 Subject: [PATCH] feat: support Gatsby 5.x (#245) BREAKING CHANGE: Requires Node >=18.0.0 BREAKING CHANGE: Requires Gatsby ^5.0.0 --- .github/workflows/validate.yml | 4 ++-- .nvmrc | 2 +- package.json | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index d2867be..0801583 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -22,7 +22,7 @@ jobs: if: ${{ !contains(github.head_ref, 'all-contributors') }} strategy: matrix: - node: [14.15.0, 14, 16, 18, 20] + node: [18.0.0, 18, 20] runs-on: ubuntu-latest steps: - name: ⬇️ Checkout repo @@ -60,7 +60,7 @@ jobs: with: cache: npm cache-dependency-path: ./package.json - node-version: 16 + node-version: 18 - name: 📥 Install deps run: npm install diff --git a/.nvmrc b/.nvmrc index da2d398..25bf17f 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -14 \ No newline at end of file +18 \ No newline at end of file diff --git a/package.json b/package.json index f176aef..36df6d1 100644 --- a/package.json +++ b/package.json @@ -62,10 +62,10 @@ "remark-html": "^13.0.2" }, "peerDependencies": { - "gatsby": "^4.0.0" + "gatsby": "^5.0.0" }, "engines": { - "node": ">=14.15.0", + "node": ">=18.0.0", "npm": ">=6" } }