Skip to content

Commit 5976456

Browse files
fix(deps): update dependencies (major) to v18 (#179)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Lennart <lekoarts@gmail.com>
1 parent 0bae57a commit 5976456

File tree

7 files changed

+35
-34
lines changed

7 files changed

+35
-34
lines changed

.changeset/lemon-times-bathe.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
"secco": major
3+
---
4+
5+
Update [`yargs`](https://github.com/yargs/yargs) from `17.7.2` to `18.0.0`. yargs v18 now requires Node.js `^20.19.0 || ^22.12.0 || >=23` or later.
6+
7+
Since `secco` supported Node.js v18 in v2, this dependency update warrants a major update to update secco's `engines` key.
8+
9+
**Breaking change:** `secco` now requires Node.js `^20.19.0 || ^22.12.0 || >=23` or later. Once you update your Node.js version, you'll be able to use secco as before.

.github/workflows/unit-testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
version: [18, 20, 22]
10+
version: [20, 22]
1111
name: Node.js ${{ matrix.version }}
1212
steps:
1313
- name: Checkout

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Hi! We're excited that you are interested in contributing to secco. Before submi
99

1010
## Setup
1111

12-
Make sure that you have at least [Node.js](https://nodejs.dev/en/) 18.19.0 or later installed. The secco repository uses [pnpm](https://pnpm.io/installation) as its package manager so you'll also need to [install pnpm](https://pnpm.io/installation). We'd recommend using `corepack enable`.
12+
Make sure that you have at least [Node.js](https://nodejs.dev/en/) 20.19.0 or later installed. The secco repository uses [pnpm](https://pnpm.io/installation) as its package manager so you'll also need to [install pnpm](https://pnpm.io/installation). We'd recommend using `corepack enable`.
1313

1414
Install the dependencies:
1515

docs/src/content/docs/guide.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ npx secco@latest --help
2727

2828
:::note
2929

30-
For secco to work correctly you'll need to have [Node.js](https://nodejs.dev) 18.19.0 or later installed.
30+
For secco to work correctly you'll need to have [Node.js](https://nodejs.dev) 20.19.0 or later installed.
3131

3232
:::
3333

docs/src/content/docs/guide/learn-secco.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ You should be familiar with using git, the terminal, and npm packages. You shoul
2020

2121
Before you can start the tutorial, follow these required steps:
2222

23-
- Install [Node.js](https://nodejs.dev) 18.19.0 or later
23+
- Install [Node.js](https://nodejs.dev) 20.19.0 or later
2424
- Read the [terminology guide][terminology]
2525
- [Clone](https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository) the [secco-demo][demo] repository
2626

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@
2929
"dist/"
3030
],
3131
"engines": {
32-
"node": "^18.19.0 || >=20.5.0",
33-
"pnpm": ">=8.8.0"
32+
"node": "^20.19.0 || ^22.12.0 || >=23"
3433
},
3534
"scripts": {
3635
"build": "tsdown",
@@ -68,7 +67,7 @@
6867
"strip-bom": "^5.0.0",
6968
"valibot": "^1.1.0",
7069
"verdaccio": "^6.1.2",
71-
"yargs": "^17.7.2"
70+
"yargs": "^18.0.0"
7271
},
7372
"devDependencies": {
7473
"@antfu/eslint-config": "^4.13.2",

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)