Skip to content

Commit cbfd599

Browse files
committed
improvement(sim-cli): require node ^22.18.0 || >=24.11.0 to match bundled babel 8 and commander 15
- engines.node in sim-cli, workflow-code, workflow-sdk and workspace-code - README and CLI install docs state the new floor - the publish workflow smoke-tests the packed bundle on node 22.18.0, the floor
1 parent 5362dd0 commit cbfd599

7 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎.github/workflows/publish-sim-cli.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
persist-credentials: false
4242

4343
# Vitest 5 requires Node 22.12+; the published bundle is also
44-
# smoke-tested on Node 22 below, its minimum supported runtime.
44+
# smoke-tested below on Node 22.18.0, its minimum supported runtime.
4545
- name: Setup workspace
4646
uses: ./.github/actions/setup
4747
with:
@@ -131,10 +131,10 @@ jobs:
131131
working-directory: packages/sim-cli
132132
run: bun pm pack --ignore-scripts --filename "$RUNNER_TEMP/package.tgz" --quiet
133133

134-
- name: Setup Node 22 for the bundle smoke test
134+
- name: Setup the minimum supported Node for the bundle smoke test
135135
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v6
136136
with:
137-
node-version: '22'
137+
node-version: '22.18.0'
138138

139139
- name: Smoke-test packed Node bundle
140140
env:

‎apps/docs/content/docs/cli/index.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Use `sim` to run workflows, query tables, move files, search knowledge bases, an
77

88
## Install
99

10-
The installed CLI requires Node.js 22 or newer. Install it globally with Bun, then check the version:
10+
The installed CLI requires Node.js 22.18 or newer on the 22 line, or 24.11 or newer. Install it globally with Bun, then check the version:
1111

1212
```bash
1313
bun add -g sim

‎packages/sim-cli/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ to set up a Sim deployment.
1212

1313
## Install
1414

15-
The CLI requires Node.js 22 or newer. Install it globally with Bun (npm and pnpm work too; keep upgrading with the manager that owns the installation, or run `sim update`):
15+
The CLI requires Node.js 22.18 or newer on the 22 line, or 24.11 or newer. Install it globally with Bun (npm and pnpm work too; keep upgrading with the manager that owns the installation, or run `sim update`):
1616

1717
```bash
1818
bun add --global sim

‎packages/sim-cli/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"access": "public"
4848
},
4949
"engines": {
50-
"node": ">=22"
50+
"node": "^22.18.0 || >=24.11.0"
5151
},
5252
"dependencies": {
5353
"chalk": "6.0.1",

‎packages/workflow-code/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"license": "Apache-2.0",
88
"engines": {
99
"bun": ">=1.4.4",
10-
"node": ">=22.0.0"
10+
"node": "^22.18.0 || >=24.11.0"
1111
},
1212
"exports": {
1313
".": {

‎packages/workflow-sdk/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"license": "Apache-2.0",
88
"engines": {
99
"bun": ">=1.4.4",
10-
"node": ">=22.0.0"
10+
"node": "^22.18.0 || >=24.11.0"
1111
},
1212
"exports": {
1313
".": {

‎packages/workspace-code/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"license": "Apache-2.0",
88
"engines": {
99
"bun": ">=1.4.4",
10-
"node": ">=22.0.0"
10+
"node": "^22.18.0 || >=24.11.0"
1111
},
1212
"exports": {
1313
".": {

0 commit comments

Comments
 (0)