From 620712782aa1c077c1a1fbd2f917e94a73ea5ff6 Mon Sep 17 00:00:00 2001 From: Christophe Hurpeau <302891+christophehurpeau@users.noreply.github.com> Date: Tue, 10 Dec 2024 21:03:59 +0100 Subject: [PATCH] chore: fix dependencies issues --- .../package.json | 3 +- @pob/eslint-config-typescript/package.json | 11 +- @pob/eslint-plugin/package.json | 4 +- package.json | 2 +- yarn.lock | 186 ++++-------------- 5 files changed, 51 insertions(+), 155 deletions(-) diff --git a/@pob/eslint-config-typescript-react/package.json b/@pob/eslint-config-typescript-react/package.json index 2d8697eb..2df1c1fe 100644 --- a/@pob/eslint-config-typescript-react/package.json +++ b/@pob/eslint-config-typescript-react/package.json @@ -34,7 +34,8 @@ "pob": {}, "prettier": "@pob/root/prettier-config", "peerDependencies": { - "eslint": "^9.9.0" + "eslint": "^9.9.0", + "typescript": ">=5.0.0 <5.8.0" }, "dependencies": { "@pob/eslint-config": "59.0.0", diff --git a/@pob/eslint-config-typescript/package.json b/@pob/eslint-config-typescript/package.json index 860e5ea5..9e21f0a6 100644 --- a/@pob/eslint-config-typescript/package.json +++ b/@pob/eslint-config-typescript/package.json @@ -34,14 +34,15 @@ "pob": {}, "prettier": "@pob/root/prettier-config", "peerDependencies": { - "eslint": "^9.9.0" + "eslint": "^9.9.0", + "typescript": ">=5.0.0 <5.8.0" }, "dependencies": { "@pob/eslint-config": "59.0.0", - "@typescript-eslint/eslint-plugin": "^8.16.0", - "@typescript-eslint/parser": "^8.16.0", + "@typescript-eslint/eslint-plugin": "^8.18.0", + "@typescript-eslint/parser": "^8.18.0", "eslint-plugin-import": "^2.31.0", - "typescript-eslint": "^8.16.0" + "typescript-eslint": "^8.18.0" }, "devDependencies": { "@typescript-eslint/eslint-plugin": "8.18.0", @@ -49,6 +50,6 @@ "eslint": "9.16.0", "eslint-plugin-import": "2.31.0", "typescript": "5.6.3", - "typescript-eslint": "8.17.0" + "typescript-eslint": "8.18.0" } } diff --git a/@pob/eslint-plugin/package.json b/@pob/eslint-plugin/package.json index bcb27c3c..7c3742c7 100644 --- a/@pob/eslint-plugin/package.json +++ b/@pob/eslint-plugin/package.json @@ -35,7 +35,7 @@ "prettier": "@pob/root/prettier-config", "peerDependencies": { "eslint": "^9.9.0", - "typescript": ">=5.2.2" + "typescript": ">=5.0.0 <5.8.0" }, "peerDependenciesMeta": { "typescript": { @@ -51,6 +51,6 @@ "@typescript-eslint/rule-tester": "8.18.0", "eslint": "9.16.0", "typescript": "5.6.3", - "typescript-eslint": "8.17.0" + "typescript-eslint": "8.18.0" } } diff --git a/package.json b/package.json index 5ccc491c..9896be92 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "@pob/root": "14.1.0", "@typescript-eslint/eslint-plugin": "8.18.0", "@typescript-eslint/parser": "8.18.0", - "check-package-dependencies": "7.2.0", + "check-package-dependencies": "9.0.0", "eslint": "9.16.0", "eslint-plugin-import": "2.31.0", "eslint-plugin-jsx-a11y": "6.10.2", diff --git a/yarn.lock b/yarn.lock index 13027418..9f42ba67 100644 --- a/yarn.lock +++ b/yarn.lock @@ -622,7 +622,7 @@ __metadata: "@pob/root": "npm:14.1.0" "@typescript-eslint/eslint-plugin": "npm:8.18.0" "@typescript-eslint/parser": "npm:8.18.0" - check-package-dependencies: "npm:7.2.0" + check-package-dependencies: "npm:9.0.0" eslint: "npm:9.16.0" eslint-plugin-import: "npm:2.31.0" eslint-plugin-jsx-a11y: "npm:6.10.2" @@ -651,6 +651,7 @@ __metadata: typescript: "npm:5.6.3" peerDependencies: eslint: ^9.9.0 + typescript: ">=5.0.0 <5.8.0" languageName: unknown linkType: soft @@ -664,9 +665,10 @@ __metadata: eslint: "npm:9.16.0" eslint-plugin-import: "npm:2.31.0" typescript: "npm:5.6.3" - typescript-eslint: "npm:8.17.0" + typescript-eslint: "npm:8.18.0" peerDependencies: eslint: ^9.9.0 + typescript: ">=5.0.0 <5.8.0" languageName: unknown linkType: soft @@ -698,10 +700,10 @@ __metadata: eslint: "npm:9.16.0" eslint-plugin-react: "npm:^7.35.0" typescript: "npm:5.6.3" - typescript-eslint: "npm:8.17.0" + typescript-eslint: "npm:8.18.0" peerDependencies: eslint: ^9.9.0 - typescript: ">=5.2.2" + typescript: ">=5.0.0 <5.8.0" peerDependenciesMeta: typescript: optional: true @@ -867,29 +869,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:8.17.0": - version: 8.17.0 - resolution: "@typescript-eslint/eslint-plugin@npm:8.17.0" - dependencies: - "@eslint-community/regexpp": "npm:^4.10.0" - "@typescript-eslint/scope-manager": "npm:8.17.0" - "@typescript-eslint/type-utils": "npm:8.17.0" - "@typescript-eslint/utils": "npm:8.17.0" - "@typescript-eslint/visitor-keys": "npm:8.17.0" - graphemer: "npm:^1.4.0" - ignore: "npm:^5.3.1" - natural-compare: "npm:^1.4.0" - ts-api-utils: "npm:^1.3.0" - peerDependencies: - "@typescript-eslint/parser": ^8.0.0 || ^8.0.0-alpha.0 - eslint: ^8.57.0 || ^9.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 10c0/d78778173571a9a1370345bc2aa3e850235a489d16b8a8b5ba3086b988bbef7549bdae38e509d7a679ba3179c688cc5a408376b158be402770836e94ffc9602d - languageName: node - linkType: hard - "@typescript-eslint/eslint-plugin@npm:8.18.0": version: 8.18.0 resolution: "@typescript-eslint/eslint-plugin@npm:8.18.0" @@ -911,24 +890,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/parser@npm:8.17.0": - version: 8.17.0 - resolution: "@typescript-eslint/parser@npm:8.17.0" - dependencies: - "@typescript-eslint/scope-manager": "npm:8.17.0" - "@typescript-eslint/types": "npm:8.17.0" - "@typescript-eslint/typescript-estree": "npm:8.17.0" - "@typescript-eslint/visitor-keys": "npm:8.17.0" - debug: "npm:^4.3.4" - peerDependencies: - eslint: ^8.57.0 || ^9.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 10c0/2543deadf01302a92d3b6f58a4c14f98d8936c4d976e7da05e3bb65608f19d8de93b25282e343c304eca3e3f37f2ac23e97fa9c11c6edff36dd2d4f6b601a630 - languageName: node - linkType: hard - "@typescript-eslint/parser@npm:8.18.0": version: 8.18.0 resolution: "@typescript-eslint/parser@npm:8.18.0" @@ -961,16 +922,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:8.17.0": - version: 8.17.0 - resolution: "@typescript-eslint/scope-manager@npm:8.17.0" - dependencies: - "@typescript-eslint/types": "npm:8.17.0" - "@typescript-eslint/visitor-keys": "npm:8.17.0" - checksum: 10c0/0c08d14240bad4b3f6874f08ba80b29db1a6657437089a6f109db458c544d835bcdc06ba9140bb4f835233ba4326d9a86e6cf6bdb5209960d2f7025aa3191f4f - languageName: node - linkType: hard - "@typescript-eslint/scope-manager@npm:8.18.0": version: 8.18.0 resolution: "@typescript-eslint/scope-manager@npm:8.18.0" @@ -981,23 +932,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:8.17.0": - version: 8.17.0 - resolution: "@typescript-eslint/type-utils@npm:8.17.0" - dependencies: - "@typescript-eslint/typescript-estree": "npm:8.17.0" - "@typescript-eslint/utils": "npm:8.17.0" - debug: "npm:^4.3.4" - ts-api-utils: "npm:^1.3.0" - peerDependencies: - eslint: ^8.57.0 || ^9.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 10c0/6138ec71b5692d4b5e0bf3d7f66a6fa4e91ddea7031907b0ac45a7693df0a2f4cc5bca7218311e0639620d636ceb7efec83a137dfcd5938304d873b774fcc8bd - languageName: node - linkType: hard - "@typescript-eslint/type-utils@npm:8.18.0": version: 8.18.0 resolution: "@typescript-eslint/type-utils@npm:8.18.0" @@ -1013,13 +947,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/types@npm:8.17.0": - version: 8.17.0 - resolution: "@typescript-eslint/types@npm:8.17.0" - checksum: 10c0/26b1bf9dfc3ee783c85c6f354b84c28706d5689d777f3ff2de2cb496e45f9d0189c0d561c03ccbc8b24712438be17cf63dd0871ff3ca2083e7f48749770d1893 - languageName: node - linkType: hard - "@typescript-eslint/types@npm:8.18.0": version: 8.18.0 resolution: "@typescript-eslint/types@npm:8.18.0" @@ -1027,25 +954,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:8.17.0": - version: 8.17.0 - resolution: "@typescript-eslint/typescript-estree@npm:8.17.0" - dependencies: - "@typescript-eslint/types": "npm:8.17.0" - "@typescript-eslint/visitor-keys": "npm:8.17.0" - debug: "npm:^4.3.4" - fast-glob: "npm:^3.3.2" - is-glob: "npm:^4.0.3" - minimatch: "npm:^9.0.4" - semver: "npm:^7.6.0" - ts-api-utils: "npm:^1.3.0" - peerDependenciesMeta: - typescript: - optional: true - checksum: 10c0/523013f9b5cf2c58c566868e4c3b0b9ac1b4807223a6d64e2a7c58e01e53b6587ba61f1a8241eade361f3f426d6057657515473176141ef8aebb352bc0d223ce - languageName: node - linkType: hard - "@typescript-eslint/typescript-estree@npm:8.18.0": version: 8.18.0 resolution: "@typescript-eslint/typescript-estree@npm:8.18.0" @@ -1064,23 +972,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/utils@npm:8.17.0": - version: 8.17.0 - resolution: "@typescript-eslint/utils@npm:8.17.0" - dependencies: - "@eslint-community/eslint-utils": "npm:^4.4.0" - "@typescript-eslint/scope-manager": "npm:8.17.0" - "@typescript-eslint/types": "npm:8.17.0" - "@typescript-eslint/typescript-estree": "npm:8.17.0" - peerDependencies: - eslint: ^8.57.0 || ^9.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 10c0/a9785ae5f7e7b51d521dc3f48b15093948e4fcd03352c0b60f39bae366cbc935947d215f91e2ae3182d52fa6affb5ccbb50feff487bd1209011f3e0da02cdf07 - languageName: node - linkType: hard - "@typescript-eslint/utils@npm:8.18.0": version: 8.18.0 resolution: "@typescript-eslint/utils@npm:8.18.0" @@ -1096,16 +987,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:8.17.0": - version: 8.17.0 - resolution: "@typescript-eslint/visitor-keys@npm:8.17.0" - dependencies: - "@typescript-eslint/types": "npm:8.17.0" - eslint-visitor-keys: "npm:^4.2.0" - checksum: 10c0/9144c4e4a63034fb2031a0ee1fc77e80594f30cab3faafa9a1f7f83782695774dd32fac8986f260698b4e150b4dd52444f2611c07e4c101501f08353eb47c82c - languageName: node - linkType: hard - "@typescript-eslint/visitor-keys@npm:8.18.0": version: 8.18.0 resolution: "@typescript-eslint/visitor-keys@npm:8.18.0" @@ -1499,19 +1380,20 @@ __metadata: languageName: node linkType: hard -"check-package-dependencies@npm:7.2.0": - version: 7.2.0 - resolution: "check-package-dependencies@npm:7.2.0" +"check-package-dependencies@npm:9.0.0": + version: 9.0.0 + resolution: "check-package-dependencies@npm:9.0.0" dependencies: chalk: "npm:^5.2.0" - glob: "npm:^10.0.0" - import-meta-resolve: "npm:^4.0.0" + import-meta-resolve: "npm:^4.1.0" + jsonc-parser: "npm:^3.3.1" semver: "npm:^7.5.4" semver-utils: "npm:^1.1.4" + tslib: "npm:^2.8.1" type-fest: "npm:^4.0.0" bin: check-package-dependencies: ./bin/check-package-dependencies.mjs - checksum: 10c0/4f10e53953f5f3888f6e3769e5df405909e3eaffb1c82807c209de6e07684080887586b16f0e8671ff44b33f3c0adf2c45b94f45f753606e5cbe1dcabacb34f4 + checksum: 10c0/21871f571194db2db89fc96ff593a706ce5b3e167ff7c6660c77199db15ad6ad53e769e6a40c68a6849dd188e1708eb83c9d07197ba8ed54dedd59092a8c6178 languageName: node linkType: hard @@ -2747,7 +2629,7 @@ __metadata: languageName: node linkType: hard -"glob@npm:^10.0.0, glob@npm:^10.2.2": +"glob@npm:^10.2.2": version: 10.4.1 resolution: "glob@npm:10.4.1" dependencies: @@ -2972,10 +2854,10 @@ __metadata: languageName: node linkType: hard -"import-meta-resolve@npm:^4.0.0": - version: 4.0.0 - resolution: "import-meta-resolve@npm:4.0.0" - checksum: 10c0/709375e01f8c3a87b7870991ca29c630d71bb7e22b7bb0f622613173d87b41b4043b4a983800e6d38ab3867496a46f82d30df0cbc2e55792c91c23193eea67a1 +"import-meta-resolve@npm:^4.0.0, import-meta-resolve@npm:^4.1.0": + version: 4.1.0 + resolution: "import-meta-resolve@npm:4.1.0" + checksum: 10c0/42f3284b0460635ddf105c4ad99c6716099c3ce76702602290ad5cbbcd295700cbc04e4bdf47bacf9e3f1a4cec2e1ff887dabc20458bef398f9de22ddff45ef5 languageName: node linkType: hard @@ -3472,6 +3354,13 @@ __metadata: languageName: node linkType: hard +"jsonc-parser@npm:^3.3.1": + version: 3.3.1 + resolution: "jsonc-parser@npm:3.3.1" + checksum: 10c0/269c3ae0a0e4f907a914bf334306c384aabb9929bd8c99f909275ebd5c2d3bc70b9bcd119ad794f339dec9f24b6a4ee9cd5a8ab2e6435e730ad4075388fc2ab6 + languageName: node + linkType: hard + "jsonparse@npm:^1.2.0": version: 1.3.1 resolution: "jsonparse@npm:1.3.1" @@ -5100,6 +4989,13 @@ __metadata: languageName: node linkType: hard +"tslib@npm:^2.8.1": + version: 2.8.1 + resolution: "tslib@npm:2.8.1" + checksum: 10c0/9c4759110a19c53f992d9aae23aac5ced636e99887b51b9e61def52611732872ff7668757d4e4c61f19691e36f4da981cd9485e869b4a7408d689f6bf1f14e62 + languageName: node + linkType: hard + "type-check@npm:^0.4.0, type-check@npm:~0.4.0": version: 0.4.0 resolution: "type-check@npm:0.4.0" @@ -5182,19 +5078,17 @@ __metadata: languageName: node linkType: hard -"typescript-eslint@npm:8.17.0": - version: 8.17.0 - resolution: "typescript-eslint@npm:8.17.0" +"typescript-eslint@npm:8.18.0": + version: 8.18.0 + resolution: "typescript-eslint@npm:8.18.0" dependencies: - "@typescript-eslint/eslint-plugin": "npm:8.17.0" - "@typescript-eslint/parser": "npm:8.17.0" - "@typescript-eslint/utils": "npm:8.17.0" + "@typescript-eslint/eslint-plugin": "npm:8.18.0" + "@typescript-eslint/parser": "npm:8.18.0" + "@typescript-eslint/utils": "npm:8.18.0" peerDependencies: eslint: ^8.57.0 || ^9.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 10c0/b148525769b9afa789ad3c2d52249fa78e67a225d48d17f2f0117b0e8b52566112be3a35de6cd26bcaffba3114be87c1070f7f4b4e2b730c059668fec4a530bc + typescript: ">=4.8.4 <5.8.0" + checksum: 10c0/dda882cbfc1ebad6903864571bc69bfd7e32e17fec67d98fdfab2bd652348d425c6a1c3697734d59cd5dd15d26d496db3c3808c1de5840fa29b9e76184fa1865 languageName: node linkType: hard