Skip to content

Commit c747fdb

Browse files
Merge pull request #239 from hypermod-io/node-20
require node 20 for ESM
2 parents 75a871d + c17dd18 commit c747fdb

File tree

14 files changed

+26
-15
lines changed

14 files changed

+26
-15
lines changed

.changeset/cuddly-mayflies-type.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
'@hypermod/initializer': minor
3+
'@codeshift/cli': minor
4+
'@hypermod/validator': minor
5+
'@hypermod/fetcher': minor
6+
'@hypermod/utils': minor
7+
'@hypermod/core': minor
8+
'@hypermod/cli': minor
9+
---
10+
11+
Require node 20.17 in support of moving from CJS to ESM

.github/workflows/documentation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v1
1515
- uses: actions/setup-node@v1
1616
with:
17-
node-version: '18.x'
17+
node-version: '20.17.*'
1818
- name: Generate docs
1919
run: |
2020
yarn install --frozen-lockfile
@@ -32,7 +32,7 @@ jobs:
3232
- uses: actions/checkout@v1
3333
- uses: actions/setup-node@v1
3434
with:
35-
node-version: '18.x'
35+
node-version: '20.17.*'
3636
- uses: webfactory/ssh-agent@v0.5.0
3737
with:
3838
ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY }}

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
1717
fetch-depth: 0
1818

19-
- name: Setup Node.js 18.x
19+
- name: Setup Node.js 20.17.*
2020
uses: actions/setup-node@master
2121
with:
22-
node-version: 18.x
22+
node-version: 20.17.*
2323

2424
- name: Install Dependencies
2525
run: yarn

.github/workflows/test-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
node-version: [18.x]
14+
node-version: [20.17.*]
1515

1616
steps:
1717
- uses: actions/checkout@v2

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
node-version: [18.x]
15+
node-version: [20.17.*]
1616

1717
steps:
1818
- uses: actions/checkout@v2

.github/workflows/validate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
node-version: [18.x]
15+
node-version: [20.17.*]
1616

1717
steps:
1818
- uses: actions/checkout@v2

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v18
1+
v20.17

packages/cli-alias/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
"ts-node": "^10.9.1"
2020
},
2121
"engines": {
22-
"node": ">=14"
22+
"node": ">=20.17"
2323
}
2424
}

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@
3636
"ts-node": "^10.9.1"
3737
},
3838
"engines": {
39-
"node": ">=14"
39+
"node": ">=20.17"
4040
}
4141
}

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@
2828
"temp": "^0.8.4"
2929
},
3030
"engines": {
31-
"node": ">=14"
31+
"node": ">=20.17"
3232
}
3333
}

0 commit comments

Comments
 (0)