diff --git a/eslint.config.mjs b/eslint.config.mjs index 71a1218..3d0f084 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -6,6 +6,9 @@ import importPlugin from "eslint-plugin-import"; import eslintConfigPrettier from "eslint-config-prettier/flat"; export default tseslint.config( + { + ignores: ["dist/**", "node_modules/**"], + }, eslint.configs.recommended, eslintConfigPrettier, tseslint.configs.recommended, diff --git a/package-lock.json b/package-lock.json index 951aafb..0200a74 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,7 +24,7 @@ "eslint-plugin-import": "^2.29.1", "prettier": "^3.2.5", "semantic-release": "^25.0.1", - "typescript": "^5.8.2", + "typescript": "^6.0.3", "typescript-eslint": "^8.56.0" } }, @@ -9750,9 +9750,9 @@ } }, "node_modules/typescript": { - "version": "5.9.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", - "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz", + "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==", "dev": true, "license": "Apache-2.0", "bin": { diff --git a/package.json b/package.json index 979edeb..291d3ff 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "eslint-plugin-import": "^2.29.1", "prettier": "^3.2.5", "semantic-release": "^25.0.1", - "typescript": "^5.8.2", + "typescript": "^6.0.3", "typescript-eslint": "^8.56.0" } } diff --git a/tsconfig.build.json b/tsconfig.build.json index 640f9ba..adddaca 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -1,6 +1,8 @@ { "extends": "./tsconfig.json", "compilerOptions": { + "rootDir": "src", + "ignoreDeprecations": "6.0", "outDir": "dist", "declaration": true, "noEmit": false diff --git a/tsconfig.json b/tsconfig.json index 7b8aaa7..9391600 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,6 +5,8 @@ "module": "esnext", "moduleResolution": "node", "strict": true, - "target": "ES2022" + "target": "ES2022", + "ignoreDeprecations": "6.0", + "types": ["node"] } }