Skip to content

Commit

Permalink
chore: update node version align with prettier-eslint (#451)
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin committed Oct 14, 2023
1 parent b43916b commit df191a1
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .changeset/twelve-crews-add.md
@@ -0,0 +1,5 @@
---
"prettier-eslint-cli": patch
---

chore: update node version align with prettier-eslint
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Expand Up @@ -15,9 +15,10 @@ jobs:
- 14
- 16
- 18
- 20

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0
Expand Down
1 change: 1 addition & 0 deletions .npmrc
@@ -1,2 +1,3 @@
registry=https://registry.npmjs.org/
package-lock=false
legacy-peer-deps=true
2 changes: 1 addition & 1 deletion .nvmrc
@@ -1 +1 @@
16.17.0
16.20.2
7 changes: 3 additions & 4 deletions package.json
Expand Up @@ -4,7 +4,7 @@
"description": "CLI for prettier-eslint",
"main": "dist/no-main.js",
"engines": {
"node": ">=16.0.0"
"node": ">=16.10.0"
},
"bin": {
"prettier-eslint": "dist/index.js"
Expand Down Expand Up @@ -40,7 +40,7 @@
},
"dependencies": {
"@messageformat/core": "^3.2.0",
"@prettier/eslint": "npm:prettier-eslint@^16.0.0",
"@prettier/eslint": "npm:prettier-eslint@^16.1.0",
"arrify": "^2.0.1",
"boolify": "^1.0.1",
"camelcase-keys": "^9.1.0",
Expand Down Expand Up @@ -78,8 +78,7 @@
"rimraf": "^5.0.5",
"simple-git-hooks": "^2.9.0",
"spawn-command": "0.0.2-1",
"strip-indent": "^3.0.0",
"yargs-parser": "^21.1.1"
"strip-indent": "^3.0.0"
},
"lint-staged": {
"*.+(js|json|md|yml)": "node ./dist/index --write"
Expand Down

0 comments on commit df191a1

Please sign in to comment.