Skip to content

Commit

Permalink
chore: engines & eslint changes (#547)
Browse files Browse the repository at this point in the history
  • Loading branch information
liaoliaots authored Sep 22, 2024
1 parent 8f6b9f9 commit 5753e38
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 10 deletions.
2 changes: 0 additions & 2 deletions .npmrc

This file was deleted.

2 changes: 1 addition & 1 deletion eslint.config.js → eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const jestFiles = ['packages/*/test/**/*', 'packages/*/lib/**/*.spec.ts'];

export default tseslint.config(
{
ignores: ['eslint.config.js', 'packages/*/dist/', 'packages/*/*.mjs']
ignores: ['eslint.config.mjs', 'packages/*/dist/', 'packages/*/*.mjs']
},
eslint.configs.recommended,
...tseslint.configs.recommendedTypeChecked,
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"author": "LiaoLiao <[email protected]>",
"private": true,
"license": "MIT",
"type": "module",
"scripts": {
"prepare": "husky"
},
Expand Down Expand Up @@ -44,7 +43,7 @@
},
"engines": {
"node": ">=20",
"pnpm": ">=8"
"pnpm": ">=9"
},
"commitlint": {
"extends": [
Expand Down
4 changes: 2 additions & 2 deletions packages/node-redis/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 LiaoLiao
Copyright (c) 2021-2024 LiaoLiao

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
4 changes: 2 additions & 2 deletions packages/redis/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 LiaoLiao
Copyright (c) 2021-2024 LiaoLiao

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": "@tsconfig/node20/tsconfig.json",
"files": ["eslint.config.js"],
"files": ["eslint.config.mjs"],
"compilerOptions": {
"noEmit": true,
"allowJs": true,
Expand Down

0 comments on commit 5753e38

Please sign in to comment.