Skip to content

require node 20 for ESM #239

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/ssh-agent@v0.5.0
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"
}
}
Loading