Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update node version align with prettier-eslint #451

Merged
merged 2 commits into from
Oct 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/twelve-crews-add.md
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
registry=https://registry.npmjs.org/
package-lock=false
legacy-peer-deps=true
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.17.0
16.20.2
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
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