Skip to content

Commit df191a1

Browse files
authored
chore: update node version align with prettier-eslint (#451)
1 parent b43916b commit df191a1

File tree

6 files changed

+13
-7
lines changed

6 files changed

+13
-7
lines changed

.changeset/twelve-crews-add.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"prettier-eslint-cli": patch
3+
---
4+
5+
chore: update node version align with prettier-eslint

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@ jobs:
1515
- 14
1616
- 16
1717
- 18
18+
- 20
1819

1920
steps:
20-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v4
2122

2223
- name: Use Node.js ${{ matrix.node-version }}
2324
uses: actions/setup-node@v3

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout Repo
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515
with:
1616
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
1717
fetch-depth: 0

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
registry=https://registry.npmjs.org/
22
package-lock=false
3+
legacy-peer-deps=true

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
16.17.0
1+
16.20.2

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "CLI for prettier-eslint",
55
"main": "dist/no-main.js",
66
"engines": {
7-
"node": ">=16.0.0"
7+
"node": ">=16.10.0"
88
},
99
"bin": {
1010
"prettier-eslint": "dist/index.js"
@@ -40,7 +40,7 @@
4040
},
4141
"dependencies": {
4242
"@messageformat/core": "^3.2.0",
43-
"@prettier/eslint": "npm:prettier-eslint@^16.0.0",
43+
"@prettier/eslint": "npm:prettier-eslint@^16.1.0",
4444
"arrify": "^2.0.1",
4545
"boolify": "^1.0.1",
4646
"camelcase-keys": "^9.1.0",
@@ -78,8 +78,7 @@
7878
"rimraf": "^5.0.5",
7979
"simple-git-hooks": "^2.9.0",
8080
"spawn-command": "0.0.2-1",
81-
"strip-indent": "^3.0.0",
82-
"yargs-parser": "^21.1.1"
81+
"strip-indent": "^3.0.0"
8382
},
8483
"lint-staged": {
8584
"*.+(js|json|md|yml)": "node ./dist/index --write"

0 commit comments

Comments
 (0)