Skip to content

Commit a465ceb

Browse files
Require node 22.21.1+ (#1684)
* Require node 22+ * Set specifically 22.21.1+
1 parent e873426 commit a465ceb

File tree

9 files changed

+12
-17
lines changed

9 files changed

+12
-17
lines changed

.github/workflows/addon-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- uses: actions/setup-node@v4
3838
if: env.SHORT_CIRCUIT == 'false'
3939
with:
40-
node-version: 20.19.x
40+
node-version: 22
4141
cache: pnpm
4242
- name: Install Dependencies
4343
if: env.SHORT_CIRCUIT == 'false'

.github/workflows/ci-cd.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Install Node
2222
uses: actions/setup-node@v4
2323
with:
24-
node-version: 20.19.x
24+
node-version: 22
2525
- uses: pnpm/action-setup@v4
2626
with:
2727
version: 10
@@ -46,7 +46,7 @@ jobs:
4646
- name: Install Node
4747
uses: actions/setup-node@v4
4848
with:
49-
node-version: 20.19.x
49+
node-version: 22
5050
- uses: pnpm/action-setup@v4
5151
with:
5252
version: 10
@@ -71,7 +71,7 @@ jobs:
7171
- name: Install Node
7272
uses: actions/setup-node@v4
7373
with:
74-
node-version: 20.19.x
74+
node-version: 22
7575
- uses: pnpm/action-setup@v4
7676
with:
7777
version: 10
@@ -103,7 +103,7 @@ jobs:
103103
- name: Install Node
104104
uses: actions/setup-node@v4
105105
with:
106-
node-version: 20.19.x
106+
node-version: 22
107107
- uses: pnpm/action-setup@v4
108108
with:
109109
version: 10

.tool-versions

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
nodejs 20.19.5
2-
pnpm 10.18.2
1+
nodejs 22.21.1
2+
pnpm 10.20.0

README.md

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

1212
* Ember.js v4.4 or above
1313
* Ember CLI v4.4 or above
14-
* Node.js v18 or above
14+
* Node.js v22.21.1 or above
1515

1616
The original maintainers of AddonDocs have moved on, but this addon is still very much actively maintained and is still being used by many addons.
1717
We are currently working on embroider and fastboot support, and would love help, if anyone would like to help out!

lib/utils/compile-markdown.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
const esmRequire = require('esm')(module, { cjs: true });
2-
module.exports = esmRequire('../../addon/utils/compile-markdown').default;
1+
module.exports = require('../../addon/utils/compile-markdown').default;

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@
6666
"ember-svg-jar": "^2.6.0",
6767
"ember-tether": "^3.1.0",
6868
"ember-truth-helpers": "^4.0.3",
69-
"esm": "^3.2.25",
7069
"execa": "5.1.1",
7170
"fs-extra": "^11.2.0",
7271
"git-repo-info": "^2.1.1",
@@ -188,7 +187,7 @@
188187
}
189188
},
190189
"engines": {
191-
"node": ">= 20.19"
190+
"node": ">= 22.21.1"
192191
},
193192
"publishConfig": {
194193
"registry": "https://registry.npmjs.org"

pnpm-lock.yaml

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test-apps/new-addon/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"webpack": "^5.96.1"
5353
},
5454
"engines": {
55-
"node": ">= 20.19"
55+
"node": ">= 22.21.1"
5656
},
5757
"ember": {
5858
"edition": "octane"

tests/dummy/app/templates/docs/deploying.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ jobs:
132132
- uses: actions/setup-node@v4
133133
if: env.SHORT_CIRCUIT == 'false'
134134
with:
135-
node-version: 20
135+
node-version: 22
136136
cache: pnpm
137137
- name: Install Dependencies
138138
if: env.SHORT_CIRCUIT == 'false'

0 commit comments

Comments
 (0)