diff --git a/.npmrc b/.npmrc deleted file mode 100644 index da60015..0000000 --- a/.npmrc +++ /dev/null @@ -1,2 +0,0 @@ -# enable-pre-post-scripts: disabled by default(pnpm 8). -enable-pre-post-scripts=true \ No newline at end of file diff --git a/eslint.config.js b/eslint.config.mjs similarity index 92% rename from eslint.config.js rename to eslint.config.mjs index 6f62eca..33e7c43 100644 --- a/eslint.config.js +++ b/eslint.config.mjs @@ -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, diff --git a/package.json b/package.json index 0e0f923..3a3d900 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,6 @@ "author": "LiaoLiao ", "private": true, "license": "MIT", - "type": "module", "scripts": { "prepare": "husky" }, @@ -44,7 +43,7 @@ }, "engines": { "node": ">=20", - "pnpm": ">=8" + "pnpm": ">=9" }, "commitlint": { "extends": [ diff --git a/packages/node-redis/LICENSE b/packages/node-redis/LICENSE index 925dfd0..7b33fb9 100644 --- a/packages/node-redis/LICENSE +++ b/packages/node-redis/LICENSE @@ -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 @@ -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. \ No newline at end of file diff --git a/packages/redis/LICENSE b/packages/redis/LICENSE index 925dfd0..7b33fb9 100644 --- a/packages/redis/LICENSE +++ b/packages/redis/LICENSE @@ -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 @@ -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. \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index 01158f3..6a9cb7e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,6 @@ { "extends": "@tsconfig/node20/tsconfig.json", - "files": ["eslint.config.js"], + "files": ["eslint.config.mjs"], "compilerOptions": { "noEmit": true, "allowJs": true,