diff --git a/.changeset/purple-coins-dream.md b/.changeset/purple-coins-dream.md new file mode 100644 index 0000000..3b3ea97 --- /dev/null +++ b/.changeset/purple-coins-dream.md @@ -0,0 +1,10 @@ +--- +'eslint-config-widen-playwright': major +'eslint-config-widen-typescript': major +'eslint-config-widen-react': major +'eslint-config-widen-base': major +'eslint-config-widen-jest': major +--- + +Create separate packages for each component. +Allows users to import only the dependencies that they need, rather than all of them. diff --git a/yarn.lock b/yarn.lock index a35b513..dc0174c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -62,20 +62,6 @@ __metadata: languageName: node linkType: hard -"@babel/eslint-parser@npm:^7.22.15": - version: 7.25.9 - resolution: "@babel/eslint-parser@npm:7.25.9" - dependencies: - "@nicolo-ribaudo/eslint-scope-5-internals": 5.1.1-v1 - eslint-visitor-keys: ^2.1.0 - semver: ^6.3.1 - peerDependencies: - "@babel/core": ^7.11.0 - eslint: ^7.5.0 || ^8.0.0 || ^9.0.0 - checksum: dd2afa122b62a5b07c1e71d1c23b2cd4d655d96609eb2ba1b1ae3ec6f415f4365b77d6669ff859aa7b75952fb63a1d29c5db6e5811fc4012841491cb2dee36e4 - languageName: node - linkType: hard - "@babel/eslint-parser@npm:^7.24.8": version: 7.24.8 resolution: "@babel/eslint-parser@npm:7.24.8" @@ -1709,13 +1695,6 @@ __metadata: languageName: node linkType: hard -"@eslint-community/regexpp@npm:^4.12.1": - version: 4.12.1 - resolution: "@eslint-community/regexpp@npm:4.12.1" - checksum: 0d628680e204bc316d545b4993d3658427ca404ae646ce541fcc65306b8c712c340e5e573e30fb9f85f4855c0c5f6dca9868931f2fcced06417fbe1a0c6cd2d6 - languageName: node - linkType: hard - "@eslint/config-array@npm:^0.17.0": version: 0.17.0 resolution: "@eslint/config-array@npm:0.17.0" @@ -1727,24 +1706,6 @@ __metadata: languageName: node linkType: hard -"@eslint/config-array@npm:^0.19.0": - version: 0.19.0 - resolution: "@eslint/config-array@npm:0.19.0" - dependencies: - "@eslint/object-schema": ^2.1.4 - debug: ^4.3.1 - minimatch: ^3.1.2 - checksum: ceeddd3733316cbc7f1e61fc2906fedeaefdf1b3cf363726714dea0e9dece378a2b233cb6429d7d87534707a1dd2e5efb0197749553834ee30aee817820a71aa - languageName: node - linkType: hard - -"@eslint/core@npm:^0.9.0": - version: 0.9.0 - resolution: "@eslint/core@npm:0.9.0" - checksum: ea8ded3eba82d9451eca7e989c4ebf1dca95bc705e70cd2f3e55cc576e851183778344632de410d8cd9f85e862fd88fb8fda510aad00698765aec3110533af82 - languageName: node - linkType: hard - "@eslint/eslintrc@npm:^3.1.0": version: 3.1.0 resolution: "@eslint/eslintrc@npm:3.1.0" @@ -1762,30 +1723,6 @@ __metadata: languageName: node linkType: hard -"@eslint/eslintrc@npm:^3.2.0": - version: 3.2.0 - resolution: "@eslint/eslintrc@npm:3.2.0" - dependencies: - ajv: ^6.12.4 - debug: ^4.3.2 - espree: ^10.0.1 - globals: ^14.0.0 - ignore: ^5.2.0 - import-fresh: ^3.2.1 - js-yaml: ^4.1.0 - minimatch: ^3.1.2 - strip-json-comments: ^3.1.1 - checksum: c898e4d12f4c9a79a61ee3c91e38eea5627a04e021cb749191e8537445858bfe32f810eca0cb2dc9902b8ad8b65ca07ef7221dc4bad52afe60cbbf50ec56c236 - languageName: node - linkType: hard - -"@eslint/js@npm:9.16.0": - version: 9.16.0 - resolution: "@eslint/js@npm:9.16.0" - checksum: ba2d7f7266df827df72cec069df9284ad5e7edb4894a8c58c41db0d489136b22815dc76cd34cf565284979feb4d3a8197b511e08529c03f30c80b5235d25030b - languageName: node - linkType: hard - "@eslint/js@npm:9.6.0, @eslint/js@npm:^9.6.0": version: 9.6.0 resolution: "@eslint/js@npm:9.6.0" @@ -1800,32 +1737,6 @@ __metadata: languageName: node linkType: hard -"@eslint/plugin-kit@npm:^0.2.3": - version: 0.2.3 - resolution: "@eslint/plugin-kit@npm:0.2.3" - dependencies: - levn: ^0.4.1 - checksum: b93b9c3f5b1722d09cc4e609abd4510130f659f70f6417b68ac7c4ad9fbf9e3d4f0ef5b6f2bad106eb8c1c1b2146bd0391e0a1c00ddeae46c917f175b8c0da4b - languageName: node - linkType: hard - -"@humanfs/core@npm:^0.19.1": - version: 0.19.1 - resolution: "@humanfs/core@npm:0.19.1" - checksum: 611e0545146f55ddfdd5c20239cfb7911f9d0e28258787c4fc1a1f6214250830c9367aaaeace0096ed90b6739bee1e9c52ad5ba8adaf74ab8b449119303babfe - languageName: node - linkType: hard - -"@humanfs/node@npm:^0.16.6": - version: 0.16.6 - resolution: "@humanfs/node@npm:0.16.6" - dependencies: - "@humanfs/core": ^0.19.1 - "@humanwhocodes/retry": ^0.3.0 - checksum: f9cb52bb235f8b9c6fcff43a7e500669a38f8d6ce26593404a9b56365a1644e0ed60c720dc65ff6a696b1f85f3563ab055bb554ec8674f2559085ba840e47710 - languageName: node - linkType: hard - "@humanwhocodes/module-importer@npm:^1.0.1": version: 1.0.1 resolution: "@humanwhocodes/module-importer@npm:1.0.1" @@ -1840,13 +1751,6 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/retry@npm:^0.4.1": - version: 0.4.1 - resolution: "@humanwhocodes/retry@npm:0.4.1" - checksum: f11167c28e8266faba470fd273cbaafe2827523492bc18c5623015adb7ed66f46b2e542e3d756fed9ca614300249267814220c2f5f03a59e07fdfa64fc14ad52 - languageName: node - linkType: hard - "@istanbuljs/load-nyc-config@npm:^1.0.0": version: 1.1.0 resolution: "@istanbuljs/load-nyc-config@npm:1.1.0" @@ -2300,13 +2204,6 @@ __metadata: languageName: node linkType: hard -"@types/estree@npm:^1.0.6": - version: 1.0.6 - resolution: "@types/estree@npm:1.0.6" - checksum: 8825d6e729e16445d9a1dd2fb1db2edc5ed400799064cd4d028150701031af012ba30d6d03fe9df40f4d7a437d0de6d2b256020152b7b09bde9f2e420afdffd9 - languageName: node - linkType: hard - "@types/graceful-fs@npm:^4.1.3": version: 4.1.5 resolution: "@types/graceful-fs@npm:4.1.5" @@ -2341,7 +2238,7 @@ __metadata: languageName: node linkType: hard -"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.15, @types/json-schema@npm:^7.0.9": +"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.9": version: 7.0.15 resolution: "@types/json-schema@npm:7.0.15" checksum: 97ed0cb44d4070aecea772b7b2e2ed971e10c81ec87dd4ecc160322ffa55ff330dace1793489540e3e318d90942064bb697cc0f8989391797792d919737b3b98 @@ -2464,16 +2361,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": 8.17.0 - "@typescript-eslint/visitor-keys": 8.17.0 - checksum: c5f628e5b4793181a219fc8be4dc2653b2a2a158c4add645b3ba063b9618f5892e5bbf6726c9e674731e698a3df4f2ddb671494482e0f59b6625c43810f78eeb - languageName: node - linkType: hard - "@typescript-eslint/type-utils@npm:7.16.0": version: 7.16.0 resolution: "@typescript-eslint/type-utils@npm:7.16.0" @@ -2505,13 +2392,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: 5f6933903ce4af536f180c9e326c18da715f6f400e6bc5b89828dcb5779ae5693bf95c59d253e105c9efe6ffd2046d0db868bcfb1c5288c5e194bae4ebaa9976 - languageName: node - linkType: hard - "@typescript-eslint/typescript-estree@npm:5.62.0": version: 5.62.0 resolution: "@typescript-eslint/typescript-estree@npm:5.62.0" @@ -2549,25 +2429,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": 8.17.0 - "@typescript-eslint/visitor-keys": 8.17.0 - debug: ^4.3.4 - fast-glob: ^3.3.2 - is-glob: ^4.0.3 - minimatch: ^9.0.4 - semver: ^7.6.0 - ts-api-utils: ^1.3.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 35d3dca3cde7a1f3a7a1e4e5a25a69b6151338cd329dceeb52880e6f05048d10c9ac472a07e558fdfb7acc10dd60cd106284e834cfe40ced3d2c4527e8727335 - languageName: node - linkType: hard - "@typescript-eslint/utils@npm:5.62.0": version: 5.62.0 resolution: "@typescript-eslint/utils@npm:5.62.0" @@ -2600,23 +2461,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/utils@npm:^8.11.0": - version: 8.17.0 - resolution: "@typescript-eslint/utils@npm:8.17.0" - dependencies: - "@eslint-community/eslint-utils": ^4.4.0 - "@typescript-eslint/scope-manager": 8.17.0 - "@typescript-eslint/types": 8.17.0 - "@typescript-eslint/typescript-estree": 8.17.0 - peerDependencies: - eslint: ^8.57.0 || ^9.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 67d8e390eb661e96b7782e6a900f7eb5825baae0b09e89e67159a576b157db4fd83f78887bbbb1778cd4097e0022f3ea2a9be12aab215320d47f13c03e1558d7 - languageName: node - linkType: hard - "@typescript-eslint/visitor-keys@npm:5.62.0": version: 5.62.0 resolution: "@typescript-eslint/visitor-keys@npm:5.62.0" @@ -2637,16 +2481,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": 8.17.0 - eslint-visitor-keys: ^4.2.0 - checksum: f92f659ec88a1ce34f5003722a133ced1ebf9b3dfc1c0ff18caa5362d4722307edb42fa606ebf80aada8525abe78b24143ef93864d38a1e359605096f1fe2f00 - languageName: node - linkType: hard - "abbrev@npm:1": version: 1.1.1 resolution: "abbrev@npm:1.1.1" @@ -2672,15 +2506,6 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^8.14.0": - version: 8.14.0 - resolution: "acorn@npm:8.14.0" - bin: - acorn: bin/acorn - checksum: 8755074ba55fff94e84e81c72f1013c2d9c78e973c31231c8ae505a5f966859baf654bddd75046bffd73ce816b149298977fff5077a3033dedba0ae2aad152d4 - languageName: node - linkType: hard - "ajv@npm:^6.12.3, ajv@npm:^6.12.4": version: 6.12.6 resolution: "ajv@npm:6.12.6" @@ -3427,17 +3252,6 @@ __metadata: languageName: node linkType: hard -"cross-spawn@npm:^7.0.5": - version: 7.0.6 - resolution: "cross-spawn@npm:7.0.6" - dependencies: - path-key: ^3.1.0 - shebang-command: ^2.0.0 - which: ^2.0.1 - checksum: 8d306efacaf6f3f60e0224c287664093fa9185680b2d195852ba9a863f85d02dcc737094c6e512175f8ee0161f9b87c73c6826034c2422e39de7d6569cf4503b - languageName: node - linkType: hard - "damerau-levenshtein@npm:^1.0.8": version: 1.0.8 resolution: "damerau-levenshtein@npm:1.0.8" @@ -3881,11 +3695,7 @@ __metadata: version: 0.0.0-use.local resolution: "eslint-config-widen-base@workspace:packages/eslint-config-widen-base" dependencies: - "@babel/eslint-parser": ^7.22.15 - eslint: ">= 9" eslint-config-prettier: ^9.1.0 - eslint-plugin-sort: ">= 3" - eslint-plugin-widen: ">=3.0.0" peerDependencies: "@babel/eslint-parser": ^7.22.15 eslint: ">= 9" @@ -3936,6 +3746,7 @@ __metadata: eslint-config-prettier: ^9.1.0 peerDependencies: eslint: ">= 9" + eslint-plugin-sort: ">= 3" typescript-eslint: ">= 7.16.0" languageName: unknown linkType: soft @@ -4129,19 +3940,6 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-sort@npm:>= 3": - version: 4.0.0 - resolution: "eslint-plugin-sort@npm:4.0.0" - dependencies: - "@typescript-eslint/utils": ^8.11.0 - isomorphic-resolve: ^1.0.0 - natural-compare: ^1.4.0 - peerDependencies: - eslint: ">=8.56.0" - checksum: 94f280c49175eb6f639ad02c0f4cdbb3f2ca9edf6d59fdb9a5ef85abde1425e948b81da75868fc3b19da2c9d40d6904a51b7b965b0f3a722c6b77eb11a63f667 - languageName: node - linkType: hard - "eslint-plugin-sort@npm:^3.0.2": version: 3.0.2 resolution: "eslint-plugin-sort@npm:3.0.2" @@ -4155,7 +3953,7 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-widen@>=3.0.0, eslint-plugin-widen@workspace:^, eslint-plugin-widen@workspace:packages/eslint-plugin-widen": +"eslint-plugin-widen@workspace:^, eslint-plugin-widen@workspace:packages/eslint-plugin-widen": version: 0.0.0-use.local resolution: "eslint-plugin-widen@workspace:packages/eslint-plugin-widen" dependencies: @@ -4188,16 +3986,6 @@ __metadata: languageName: node linkType: hard -"eslint-scope@npm:^8.2.0": - version: 8.2.0 - resolution: "eslint-scope@npm:8.2.0" - dependencies: - esrecurse: ^4.3.0 - estraverse: ^5.2.0 - checksum: 750eff4672ca2bf274ec0d1bbeae08aadd53c1907d5c6aff5564d8e047a5f49afa8ae6eee333cab637fd3ebcab2141659d8f2f040f6fdc982b0f61f8bf03136f - languageName: node - linkType: hard - "eslint-visitor-keys@npm:^2.1.0": version: 2.1.0 resolution: "eslint-visitor-keys@npm:2.1.0" @@ -4219,62 +4007,6 @@ __metadata: languageName: node linkType: hard -"eslint-visitor-keys@npm:^4.2.0": - version: 4.2.0 - resolution: "eslint-visitor-keys@npm:4.2.0" - checksum: 779c604672b570bb4da84cef32f6abb085ac78379779c1122d7879eade8bb38ae715645324597cf23232d03cef06032c9844d25c73625bc282a5bfd30247e5b5 - languageName: node - linkType: hard - -"eslint@npm:>= 9": - version: 9.16.0 - resolution: "eslint@npm:9.16.0" - dependencies: - "@eslint-community/eslint-utils": ^4.2.0 - "@eslint-community/regexpp": ^4.12.1 - "@eslint/config-array": ^0.19.0 - "@eslint/core": ^0.9.0 - "@eslint/eslintrc": ^3.2.0 - "@eslint/js": 9.16.0 - "@eslint/plugin-kit": ^0.2.3 - "@humanfs/node": ^0.16.6 - "@humanwhocodes/module-importer": ^1.0.1 - "@humanwhocodes/retry": ^0.4.1 - "@types/estree": ^1.0.6 - "@types/json-schema": ^7.0.15 - ajv: ^6.12.4 - chalk: ^4.0.0 - cross-spawn: ^7.0.5 - debug: ^4.3.2 - escape-string-regexp: ^4.0.0 - eslint-scope: ^8.2.0 - eslint-visitor-keys: ^4.2.0 - espree: ^10.3.0 - esquery: ^1.5.0 - esutils: ^2.0.2 - fast-deep-equal: ^3.1.3 - file-entry-cache: ^8.0.0 - find-up: ^5.0.0 - glob-parent: ^6.0.2 - ignore: ^5.2.0 - imurmurhash: ^0.1.4 - is-glob: ^4.0.0 - json-stable-stringify-without-jsonify: ^1.0.1 - lodash.merge: ^4.6.2 - minimatch: ^3.1.2 - natural-compare: ^1.4.0 - optionator: ^0.9.3 - peerDependencies: - jiti: "*" - peerDependenciesMeta: - jiti: - optional: true - bin: - eslint: bin/eslint.js - checksum: d7b77caed2e319dba9bdf5fd3275c643332e4c79fcfe62cf19031fc430c27fe691daa718474d29a1050b83348085f8df50e04f260e081e5b1fbee1d2ca9c5c74 - languageName: node - linkType: hard - "eslint@npm:^9.6.0": version: 9.6.0 resolution: "eslint@npm:9.6.0" @@ -4330,17 +4062,6 @@ __metadata: languageName: node linkType: hard -"espree@npm:^10.3.0": - version: 10.3.0 - resolution: "espree@npm:10.3.0" - dependencies: - acorn: ^8.14.0 - acorn-jsx: ^5.3.2 - eslint-visitor-keys: ^4.2.0 - checksum: 63e8030ff5a98cea7f8b3e3a1487c998665e28d674af08b9b3100ed991670eb3cbb0e308c4548c79e03762753838fbe530c783f17309450d6b47a889fee72bef - languageName: node - linkType: hard - "esprima@npm:^4.0.0": version: 4.0.1 resolution: "esprima@npm:4.0.1" @@ -4486,19 +4207,6 @@ __metadata: languageName: node linkType: hard -"fast-glob@npm:^3.3.2": - version: 3.3.2 - resolution: "fast-glob@npm:3.3.2" - dependencies: - "@nodelib/fs.stat": ^2.0.2 - "@nodelib/fs.walk": ^1.2.3 - glob-parent: ^5.1.2 - merge2: ^1.3.0 - micromatch: ^4.0.4 - checksum: 900e4979f4dbc3313840078419245621259f349950411ca2fa445a2f9a1a6d98c3b5e7e0660c5ccd563aa61abe133a21765c6c0dec8e57da1ba71d8000b05ec1 - languageName: node - linkType: hard - "fast-json-stable-stringify@npm:^2.0.0, fast-json-stable-stringify@npm:^2.1.0": version: 2.1.0 resolution: "fast-json-stable-stringify@npm:2.1.0"