Skip to content

Commit

Permalink
BREAKING: Require Node >=18
Browse files Browse the repository at this point in the history
  • Loading branch information
SBoudrias committed Jan 28, 2024
1 parent 37510ee commit 6dda345
Show file tree
Hide file tree
Showing 19 changed files with 21 additions and 23 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ jobs:
node-version:
- 20
- 18
- 16
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand All @@ -51,7 +50,6 @@ jobs:
node-version:
- 20
- 18
- 16
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand Down
Binary file not shown.
Binary file not shown.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"author": "Simon Boudrias <admin@simonboudrias.com>",
"license": "MIT",
"engines": {
"node": ">=14.18.0"
"node": ">=18"
},
"packageManager": "yarn@3.6.1",
"keywords": [
Expand Down Expand Up @@ -47,7 +47,7 @@
"zsh"
],
"devDependencies": {
"@sindresorhus/tsconfig": "^4.0.0",
"@sindresorhus/tsconfig": "^5.0.0",
"@types/node": "^20.11.10",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/checkbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@inquirer/checkbox",
"version": "1.5.2",
"engines": {
"node": ">=14.18.0"
"node": ">=18"
},
"description": "Inquirer checkbox prompt",
"main": "./dist/cjs/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/confirm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"access": "public"
},
"engines": {
"node": ">=14.18.0"
"node": ">=18"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@inquirer/core",
"version": "6.0.0",
"engines": {
"node": ">=14.18.0"
"node": ">=18"
},
"description": "Core Inquirer prompt API",
"main": "./dist/cjs/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@inquirer/demo",
"version": "0.3.3",
"engines": {
"node": ">=14.18.0"
"node": ">=18"
},
"type": "module",
"description": "Inquirer demos",
Expand Down
2 changes: 1 addition & 1 deletion packages/editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"access": "public"
},
"engines": {
"node": ">=14.18.0"
"node": ">=18"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/expand/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"access": "public"
},
"engines": {
"node": ">=14.18.0"
"node": ">=18"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/input/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"access": "public"
},
"engines": {
"node": ">=14.18.0"
"node": ">=18"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/inquirer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"zsh"
],
"engines": {
"node": ">=14.18.0"
"node": ">=18"
},
"devDependencies": {
"terminal-link": "^3.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/password/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@inquirer/password",
"version": "1.1.16",
"engines": {
"node": ">=14.18.0"
"node": ">=18"
},
"description": "Inquirer password prompt",
"main": "./dist/cjs/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/prompts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"tsc:cjs": "rm -rf dist/cjs && tsc -p ./tsconfig.cjs.json && node ../../tools/fix-ext.mjs"
},
"engines": {
"node": ">=14.18.0"
"node": ">=18"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/rawlist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"access": "public"
},
"engines": {
"node": ">=14.18.0"
"node": ">=18"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/select/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"access": "public"
},
"engines": {
"node": ">=14.18.0"
"node": ">=18"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@inquirer/testing",
"version": "2.1.10",
"engines": {
"node": ">=14.18.0"
"node": ">=18"
},
"description": "Inquirer testing utilities",
"main": "./dist/cjs/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/type/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"tsc:cjs": "rm -rf dist/cjs && tsc -p ./tsconfig.cjs.json && node ../../tools/fix-ext.mjs"
},
"engines": {
"node": ">=14.18.0"
"node": ">=18"
},
"exports": {
".": {
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1280,10 +1280,10 @@ __metadata:
languageName: node
linkType: hard

"@sindresorhus/tsconfig@npm:^4.0.0":
version: 4.0.0
resolution: "@sindresorhus/tsconfig@npm:4.0.0"
checksum: 9fc6791810b92e4339c4587879aac181f006edb7851e000f20d4f2ad1b9bdf68cfff81378f0550dc3517f37b40162c0961577a7b59d1148597b28c0ed1e69116
"@sindresorhus/tsconfig@npm:^5.0.0":
version: 5.0.0
resolution: "@sindresorhus/tsconfig@npm:5.0.0"
checksum: a5373d27028bb9ed69de1558e643dc5178645e7c87a5b31145a63efa0c0eae7492e00281d1a43b5ea38f61567d629d9aa8ed44044ff252bdf50bd79e232876d3
languageName: node
linkType: hard

Expand Down Expand Up @@ -7713,7 +7713,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "root-workspace-0b6124@workspace:."
dependencies:
"@sindresorhus/tsconfig": ^4.0.0
"@sindresorhus/tsconfig": ^5.0.0
"@types/node": ^20.11.10
"@typescript-eslint/eslint-plugin": ^6.19.1
"@typescript-eslint/parser": ^6.19.1
Expand Down

0 comments on commit 6dda345

Please sign in to comment.