Skip to content

Commit 20bb364

Browse files
committed
Require Node.js 20
1 parent 46d4553 commit 20bb364

File tree

3 files changed

+19
-18
lines changed

3 files changed

+19
-18
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
node-version:
13+
- 24
1314
- 20
14-
- 18
1515
steps:
16-
- uses: actions/checkout@v4
17-
- uses: actions/setup-node@v4
16+
- uses: actions/checkout@v5
17+
- uses: actions/setup-node@v5
1818
with:
1919
node-version: ${{ matrix.node-version }}
2020
- run: npm install

package.json

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"fast": "./distribution/cli.js"
1616
},
1717
"engines": {
18-
"node": ">=18"
18+
"node": ">=20"
1919
},
2020
"scripts": {
2121
"build": "tsc",
@@ -47,24 +47,24 @@
4747
"mbps"
4848
],
4949
"dependencies": {
50-
"ink": "^5.0.0",
50+
"ink": "^6.3.0",
5151
"ink-spinner": "^5.0.0",
52-
"meow": "^13.2.0",
53-
"puppeteer": "^22.8.1",
54-
"react": "^18.3.1",
55-
"unicorn-magic": "^0.2.0"
52+
"meow": "^14.0.0",
53+
"puppeteer": "^24.21.0",
54+
"react": "^19.1.1",
55+
"unicorn-magic": "^0.3.0"
5656
},
5757
"devDependencies": {
58-
"@sindresorhus/tsconfig": "^5.0.0",
59-
"@types/react": "^18.3.2",
60-
"ava": "^6.1.3",
6158
"eslint-config-xo-react": "^0.27.0",
6259
"eslint-plugin-react": "^7.34.1",
6360
"eslint-plugin-react-hooks": "^4.6.2",
64-
"execa": "^9.1.0",
65-
"p-event": "^6.0.1",
66-
"tsx": "^4.10.2",
67-
"xo": "^0.58.0"
61+
"@sindresorhus/tsconfig": "^8.0.1",
62+
"@types/react": "^19.1.13",
63+
"ava": "^6.4.1",
64+
"execa": "^9.6.0",
65+
"p-event": "^7.0.0",
66+
"tsx": "^4.20.5",
67+
"xo": "^0.59.0"
6868
},
6969
"xo": {
7070
"extends": [
@@ -75,7 +75,9 @@
7575
"react/function-component-definition": "off",
7676
"react/boolean-prop-naming": "off",
7777
"@typescript-eslint/no-non-null-asserted-optional-chain": "off",
78-
"react/no-unused-prop-types": "off"
78+
"react/no-unused-prop-types": "off",
79+
"@typescript-eslint/indent": "off",
80+
"react/react-in-jsx-scope": "off"
7981
}
8082
},
8183
"ava": {

source/cli.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/usr/bin/env node
22
import meow from 'meow';
3-
import React from 'react';
43
import {render} from 'ink';
54
import Ui from './ui.js';
65

0 commit comments

Comments
 (0)