Skip to content

Commit

Permalink
Merge pull request #239 from hypermod-io/node-20
Browse files Browse the repository at this point in the history
require node 20 for ESM
  • Loading branch information
danieldelcore authored Sep 21, 2024
2 parents 75a871d + c17dd18 commit c747fdb
Show file tree
Hide file tree
Showing 14 changed files with 26 additions and 15 deletions.
11 changes: 11 additions & 0 deletions .changeset/cuddly-mayflies-type.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
'@hypermod/initializer': minor
'@codeshift/cli': minor
'@hypermod/validator': minor
'@hypermod/fetcher': minor
'@hypermod/utils': minor
'@hypermod/core': minor
'@hypermod/cli': minor
---

Require node 20.17 in support of moving from CJS to ESM
4 changes: 2 additions & 2 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '18.x'
node-version: '20.17.*'
- name: Generate docs
run: |
yarn install --frozen-lockfile
Expand All @@ -32,7 +32,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '18.x'
node-version: '20.17.*'
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0

- name: Setup Node.js 18.x
- name: Setup Node.js 20.17.*
uses: actions/setup-node@master
with:
node-version: 18.x
node-version: 20.17.*

- name: Install Dependencies
run: yarn
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [20.17.*]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [20.17.*]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [20.17.*]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18
v20.17
2 changes: 1 addition & 1 deletion packages/cli-alias/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
"ts-node": "^10.9.1"
},
"engines": {
"node": ">=14"
"node": ">=20.17"
}
}
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@
"ts-node": "^10.9.1"
},
"engines": {
"node": ">=14"
"node": ">=20.17"
}
}
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"temp": "^0.8.4"
},
"engines": {
"node": ">=14"
"node": ">=20.17"
}
}
2 changes: 1 addition & 1 deletion packages/fetcher/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
"live-plugin-manager": "^0.18.1"
},
"engines": {
"node": ">=14"
"node": ">=20.17"
}
}
2 changes: 1 addition & 1 deletion packages/initializer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"semver": "^7.3.5"
},
"engines": {
"node": ">=14"
"node": ">=20.17"
}
}
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"license": "MIT",
"repository": "https://github.com/hypermod-io/hypermod-community/tree/main/packages/utils",
"engines": {
"node": ">=14"
"node": ">=20.17"
},
"dependencies": {
"jscodeshift": "^0.13.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/validator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"@types/lodash": "^4.14.176"
},
"engines": {
"node": ">=14"
"node": ">=20.17"
}
}

0 comments on commit c747fdb

Please sign in to comment.