From 75a94bd3c90280e2f2c2c2d7ff0b98373b518dc6 Mon Sep 17 00:00:00 2001 From: Tasso Date: Mon, 4 Nov 2024 14:21:24 -0300 Subject: [PATCH 01/11] Bump ESLint to latest minor --- packages/css-in-js/package.json | 2 +- packages/css-supports/package.json | 2 +- packages/emitter/package.json | 2 +- packages/eslint-config-alt/package.json | 2 +- packages/fuselage-hooks/package.json | 2 +- packages/fuselage-polyfills/package.json | 2 +- packages/fuselage-toastbar/package.json | 2 +- packages/fuselage-tokens/package.json | 2 +- packages/fuselage/package.json | 2 +- packages/icons/package.json | 2 +- packages/layout/package.json | 2 +- packages/logo/package.json | 2 +- packages/memo/package.json | 2 +- packages/mp3-encoder/package.json | 2 +- packages/onboarding-ui/package.json | 2 +- packages/peggy-loader/package.json | 2 +- packages/prettier-config/package.json | 2 +- packages/string-helpers/package.json | 2 +- packages/styled/package.json | 2 +- .../package.json | 2 +- tools/lint-all/package.json | 2 +- tools/scripts/package.json | 2 +- yarn.lock | 113 ++++++++++-------- 23 files changed, 86 insertions(+), 71 deletions(-) diff --git a/packages/css-in-js/package.json b/packages/css-in-js/package.json index fc2f87e397..34c8c9e7d6 100644 --- a/packages/css-in-js/package.json +++ b/packages/css-in-js/package.json @@ -48,7 +48,7 @@ "@rollup/plugin-typescript": "~8.3.4", "@types/jest": "~29.5.12", "@types/stylis": "^4.0.2", - "eslint": "~8.45.0", + "eslint": "~8.57.1", "jest": "~29.7.0", "lint-all": "workspace:~", "prettier": "~3.3.3", diff --git a/packages/css-supports/package.json b/packages/css-supports/package.json index 9e524f0d0b..9344410421 100644 --- a/packages/css-supports/package.json +++ b/packages/css-supports/package.json @@ -35,7 +35,7 @@ "devDependencies": { "@rocket.chat/eslint-config-alt": "workspace:~", "@rocket.chat/prettier-config": "workspace:~", - "eslint": "~8.45.0", + "eslint": "~8.57.1", "lint-all": "workspace:~", "prettier": "~3.3.3", "rimraf": "~3.0.2", diff --git a/packages/emitter/package.json b/packages/emitter/package.json index 76a4987191..82ed8f5cd9 100644 --- a/packages/emitter/package.json +++ b/packages/emitter/package.json @@ -47,7 +47,7 @@ "@rollup/plugin-node-resolve": "~13.1.3", "@rollup/plugin-typescript": "~8.3.4", "@types/jest": "~29.5.12", - "eslint": "~8.45.0", + "eslint": "~8.57.1", "jest": "~29.7.0", "lint-all": "workspace:~", "npm-run-all": "^4.1.5", diff --git a/packages/eslint-config-alt/package.json b/packages/eslint-config-alt/package.json index 27fcbcc468..4422500b21 100644 --- a/packages/eslint-config-alt/package.json +++ b/packages/eslint-config-alt/package.json @@ -37,7 +37,7 @@ }, "devDependencies": { "@babel/eslint-parser": "~7.21.3", - "eslint": "~8.45.0", + "eslint": "~8.57.1", "lint-all": "workspace:~", "prettier": "~3.3.3" }, diff --git a/packages/fuselage-hooks/package.json b/packages/fuselage-hooks/package.json index e16a734303..01a8722f66 100644 --- a/packages/fuselage-hooks/package.json +++ b/packages/fuselage-hooks/package.json @@ -56,7 +56,7 @@ "@types/react-dom": "~17.0.25", "@types/resize-observer-browser": "~0.1.7", "@types/use-sync-external-store": "~0.0.3", - "eslint": "~8.45.0", + "eslint": "~8.57.1", "jest": "~29.7.0", "jest-environment-jsdom": "~29.7.0", "lint-all": "workspace:~", diff --git a/packages/fuselage-polyfills/package.json b/packages/fuselage-polyfills/package.json index d00d98e300..954d4899a1 100644 --- a/packages/fuselage-polyfills/package.json +++ b/packages/fuselage-polyfills/package.json @@ -34,7 +34,7 @@ "devDependencies": { "@rocket.chat/eslint-config-alt": "workspace:~", "@rocket.chat/prettier-config": "workspace:~", - "eslint": "~8.45.0", + "eslint": "~8.57.1", "lint-all": "workspace:~", "prettier": "~3.3.3" } diff --git a/packages/fuselage-toastbar/package.json b/packages/fuselage-toastbar/package.json index cc9ce72b94..319f56e8d1 100644 --- a/packages/fuselage-toastbar/package.json +++ b/packages/fuselage-toastbar/package.json @@ -64,7 +64,7 @@ "@types/jest": "~29.5.12", "@types/react": "~17.0.80", "@types/react-dom": "~17.0.25", - "eslint": "~8.45.0", + "eslint": "~8.57.1", "jest": "~29.7.0", "jest-environment-jsdom": "~29.7.0", "lint-all": "workspace:~", diff --git a/packages/fuselage-tokens/package.json b/packages/fuselage-tokens/package.json index 9fe0e9a9aa..fe1a2e2667 100644 --- a/packages/fuselage-tokens/package.json +++ b/packages/fuselage-tokens/package.json @@ -42,7 +42,7 @@ "@rocket.chat/eslint-config-alt": "workspace:~", "@rocket.chat/prettier-config": "workspace:~", "build-design-tokens": "workspace:~", - "eslint": "~8.45.0", + "eslint": "~8.57.1", "eslint-config-prettier": "~8.8.0", "eslint-plugin-import": "~2.26.0", "eslint-plugin-prettier": "~5.2.1", diff --git a/packages/fuselage/package.json b/packages/fuselage/package.json index 75d6e0c253..871cff32ba 100644 --- a/packages/fuselage/package.json +++ b/packages/fuselage/package.json @@ -101,7 +101,7 @@ "css-loader": "~6.7.3", "cssnano": "~5.0.17", "es-check": "~7.1.1", - "eslint": "~8.45.0", + "eslint": "~8.57.1", "eslint-mdx": "~2.0.5", "eslint-plugin-mdx": "~2.0.5", "jest": "~29.7.0", diff --git a/packages/icons/package.json b/packages/icons/package.json index 66c004d11b..3562716e40 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -32,7 +32,7 @@ "@rocket.chat/eslint-config-alt": "workspace:~", "@rocket.chat/prettier-config": "workspace:~", "build-icons": "workspace:~", - "eslint": "~8.45.0", + "eslint": "~8.57.1", "lint-all": "workspace:~", "npm-run-all": "^4.1.5", "prettier": "~3.3.3", diff --git a/packages/layout/package.json b/packages/layout/package.json index 928d51c037..e4071066a1 100644 --- a/packages/layout/package.json +++ b/packages/layout/package.json @@ -51,7 +51,7 @@ "@types/jest": "~29.5.12", "@types/react": "~17.0.80", "@types/react-dom": "~17.0.25", - "eslint": "~8.45.0", + "eslint": "~8.57.1", "jest": "~29.7.0", "jest-environment-jsdom": "~29.7.0", "lint-all": "workspace:~", diff --git a/packages/logo/package.json b/packages/logo/package.json index 2fb0e7c421..8198a6a1c3 100644 --- a/packages/logo/package.json +++ b/packages/logo/package.json @@ -48,7 +48,7 @@ "@types/react": "~17.0.80", "@types/react-dom": "~17.0.25", "build-logo": "workspace:~", - "eslint": "~8.45.0", + "eslint": "~8.57.1", "jest": "~29.7.0", "jest-environment-jsdom": "~29.7.0", "lint-all": "workspace:~", diff --git a/packages/memo/package.json b/packages/memo/package.json index db3f774631..29fb0bf768 100644 --- a/packages/memo/package.json +++ b/packages/memo/package.json @@ -42,7 +42,7 @@ "@rocket.chat/eslint-config-alt": "workspace:~", "@rocket.chat/prettier-config": "workspace:~", "@types/jest": "~29.5.12", - "eslint": "~8.45.0", + "eslint": "~8.57.1", "jest": "~29.7.0", "lint-all": "workspace:~", "prettier": "~3.3.3", diff --git a/packages/mp3-encoder/package.json b/packages/mp3-encoder/package.json index 8a6bc0fa03..dff07ad00c 100644 --- a/packages/mp3-encoder/package.json +++ b/packages/mp3-encoder/package.json @@ -49,7 +49,7 @@ "@rollup/plugin-node-resolve": "~15.0.2", "@rollup/plugin-typescript": "~11.1.0", "@types/jest": "~29.5.12", - "eslint": "~8.45.0", + "eslint": "~8.57.1", "jest": "~29.7.0", "jest-environment-jsdom": "~29.7.0", "lint-all": "workspace:~", diff --git a/packages/onboarding-ui/package.json b/packages/onboarding-ui/package.json index be8e870328..f23b494f47 100644 --- a/packages/onboarding-ui/package.json +++ b/packages/onboarding-ui/package.json @@ -61,7 +61,7 @@ "@types/react": "~17.0.80", "@types/react-dom": "~17.0.25", "countries-list": "^2.6.1", - "eslint": "~8.45.0", + "eslint": "~8.57.1", "jest": "~29.7.0", "jest-environment-jsdom": "~29.7.0", "lint-all": "workspace:~", diff --git a/packages/peggy-loader/package.json b/packages/peggy-loader/package.json index 270348b176..beb486d83c 100644 --- a/packages/peggy-loader/package.json +++ b/packages/peggy-loader/package.json @@ -46,7 +46,7 @@ "@rocket.chat/eslint-config-alt": "workspace:~", "@rocket.chat/prettier-config": "workspace:~", "@types/node": "~14.18.42", - "eslint": "~8.45.0", + "eslint": "~8.57.1", "lint-all": "workspace:~", "npm-run-all": "^4.1.5", "peggy": "3.0.2", diff --git a/packages/prettier-config/package.json b/packages/prettier-config/package.json index d7e1c6afd2..ddfd74689c 100644 --- a/packages/prettier-config/package.json +++ b/packages/prettier-config/package.json @@ -36,7 +36,7 @@ "prettier": "*" }, "devDependencies": { - "eslint": "~8.45.0", + "eslint": "~8.57.1", "eslint-config-prettier": "~8.8.0", "eslint-plugin-import": "~2.26.0", "eslint-plugin-prettier": "~5.2.1", diff --git a/packages/string-helpers/package.json b/packages/string-helpers/package.json index d2ed92ccc4..daefcf87b4 100644 --- a/packages/string-helpers/package.json +++ b/packages/string-helpers/package.json @@ -43,7 +43,7 @@ "@rocket.chat/eslint-config-alt": "workspace:~", "@rocket.chat/prettier-config": "workspace:~", "@types/jest": "~29.5.12", - "eslint": "~8.45.0", + "eslint": "~8.57.1", "jest": "~29.7.0", "lint-all": "workspace:~", "npm-run-all": "^4.1.5", diff --git a/packages/styled/package.json b/packages/styled/package.json index 74a971bf7e..08406747ce 100644 --- a/packages/styled/package.json +++ b/packages/styled/package.json @@ -39,7 +39,7 @@ "@rocket.chat/eslint-config-alt": "workspace:~", "@rocket.chat/prettier-config": "workspace:~", "@types/jest": "~29.5.12", - "eslint": "~8.45.0", + "eslint": "~8.57.1", "jest": "~29.7.0", "jest-environment-jsdom": "~29.7.0", "lint-all": "workspace:~", diff --git a/packages/stylis-logical-props-middleware/package.json b/packages/stylis-logical-props-middleware/package.json index a90c0bcda1..5576425fff 100644 --- a/packages/stylis-logical-props-middleware/package.json +++ b/packages/stylis-logical-props-middleware/package.json @@ -39,7 +39,7 @@ "@rocket.chat/eslint-config-alt": "workspace:~", "@rocket.chat/prettier-config": "workspace:~", "@types/jest": "~29.5.12", - "eslint": "~8.45.0", + "eslint": "~8.57.1", "jest": "~29.7.0", "lint-all": "workspace:~", "npm-run-all": "^4.1.5", diff --git a/tools/lint-all/package.json b/tools/lint-all/package.json index 03075c5f97..8a8297aa49 100644 --- a/tools/lint-all/package.json +++ b/tools/lint-all/package.json @@ -8,7 +8,7 @@ "version": "0.31.25", "dependencies": { "@prettier/plugin-xml": "~3.4.1", - "eslint": "~8.45.0", + "eslint": "~8.57.1", "prettier": "~3.3.3", "stylelint": "~16.10.0", "zx": "~8.1.9" diff --git a/tools/scripts/package.json b/tools/scripts/package.json index d2c606373e..321db2d2e3 100644 --- a/tools/scripts/package.json +++ b/tools/scripts/package.json @@ -16,7 +16,7 @@ "@typescript-eslint/parser": "~8.8.1", "cross-env": "^7.0.3", "endent": "^2.1.0", - "eslint": "~8.45.0", + "eslint": "~8.57.1", "fast-glob": "~3.2.12", "npm-run-all": "^4.1.5", "prettier": "~3.3.3", diff --git a/yarn.lock b/yarn.lock index 7787c721a1..8e782068b5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1997,14 +1997,21 @@ __metadata: languageName: node linkType: hard -"@eslint-community/regexpp@npm:^4.10.0, @eslint-community/regexpp@npm:^4.4.0": +"@eslint-community/regexpp@npm:^4.10.0": version: 4.11.1 resolution: "@eslint-community/regexpp@npm:4.11.1" checksum: 10/934b6d3588c7f16b18d41efec4fdb89616c440b7e3256b8cb92cfd31ae12908600f2b986d6c1e61a84cbc10256b1dd3448cd1eec79904bd67ac365d0f1aba2e2 languageName: node linkType: hard -"@eslint/eslintrc@npm:^2.1.0": +"@eslint-community/regexpp@npm:^4.6.1": + version: 4.12.1 + resolution: "@eslint-community/regexpp@npm:4.12.1" + checksum: 10/c08f1dd7dd18fbb60bdd0d85820656d1374dd898af9be7f82cb00451313402a22d5e30569c150315b4385907cdbca78c22389b2a72ab78883b3173be317620cc + languageName: node + linkType: hard + +"@eslint/eslintrc@npm:^2.1.4": version: 2.1.4 resolution: "@eslint/eslintrc@npm:2.1.4" dependencies: @@ -2021,10 +2028,10 @@ __metadata: languageName: node linkType: hard -"@eslint/js@npm:8.44.0": - version: 8.44.0 - resolution: "@eslint/js@npm:8.44.0" - checksum: 10/06adec291c023cf1415d5c8dc0b14608d770ffb42b29c65dcbf092051580e1f6080483979c87b2067580b4566e281c0f588efb571303a092b34bca911eca8fb9 +"@eslint/js@npm:8.57.1": + version: 8.57.1 + resolution: "@eslint/js@npm:8.57.1" + checksum: 10/7562b21be10c2adbfa4aa5bb2eccec2cb9ac649a3569560742202c8d1cb6c931ce634937a2f0f551e078403a1c1285d6c2c0aa345dafc986149665cd69fe8b59 languageName: node linkType: hard @@ -2084,14 +2091,14 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/config-array@npm:^0.11.10": - version: 0.11.14 - resolution: "@humanwhocodes/config-array@npm:0.11.14" +"@humanwhocodes/config-array@npm:^0.13.0": + version: 0.13.0 + resolution: "@humanwhocodes/config-array@npm:0.13.0" dependencies: - "@humanwhocodes/object-schema": "npm:^2.0.2" + "@humanwhocodes/object-schema": "npm:^2.0.3" debug: "npm:^4.3.1" minimatch: "npm:^3.0.5" - checksum: 10/3ffb24ecdfab64014a230e127118d50a1a04d11080cbb748bc21629393d100850496456bbcb4e8c438957fe0934430d731042f1264d6a167b62d32fc2863580a + checksum: 10/524df31e61a85392a2433bf5d03164e03da26c03d009f27852e7dcfdafbc4a23f17f021dacf88e0a7a9fe04ca032017945d19b57a16e2676d9114c22a53a9d11 languageName: node linkType: hard @@ -2102,7 +2109,7 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/object-schema@npm:^2.0.2": +"@humanwhocodes/object-schema@npm:^2.0.3": version: 2.0.3 resolution: "@humanwhocodes/object-schema@npm:2.0.3" checksum: 10/05bb99ed06c16408a45a833f03a732f59bf6184795d4efadd33238ff8699190a8c871ad1121241bb6501589a9598dc83bf25b99dcbcf41e155cdf36e35e937a3 @@ -4016,7 +4023,7 @@ __metadata: "@rollup/plugin-typescript": "npm:~8.3.4" "@types/jest": "npm:~29.5.12" "@types/stylis": "npm:^4.0.2" - eslint: "npm:~8.45.0" + eslint: "npm:~8.57.1" jest: "npm:~29.7.0" lint-all: "workspace:~" prettier: "npm:~3.3.3" @@ -4036,7 +4043,7 @@ __metadata: "@rocket.chat/eslint-config-alt": "workspace:~" "@rocket.chat/memo": "workspace:~" "@rocket.chat/prettier-config": "workspace:~" - eslint: "npm:~8.45.0" + eslint: "npm:~8.57.1" lint-all: "workspace:~" prettier: "npm:~3.3.3" rimraf: "npm:~3.0.2" @@ -4056,7 +4063,7 @@ __metadata: "@rollup/plugin-node-resolve": "npm:~13.1.3" "@rollup/plugin-typescript": "npm:~8.3.4" "@types/jest": "npm:~29.5.12" - eslint: "npm:~8.45.0" + eslint: "npm:~8.57.1" jest: "npm:~29.7.0" lint-all: "workspace:~" npm-run-all: "npm:^4.1.5" @@ -4076,7 +4083,7 @@ __metadata: "@babel/eslint-parser": "npm:~7.21.3" "@typescript-eslint/eslint-plugin": "npm:~8.8.1" "@typescript-eslint/parser": "npm:~8.8.1" - eslint: "npm:~8.45.0" + eslint: "npm:~8.57.1" eslint-config-prettier: "npm:~8.8.0" eslint-import-resolver-typescript: "npm:~3.5.5" eslint-plugin-import: "npm:~2.26.0" @@ -4110,7 +4117,7 @@ __metadata: "@types/react-dom": "npm:~17.0.25" "@types/resize-observer-browser": "npm:~0.1.7" "@types/use-sync-external-store": "npm:~0.0.3" - eslint: "npm:~8.45.0" + eslint: "npm:~8.57.1" jest: "npm:~29.7.0" jest-environment-jsdom: "npm:~29.7.0" lint-all: "workspace:~" @@ -4158,7 +4165,7 @@ __metadata: "@rocket.chat/prettier-config": "workspace:~" clipboard-polyfill: "npm:^3.0.3" element-closest-polyfill: "npm:^1.0.6" - eslint: "npm:~8.45.0" + eslint: "npm:~8.57.1" focus-visible: "npm:^5.2.0" focus-within-polyfill: "npm:^5.2.1" lint-all: "workspace:~" @@ -4190,7 +4197,7 @@ __metadata: "@types/jest": "npm:~29.5.12" "@types/react": "npm:~17.0.80" "@types/react-dom": "npm:~17.0.25" - eslint: "npm:~8.45.0" + eslint: "npm:~8.57.1" jest: "npm:~29.7.0" jest-environment-jsdom: "npm:~29.7.0" lint-all: "workspace:~" @@ -4221,7 +4228,7 @@ __metadata: "@rocket.chat/eslint-config-alt": "workspace:~" "@rocket.chat/prettier-config": "workspace:~" build-design-tokens: "workspace:~" - eslint: "npm:~8.45.0" + eslint: "npm:~8.57.1" eslint-config-prettier: "npm:~8.8.0" eslint-plugin-import: "npm:~2.26.0" eslint-plugin-prettier: "npm:~5.2.1" @@ -4285,7 +4292,7 @@ __metadata: css-loader: "npm:~6.7.3" cssnano: "npm:~5.0.17" es-check: "npm:~7.1.1" - eslint: "npm:~8.45.0" + eslint: "npm:~8.57.1" eslint-mdx: "npm:~2.0.5" eslint-plugin-mdx: "npm:~2.0.5" invariant: "npm:^2.2.4" @@ -4347,7 +4354,7 @@ __metadata: "@rocket.chat/eslint-config-alt": "workspace:~" "@rocket.chat/prettier-config": "workspace:~" build-icons: "workspace:~" - eslint: "npm:~8.45.0" + eslint: "npm:~8.57.1" lint-all: "workspace:~" npm-run-all: "npm:^4.1.5" prettier: "npm:~3.3.3" @@ -4376,7 +4383,7 @@ __metadata: "@types/jest": "npm:~29.5.12" "@types/react": "npm:~17.0.80" "@types/react-dom": "npm:~17.0.25" - eslint: "npm:~8.45.0" + eslint: "npm:~8.57.1" jest: "npm:~29.7.0" jest-environment-jsdom: "npm:~29.7.0" lint-all: "workspace:~" @@ -4412,7 +4419,7 @@ __metadata: "@types/react": "npm:~17.0.80" "@types/react-dom": "npm:~17.0.25" build-logo: "workspace:~" - eslint: "npm:~8.45.0" + eslint: "npm:~8.57.1" jest: "npm:~29.7.0" jest-environment-jsdom: "npm:~29.7.0" lint-all: "workspace:~" @@ -4437,7 +4444,7 @@ __metadata: "@rocket.chat/eslint-config-alt": "workspace:~" "@rocket.chat/prettier-config": "workspace:~" "@types/jest": "npm:~29.5.12" - eslint: "npm:~8.45.0" + eslint: "npm:~8.57.1" jest: "npm:~29.7.0" lint-all: "workspace:~" prettier: "npm:~3.3.3" @@ -4462,7 +4469,7 @@ __metadata: "@rollup/plugin-node-resolve": "npm:~15.0.2" "@rollup/plugin-typescript": "npm:~11.1.0" "@types/jest": "npm:~29.5.12" - eslint: "npm:~8.45.0" + eslint: "npm:~8.57.1" jest: "npm:~29.7.0" jest-environment-jsdom: "npm:~29.7.0" lint-all: "workspace:~" @@ -4498,7 +4505,7 @@ __metadata: "@types/react": "npm:~17.0.80" "@types/react-dom": "npm:~17.0.25" countries-list: "npm:^2.6.1" - eslint: "npm:~8.45.0" + eslint: "npm:~8.57.1" i18next: "npm:~21.6.16" jest: "npm:~29.7.0" jest-environment-jsdom: "npm:~29.7.0" @@ -4536,7 +4543,7 @@ __metadata: "@rocket.chat/eslint-config-alt": "workspace:~" "@rocket.chat/prettier-config": "workspace:~" "@types/node": "npm:~14.18.42" - eslint: "npm:~8.45.0" + eslint: "npm:~8.57.1" lint-all: "workspace:~" npm-run-all: "npm:^4.1.5" peggy: "npm:3.0.2" @@ -4555,7 +4562,7 @@ __metadata: version: 0.0.0-use.local resolution: "@rocket.chat/prettier-config@workspace:packages/prettier-config" dependencies: - eslint: "npm:~8.45.0" + eslint: "npm:~8.57.1" eslint-config-prettier: "npm:~8.8.0" eslint-plugin-import: "npm:~2.26.0" eslint-plugin-prettier: "npm:~5.2.1" @@ -4573,7 +4580,7 @@ __metadata: "@rocket.chat/eslint-config-alt": "workspace:~" "@rocket.chat/prettier-config": "workspace:~" "@types/jest": "npm:~29.5.12" - eslint: "npm:~8.45.0" + eslint: "npm:~8.57.1" jest: "npm:~29.7.0" lint-all: "workspace:~" npm-run-all: "npm:^4.1.5" @@ -4593,7 +4600,7 @@ __metadata: "@rocket.chat/eslint-config-alt": "workspace:~" "@rocket.chat/prettier-config": "workspace:~" "@types/jest": "npm:~29.5.12" - eslint: "npm:~8.45.0" + eslint: "npm:~8.57.1" jest: "npm:~29.7.0" jest-environment-jsdom: "npm:~29.7.0" lint-all: "workspace:~" @@ -4614,7 +4621,7 @@ __metadata: "@rocket.chat/eslint-config-alt": "workspace:~" "@rocket.chat/prettier-config": "workspace:~" "@types/jest": "npm:~29.5.12" - eslint: "npm:~8.45.0" + eslint: "npm:~8.57.1" jest: "npm:~29.7.0" lint-all: "workspace:~" npm-run-all: "npm:^4.1.5" @@ -6231,6 +6238,13 @@ __metadata: languageName: node linkType: hard +"@ungap/structured-clone@npm:^1.2.0": + version: 1.2.0 + resolution: "@ungap/structured-clone@npm:1.2.0" + checksum: 10/c6fe89a505e513a7592e1438280db1c075764793a2397877ff1351721fe8792a966a5359769e30242b3cd023f2efb9e63ca2ca88019d73b564488cc20e3eab12 + languageName: node + linkType: hard + "@virtuoso.dev/react-urx@npm:^0.2.12": version: 0.2.12 resolution: "@virtuoso.dev/react-urx@npm:0.2.12" @@ -6683,7 +6697,7 @@ __metadata: languageName: node linkType: hard -"ajv@npm:^6.10.0, ajv@npm:^6.12.3, ajv@npm:^6.12.4, ajv@npm:^6.12.5": +"ajv@npm:^6.12.3, ajv@npm:^6.12.4, ajv@npm:^6.12.5": version: 6.12.6 resolution: "ajv@npm:6.12.6" dependencies: @@ -9595,7 +9609,7 @@ __metadata: languageName: node linkType: hard -"eslint-scope@npm:^7.2.0": +"eslint-scope@npm:^7.2.2": version: 7.2.2 resolution: "eslint-scope@npm:7.2.2" dependencies: @@ -9619,26 +9633,27 @@ __metadata: languageName: node linkType: hard -"eslint@npm:~8.45.0": - version: 8.45.0 - resolution: "eslint@npm:8.45.0" +"eslint@npm:~8.57.1": + version: 8.57.1 + resolution: "eslint@npm:8.57.1" dependencies: "@eslint-community/eslint-utils": "npm:^4.2.0" - "@eslint-community/regexpp": "npm:^4.4.0" - "@eslint/eslintrc": "npm:^2.1.0" - "@eslint/js": "npm:8.44.0" - "@humanwhocodes/config-array": "npm:^0.11.10" + "@eslint-community/regexpp": "npm:^4.6.1" + "@eslint/eslintrc": "npm:^2.1.4" + "@eslint/js": "npm:8.57.1" + "@humanwhocodes/config-array": "npm:^0.13.0" "@humanwhocodes/module-importer": "npm:^1.0.1" "@nodelib/fs.walk": "npm:^1.2.8" - ajv: "npm:^6.10.0" + "@ungap/structured-clone": "npm:^1.2.0" + ajv: "npm:^6.12.4" chalk: "npm:^4.0.0" cross-spawn: "npm:^7.0.2" debug: "npm:^4.3.2" doctrine: "npm:^3.0.0" escape-string-regexp: "npm:^4.0.0" - eslint-scope: "npm:^7.2.0" - eslint-visitor-keys: "npm:^3.4.1" - espree: "npm:^9.6.0" + eslint-scope: "npm:^7.2.2" + eslint-visitor-keys: "npm:^3.4.3" + espree: "npm:^9.6.1" esquery: "npm:^1.4.2" esutils: "npm:^2.0.2" fast-deep-equal: "npm:^3.1.3" @@ -9662,11 +9677,11 @@ __metadata: text-table: "npm:^0.2.0" bin: eslint: bin/eslint.js - checksum: 10/54820753ae1fb85affe48d001ea0cdf87e48b863bc423f717f4ca6a12ea0db65f171de58732ef51e94eacff33ac4e2c4f4717ec93014e759ed8adfcd6dc9402a + checksum: 10/5504fa24879afdd9f9929b2fbfc2ee9b9441a3d464efd9790fbda5f05738858530182029f13323add68d19fec749d3ab4a70320ded091ca4432b1e9cc4ed104c languageName: node linkType: hard -"espree@npm:^9.4.0, espree@npm:^9.6.0": +"espree@npm:^9.4.0, espree@npm:^9.6.0, espree@npm:^9.6.1": version: 9.6.1 resolution: "espree@npm:9.6.1" dependencies: @@ -12573,7 +12588,7 @@ __metadata: resolution: "lint-all@workspace:tools/lint-all" dependencies: "@prettier/plugin-xml": "npm:~3.4.1" - eslint: "npm:~8.45.0" + eslint: "npm:~8.57.1" prettier: "npm:~3.3.3" stylelint: "npm:~16.10.0" zx: "npm:~8.1.9" @@ -16916,7 +16931,7 @@ __metadata: "@typescript-eslint/parser": "npm:~8.8.1" cross-env: "npm:^7.0.3" endent: "npm:^2.1.0" - eslint: "npm:~8.45.0" + eslint: "npm:~8.57.1" fast-glob: "npm:~3.2.12" npm-run-all: "npm:^4.1.5" prettier: "npm:~3.3.3" From b414af74660b4b341d7e56b2ac7ac2492b0436ec Mon Sep 17 00:00:00 2001 From: Tasso Date: Tue, 5 Nov 2024 04:55:30 -0300 Subject: [PATCH 02/11] Reconfigure Prettier --- .../library/files/package.json.t | 1 - package.json | 1 + packages/css-in-js/.prettierignore | 3 --- packages/css-in-js/package.json | 1 - packages/css-supports/package.json | 1 - packages/emitter/package.json | 1 - packages/eslint-config-alt/package.json | 2 +- packages/fuselage-hooks/package.json | 1 - packages/fuselage-polyfills/package.json | 1 - packages/fuselage-toastbar/package.json | 1 - packages/fuselage-tokens/package.json | 1 - packages/fuselage/package.json | 1 - packages/icons/.prettierignore | 2 -- packages/icons/package.json | 1 - packages/layout/package.json | 1 - packages/logo/package.json | 1 - packages/memo/package.json | 1 - packages/mp3-encoder/package.json | 1 - packages/onboarding-ui/package.json | 1 - packages/peggy-loader/package.json | 1 - packages/prettier-config/package.json | 1 - packages/string-helpers/package.json | 1 - packages/styled/package.json | 1 - .../package.json | 1 - tools/scripts/package.json | 1 - yarn.lock | 22 ++----------------- 26 files changed, 4 insertions(+), 47 deletions(-) delete mode 100644 packages/css-in-js/.prettierignore diff --git a/_templates/create-package/library/files/package.json.t b/_templates/create-package/library/files/package.json.t index aef855127e..98cac5bdf7 100644 --- a/_templates/create-package/library/files/package.json.t +++ b/_templates/create-package/library/files/package.json.t @@ -40,7 +40,6 @@ to: packages/<%=package%>/package.json }, "devDependencies": { "@rocket.chat/eslint-config-alt": "workspace:~", - "@rocket.chat/prettier-config": "workspace:~", "@types/jest": "~27.4.0", "eslint": "~8.8.0", "jest": "~27.5.1", diff --git a/package.json b/package.json index 35db155512..0ac7c645c8 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "devDependencies": { "@changesets/changelog-github": "~0.5.0", "@changesets/cli": "~2.27.9", + "@rocket.chat/prettier-config": "workspace:~", "husky": "~9.1.6", "hygen": "~6.2.11", "pinst": "~3.0.0", diff --git a/packages/css-in-js/.prettierignore b/packages/css-in-js/.prettierignore deleted file mode 100644 index 7755cd87b3..0000000000 --- a/packages/css-in-js/.prettierignore +++ /dev/null @@ -1,3 +0,0 @@ -/node_modules -/dist -!.* diff --git a/packages/css-in-js/package.json b/packages/css-in-js/package.json index 34c8c9e7d6..c7b96ee8c3 100644 --- a/packages/css-in-js/package.json +++ b/packages/css-in-js/package.json @@ -41,7 +41,6 @@ }, "devDependencies": { "@rocket.chat/eslint-config-alt": "workspace:~", - "@rocket.chat/prettier-config": "workspace:~", "@rollup/plugin-commonjs": "~21.0.3", "@rollup/plugin-json": "~4.1.0", "@rollup/plugin-node-resolve": "~13.1.3", diff --git a/packages/css-supports/package.json b/packages/css-supports/package.json index 9344410421..0730de93ab 100644 --- a/packages/css-supports/package.json +++ b/packages/css-supports/package.json @@ -34,7 +34,6 @@ }, "devDependencies": { "@rocket.chat/eslint-config-alt": "workspace:~", - "@rocket.chat/prettier-config": "workspace:~", "eslint": "~8.57.1", "lint-all": "workspace:~", "prettier": "~3.3.3", diff --git a/packages/emitter/package.json b/packages/emitter/package.json index 82ed8f5cd9..307a20b8ae 100644 --- a/packages/emitter/package.json +++ b/packages/emitter/package.json @@ -41,7 +41,6 @@ }, "devDependencies": { "@rocket.chat/eslint-config-alt": "workspace:~", - "@rocket.chat/prettier-config": "workspace:~", "@rollup/plugin-commonjs": "~21.0.3", "@rollup/plugin-json": "~4.1.0", "@rollup/plugin-node-resolve": "~13.1.3", diff --git a/packages/eslint-config-alt/package.json b/packages/eslint-config-alt/package.json index 4422500b21..5340b1dc6e 100644 --- a/packages/eslint-config-alt/package.json +++ b/packages/eslint-config-alt/package.json @@ -33,7 +33,7 @@ "peerDependencies": { "@babel/eslint-parser": "^7.13.14", "eslint": "~8.38.0", - "prettier": "~2.7.1" + "prettier": "*" }, "devDependencies": { "@babel/eslint-parser": "~7.21.3", diff --git a/packages/fuselage-hooks/package.json b/packages/fuselage-hooks/package.json index 01a8722f66..34c380e095 100644 --- a/packages/fuselage-hooks/package.json +++ b/packages/fuselage-hooks/package.json @@ -44,7 +44,6 @@ "devDependencies": { "@rocket.chat/eslint-config-alt": "workspace:~", "@rocket.chat/fuselage-tokens": "workspace:~", - "@rocket.chat/prettier-config": "workspace:~", "@rollup/plugin-commonjs": "~21.0.3", "@rollup/plugin-json": "~4.1.0", "@rollup/plugin-node-resolve": "~13.1.3", diff --git a/packages/fuselage-polyfills/package.json b/packages/fuselage-polyfills/package.json index 954d4899a1..f941da0b98 100644 --- a/packages/fuselage-polyfills/package.json +++ b/packages/fuselage-polyfills/package.json @@ -33,7 +33,6 @@ }, "devDependencies": { "@rocket.chat/eslint-config-alt": "workspace:~", - "@rocket.chat/prettier-config": "workspace:~", "eslint": "~8.57.1", "lint-all": "workspace:~", "prettier": "~3.3.3" diff --git a/packages/fuselage-toastbar/package.json b/packages/fuselage-toastbar/package.json index 319f56e8d1..bebdfa303a 100644 --- a/packages/fuselage-toastbar/package.json +++ b/packages/fuselage-toastbar/package.json @@ -50,7 +50,6 @@ "@rocket.chat/fuselage-hooks": "workspace:~", "@rocket.chat/fuselage-tokens": "workspace:~", "@rocket.chat/layout": "workspace:~", - "@rocket.chat/prettier-config": "workspace:~", "@rocket.chat/styled": "workspace:~", "@storybook/addon-essentials": "~8.4.1", "@storybook/addon-webpack5-compiler-swc": "~1.0.5", diff --git a/packages/fuselage-tokens/package.json b/packages/fuselage-tokens/package.json index fe1a2e2667..fcdd804397 100644 --- a/packages/fuselage-tokens/package.json +++ b/packages/fuselage-tokens/package.json @@ -40,7 +40,6 @@ }, "devDependencies": { "@rocket.chat/eslint-config-alt": "workspace:~", - "@rocket.chat/prettier-config": "workspace:~", "build-design-tokens": "workspace:~", "eslint": "~8.57.1", "eslint-config-prettier": "~8.8.0", diff --git a/packages/fuselage/package.json b/packages/fuselage/package.json index 871cff32ba..b3a3591c4f 100644 --- a/packages/fuselage/package.json +++ b/packages/fuselage/package.json @@ -72,7 +72,6 @@ "@rocket.chat/fuselage-hooks": "workspace:~", "@rocket.chat/fuselage-polyfills": "workspace:~", "@rocket.chat/icons": "workspace:~", - "@rocket.chat/prettier-config": "workspace:~", "@storybook/addon-a11y": "~8.4.1", "@storybook/addon-essentials": "~8.4.1", "@storybook/addon-interactions": "~8.4.1", diff --git a/packages/icons/.prettierignore b/packages/icons/.prettierignore index 6de0d02f36..960591e4fa 100644 --- a/packages/icons/.prettierignore +++ b/packages/icons/.prettierignore @@ -1,3 +1 @@ -node_modules -/dist /glyphsMapping.json diff --git a/packages/icons/package.json b/packages/icons/package.json index 3562716e40..c330515067 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -30,7 +30,6 @@ }, "devDependencies": { "@rocket.chat/eslint-config-alt": "workspace:~", - "@rocket.chat/prettier-config": "workspace:~", "build-icons": "workspace:~", "eslint": "~8.57.1", "lint-all": "workspace:~", diff --git a/packages/layout/package.json b/packages/layout/package.json index e4071066a1..2f3339627c 100644 --- a/packages/layout/package.json +++ b/packages/layout/package.json @@ -41,7 +41,6 @@ "@rocket.chat/eslint-config-alt": "workspace:~", "@rocket.chat/fuselage": "workspace:~", "@rocket.chat/fuselage-tokens": "workspace:~", - "@rocket.chat/prettier-config": "workspace:~", "@storybook/addon-essentials": "~8.4.1", "@storybook/addon-webpack5-compiler-swc": "~1.0.5", "@storybook/preview-api": "~8.4.1", diff --git a/packages/logo/package.json b/packages/logo/package.json index 8198a6a1c3..0ecbeb8185 100644 --- a/packages/logo/package.json +++ b/packages/logo/package.json @@ -43,7 +43,6 @@ "devDependencies": { "@rocket.chat/eslint-config-alt": "workspace:~", "@rocket.chat/fuselage-tokens": "workspace:~", - "@rocket.chat/prettier-config": "workspace:~", "@types/jest": "~29.5.12", "@types/react": "~17.0.80", "@types/react-dom": "~17.0.25", diff --git a/packages/memo/package.json b/packages/memo/package.json index 29fb0bf768..1f33353b13 100644 --- a/packages/memo/package.json +++ b/packages/memo/package.json @@ -40,7 +40,6 @@ }, "devDependencies": { "@rocket.chat/eslint-config-alt": "workspace:~", - "@rocket.chat/prettier-config": "workspace:~", "@types/jest": "~29.5.12", "eslint": "~8.57.1", "jest": "~29.7.0", diff --git a/packages/mp3-encoder/package.json b/packages/mp3-encoder/package.json index dff07ad00c..5b3a0f679d 100644 --- a/packages/mp3-encoder/package.json +++ b/packages/mp3-encoder/package.json @@ -44,7 +44,6 @@ "@babel/preset-env": "~7.21.4", "@babel/preset-typescript": "~7.21.4", "@rocket.chat/eslint-config-alt": "workspace:~", - "@rocket.chat/prettier-config": "workspace:~", "@rollup/plugin-commonjs": "~24.1.0", "@rollup/plugin-node-resolve": "~15.0.2", "@rollup/plugin-typescript": "~11.1.0", diff --git a/packages/onboarding-ui/package.json b/packages/onboarding-ui/package.json index f23b494f47..f4978451f0 100644 --- a/packages/onboarding-ui/package.json +++ b/packages/onboarding-ui/package.json @@ -49,7 +49,6 @@ "@rocket.chat/icons": "workspace:~", "@rocket.chat/layout": "workspace:~", "@rocket.chat/logo": "workspace:~", - "@rocket.chat/prettier-config": "workspace:~", "@rocket.chat/styled": "workspace:~", "@storybook/addon-a11y": "~8.4.1", "@storybook/addon-essentials": "~8.4.1", diff --git a/packages/peggy-loader/package.json b/packages/peggy-loader/package.json index beb486d83c..56ada9a20c 100644 --- a/packages/peggy-loader/package.json +++ b/packages/peggy-loader/package.json @@ -44,7 +44,6 @@ }, "devDependencies": { "@rocket.chat/eslint-config-alt": "workspace:~", - "@rocket.chat/prettier-config": "workspace:~", "@types/node": "~14.18.42", "eslint": "~8.57.1", "lint-all": "workspace:~", diff --git a/packages/prettier-config/package.json b/packages/prettier-config/package.json index ddfd74689c..6b861f976d 100644 --- a/packages/prettier-config/package.json +++ b/packages/prettier-config/package.json @@ -27,7 +27,6 @@ "eslintConfig": { "extends": "@rocket.chat/eslint-config-alt/minimal" }, - "prettier": "./fuselage", "scripts": { "lint": "lint", "lint-and-fix": "lint-and-fix" diff --git a/packages/string-helpers/package.json b/packages/string-helpers/package.json index daefcf87b4..d2a2f8a887 100644 --- a/packages/string-helpers/package.json +++ b/packages/string-helpers/package.json @@ -41,7 +41,6 @@ }, "devDependencies": { "@rocket.chat/eslint-config-alt": "workspace:~", - "@rocket.chat/prettier-config": "workspace:~", "@types/jest": "~29.5.12", "eslint": "~8.57.1", "jest": "~29.7.0", diff --git a/packages/styled/package.json b/packages/styled/package.json index 08406747ce..b25deee893 100644 --- a/packages/styled/package.json +++ b/packages/styled/package.json @@ -37,7 +37,6 @@ }, "devDependencies": { "@rocket.chat/eslint-config-alt": "workspace:~", - "@rocket.chat/prettier-config": "workspace:~", "@types/jest": "~29.5.12", "eslint": "~8.57.1", "jest": "~29.7.0", diff --git a/packages/stylis-logical-props-middleware/package.json b/packages/stylis-logical-props-middleware/package.json index 5576425fff..a0c7c59aaf 100644 --- a/packages/stylis-logical-props-middleware/package.json +++ b/packages/stylis-logical-props-middleware/package.json @@ -37,7 +37,6 @@ }, "devDependencies": { "@rocket.chat/eslint-config-alt": "workspace:~", - "@rocket.chat/prettier-config": "workspace:~", "@types/jest": "~29.5.12", "eslint": "~8.57.1", "jest": "~29.7.0", diff --git a/tools/scripts/package.json b/tools/scripts/package.json index 321db2d2e3..8f177f5faf 100644 --- a/tools/scripts/package.json +++ b/tools/scripts/package.json @@ -11,7 +11,6 @@ }, "devDependencies": { "@rocket.chat/eslint-config-alt": "workspace:~", - "@rocket.chat/prettier-config": "workspace:~", "@types/node": "~14.18.42", "@typescript-eslint/parser": "~8.8.1", "cross-env": "^7.0.3", diff --git a/yarn.lock b/yarn.lock index 8e782068b5..0f56f8414f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4015,7 +4015,6 @@ __metadata: "@rocket.chat/css-supports": "workspace:~" "@rocket.chat/eslint-config-alt": "workspace:~" "@rocket.chat/memo": "workspace:~" - "@rocket.chat/prettier-config": "workspace:~" "@rocket.chat/stylis-logical-props-middleware": "workspace:~" "@rollup/plugin-commonjs": "npm:~21.0.3" "@rollup/plugin-json": "npm:~4.1.0" @@ -4042,7 +4041,6 @@ __metadata: dependencies: "@rocket.chat/eslint-config-alt": "workspace:~" "@rocket.chat/memo": "workspace:~" - "@rocket.chat/prettier-config": "workspace:~" eslint: "npm:~8.57.1" lint-all: "workspace:~" prettier: "npm:~3.3.3" @@ -4057,7 +4055,6 @@ __metadata: resolution: "@rocket.chat/emitter@workspace:packages/emitter" dependencies: "@rocket.chat/eslint-config-alt": "workspace:~" - "@rocket.chat/prettier-config": "workspace:~" "@rollup/plugin-commonjs": "npm:~21.0.3" "@rollup/plugin-json": "npm:~4.1.0" "@rollup/plugin-node-resolve": "npm:~13.1.3" @@ -4095,7 +4092,7 @@ __metadata: peerDependencies: "@babel/eslint-parser": ^7.13.14 eslint: ~8.38.0 - prettier: ~2.7.1 + prettier: "*" languageName: unknown linkType: soft @@ -4105,7 +4102,6 @@ __metadata: dependencies: "@rocket.chat/eslint-config-alt": "workspace:~" "@rocket.chat/fuselage-tokens": "workspace:~" - "@rocket.chat/prettier-config": "workspace:~" "@rollup/plugin-commonjs": "npm:~21.0.3" "@rollup/plugin-json": "npm:~4.1.0" "@rollup/plugin-node-resolve": "npm:~13.1.3" @@ -4147,6 +4143,7 @@ __metadata: dependencies: "@changesets/changelog-github": "npm:~0.5.0" "@changesets/cli": "npm:~2.27.9" + "@rocket.chat/prettier-config": "workspace:~" husky: "npm:~9.1.6" hygen: "npm:~6.2.11" pinst: "npm:~3.0.0" @@ -4162,7 +4159,6 @@ __metadata: dependencies: "@juggle/resize-observer": "npm:^3.4.0" "@rocket.chat/eslint-config-alt": "workspace:~" - "@rocket.chat/prettier-config": "workspace:~" clipboard-polyfill: "npm:^3.0.3" element-closest-polyfill: "npm:^1.0.6" eslint: "npm:~8.57.1" @@ -4183,7 +4179,6 @@ __metadata: "@rocket.chat/fuselage-hooks": "workspace:~" "@rocket.chat/fuselage-tokens": "workspace:~" "@rocket.chat/layout": "workspace:~" - "@rocket.chat/prettier-config": "workspace:~" "@rocket.chat/styled": "workspace:~" "@storybook/addon-essentials": "npm:~8.4.1" "@storybook/addon-webpack5-compiler-swc": "npm:~1.0.5" @@ -4226,7 +4221,6 @@ __metadata: resolution: "@rocket.chat/fuselage-tokens@workspace:packages/fuselage-tokens" dependencies: "@rocket.chat/eslint-config-alt": "workspace:~" - "@rocket.chat/prettier-config": "workspace:~" build-design-tokens: "workspace:~" eslint: "npm:~8.57.1" eslint-config-prettier: "npm:~8.8.0" @@ -4262,7 +4256,6 @@ __metadata: "@rocket.chat/fuselage-tokens": "workspace:~" "@rocket.chat/icons": "workspace:~" "@rocket.chat/memo": "workspace:~" - "@rocket.chat/prettier-config": "workspace:~" "@rocket.chat/styled": "workspace:~" "@storybook/addon-a11y": "npm:~8.4.1" "@storybook/addon-essentials": "npm:~8.4.1" @@ -4352,7 +4345,6 @@ __metadata: resolution: "@rocket.chat/icons@workspace:packages/icons" dependencies: "@rocket.chat/eslint-config-alt": "workspace:~" - "@rocket.chat/prettier-config": "workspace:~" build-icons: "workspace:~" eslint: "npm:~8.57.1" lint-all: "workspace:~" @@ -4373,7 +4365,6 @@ __metadata: "@rocket.chat/eslint-config-alt": "workspace:~" "@rocket.chat/fuselage": "workspace:~" "@rocket.chat/fuselage-tokens": "workspace:~" - "@rocket.chat/prettier-config": "workspace:~" "@storybook/addon-essentials": "npm:~8.4.1" "@storybook/addon-webpack5-compiler-swc": "npm:~1.0.5" "@storybook/preview-api": "npm:~8.4.1" @@ -4413,7 +4404,6 @@ __metadata: "@rocket.chat/eslint-config-alt": "workspace:~" "@rocket.chat/fuselage-hooks": "workspace:~" "@rocket.chat/fuselage-tokens": "workspace:~" - "@rocket.chat/prettier-config": "workspace:~" "@rocket.chat/styled": "workspace:~" "@types/jest": "npm:~29.5.12" "@types/react": "npm:~17.0.80" @@ -4442,7 +4432,6 @@ __metadata: resolution: "@rocket.chat/memo@workspace:packages/memo" dependencies: "@rocket.chat/eslint-config-alt": "workspace:~" - "@rocket.chat/prettier-config": "workspace:~" "@types/jest": "npm:~29.5.12" eslint: "npm:~8.57.1" jest: "npm:~29.7.0" @@ -4464,7 +4453,6 @@ __metadata: "@babel/preset-env": "npm:~7.21.4" "@babel/preset-typescript": "npm:~7.21.4" "@rocket.chat/eslint-config-alt": "workspace:~" - "@rocket.chat/prettier-config": "workspace:~" "@rollup/plugin-commonjs": "npm:~24.1.0" "@rollup/plugin-node-resolve": "npm:~15.0.2" "@rollup/plugin-typescript": "npm:~11.1.0" @@ -4493,7 +4481,6 @@ __metadata: "@rocket.chat/icons": "workspace:~" "@rocket.chat/layout": "workspace:~" "@rocket.chat/logo": "workspace:~" - "@rocket.chat/prettier-config": "workspace:~" "@rocket.chat/styled": "workspace:~" "@storybook/addon-a11y": "npm:~8.4.1" "@storybook/addon-essentials": "npm:~8.4.1" @@ -4541,7 +4528,6 @@ __metadata: resolution: "@rocket.chat/peggy-loader@workspace:packages/peggy-loader" dependencies: "@rocket.chat/eslint-config-alt": "workspace:~" - "@rocket.chat/prettier-config": "workspace:~" "@types/node": "npm:~14.18.42" eslint: "npm:~8.57.1" lint-all: "workspace:~" @@ -4578,7 +4564,6 @@ __metadata: resolution: "@rocket.chat/string-helpers@workspace:packages/string-helpers" dependencies: "@rocket.chat/eslint-config-alt": "workspace:~" - "@rocket.chat/prettier-config": "workspace:~" "@types/jest": "npm:~29.5.12" eslint: "npm:~8.57.1" jest: "npm:~29.7.0" @@ -4598,7 +4583,6 @@ __metadata: dependencies: "@rocket.chat/css-in-js": "workspace:~" "@rocket.chat/eslint-config-alt": "workspace:~" - "@rocket.chat/prettier-config": "workspace:~" "@types/jest": "npm:~29.5.12" eslint: "npm:~8.57.1" jest: "npm:~29.7.0" @@ -4619,7 +4603,6 @@ __metadata: dependencies: "@rocket.chat/css-supports": "workspace:~" "@rocket.chat/eslint-config-alt": "workspace:~" - "@rocket.chat/prettier-config": "workspace:~" "@types/jest": "npm:~29.5.12" eslint: "npm:~8.57.1" jest: "npm:~29.7.0" @@ -16926,7 +16909,6 @@ __metadata: resolution: "scripts@workspace:tools/scripts" dependencies: "@rocket.chat/eslint-config-alt": "workspace:~" - "@rocket.chat/prettier-config": "workspace:~" "@types/node": "npm:~14.18.42" "@typescript-eslint/parser": "npm:~8.8.1" cross-env: "npm:^7.0.3" From 9d10e9053dfbae6a77c347995c1f8ef7620fe8e6 Mon Sep 17 00:00:00 2001 From: Tasso Date: Tue, 5 Nov 2024 05:35:45 -0300 Subject: [PATCH 03/11] Upgrade ESLint --- .vscode/settings.json | 22 - eslint.config.mjs | 525 +++++ package.json | 12 + packages/css-in-js/.eslintignore | 2 - packages/css-in-js/.eslintrc.js | 6 - packages/css-in-js/package.json | 2 +- packages/css-supports/.eslintignore | 2 - packages/css-supports/package.json | 5 +- packages/emitter/.eslintignore | 2 - packages/emitter/.eslintrc.js | 6 - packages/emitter/package.json | 2 +- packages/eslint-config-alt/.eslintignore | 1 - packages/eslint-config-alt/.eslintrc.js | 4 - packages/eslint-config-alt/package.json | 2 +- packages/fuselage-hooks/.eslintignore | 2 - packages/fuselage-hooks/.eslintrc.js | 8 - packages/fuselage-hooks/package.json | 2 +- packages/fuselage-polyfills/.eslintrc.js | 3 - packages/fuselage-polyfills/index.js | 6 +- packages/fuselage-polyfills/package.json | 2 +- packages/fuselage-toastbar/.eslintignore | 4 - packages/fuselage-toastbar/.eslintrc.js | 6 - packages/fuselage-toastbar/package.json | 2 +- packages/fuselage-tokens/.stylelintignore | 1 + packages/fuselage-tokens/package.json | 2 +- packages/fuselage/.eslintignore | 6 - packages/fuselage/.eslintrc.json | 25 - packages/fuselage/index.js | 1 + packages/fuselage/package.json | 2 +- .../fuselage/src/components/Slider/Slider.tsx | 1 - packages/fuselage/webpack.config.js | 3 +- packages/icons/.eslintignore | 1 - packages/icons/.eslintrc.js | 3 - packages/icons/package.json | 2 +- packages/layout/.eslintignore | 4 - packages/layout/package.json | 2 +- packages/logo/.eslintignore | 2 - packages/logo/.eslintrc.js | 6 - packages/logo/package.json | 2 +- packages/memo/.eslintignore | 2 - packages/memo/package.json | 2 +- packages/mp3-encoder/.eslintrc.json | 17 - packages/mp3-encoder/package.json | 2 +- packages/mp3-encoder/rollup.config.js | 1 + packages/mp3-encoder/src/lame/Encoder.ts | 1 - packages/onboarding-ui/.eslintignore | 4 - packages/onboarding-ui/.eslintrc.js | 6 - packages/onboarding-ui/.jest/setup.ts | 1 + packages/onboarding-ui/package.json | 2 +- .../LoginLinkEmailPage/LoginLinkEmailPage.tsx | 2 +- packages/peggy-loader/.eslintignore | 2 - packages/peggy-loader/.eslintrc.js | 6 - packages/peggy-loader/package.json | 2 +- packages/prettier-config/.eslintrc.js | 3 - packages/prettier-config/package.json | 2 +- packages/string-helpers/.eslintignore | 2 - packages/string-helpers/package.json | 2 +- packages/styled/.eslintignore | 2 - packages/styled/.eslintrc.js | 6 - packages/styled/package.json | 2 +- .../.eslintignore | 2 - .../.eslintrc.js | 6 - .../package.json | 2 +- tools/.eslintignore | 2 - tools/build-design-tokens/package.json | 7 +- tools/build-icons/.eslintrc.json | 6 - tools/build-icons/package.json | 7 +- tools/build-icons/svg.mjs | 1 + tools/build-logo/.eslintrc.json | 6 - tools/build-logo/package.json | 4 +- tools/lint-all/.eslintrc.json | 10 - tools/lint-all/lint.mjs | 8 +- tools/lint-all/package.json | 2 +- tools/scripts/.eslintignore | 1 - tools/scripts/.eslintrc.js | 6 - .../scripts/.prettierignore | 1 + tools/scripts/package.json | 2 +- tools/testing-utils/.eslintignore | 1 - tools/testing-utils/.eslintrc.json | 17 - .../testing-utils/mocks/withMatchMediaMock.js | 3 +- tools/testing-utils/package.json | 7 +- tools/testing-utils/setup/noErrorsLogged.js | 4 +- tools/tools-utils/files.mjs | 2 + tools/tools-utils/package.json | 7 +- tools/tools-utils/source.mjs | 22 +- tools/update-readme/.eslintrc.json | 17 - tools/update-readme/package.json | 5 + yarn.lock | 2075 +++++++++++++++-- 88 files changed, 2549 insertions(+), 444 deletions(-) create mode 100644 eslint.config.mjs delete mode 100644 packages/css-in-js/.eslintignore delete mode 100644 packages/css-in-js/.eslintrc.js delete mode 100644 packages/css-supports/.eslintignore delete mode 100644 packages/emitter/.eslintignore delete mode 100644 packages/emitter/.eslintrc.js delete mode 100644 packages/eslint-config-alt/.eslintignore delete mode 100644 packages/eslint-config-alt/.eslintrc.js delete mode 100644 packages/fuselage-hooks/.eslintignore delete mode 100644 packages/fuselage-hooks/.eslintrc.js delete mode 100644 packages/fuselage-polyfills/.eslintrc.js delete mode 100644 packages/fuselage-toastbar/.eslintignore delete mode 100644 packages/fuselage-toastbar/.eslintrc.js delete mode 100644 packages/fuselage/.eslintignore delete mode 100644 packages/fuselage/.eslintrc.json delete mode 100644 packages/icons/.eslintignore delete mode 100644 packages/icons/.eslintrc.js delete mode 100644 packages/layout/.eslintignore delete mode 100644 packages/logo/.eslintignore delete mode 100644 packages/logo/.eslintrc.js delete mode 100644 packages/memo/.eslintignore delete mode 100644 packages/mp3-encoder/.eslintrc.json delete mode 100644 packages/onboarding-ui/.eslintignore delete mode 100644 packages/onboarding-ui/.eslintrc.js delete mode 100644 packages/peggy-loader/.eslintignore delete mode 100644 packages/peggy-loader/.eslintrc.js delete mode 100644 packages/prettier-config/.eslintrc.js delete mode 100644 packages/string-helpers/.eslintignore delete mode 100644 packages/styled/.eslintignore delete mode 100644 packages/styled/.eslintrc.js delete mode 100644 packages/stylis-logical-props-middleware/.eslintignore delete mode 100644 packages/stylis-logical-props-middleware/.eslintrc.js delete mode 100644 tools/.eslintignore delete mode 100644 tools/build-icons/.eslintrc.json delete mode 100644 tools/build-logo/.eslintrc.json delete mode 100644 tools/lint-all/.eslintrc.json delete mode 100644 tools/scripts/.eslintignore delete mode 100644 tools/scripts/.eslintrc.js rename packages/prettier-config/.eslintignore => tools/scripts/.prettierignore (77%) delete mode 100644 tools/testing-utils/.eslintignore delete mode 100644 tools/testing-utils/.eslintrc.json delete mode 100644 tools/update-readme/.eslintrc.json diff --git a/.vscode/settings.json b/.vscode/settings.json index 9edf56ab80..1fe68f0a53 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,26 +1,4 @@ { - "eslint.workingDirectories": [ - { - "pattern": "packages/*", - "changeProcessCWD": true - }, - { - "pattern": "tools/*", - "changeProcessCWD": true - } - ], - "eslint.onIgnoredFiles": "warn", - "eslint.options": { - "extensions": [".js", ".jsx", ".md", ".mdx", ".ts", ".tsx", ".pegjs"] - }, - "eslint.validate": [ - "javascript", - "javascriptreact", - "typescript", - "typescriptreact", - "mdx", - "pegjs" - ], "editor.codeActionsOnSave": { "source.fixAll.eslint": "explicit" }, diff --git a/eslint.config.mjs b/eslint.config.mjs new file mode 100644 index 0000000000..f67c3081f6 --- /dev/null +++ b/eslint.config.mjs @@ -0,0 +1,525 @@ +// @ts-check +import tseslint from 'typescript-eslint'; +import globals from 'globals'; +import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended'; +import pluginImport from 'eslint-plugin-import'; +import pluginReact from 'eslint-plugin-react'; +import pluginReactHooks from 'eslint-plugin-react-hooks'; +import * as mdx from 'eslint-plugin-mdx'; + +export default tseslint.config( + { + ignores: ['**/dist/**', '.yarn/**'], + }, + { + rules: { + 'array-callback-return': ['error', { allowImplicit: true }], + 'block-scoped-var': 'error', + 'complexity': ['warn', 31], + 'curly': ['error', 'all'], + 'dot-notation': ['error', { allowKeywords: true }], + 'dot-location': ['error', 'property'], + 'eqeqeq': ['error', 'allow-null'], + 'guard-for-in': 'error', + 'no-caller': 'error', + 'no-div-regex': 'off', + 'no-else-return': ['error', { allowElseIf: false }], + 'no-empty-function': [ + 'error', + { + allow: ['arrowFunctions', 'functions', 'methods'], + }, + ], + 'no-empty-pattern': 'error', + 'no-eval': 'error', + 'no-extend-native': 'error', + 'no-extra-bind': 'error', + 'no-extra-label': 'error', + 'no-fallthrough': 'error', + 'no-floating-decimal': 'error', + 'no-implied-eval': 'error', + 'no-invalid-this': 'off', + 'no-iterator': 'error', + 'no-lone-blocks': 'error', + 'no-loop-func': 'error', + 'no-multi-spaces': 'error', + 'no-multi-str': 'error', + 'no-new-wrappers': 'error', + 'no-octal': 'error', + 'no-proto': 'error', + 'no-redeclare': 'error', + 'no-return-assign': ['error', 'always'], + 'no-return-await': 'error', + 'no-self-compare': 'error', + 'no-sequences': 'error', + 'no-throw-literal': 'error', + 'no-unused-labels': 'error', + 'no-useless-call': 'off', + 'no-useless-concat': 'error', + 'no-useless-return': 'error', + 'no-void': 'error', + 'wrap-iife': ['error', 'outside', { functionPrototypeMethods: false }], + 'yoda': 'error', + }, + }, + { + rules: { + 'for-direction': 'error', + 'getter-return': ['error', { allowImplicit: true }], + 'no-async-promise-executor': 'off', + 'no-await-in-loop': 'error', + 'no-compare-neg-zero': 'error', + 'no-cond-assign': 'error', + 'no-constant-condition': 'error', + 'no-control-regex': 'error', + 'no-debugger': 'error', + 'no-dupe-args': 'error', + 'no-dupe-keys': 'error', + 'no-duplicate-case': 'error', + 'no-empty': 'error', + 'no-empty-character-class': 'error', + 'no-ex-assign': 'error', + 'no-extra-boolean-cast': 'error', + 'no-extra-parens': [ + 'error', + 'all', + { + conditionalAssign: true, + nestedBinaryExpressions: false, + returnAssign: true, + ignoreJSX: 'all', + enforceForArrowConditionals: false, + }, + ], + 'no-extra-semi': 'error', + 'no-func-assign': 'error', + 'no-inner-declarations': ['error', 'functions'], + 'no-invalid-regexp': 'error', + 'no-irregular-whitespace': 'error', + 'no-obj-calls': 'error', + 'no-regex-spaces': 'error', + 'no-sparse-arrays': 'error', + 'no-unexpected-multiline': 'error', + 'no-unreachable': 'error', + 'no-unsafe-finally': 'error', + 'no-unsafe-negation': 'error', + 'no-negated-in-lhs': 'error', + 'require-atomic-updates': 'off', + 'use-isnan': 'error', + 'valid-typeof': ['error', { requireStringLiterals: true }], + }, + }, + { + languageOptions: { + globals: { + ...globals.node, + }, + }, + rules: {}, + }, + { + rules: { + 'array-bracket-spacing': ['error', 'never'], + 'block-spacing': 'error', + 'brace-style': ['error', '1tbs', { allowSingleLine: true }], + 'comma-dangle': ['error', 'always-multiline'], + 'comma-spacing': 'error', + 'comma-style': 'error', + 'computed-property-spacing': ['error', 'never'], + 'eol-last': ['error', 'always'], + 'func-call-spacing': ['error', 'never'], + 'indent': ['error', 'tab', { SwitchCase: 1 }], + 'key-spacing': ['error', { beforeColon: false, afterColon: true }], + 'keyword-spacing': 'error', + 'linebreak-style': ['error', 'unix'], + 'lines-between-class-members': [ + 'error', + 'always', + { exceptAfterSingleLine: false }, + ], + 'lines-around-directive': [ + 'error', + { + before: 'always', + after: 'always', + }, + ], + 'max-depth': ['off', 4], + 'new-cap': [ + 'error', + { + capIsNewExceptions: [ + 'Match.Optional', + 'Match.Maybe', + 'Match.OneOf', + 'Match.Where', + 'Match.ObjectIncluding', + 'Push.Configure', + 'SHA256', + ], + }, + ], + 'new-parens': 'error', + 'no-array-constructor': 'error', + 'no-lonely-if': 'error', + 'no-mixed-operators': [ + 'error', + { + // the list of arthmetic groups disallows mixing `%` and `**` + // with other arithmetic operators. + groups: [ + ['%', '**'], + ['%', '+'], + ['%', '-'], + ['%', '*'], + ['%', '/'], + ['**', '+'], + ['**', '-'], + ['**', '*'], + ['**', '/'], + ['&', '|', '^', '~', '<<', '>>', '>>>'], + ['==', '!=', '===', '!==', '>', '>=', '<', '<='], + ['&&', '||'], + ['in', 'instanceof'], + ], + allowSamePrecedence: false, + }, + ], + 'no-mixed-spaces-and-tabs': 'error', + 'no-multi-assign': ['error'], + 'no-multiple-empty-lines': ['error', { max: 2, maxEOF: 0 }], + 'no-nested-ternary': 'error', + 'no-spaced-func': 'error', + 'no-trailing-spaces': [ + 'error', + { + skipBlankLines: false, + ignoreComments: false, + }, + ], + 'no-unneeded-ternary': ['error', { defaultAssignment: false }], + 'no-whitespace-before-property': 'error', + 'object-curly-spacing': ['error', 'always'], + 'object-property-newline': [ + 'error', + { + allowAllPropertiesOnSameLine: true, + }, + ], + 'one-var': ['error', 'never'], + 'operator-assignment': ['error', 'always'], + 'operator-linebreak': ['error', 'before', { overrides: { '=': 'none' } }], + 'padded-blocks': [ + 'error', + { blocks: 'never', classes: 'never', switches: 'never' }, + ], + 'prefer-object-spread': 'off', + 'quote-props': [ + 'error', + 'as-needed', + { keywords: false, unnecessary: true, numbers: false }, + ], + 'quotes': ['error', 'single', { avoidEscape: true }], + 'semi': ['error', 'always'], + 'semi-spacing': ['error', { before: false, after: true }], + 'semi-style': ['error', 'last'], + 'space-before-blocks': ['error', 'always'], + 'space-before-function-paren': [ + 'error', + { anonymous: 'never', named: 'never', asyncArrow: 'always' }, + ], + 'space-in-parens': ['error', 'never'], + 'space-infix-ops': 'error', + 'spaced-comment': 'error', + 'switch-colon-spacing': ['error', { after: true, before: false }], + }, + }, + { + rules: { + 'no-delete-var': 'error', + 'no-undef': 'error', + 'no-unused-vars': [ + 'error', + { + vars: 'all', + args: 'after-used', + ignoreRestSiblings: true, + }, + ], + 'no-use-before-define': [ + 'error', + { functions: true, classes: true, variables: true }, + ], + }, + }, + { + languageOptions: { + globals: { + ...globals.es2015, + }, + parserOptions: { + ecmaVersion: 6, + sourceType: 'module', + ecmaFeatures: { + generators: false, + objectLiteralDuplicateProperties: false, + }, + }, + }, + rules: { + 'arrow-body-style': [ + 'error', + 'as-needed', + { + requireReturnForObjectLiteral: false, + }, + ], + 'arrow-parens': ['error', 'always'], + 'arrow-spacing': ['error', { before: true, after: true }], + 'no-confusing-arrow': [ + 'error', + { + allowParens: true, + }, + ], + 'no-const-assign': 'error', + 'no-dupe-class-members': 'error', + 'no-duplicate-imports': 'off', + 'no-this-before-super': 'error', + 'no-useless-computed-key': 'error', + 'no-useless-constructor': 'error', + 'no-useless-rename': [ + 'error', + { + ignoreDestructuring: false, + ignoreImport: false, + ignoreExport: false, + }, + ], + 'no-var': 'error', + 'object-shorthand': 'error', + 'prefer-const': [ + 'error', + { + destructuring: 'any', + ignoreReadBeforeAssign: true, + }, + ], + 'prefer-destructuring': [ + 'error', + { + VariableDeclarator: { + array: false, + object: true, + }, + AssignmentExpression: { + array: false, + object: false, + }, + }, + { + enforceForRenamedProperties: false, + }, + ], + 'prefer-rest-params': 'error', + 'prefer-template': 'error', + 'rest-spread-spacing': ['error', 'never'], + 'template-curly-spacing': ['error', 'always'], + }, + }, + { + languageOptions: { + globals: { + ...globals.es2015, + }, + parserOptions: { + ecmaVersion: 6, + sourceType: 'module', + }, + }, + plugins: { + import: pluginImport, + }, + settings: { + 'import/resolver': { + node: { + extensions: ['.mjs', '.js', '.json'], + }, + }, + 'import/extensions': ['.js', '.mjs', '.jsx'], + 'import/core-modules': [], + 'import/ignore': [ + 'node_modules', + '\\.(coffee|scss|css|less|hbs|svg|json)$', + ], + }, + rules: { + 'import/no-unresolved': [ + 'error', + { + commonjs: true, + caseSensitive: true, + amd: true, + ignore: ['^meteor/.+$'], + }, + ], + 'import/named': 'off', + 'import/default': 'off', + 'import/namespace': 'off', + 'import/export': 'error', + 'import/no-named-as-default': 'off', + 'import/no-named-as-default-member': 'off', + 'import/first': 'error', + 'import/no-duplicates': 'error', + 'import/order': [ + 'error', + { + 'newlines-between': 'always', + 'groups': [ + 'builtin', + 'external', + 'internal', + ['parent', 'sibling', 'index'], + ], + }, + ], + 'import/newline-after-import': 'error', + 'import/no-absolute-path': 'error', + 'import/no-dynamic-require': 'error', + 'import/no-self-import': 'error', + 'import/no-cycle': 'off', + 'import/no-useless-path-segments': 'error', + }, + }, + eslintPluginPrettierRecommended, + { + files: ['**/*.{js,cjs,mjs}'], + languageOptions: { + globals: { + ...globals.browser, + ...globals.commonjs, + ...globals.es6, + ...globals.node, + ...globals.jquery, + }, + parserOptions: { + sourceType: 'module', + ecmaVersion: 2018, + ecmaFeatures: { + generators: false, + objectLiteralDuplicateProperties: false, + }, + }, + }, + }, + ...tseslint.configs.recommended, + { + files: ['**/*.{ts,tsx,cts,ctsx,mts,mtsx}'], + rules: { + '@typescript-eslint/no-dupe-class-members': 'error', + '@typescript-eslint/no-explicit-any': 'off', + '@typescript-eslint/no-unused-vars': [ + 'error', + { + argsIgnorePattern: '^_', + ignoreRestSiblings: true, + }, + ], + 'no-dupe-class-members': 'off', + 'no-empty-function': 'off', + 'no-use-before-define': 'off', + 'no-useless-constructor': 'off', + }, + settings: { + 'import/resolver': { + node: { + extensions: ['.js', '.jsx', '.ts', '.tsx'], + }, + typescript: {}, + }, + }, + }, + { + plugins: { 'react': pluginReact, 'react-hooks': pluginReactHooks }, + languageOptions: { + globals: { + ...globals.browser, + ...globals.es2015, + }, + }, + rules: { + 'jsx-quotes': ['error', 'prefer-single'], + 'react/display-name': 'error', + 'react/self-closing-comp': 'error', + 'react/jsx-uses-react': 'off', + 'react/jsx-uses-vars': 'error', + 'react/jsx-no-undef': 'error', + 'react/jsx-fragments': ['error', 'syntax'], + 'react/no-multi-comp': 'error', + 'react/react-in-jsx-scope': 'off', + 'react-hooks/rules-of-hooks': 'error', + 'react-hooks/exhaustive-deps': 'warn', + }, + settings: { + react: { + version: 'detect', + }, + }, + }, + { + files: [ + '**/*.stories.js', + '**/*.stories.jsx', + '**/*.stories.ts', + '**/*.stories.tsx', + ], + rules: { + 'react/display-name': 'off', + 'react/no-multi-comp': 'off', + }, + }, + { + files: ['packages/fuselage/**/*.ts?(x)', 'packages/layout/**/*.ts?(x)'], + rules: { + '@typescript-eslint/explicit-module-boundary-types': 'off', + '@typescript-eslint/no-empty-function': 'off', + '@typescript-eslint/no-use-before-define': 'off', + 'react/display-name': 'off', + 'react/no-multi-comp': 'off', + }, + }, + { + ...mdx.flat, + }, + { + ...mdx.flatCodeBlocks, + rules: { + ...mdx.flatCodeBlocks.rules, + 'react/self-closing-comp': 'off', + }, + }, + { + files: ['packages/fuselage/**/*.{js,mdx}'], + settings: { + 'import/resolver': { + node: { + extensions: ['.js', '.jsx', '.ts', '.tsx'], + }, + }, + }, + }, + { + files: ['packages/mp3-encoder/**/*.ts'], + rules: { + 'new-cap': 'off', + }, + }, + { + files: ['tools/testing-utils/**/*.js'], + languageOptions: { + globals: { + ...globals.jest, + }, + }, + }, +); diff --git a/package.json b/package.json index 0ac7c645c8..901ce759a0 100644 --- a/package.json +++ b/package.json @@ -8,12 +8,24 @@ "devDependencies": { "@changesets/changelog-github": "~0.5.0", "@changesets/cli": "~2.27.9", + "@eslint/js": "~9.14.0", + "@rocket.chat/eslint-config-alt": "workspace:~", "@rocket.chat/prettier-config": "workspace:~", + "@types/eslint__js": "~8.42.3", + "eslint": "~9.14.0", + "eslint-import-resolver-typescript": "~3.6.3", + "eslint-plugin-import": "~2.31.0", + "eslint-plugin-mdx": "~3.1.5", + "eslint-plugin-react": "~7.37.2", + "eslint-plugin-react-hooks": "~5.0.0", + "globals": "~15.12.0", "husky": "~9.1.6", "hygen": "~6.2.11", "pinst": "~3.0.0", "prettier": "~3.3.3", "turbo": "~2.2.3", + "typescript": "~5.6.3", + "typescript-eslint": "~8.13.0", "update-readme": "workspace:~" }, "scripts": { diff --git a/packages/css-in-js/.eslintignore b/packages/css-in-js/.eslintignore deleted file mode 100644 index 8225baa4a7..0000000000 --- a/packages/css-in-js/.eslintignore +++ /dev/null @@ -1,2 +0,0 @@ -/node_modules -/dist diff --git a/packages/css-in-js/.eslintrc.js b/packages/css-in-js/.eslintrc.js deleted file mode 100644 index d11c05a965..0000000000 --- a/packages/css-in-js/.eslintrc.js +++ /dev/null @@ -1,6 +0,0 @@ -module.exports = { - extends: '@rocket.chat/eslint-config-alt/typescript', - env: { - jest: true, - }, -}; diff --git a/packages/css-in-js/package.json b/packages/css-in-js/package.json index c7b96ee8c3..f9fbb01701 100644 --- a/packages/css-in-js/package.json +++ b/packages/css-in-js/package.json @@ -47,7 +47,7 @@ "@rollup/plugin-typescript": "~8.3.4", "@types/jest": "~29.5.12", "@types/stylis": "^4.0.2", - "eslint": "~8.57.1", + "eslint": "~9.14.0", "jest": "~29.7.0", "lint-all": "workspace:~", "prettier": "~3.3.3", diff --git a/packages/css-supports/.eslintignore b/packages/css-supports/.eslintignore deleted file mode 100644 index 8225baa4a7..0000000000 --- a/packages/css-supports/.eslintignore +++ /dev/null @@ -1,2 +0,0 @@ -/node_modules -/dist diff --git a/packages/css-supports/package.json b/packages/css-supports/package.json index 0730de93ab..94e94d0647 100644 --- a/packages/css-supports/package.json +++ b/packages/css-supports/package.json @@ -34,7 +34,7 @@ }, "devDependencies": { "@rocket.chat/eslint-config-alt": "workspace:~", - "eslint": "~8.57.1", + "eslint": "~9.14.0", "lint-all": "workspace:~", "prettier": "~3.3.3", "rimraf": "~3.0.2", @@ -43,8 +43,5 @@ }, "dependencies": { "@rocket.chat/memo": "workspace:~" - }, - "eslintConfig": { - "extends": "@rocket.chat/eslint-config-alt/typescript" } } diff --git a/packages/emitter/.eslintignore b/packages/emitter/.eslintignore deleted file mode 100644 index 8225baa4a7..0000000000 --- a/packages/emitter/.eslintignore +++ /dev/null @@ -1,2 +0,0 @@ -/node_modules -/dist diff --git a/packages/emitter/.eslintrc.js b/packages/emitter/.eslintrc.js deleted file mode 100644 index d11c05a965..0000000000 --- a/packages/emitter/.eslintrc.js +++ /dev/null @@ -1,6 +0,0 @@ -module.exports = { - extends: '@rocket.chat/eslint-config-alt/typescript', - env: { - jest: true, - }, -}; diff --git a/packages/emitter/package.json b/packages/emitter/package.json index 307a20b8ae..cba8aa5163 100644 --- a/packages/emitter/package.json +++ b/packages/emitter/package.json @@ -46,7 +46,7 @@ "@rollup/plugin-node-resolve": "~13.1.3", "@rollup/plugin-typescript": "~8.3.4", "@types/jest": "~29.5.12", - "eslint": "~8.57.1", + "eslint": "~9.14.0", "jest": "~29.7.0", "lint-all": "workspace:~", "npm-run-all": "^4.1.5", diff --git a/packages/eslint-config-alt/.eslintignore b/packages/eslint-config-alt/.eslintignore deleted file mode 100644 index 07e6e472cc..0000000000 --- a/packages/eslint-config-alt/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -/node_modules diff --git a/packages/eslint-config-alt/.eslintrc.js b/packages/eslint-config-alt/.eslintrc.js deleted file mode 100644 index 6074be0213..0000000000 --- a/packages/eslint-config-alt/.eslintrc.js +++ /dev/null @@ -1,4 +0,0 @@ -/** @type {import('eslint').Linter.Config} */ -module.exports = { - extends: './minimal', -}; diff --git a/packages/eslint-config-alt/package.json b/packages/eslint-config-alt/package.json index 5340b1dc6e..79dfc087b5 100644 --- a/packages/eslint-config-alt/package.json +++ b/packages/eslint-config-alt/package.json @@ -37,7 +37,7 @@ }, "devDependencies": { "@babel/eslint-parser": "~7.21.3", - "eslint": "~8.57.1", + "eslint": "~9.14.0", "lint-all": "workspace:~", "prettier": "~3.3.3" }, diff --git a/packages/fuselage-hooks/.eslintignore b/packages/fuselage-hooks/.eslintignore deleted file mode 100644 index 8225baa4a7..0000000000 --- a/packages/fuselage-hooks/.eslintignore +++ /dev/null @@ -1,2 +0,0 @@ -/node_modules -/dist diff --git a/packages/fuselage-hooks/.eslintrc.js b/packages/fuselage-hooks/.eslintrc.js deleted file mode 100644 index 8b7d203808..0000000000 --- a/packages/fuselage-hooks/.eslintrc.js +++ /dev/null @@ -1,8 +0,0 @@ -module.exports = { - extends: '@rocket.chat/eslint-config-alt/typescript', - plugins: ['react-hooks'], - rules: { - 'react-hooks/rules-of-hooks': 'error', - 'react-hooks/exhaustive-deps': 'error', - }, -}; diff --git a/packages/fuselage-hooks/package.json b/packages/fuselage-hooks/package.json index 34c380e095..2084643d36 100644 --- a/packages/fuselage-hooks/package.json +++ b/packages/fuselage-hooks/package.json @@ -55,7 +55,7 @@ "@types/react-dom": "~17.0.25", "@types/resize-observer-browser": "~0.1.7", "@types/use-sync-external-store": "~0.0.3", - "eslint": "~8.57.1", + "eslint": "~9.14.0", "jest": "~29.7.0", "jest-environment-jsdom": "~29.7.0", "lint-all": "workspace:~", diff --git a/packages/fuselage-polyfills/.eslintrc.js b/packages/fuselage-polyfills/.eslintrc.js deleted file mode 100644 index 865184edf0..0000000000 --- a/packages/fuselage-polyfills/.eslintrc.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - extends: '@rocket.chat/eslint-config-alt/minimal', -}; diff --git a/packages/fuselage-polyfills/index.js b/packages/fuselage-polyfills/index.js index 5557b95357..89633cecae 100644 --- a/packages/fuselage-polyfills/index.js +++ b/packages/fuselage-polyfills/index.js @@ -1,7 +1,11 @@ +/* eslint-disable @typescript-eslint/no-require-imports */ require('focus-within-polyfill'); require('focus-visible'); window.ResizeObserver = window.ResizeObserver || require('@juggle/resize-observer').ResizeObserver; -if (!navigator.clipboard) navigator.clipboard = require('clipboard-polyfill'); + +if (!navigator.clipboard) { + navigator.clipboard = require('clipboard-polyfill'); +} require('element-closest-polyfill'); require('new-event-polyfill'); diff --git a/packages/fuselage-polyfills/package.json b/packages/fuselage-polyfills/package.json index f941da0b98..436eda1ef5 100644 --- a/packages/fuselage-polyfills/package.json +++ b/packages/fuselage-polyfills/package.json @@ -33,7 +33,7 @@ }, "devDependencies": { "@rocket.chat/eslint-config-alt": "workspace:~", - "eslint": "~8.57.1", + "eslint": "~9.14.0", "lint-all": "workspace:~", "prettier": "~3.3.3" } diff --git a/packages/fuselage-toastbar/.eslintignore b/packages/fuselage-toastbar/.eslintignore deleted file mode 100644 index 968aff0559..0000000000 --- a/packages/fuselage-toastbar/.eslintignore +++ /dev/null @@ -1,4 +0,0 @@ -/dist -/node_modules -/storybook-static -!/.storybook diff --git a/packages/fuselage-toastbar/.eslintrc.js b/packages/fuselage-toastbar/.eslintrc.js deleted file mode 100644 index d11c05a965..0000000000 --- a/packages/fuselage-toastbar/.eslintrc.js +++ /dev/null @@ -1,6 +0,0 @@ -module.exports = { - extends: '@rocket.chat/eslint-config-alt/typescript', - env: { - jest: true, - }, -}; diff --git a/packages/fuselage-toastbar/package.json b/packages/fuselage-toastbar/package.json index bebdfa303a..ac046977c7 100644 --- a/packages/fuselage-toastbar/package.json +++ b/packages/fuselage-toastbar/package.json @@ -63,7 +63,7 @@ "@types/jest": "~29.5.12", "@types/react": "~17.0.80", "@types/react-dom": "~17.0.25", - "eslint": "~8.57.1", + "eslint": "~9.14.0", "jest": "~29.7.0", "jest-environment-jsdom": "~29.7.0", "lint-all": "workspace:~", diff --git a/packages/fuselage-tokens/.stylelintignore b/packages/fuselage-tokens/.stylelintignore index e69de29bb2..1521c8b765 100644 --- a/packages/fuselage-tokens/.stylelintignore +++ b/packages/fuselage-tokens/.stylelintignore @@ -0,0 +1 @@ +dist diff --git a/packages/fuselage-tokens/package.json b/packages/fuselage-tokens/package.json index fcdd804397..3c5d58dc34 100644 --- a/packages/fuselage-tokens/package.json +++ b/packages/fuselage-tokens/package.json @@ -41,7 +41,7 @@ "devDependencies": { "@rocket.chat/eslint-config-alt": "workspace:~", "build-design-tokens": "workspace:~", - "eslint": "~8.57.1", + "eslint": "~9.14.0", "eslint-config-prettier": "~8.8.0", "eslint-plugin-import": "~2.26.0", "eslint-plugin-prettier": "~5.2.1", diff --git a/packages/fuselage/.eslintignore b/packages/fuselage/.eslintignore deleted file mode 100644 index a0c5a8304a..0000000000 --- a/packages/fuselage/.eslintignore +++ /dev/null @@ -1,6 +0,0 @@ -/dist -/node_modules -/storybook-static -!/.babelrc.js -!/.jest -!/.storybook diff --git a/packages/fuselage/.eslintrc.json b/packages/fuselage/.eslintrc.json deleted file mode 100644 index bd41f4a86d..0000000000 --- a/packages/fuselage/.eslintrc.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "extends": [ - "@rocket.chat/eslint-config-alt/typescript", - "@rocket.chat/eslint-config-alt/react" - ], - "rules": { - "@typescript-eslint/explicit-module-boundary-types": "off", - "@typescript-eslint/no-empty-function": "off", - "@typescript-eslint/no-use-before-define": "off", - "react/display-name": "off", - "react/no-multi-comp": "off" - }, - "env": { - "jest": true - }, - "overrides": [ - { - "files": ["*.mdx"], - "extends": ["plugin:mdx/recommended"], - "rules": { - "react/self-closing-comp": "off" - } - } - ] -} diff --git a/packages/fuselage/index.js b/packages/fuselage/index.js index 404f133e02..ee912ad617 100644 --- a/packages/fuselage/index.js +++ b/packages/fuselage/index.js @@ -1,3 +1,4 @@ +/* eslint-disable @typescript-eslint/no-require-imports */ if (process.env.NODE_ENV === 'production') { module.exports = require('./dist/fuselage.production.js'); } else { diff --git a/packages/fuselage/package.json b/packages/fuselage/package.json index b3a3591c4f..a75e8e14e2 100644 --- a/packages/fuselage/package.json +++ b/packages/fuselage/package.json @@ -100,7 +100,7 @@ "css-loader": "~6.7.3", "cssnano": "~5.0.17", "es-check": "~7.1.1", - "eslint": "~8.57.1", + "eslint": "~9.14.0", "eslint-mdx": "~2.0.5", "eslint-plugin-mdx": "~2.0.5", "jest": "~29.7.0", diff --git a/packages/fuselage/src/components/Slider/Slider.tsx b/packages/fuselage/src/components/Slider/Slider.tsx index b55d60a70d..75b880819a 100644 --- a/packages/fuselage/src/components/Slider/Slider.tsx +++ b/packages/fuselage/src/components/Slider/Slider.tsx @@ -1,4 +1,3 @@ -/* eslint-disable no-nested-ternary */ import { css } from '@rocket.chat/css-in-js'; import type { AriaAttributes, ReactElement } from 'react'; import { useMemo, useRef } from 'react'; diff --git a/packages/fuselage/webpack.config.js b/packages/fuselage/webpack.config.js index 9b039d9bb9..50516674fc 100644 --- a/packages/fuselage/webpack.config.js +++ b/packages/fuselage/webpack.config.js @@ -1,5 +1,4 @@ -'use strict'; - +/* eslint-disable @typescript-eslint/no-require-imports */ const path = require('path'); const MiniCssExtractPlugin = require('mini-css-extract-plugin'); diff --git a/packages/icons/.eslintignore b/packages/icons/.eslintignore deleted file mode 100644 index 178135c2b2..0000000000 --- a/packages/icons/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -/dist/ diff --git a/packages/icons/.eslintrc.js b/packages/icons/.eslintrc.js deleted file mode 100644 index 865184edf0..0000000000 --- a/packages/icons/.eslintrc.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - extends: '@rocket.chat/eslint-config-alt/minimal', -}; diff --git a/packages/icons/package.json b/packages/icons/package.json index c330515067..44d867ee3a 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -31,7 +31,7 @@ "devDependencies": { "@rocket.chat/eslint-config-alt": "workspace:~", "build-icons": "workspace:~", - "eslint": "~8.57.1", + "eslint": "~9.14.0", "lint-all": "workspace:~", "npm-run-all": "^4.1.5", "prettier": "~3.3.3", diff --git a/packages/layout/.eslintignore b/packages/layout/.eslintignore deleted file mode 100644 index 26042f8639..0000000000 --- a/packages/layout/.eslintignore +++ /dev/null @@ -1,4 +0,0 @@ -/dist -/node_modules -/storybook-static -!.storybook diff --git a/packages/layout/package.json b/packages/layout/package.json index 2f3339627c..323f3ee0a2 100644 --- a/packages/layout/package.json +++ b/packages/layout/package.json @@ -50,7 +50,7 @@ "@types/jest": "~29.5.12", "@types/react": "~17.0.80", "@types/react-dom": "~17.0.25", - "eslint": "~8.57.1", + "eslint": "~9.14.0", "jest": "~29.7.0", "jest-environment-jsdom": "~29.7.0", "lint-all": "workspace:~", diff --git a/packages/logo/.eslintignore b/packages/logo/.eslintignore deleted file mode 100644 index 8225baa4a7..0000000000 --- a/packages/logo/.eslintignore +++ /dev/null @@ -1,2 +0,0 @@ -/node_modules -/dist diff --git a/packages/logo/.eslintrc.js b/packages/logo/.eslintrc.js deleted file mode 100644 index d11c05a965..0000000000 --- a/packages/logo/.eslintrc.js +++ /dev/null @@ -1,6 +0,0 @@ -module.exports = { - extends: '@rocket.chat/eslint-config-alt/typescript', - env: { - jest: true, - }, -}; diff --git a/packages/logo/package.json b/packages/logo/package.json index 0ecbeb8185..f5240cf447 100644 --- a/packages/logo/package.json +++ b/packages/logo/package.json @@ -47,7 +47,7 @@ "@types/react": "~17.0.80", "@types/react-dom": "~17.0.25", "build-logo": "workspace:~", - "eslint": "~8.57.1", + "eslint": "~9.14.0", "jest": "~29.7.0", "jest-environment-jsdom": "~29.7.0", "lint-all": "workspace:~", diff --git a/packages/memo/.eslintignore b/packages/memo/.eslintignore deleted file mode 100644 index 8225baa4a7..0000000000 --- a/packages/memo/.eslintignore +++ /dev/null @@ -1,2 +0,0 @@ -/node_modules -/dist diff --git a/packages/memo/package.json b/packages/memo/package.json index 1f33353b13..e1a1247dee 100644 --- a/packages/memo/package.json +++ b/packages/memo/package.json @@ -41,7 +41,7 @@ "devDependencies": { "@rocket.chat/eslint-config-alt": "workspace:~", "@types/jest": "~29.5.12", - "eslint": "~8.57.1", + "eslint": "~9.14.0", "jest": "~29.7.0", "lint-all": "workspace:~", "prettier": "~3.3.3", diff --git a/packages/mp3-encoder/.eslintrc.json b/packages/mp3-encoder/.eslintrc.json deleted file mode 100644 index 2d304833e0..0000000000 --- a/packages/mp3-encoder/.eslintrc.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$schema": "https://json.schemastore.org/eslintrc", - "extends": "@rocket.chat/eslint-config-alt/minimal", - "env": { - "jest": true - }, - "ignorePatterns": ["dist", "node_modules", "src/lame/*.js"], - "overrides": [ - { - "files": ["*.ts", "*.tsx"], - "extends": "@rocket.chat/eslint-config-alt/typescript", - "rules": { - "new-cap": "off" - } - } - ] -} diff --git a/packages/mp3-encoder/package.json b/packages/mp3-encoder/package.json index 5b3a0f679d..b211a23358 100644 --- a/packages/mp3-encoder/package.json +++ b/packages/mp3-encoder/package.json @@ -48,7 +48,7 @@ "@rollup/plugin-node-resolve": "~15.0.2", "@rollup/plugin-typescript": "~11.1.0", "@types/jest": "~29.5.12", - "eslint": "~8.57.1", + "eslint": "~9.14.0", "jest": "~29.7.0", "jest-environment-jsdom": "~29.7.0", "lint-all": "workspace:~", diff --git a/packages/mp3-encoder/rollup.config.js b/packages/mp3-encoder/rollup.config.js index bc0eb72e04..08fc9a1503 100644 --- a/packages/mp3-encoder/rollup.config.js +++ b/packages/mp3-encoder/rollup.config.js @@ -1,3 +1,4 @@ +/* eslint-disable @typescript-eslint/no-require-imports */ const path = require('path'); const commonjs = require('@rollup/plugin-commonjs'); diff --git a/packages/mp3-encoder/src/lame/Encoder.ts b/packages/mp3-encoder/src/lame/Encoder.ts index cb2ad073b4..0fbacecbb6 100644 --- a/packages/mp3-encoder/src/lame/Encoder.ts +++ b/packages/mp3-encoder/src/lame/Encoder.ts @@ -142,7 +142,6 @@ export class Encoder { } } - // eslint-disable-next-line complexity lame_encode_mp3_frame( gfp: LameGlobalFlags, inbuf_l: Float32Array, diff --git a/packages/onboarding-ui/.eslintignore b/packages/onboarding-ui/.eslintignore deleted file mode 100644 index be6d16b821..0000000000 --- a/packages/onboarding-ui/.eslintignore +++ /dev/null @@ -1,4 +0,0 @@ -/node_modules -/dist -/storybook-static -!/.storybook \ No newline at end of file diff --git a/packages/onboarding-ui/.eslintrc.js b/packages/onboarding-ui/.eslintrc.js deleted file mode 100644 index d11c05a965..0000000000 --- a/packages/onboarding-ui/.eslintrc.js +++ /dev/null @@ -1,6 +0,0 @@ -module.exports = { - extends: '@rocket.chat/eslint-config-alt/typescript', - env: { - jest: true, - }, -}; diff --git a/packages/onboarding-ui/.jest/setup.ts b/packages/onboarding-ui/.jest/setup.ts index 6b951d45c1..0c3a7ecc1a 100644 --- a/packages/onboarding-ui/.jest/setup.ts +++ b/packages/onboarding-ui/.jest/setup.ts @@ -1,5 +1,6 @@ import i18next from 'i18next'; import { initReactI18next } from 'react-i18next'; + import ResizeObserverMock from './ResizeObserverMock'; beforeAll(async () => { diff --git a/packages/onboarding-ui/package.json b/packages/onboarding-ui/package.json index f4978451f0..c0a7fef00f 100644 --- a/packages/onboarding-ui/package.json +++ b/packages/onboarding-ui/package.json @@ -60,7 +60,7 @@ "@types/react": "~17.0.80", "@types/react-dom": "~17.0.25", "countries-list": "^2.6.1", - "eslint": "~8.57.1", + "eslint": "~9.14.0", "jest": "~29.7.0", "jest-environment-jsdom": "~29.7.0", "lint-all": "workspace:~", diff --git a/packages/onboarding-ui/src/pages/LoginLinkEmailPage/LoginLinkEmailPage.tsx b/packages/onboarding-ui/src/pages/LoginLinkEmailPage/LoginLinkEmailPage.tsx index 12523600f2..4f0c3d6823 100644 --- a/packages/onboarding-ui/src/pages/LoginLinkEmailPage/LoginLinkEmailPage.tsx +++ b/packages/onboarding-ui/src/pages/LoginLinkEmailPage/LoginLinkEmailPage.tsx @@ -36,7 +36,7 @@ const LoginLinkEmailPage = ({ - + { @@ -17,7 +18,7 @@ const withMatchMediaMock = () => { this._onchange = null; this.changeEventListeners = new Set([ (ev) => { - this._onchange && this._onchange.call(this, ev); + this._onchange?.call(this, ev); }, ]); } diff --git a/tools/testing-utils/package.json b/tools/testing-utils/package.json index 8866186884..4f20dc8e78 100644 --- a/tools/testing-utils/package.json +++ b/tools/testing-utils/package.json @@ -10,5 +10,10 @@ "dependencies": { "css-mediaquery": "^0.1.2" }, - "version": "0.31.25" + "version": "0.31.25", + "devDependencies": { + "eslint": "~9.14.0", + "lint-all": "workspace:~", + "prettier": "~3.3.3" + } } diff --git a/tools/testing-utils/setup/noErrorsLogged.js b/tools/testing-utils/setup/noErrorsLogged.js index d0a6f11f6b..a11b2b83c4 100644 --- a/tools/testing-utils/setup/noErrorsLogged.js +++ b/tools/testing-utils/setup/noErrorsLogged.js @@ -11,7 +11,7 @@ afterAll(() => { expect(spyConsoleError).not.toBeCalled(); expect(spyConsoleWarn).not.toBeCalled(); } finally { - spyConsoleError && spyConsoleError.mockRestore(); - spyConsoleWarn && spyConsoleWarn.mockRestore(); + spyConsoleError?.mockRestore(); + spyConsoleWarn?.mockRestore(); } }); diff --git a/tools/tools-utils/files.mjs b/tools/tools-utils/files.mjs index 63396b93b5..6842193151 100644 --- a/tools/tools-utils/files.mjs +++ b/tools/tools-utils/files.mjs @@ -1,8 +1,10 @@ import { lstat, readlink, readFile, writeFile, mkdir } from 'fs/promises'; import { dirname, join } from 'path'; import { promisify } from 'util'; + import rimraf from 'rimraf'; import fg from 'fast-glob'; + import { encodeJson, decodeJson } from './json.mjs'; import { encodeJson5, decodeJson5 } from './json5.mjs'; diff --git a/tools/tools-utils/package.json b/tools/tools-utils/package.json index b420804e0d..30b99c8a05 100644 --- a/tools/tools-utils/package.json +++ b/tools/tools-utils/package.json @@ -14,5 +14,10 @@ "json5": "^2.2.3", "rimraf": "^3.0.2" }, - "version": "0.31.25" + "version": "0.31.25", + "devDependencies": { + "eslint": "~9.14.0", + "lint-all": "workspace:~", + "prettier": "~3.3.3" + } } diff --git a/tools/tools-utils/source.mjs b/tools/tools-utils/source.mjs index fc6b3562e5..bc2a6bb3c6 100644 --- a/tools/tools-utils/source.mjs +++ b/tools/tools-utils/source.mjs @@ -7,16 +7,24 @@ import stylelint from 'stylelint'; import { encodeJson } from './json.mjs'; export const runEslint = (path) => async (source) => { - const eslint = new ESLint({ fix: true, extensions: [extname(path)] }); - const results = await eslint.lintText(source); - const [result] = results; + const eslint = new ESLint({ fix: true }); + const results = await eslint.lintText(source, { + filePath: path, + warnIgnored: true, + }); + + const formatter = await eslint.loadFormatter('stylish'); + const resultText = await formatter.format(results); - if (result.fatalErrorCount > 0) { - throw new Error(result.messages.map(({ message }) => message).join('\n')); + if (results.some((result) => result.fatalErrorCount > 0)) { + throw new Error(resultText); } - await ESLint.outputFixes(results); - return result.output; + console.log(resultText); + + const [result] = results; + + return result.output ?? source; }; export const runStylelint = (path) => async (source) => { diff --git a/tools/update-readme/.eslintrc.json b/tools/update-readme/.eslintrc.json deleted file mode 100644 index bc8eac0f18..0000000000 --- a/tools/update-readme/.eslintrc.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "extends": "@rocket.chat/eslint-config-alt/minimal", - "parserOptions": { - "ecmaVersion": "latest", - "sourceType": "module" - }, - "env": { - "node": true - }, - "settings": { - "import/resolver": { - "node": { - "extensions": [".js", ".mjs"] - } - } - } -} diff --git a/tools/update-readme/package.json b/tools/update-readme/package.json index 137bd89679..0949d820cc 100644 --- a/tools/update-readme/package.json +++ b/tools/update-readme/package.json @@ -6,5 +6,10 @@ "dependencies": { "outdent": "^0.8.0", "zx": "~8.1.9" + }, + "devDependencies": { + "eslint": "~9.14.0", + "lint-all": "workspace:~", + "prettier": "~3.3.3" } } diff --git a/yarn.lock b/yarn.lock index 0f56f8414f..d9a0f23e0a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2004,34 +2004,68 @@ __metadata: languageName: node linkType: hard -"@eslint-community/regexpp@npm:^4.6.1": +"@eslint-community/regexpp@npm:^4.12.1": version: 4.12.1 resolution: "@eslint-community/regexpp@npm:4.12.1" checksum: 10/c08f1dd7dd18fbb60bdd0d85820656d1374dd898af9be7f82cb00451313402a22d5e30569c150315b4385907cdbca78c22389b2a72ab78883b3173be317620cc languageName: node linkType: hard -"@eslint/eslintrc@npm:^2.1.4": - version: 2.1.4 - resolution: "@eslint/eslintrc@npm:2.1.4" +"@eslint/config-array@npm:^0.18.0": + version: 0.18.0 + resolution: "@eslint/config-array@npm:0.18.0" + dependencies: + "@eslint/object-schema": "npm:^2.1.4" + debug: "npm:^4.3.1" + minimatch: "npm:^3.1.2" + checksum: 10/60ccad1eb4806710b085cd739568ec7afd289ee5af6ca0383f0876f9fe375559ef525f7b3f86bdb3f961493de952f2cf3ab4aa4a6ccaef0ae3cd688267cabcb3 + languageName: node + linkType: hard + +"@eslint/core@npm:^0.7.0": + version: 0.7.0 + resolution: "@eslint/core@npm:0.7.0" + checksum: 10/69227f33fddd9b402b7b0830732a6e84cae77d202cb5b56f0dbcc462882e07d00e80216b796cf2f243f5b775af3ef27545a0c439d78e66122eab71da4773b81c + languageName: node + linkType: hard + +"@eslint/eslintrc@npm:^3.1.0": + version: 3.1.0 + resolution: "@eslint/eslintrc@npm:3.1.0" dependencies: ajv: "npm:^6.12.4" debug: "npm:^4.3.2" - espree: "npm:^9.6.0" - globals: "npm:^13.19.0" + espree: "npm:^10.0.1" + globals: "npm:^14.0.0" ignore: "npm:^5.2.0" import-fresh: "npm:^3.2.1" js-yaml: "npm:^4.1.0" minimatch: "npm:^3.1.2" strip-json-comments: "npm:^3.1.1" - checksum: 10/7a3b14f4b40fc1a22624c3f84d9f467a3d9ea1ca6e9a372116cb92507e485260359465b58e25bcb6c9981b155416b98c9973ad9b796053fd7b3f776a6946bce8 + checksum: 10/02bf892d1397e1029209dea685e9f4f87baf643315df2a632b5f121ec7e8548a3b34f428a007234fa82772218fa8a3ac2d10328637b9ce63b7f8344035b74db3 + languageName: node + linkType: hard + +"@eslint/js@npm:9.14.0, @eslint/js@npm:~9.14.0": + version: 9.14.0 + resolution: "@eslint/js@npm:9.14.0" + checksum: 10/897e26bd68f898e56e96f85c92a1d823ef3d9f34e17d88d0ff40e88882ddae28d2f35915150c21cf640e0c64cb23703d0fbe6f7c9b9d6328aabe58ca30d9b4fe + languageName: node + linkType: hard + +"@eslint/object-schema@npm:^2.1.4": + version: 2.1.4 + resolution: "@eslint/object-schema@npm:2.1.4" + checksum: 10/221e8d9f281c605948cd6e030874aacce83fe097f8f9c1964787037bccf08e82b7aa9eff1850a30fffac43f1d76555727ec22a2af479d91e268e89d1e035131e languageName: node linkType: hard -"@eslint/js@npm:8.57.1": - version: 8.57.1 - resolution: "@eslint/js@npm:8.57.1" - checksum: 10/7562b21be10c2adbfa4aa5bb2eccec2cb9ac649a3569560742202c8d1cb6c931ce634937a2f0f551e078403a1c1285d6c2c0aa345dafc986149665cd69fe8b59 +"@eslint/plugin-kit@npm:^0.2.0": + version: 0.2.2 + resolution: "@eslint/plugin-kit@npm:0.2.2" + dependencies: + levn: "npm:^0.4.1" + checksum: 10/19ce7b8c991c7d17269044d64cd1f8e207b5ddf31290de65950cdaf4c78387467759ad0ca275708c11b85d90e649faf65618255ad310a532ef6dea7fe6326bf1 languageName: node linkType: hard @@ -2091,14 +2125,20 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/config-array@npm:^0.13.0": - version: 0.13.0 - resolution: "@humanwhocodes/config-array@npm:0.13.0" +"@humanfs/core@npm:^0.19.1": + version: 0.19.1 + resolution: "@humanfs/core@npm:0.19.1" + checksum: 10/270d936be483ab5921702623bc74ce394bf12abbf57d9145a69e8a0d1c87eb1c768bd2d93af16c5705041e257e6d9cc7529311f63a1349f3678abc776fc28523 + languageName: node + linkType: hard + +"@humanfs/node@npm:^0.16.6": + version: 0.16.6 + resolution: "@humanfs/node@npm:0.16.6" dependencies: - "@humanwhocodes/object-schema": "npm:^2.0.3" - debug: "npm:^4.3.1" - minimatch: "npm:^3.0.5" - checksum: 10/524df31e61a85392a2433bf5d03164e03da26c03d009f27852e7dcfdafbc4a23f17f021dacf88e0a7a9fe04ca032017945d19b57a16e2676d9114c22a53a9d11 + "@humanfs/core": "npm:^0.19.1" + "@humanwhocodes/retry": "npm:^0.3.0" + checksum: 10/6d43c6727463772d05610aa05c83dab2bfbe78291022ee7a92cb50999910b8c720c76cc312822e2dea2b497aa1b3fef5fe9f68803fc45c9d4ed105874a65e339 languageName: node linkType: hard @@ -2109,10 +2149,17 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/object-schema@npm:^2.0.3": - version: 2.0.3 - resolution: "@humanwhocodes/object-schema@npm:2.0.3" - checksum: 10/05bb99ed06c16408a45a833f03a732f59bf6184795d4efadd33238ff8699190a8c871ad1121241bb6501589a9598dc83bf25b99dcbcf41e155cdf36e35e937a3 +"@humanwhocodes/retry@npm:^0.3.0": + version: 0.3.1 + resolution: "@humanwhocodes/retry@npm:0.3.1" + checksum: 10/eb457f699529de7f07649679ec9e0353055eebe443c2efe71c6dd950258892475a038e13c6a8c5e13ed1fb538cdd0a8794faa96b24b6ffc4c87fb1fc9f70ad7f + languageName: node + linkType: hard + +"@humanwhocodes/retry@npm:^0.4.0": + version: 0.4.0 + resolution: "@humanwhocodes/retry@npm:0.4.0" + checksum: 10/5d6725b5f2b3a6d15e13e8159d3f7c8e06c6987e90ec0f11ad85bb22ff94bdb6d9289e63d3eaa3b5b31c6d3848d9a2818ba5e86228e271d97a43c0312df48bd8 languageName: node linkType: hard @@ -2582,7 +2629,7 @@ __metadata: languageName: node linkType: hard -"@nodelib/fs.walk@npm:^1.2.3, @nodelib/fs.walk@npm:^1.2.8": +"@nodelib/fs.walk@npm:^1.2.3": version: 1.2.8 resolution: "@nodelib/fs.walk@npm:1.2.8" dependencies: @@ -2592,6 +2639,29 @@ __metadata: languageName: node linkType: hard +"@nolyfill/is-core-module@npm:1.0.39": + version: 1.0.39 + resolution: "@nolyfill/is-core-module@npm:1.0.39" + checksum: 10/0d6e098b871eca71d875651288e1f0fa770a63478b0b50479c99dc760c64175a56b5b04f58d5581bbcc6b552b8191ab415eada093d8df9597ab3423c8cac1815 + languageName: node + linkType: hard + +"@npmcli/config@npm:^8.0.0": + version: 8.3.4 + resolution: "@npmcli/config@npm:8.3.4" + dependencies: + "@npmcli/map-workspaces": "npm:^3.0.2" + "@npmcli/package-json": "npm:^5.1.1" + ci-info: "npm:^4.0.0" + ini: "npm:^4.1.2" + nopt: "npm:^7.2.1" + proc-log: "npm:^4.2.0" + semver: "npm:^7.3.5" + walk-up-path: "npm:^3.0.1" + checksum: 10/ffe9cc1792aeeb54285f9e9e13d8e91a6b8965ab4f314fac998b3cd4e16eab548b839429a4475d1dd74d59cd8c82f4dd864e31c8b4641449c7b03eddc1306948 + languageName: node + linkType: hard + "@npmcli/fs@npm:^2.1.0": version: 2.1.2 resolution: "@npmcli/fs@npm:2.1.2" @@ -2602,6 +2672,35 @@ __metadata: languageName: node linkType: hard +"@npmcli/git@npm:^5.0.0": + version: 5.0.8 + resolution: "@npmcli/git@npm:5.0.8" + dependencies: + "@npmcli/promise-spawn": "npm:^7.0.0" + ini: "npm:^4.1.3" + lru-cache: "npm:^10.0.1" + npm-pick-manifest: "npm:^9.0.0" + proc-log: "npm:^4.0.0" + promise-inflight: "npm:^1.0.1" + promise-retry: "npm:^2.0.1" + semver: "npm:^7.3.5" + which: "npm:^4.0.0" + checksum: 10/e6f94175fb9dde13d84849b29b32ffb4c4df968822cc85df2aebfca13bf8ca76f33b1d281911f5bcddc95bccba2f9e795669c736a38de4d9c76efb5047ffb4fb + languageName: node + linkType: hard + +"@npmcli/map-workspaces@npm:^3.0.2": + version: 3.0.6 + resolution: "@npmcli/map-workspaces@npm:3.0.6" + dependencies: + "@npmcli/name-from-folder": "npm:^2.0.0" + glob: "npm:^10.2.2" + minimatch: "npm:^9.0.0" + read-package-json-fast: "npm:^3.0.0" + checksum: 10/b364b155991a4ff85db5ea5b9f809ab65936350fc36fe1e51d5ab8cd479bba57e69f02e17215c0e2126e383074c2987c268d8e589aacd26c9962e028f4da98f2 + languageName: node + linkType: hard + "@npmcli/move-file@npm:^2.0.0": version: 2.0.1 resolution: "@npmcli/move-file@npm:2.0.1" @@ -2612,6 +2711,37 @@ __metadata: languageName: node linkType: hard +"@npmcli/name-from-folder@npm:^2.0.0": + version: 2.0.0 + resolution: "@npmcli/name-from-folder@npm:2.0.0" + checksum: 10/75beb40373f916cfcf7327958b3ab920ab4e32d24217197927dd1c76a325c7645695011fce9cb2a8f93616f8b74946e84eebe3830303e11ed9d400dae623a99b + languageName: node + linkType: hard + +"@npmcli/package-json@npm:^5.1.1": + version: 5.2.1 + resolution: "@npmcli/package-json@npm:5.2.1" + dependencies: + "@npmcli/git": "npm:^5.0.0" + glob: "npm:^10.2.2" + hosted-git-info: "npm:^7.0.0" + json-parse-even-better-errors: "npm:^3.0.0" + normalize-package-data: "npm:^6.0.0" + proc-log: "npm:^4.0.0" + semver: "npm:^7.5.3" + checksum: 10/304a819b93f79a6e0e56cb371961a66d2db72142e310d545ecbbbe4d917025a30601aa8e63a5f0cc28f0fe281c116bdaf79b334619b105a1d027a2b769ecd137 + languageName: node + linkType: hard + +"@npmcli/promise-spawn@npm:^7.0.0": + version: 7.0.2 + resolution: "@npmcli/promise-spawn@npm:7.0.2" + dependencies: + which: "npm:^4.0.0" + checksum: 10/94cbbbeeb20342026c3b68fc8eb09e1600b7645d4e509f2588ef5ea7cff977eb01e628cc8e014595d04a6af4b4bc5c467c950a8135920f39f7c7b57fba43f4e9 + languageName: node + linkType: hard + "@pkgjs/parseargs@npm:^0.11.0": version: 0.11.0 resolution: "@pkgjs/parseargs@npm:0.11.0" @@ -4022,7 +4152,7 @@ __metadata: "@rollup/plugin-typescript": "npm:~8.3.4" "@types/jest": "npm:~29.5.12" "@types/stylis": "npm:^4.0.2" - eslint: "npm:~8.57.1" + eslint: "npm:~9.14.0" jest: "npm:~29.7.0" lint-all: "workspace:~" prettier: "npm:~3.3.3" @@ -4041,7 +4171,7 @@ __metadata: dependencies: "@rocket.chat/eslint-config-alt": "workspace:~" "@rocket.chat/memo": "workspace:~" - eslint: "npm:~8.57.1" + eslint: "npm:~9.14.0" lint-all: "workspace:~" prettier: "npm:~3.3.3" rimraf: "npm:~3.0.2" @@ -4060,7 +4190,7 @@ __metadata: "@rollup/plugin-node-resolve": "npm:~13.1.3" "@rollup/plugin-typescript": "npm:~8.3.4" "@types/jest": "npm:~29.5.12" - eslint: "npm:~8.57.1" + eslint: "npm:~9.14.0" jest: "npm:~29.7.0" lint-all: "workspace:~" npm-run-all: "npm:^4.1.5" @@ -4080,7 +4210,7 @@ __metadata: "@babel/eslint-parser": "npm:~7.21.3" "@typescript-eslint/eslint-plugin": "npm:~8.8.1" "@typescript-eslint/parser": "npm:~8.8.1" - eslint: "npm:~8.57.1" + eslint: "npm:~9.14.0" eslint-config-prettier: "npm:~8.8.0" eslint-import-resolver-typescript: "npm:~3.5.5" eslint-plugin-import: "npm:~2.26.0" @@ -4113,7 +4243,7 @@ __metadata: "@types/react-dom": "npm:~17.0.25" "@types/resize-observer-browser": "npm:~0.1.7" "@types/use-sync-external-store": "npm:~0.0.3" - eslint: "npm:~8.57.1" + eslint: "npm:~9.14.0" jest: "npm:~29.7.0" jest-environment-jsdom: "npm:~29.7.0" lint-all: "workspace:~" @@ -4143,12 +4273,24 @@ __metadata: dependencies: "@changesets/changelog-github": "npm:~0.5.0" "@changesets/cli": "npm:~2.27.9" + "@eslint/js": "npm:~9.14.0" + "@rocket.chat/eslint-config-alt": "workspace:~" "@rocket.chat/prettier-config": "workspace:~" + "@types/eslint__js": "npm:~8.42.3" + eslint: "npm:~9.14.0" + eslint-import-resolver-typescript: "npm:~3.6.3" + eslint-plugin-import: "npm:~2.31.0" + eslint-plugin-mdx: "npm:~3.1.5" + eslint-plugin-react: "npm:~7.37.2" + eslint-plugin-react-hooks: "npm:~5.0.0" + globals: "npm:~15.12.0" husky: "npm:~9.1.6" hygen: "npm:~6.2.11" pinst: "npm:~3.0.0" prettier: "npm:~3.3.3" turbo: "npm:~2.2.3" + typescript: "npm:~5.6.3" + typescript-eslint: "npm:~8.13.0" update-readme: "workspace:~" languageName: unknown linkType: soft @@ -4161,7 +4303,7 @@ __metadata: "@rocket.chat/eslint-config-alt": "workspace:~" clipboard-polyfill: "npm:^3.0.3" element-closest-polyfill: "npm:^1.0.6" - eslint: "npm:~8.57.1" + eslint: "npm:~9.14.0" focus-visible: "npm:^5.2.0" focus-within-polyfill: "npm:^5.2.1" lint-all: "workspace:~" @@ -4192,7 +4334,7 @@ __metadata: "@types/jest": "npm:~29.5.12" "@types/react": "npm:~17.0.80" "@types/react-dom": "npm:~17.0.25" - eslint: "npm:~8.57.1" + eslint: "npm:~9.14.0" jest: "npm:~29.7.0" jest-environment-jsdom: "npm:~29.7.0" lint-all: "workspace:~" @@ -4222,7 +4364,7 @@ __metadata: dependencies: "@rocket.chat/eslint-config-alt": "workspace:~" build-design-tokens: "workspace:~" - eslint: "npm:~8.57.1" + eslint: "npm:~9.14.0" eslint-config-prettier: "npm:~8.8.0" eslint-plugin-import: "npm:~2.26.0" eslint-plugin-prettier: "npm:~5.2.1" @@ -4285,7 +4427,7 @@ __metadata: css-loader: "npm:~6.7.3" cssnano: "npm:~5.0.17" es-check: "npm:~7.1.1" - eslint: "npm:~8.57.1" + eslint: "npm:~9.14.0" eslint-mdx: "npm:~2.0.5" eslint-plugin-mdx: "npm:~2.0.5" invariant: "npm:^2.2.4" @@ -4346,7 +4488,7 @@ __metadata: dependencies: "@rocket.chat/eslint-config-alt": "workspace:~" build-icons: "workspace:~" - eslint: "npm:~8.57.1" + eslint: "npm:~9.14.0" lint-all: "workspace:~" npm-run-all: "npm:^4.1.5" prettier: "npm:~3.3.3" @@ -4374,7 +4516,7 @@ __metadata: "@types/jest": "npm:~29.5.12" "@types/react": "npm:~17.0.80" "@types/react-dom": "npm:~17.0.25" - eslint: "npm:~8.57.1" + eslint: "npm:~9.14.0" jest: "npm:~29.7.0" jest-environment-jsdom: "npm:~29.7.0" lint-all: "workspace:~" @@ -4409,7 +4551,7 @@ __metadata: "@types/react": "npm:~17.0.80" "@types/react-dom": "npm:~17.0.25" build-logo: "workspace:~" - eslint: "npm:~8.57.1" + eslint: "npm:~9.14.0" jest: "npm:~29.7.0" jest-environment-jsdom: "npm:~29.7.0" lint-all: "workspace:~" @@ -4433,7 +4575,7 @@ __metadata: dependencies: "@rocket.chat/eslint-config-alt": "workspace:~" "@types/jest": "npm:~29.5.12" - eslint: "npm:~8.57.1" + eslint: "npm:~9.14.0" jest: "npm:~29.7.0" lint-all: "workspace:~" prettier: "npm:~3.3.3" @@ -4457,7 +4599,7 @@ __metadata: "@rollup/plugin-node-resolve": "npm:~15.0.2" "@rollup/plugin-typescript": "npm:~11.1.0" "@types/jest": "npm:~29.5.12" - eslint: "npm:~8.57.1" + eslint: "npm:~9.14.0" jest: "npm:~29.7.0" jest-environment-jsdom: "npm:~29.7.0" lint-all: "workspace:~" @@ -4492,7 +4634,7 @@ __metadata: "@types/react": "npm:~17.0.80" "@types/react-dom": "npm:~17.0.25" countries-list: "npm:^2.6.1" - eslint: "npm:~8.57.1" + eslint: "npm:~9.14.0" i18next: "npm:~21.6.16" jest: "npm:~29.7.0" jest-environment-jsdom: "npm:~29.7.0" @@ -4529,7 +4671,7 @@ __metadata: dependencies: "@rocket.chat/eslint-config-alt": "workspace:~" "@types/node": "npm:~14.18.42" - eslint: "npm:~8.57.1" + eslint: "npm:~9.14.0" lint-all: "workspace:~" npm-run-all: "npm:^4.1.5" peggy: "npm:3.0.2" @@ -4548,7 +4690,7 @@ __metadata: version: 0.0.0-use.local resolution: "@rocket.chat/prettier-config@workspace:packages/prettier-config" dependencies: - eslint: "npm:~8.57.1" + eslint: "npm:~9.14.0" eslint-config-prettier: "npm:~8.8.0" eslint-plugin-import: "npm:~2.26.0" eslint-plugin-prettier: "npm:~5.2.1" @@ -4565,7 +4707,7 @@ __metadata: dependencies: "@rocket.chat/eslint-config-alt": "workspace:~" "@types/jest": "npm:~29.5.12" - eslint: "npm:~8.57.1" + eslint: "npm:~9.14.0" jest: "npm:~29.7.0" lint-all: "workspace:~" npm-run-all: "npm:^4.1.5" @@ -4584,7 +4726,7 @@ __metadata: "@rocket.chat/css-in-js": "workspace:~" "@rocket.chat/eslint-config-alt": "workspace:~" "@types/jest": "npm:~29.5.12" - eslint: "npm:~8.57.1" + eslint: "npm:~9.14.0" jest: "npm:~29.7.0" jest-environment-jsdom: "npm:~29.7.0" lint-all: "workspace:~" @@ -4604,7 +4746,7 @@ __metadata: "@rocket.chat/css-supports": "workspace:~" "@rocket.chat/eslint-config-alt": "workspace:~" "@types/jest": "npm:~29.5.12" - eslint: "npm:~8.57.1" + eslint: "npm:~9.14.0" jest: "npm:~29.7.0" lint-all: "workspace:~" npm-run-all: "npm:^4.1.5" @@ -4766,6 +4908,13 @@ __metadata: languageName: node linkType: hard +"@rtsao/scc@npm:^1.1.0": + version: 1.1.0 + resolution: "@rtsao/scc@npm:1.1.0" + checksum: 10/17d04adf404e04c1e61391ed97bca5117d4c2767a76ae3e879390d6dec7b317fcae68afbf9e98badee075d0b64fa60f287729c4942021b4d19cd01db77385c01 + languageName: node + linkType: hard + "@sinclair/typebox@npm:^0.27.8": version: 0.27.8 resolution: "@sinclair/typebox@npm:0.27.8" @@ -5690,6 +5839,15 @@ __metadata: languageName: node linkType: hard +"@types/concat-stream@npm:^2.0.0": + version: 2.0.3 + resolution: "@types/concat-stream@npm:2.0.3" + dependencies: + "@types/node": "npm:*" + checksum: 10/e829fde246528665b31a9b8f64c369ffc66aa2a1337d2bab1d38f4d4145701480af7c67e877dd09a7fa97fcbaa0f3baa816ed1b3e71c3ad430930acd37f4eb1f + languageName: node + linkType: hard + "@types/debug@npm:^4.0.0": version: 4.1.7 resolution: "@types/debug@npm:4.1.7" @@ -5726,6 +5884,15 @@ __metadata: languageName: node linkType: hard +"@types/eslint__js@npm:~8.42.3": + version: 8.42.3 + resolution: "@types/eslint__js@npm:8.42.3" + dependencies: + "@types/eslint": "npm:*" + checksum: 10/e31f19de642d35a664695d0cab873ce6de19b8a3506755835b91f8a49a8c41099dcace449df49f1a486de6fa6565d21ceb1fa33be6004fc7adef9226e5d256a1 + languageName: node + linkType: hard + "@types/estree-jsx@npm:^1.0.0": version: 1.0.0 resolution: "@types/estree-jsx@npm:1.0.0" @@ -5784,6 +5951,15 @@ __metadata: languageName: node linkType: hard +"@types/hast@npm:^3.0.0": + version: 3.0.4 + resolution: "@types/hast@npm:3.0.4" + dependencies: + "@types/unist": "npm:*" + checksum: 10/732920d81bb7605895776841b7658b4d8cc74a43a8fa176017cc0fb0ecc1a4c82a2b75a4fe6b71aa262b649d3fb62858c6789efa3793ea1d40269953af96ecb5 + languageName: node + linkType: hard + "@types/html-minifier-terser@npm:^6.0.0": version: 6.1.0 resolution: "@types/html-minifier-terser@npm:6.1.0" @@ -5798,6 +5974,13 @@ __metadata: languageName: node linkType: hard +"@types/is-empty@npm:^1.0.0": + version: 1.2.3 + resolution: "@types/is-empty@npm:1.2.3" + checksum: 10/b22065de5978dacacb6b7401df03e94b9688a3ce07c7faab1bab5e943adbdd6455b190963079bb0aae12c8e56980e54c49bc6902a5805741b82fb4f7335b0c44 + languageName: node + linkType: hard + "@types/istanbul-lib-coverage@npm:*, @types/istanbul-lib-coverage@npm:^2.0.0, @types/istanbul-lib-coverage@npm:^2.0.1": version: 2.0.3 resolution: "@types/istanbul-lib-coverage@npm:2.0.3" @@ -5854,7 +6037,7 @@ __metadata: languageName: node linkType: hard -"@types/json-schema@npm:*": +"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.15": version: 7.0.15 resolution: "@types/json-schema@npm:7.0.15" checksum: 10/1a3c3e06236e4c4aab89499c428d585527ce50c24fe8259e8b3926d3df4cfbbbcf306cfc73ddfb66cbafc973116efd15967020b0f738f63e09e64c7d260519e7 @@ -6054,6 +6237,13 @@ __metadata: languageName: node linkType: hard +"@types/supports-color@npm:^8.0.0": + version: 8.1.3 + resolution: "@types/supports-color@npm:8.1.3" + checksum: 10/f5a3ca4aa94ac9d45beae8aa06dcba45e6d56b77999707a2708b54a9b042f84c68e619b10ef6e4b6f447f801824adebb9ed4d7a82c0b5d5d7bf29d5ff34d53a9 + languageName: node + linkType: hard + "@types/tough-cookie@npm:*": version: 4.0.5 resolution: "@types/tough-cookie@npm:4.0.5" @@ -6105,6 +6295,29 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/eslint-plugin@npm:8.13.0": + version: 8.13.0 + resolution: "@typescript-eslint/eslint-plugin@npm:8.13.0" + dependencies: + "@eslint-community/regexpp": "npm:^4.10.0" + "@typescript-eslint/scope-manager": "npm:8.13.0" + "@typescript-eslint/type-utils": "npm:8.13.0" + "@typescript-eslint/utils": "npm:8.13.0" + "@typescript-eslint/visitor-keys": "npm:8.13.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: 10/3f38f64dfdc5c33d377d0f4aff9c71cc363bc7d4cea5c3da9c5bb934758cb5129f48194f84d4886a4208a70a18395c597561926490027508045f778190686909 + languageName: node + linkType: hard + "@typescript-eslint/eslint-plugin@npm:~8.8.1": version: 8.8.1 resolution: "@typescript-eslint/eslint-plugin@npm:8.8.1" @@ -6128,6 +6341,24 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/parser@npm:8.13.0": + version: 8.13.0 + resolution: "@typescript-eslint/parser@npm:8.13.0" + dependencies: + "@typescript-eslint/scope-manager": "npm:8.13.0" + "@typescript-eslint/types": "npm:8.13.0" + "@typescript-eslint/typescript-estree": "npm:8.13.0" + "@typescript-eslint/visitor-keys": "npm:8.13.0" + debug: "npm:^4.3.4" + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + peerDependenciesMeta: + typescript: + optional: true + checksum: 10/174f705ce44e4dca83badad053eed50fb3703be6a4379e91f7c260c7f7d0c5e7bcfefd4f2c3170449b6c8f04a8f38c0cefc1a399be7d4913b86ab80d1b7783ec + languageName: node + linkType: hard + "@typescript-eslint/parser@npm:~8.8.1": version: 8.8.1 resolution: "@typescript-eslint/parser@npm:8.8.1" @@ -6146,6 +6377,16 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/scope-manager@npm:8.13.0": + version: 8.13.0 + resolution: "@typescript-eslint/scope-manager@npm:8.13.0" + dependencies: + "@typescript-eslint/types": "npm:8.13.0" + "@typescript-eslint/visitor-keys": "npm:8.13.0" + checksum: 10/e5738943b9af4a312e33d9db9362fcd0806f365655efb3df9db1ada5a3f0e974f73493b02727d31c3a06234c3bd8b7b7ddd5d492623c7c7547ec2085c1ac1e09 + languageName: node + linkType: hard + "@typescript-eslint/scope-manager@npm:8.8.1": version: 8.8.1 resolution: "@typescript-eslint/scope-manager@npm:8.8.1" @@ -6156,6 +6397,21 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/type-utils@npm:8.13.0": + version: 8.13.0 + resolution: "@typescript-eslint/type-utils@npm:8.13.0" + dependencies: + "@typescript-eslint/typescript-estree": "npm:8.13.0" + "@typescript-eslint/utils": "npm:8.13.0" + debug: "npm:^4.3.4" + ts-api-utils: "npm:^1.3.0" + peerDependenciesMeta: + typescript: + optional: true + checksum: 10/9718cd2c37dcb0bc2b234121629c41e24ade137f5ed915c3f597e53c3ca883d7ee2356f516f027307c12481a6af7620477bf4d6870ac454eb5c4afffbd1eab9e + languageName: node + linkType: hard + "@typescript-eslint/type-utils@npm:8.8.1": version: 8.8.1 resolution: "@typescript-eslint/type-utils@npm:8.8.1" @@ -6171,6 +6427,13 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/types@npm:8.13.0": + version: 8.13.0 + resolution: "@typescript-eslint/types@npm:8.13.0" + checksum: 10/0051c4a798b8f328451290581f0c8c95acfcb988192647edcb9179013793b8ccc7110b5fee74207394340aca8919d9ca039de2bbd36f41c7693a99d1345092c3 + languageName: node + linkType: hard + "@typescript-eslint/types@npm:8.8.1": version: 8.8.1 resolution: "@typescript-eslint/types@npm:8.8.1" @@ -6178,6 +6441,25 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/typescript-estree@npm:8.13.0": + version: 8.13.0 + resolution: "@typescript-eslint/typescript-estree@npm:8.13.0" + dependencies: + "@typescript-eslint/types": "npm:8.13.0" + "@typescript-eslint/visitor-keys": "npm:8.13.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: 10/2aef1bda245ec66b0d0b1b3ed4ab672725ba33c16abc0781f4e0314cf638ef7b3b1d9682e8e9ee18f3e5e51bc4b22cc428c778c2927fd4cf8495dbe736ae522f + languageName: node + linkType: hard + "@typescript-eslint/typescript-estree@npm:8.8.1": version: 8.8.1 resolution: "@typescript-eslint/typescript-estree@npm:8.8.1" @@ -6197,6 +6479,20 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/utils@npm:8.13.0": + version: 8.13.0 + resolution: "@typescript-eslint/utils@npm:8.13.0" + dependencies: + "@eslint-community/eslint-utils": "npm:^4.4.0" + "@typescript-eslint/scope-manager": "npm:8.13.0" + "@typescript-eslint/types": "npm:8.13.0" + "@typescript-eslint/typescript-estree": "npm:8.13.0" + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + checksum: 10/93ee0784f9865fee3e9cdc4796daaa7842a9e54b8436341b9b8367c69cbd90cac9da47669289967309f58ad63d8e68559d74972a34d531289637c8cac3415ed2 + languageName: node + linkType: hard + "@typescript-eslint/utils@npm:8.8.1": version: 8.8.1 resolution: "@typescript-eslint/utils@npm:8.8.1" @@ -6211,6 +6507,16 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/visitor-keys@npm:8.13.0": + version: 8.13.0 + resolution: "@typescript-eslint/visitor-keys@npm:8.13.0" + dependencies: + "@typescript-eslint/types": "npm:8.13.0" + eslint-visitor-keys: "npm:^3.4.3" + checksum: 10/630718da32ffa7144b7a8300802136a5fb3084c8b3dc7c277981939408b19d57214e0f721b8011f64ae083bac5367a8a319366c74ef7bcb9fd90508f780fb2de + languageName: node + linkType: hard + "@typescript-eslint/visitor-keys@npm:8.8.1": version: 8.8.1 resolution: "@typescript-eslint/visitor-keys@npm:8.8.1" @@ -6221,13 +6527,6 @@ __metadata: languageName: node linkType: hard -"@ungap/structured-clone@npm:^1.2.0": - version: 1.2.0 - resolution: "@ungap/structured-clone@npm:1.2.0" - checksum: 10/c6fe89a505e513a7592e1438280db1c075764793a2397877ff1351721fe8792a966a5359769e30242b3cd023f2efb9e63ca2ca88019d73b564488cc20e3eab12 - languageName: node - linkType: hard - "@virtuoso.dev/react-urx@npm:^0.2.12": version: 0.2.12 resolution: "@virtuoso.dev/react-urx@npm:0.2.12" @@ -6543,6 +6842,13 @@ __metadata: languageName: node linkType: hard +"abbrev@npm:^2.0.0": + version: 2.0.0 + resolution: "abbrev@npm:2.0.0" + checksum: 10/ca0a54e35bea4ece0ecb68a47b312e1a9a6f772408d5bcb9051230aaa94b0460671c5b5c9cb3240eb5b7bc94c52476550eb221f65a0bbd0145bdc9f3113a6707 + languageName: node + linkType: hard + "acorn-import-attributes@npm:^1.9.5": version: 1.9.5 resolution: "acorn-import-attributes@npm:1.9.5" @@ -6588,7 +6894,7 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^8.14.0": +"acorn@npm:^8.11.3, acorn@npm:^8.14.0": version: 8.14.0 resolution: "acorn@npm:8.14.0" bin: @@ -6875,6 +7181,16 @@ __metadata: languageName: node linkType: hard +"array-buffer-byte-length@npm:^1.0.1": + version: 1.0.1 + resolution: "array-buffer-byte-length@npm:1.0.1" + dependencies: + call-bind: "npm:^1.0.5" + is-array-buffer: "npm:^3.0.4" + checksum: 10/53524e08f40867f6a9f35318fafe467c32e45e9c682ba67b11943e167344d2febc0f6977a17e699b05699e805c3e8f073d876f8bbf1b559ed494ad2cd0fae09e + languageName: node + linkType: hard + "array-includes@npm:^3.1.4, array-includes@npm:^3.1.5, array-includes@npm:^3.1.6": version: 3.1.6 resolution: "array-includes@npm:3.1.6" @@ -6888,6 +7204,20 @@ __metadata: languageName: node linkType: hard +"array-includes@npm:^3.1.8": + version: 3.1.8 + resolution: "array-includes@npm:3.1.8" + dependencies: + call-bind: "npm:^1.0.7" + define-properties: "npm:^1.2.1" + es-abstract: "npm:^1.23.2" + es-object-atoms: "npm:^1.0.0" + get-intrinsic: "npm:^1.2.4" + is-string: "npm:^1.0.7" + checksum: 10/290b206c9451f181fb2b1f79a3bf1c0b66bb259791290ffbada760c79b284eef6f5ae2aeb4bcff450ebc9690edd25732c4c73a3c2b340fcc0f4563aed83bf488 + languageName: node + linkType: hard + "array-union@npm:^2.1.0": version: 2.1.0 resolution: "array-union@npm:2.1.0" @@ -6895,7 +7225,35 @@ __metadata: languageName: node linkType: hard -"array.prototype.flat@npm:^1.2.5": +"array.prototype.findlast@npm:^1.2.5": + version: 1.2.5 + resolution: "array.prototype.findlast@npm:1.2.5" + dependencies: + call-bind: "npm:^1.0.7" + define-properties: "npm:^1.2.1" + es-abstract: "npm:^1.23.2" + es-errors: "npm:^1.3.0" + es-object-atoms: "npm:^1.0.0" + es-shim-unscopables: "npm:^1.0.2" + checksum: 10/7dffcc665aa965718ad6de7e17ac50df0c5e38798c0a5bf9340cf24feb8594df6ec6f3fcbe714c1577728a1b18b5704b15669474b27bceeca91ef06ce2a23c31 + languageName: node + linkType: hard + +"array.prototype.findlastindex@npm:^1.2.5": + version: 1.2.5 + resolution: "array.prototype.findlastindex@npm:1.2.5" + dependencies: + call-bind: "npm:^1.0.7" + define-properties: "npm:^1.2.1" + es-abstract: "npm:^1.23.2" + es-errors: "npm:^1.3.0" + es-object-atoms: "npm:^1.0.0" + es-shim-unscopables: "npm:^1.0.2" + checksum: 10/7c5c821f357cd53ab6cc305de8086430dd8d7a2485db87b13f843e868055e9582b1fd338f02338f67fc3a1603ceaf9610dd2a470b0b506f9d18934780f95b246 + languageName: node + linkType: hard + +"array.prototype.flat@npm:^1.2.5, array.prototype.flat@npm:^1.3.2": version: 1.3.2 resolution: "array.prototype.flat@npm:1.3.2" dependencies: @@ -6919,6 +7277,18 @@ __metadata: languageName: node linkType: hard +"array.prototype.flatmap@npm:^1.3.2": + version: 1.3.2 + resolution: "array.prototype.flatmap@npm:1.3.2" + dependencies: + call-bind: "npm:^1.0.2" + define-properties: "npm:^1.2.0" + es-abstract: "npm:^1.22.1" + es-shim-unscopables: "npm:^1.0.0" + checksum: 10/33f20006686e0cbe844fde7fd290971e8366c6c5e3380681c2df15738b1df766dd02c7784034aeeb3b037f65c496ee54de665388288edb323a2008bb550f77ea + languageName: node + linkType: hard + "array.prototype.tosorted@npm:^1.1.1": version: 1.1.1 resolution: "array.prototype.tosorted@npm:1.1.1" @@ -6932,6 +7302,19 @@ __metadata: languageName: node linkType: hard +"array.prototype.tosorted@npm:^1.1.4": + version: 1.1.4 + resolution: "array.prototype.tosorted@npm:1.1.4" + dependencies: + call-bind: "npm:^1.0.7" + define-properties: "npm:^1.2.1" + es-abstract: "npm:^1.23.3" + es-errors: "npm:^1.3.0" + es-shim-unscopables: "npm:^1.0.2" + checksum: 10/874694e5d50e138894ff5b853e639c29b0aa42bbd355acda8e8e9cd337f1c80565f21edc15e8c727fa4c0877fd9d8783c575809e440cc4d2d19acaa048bf967d + languageName: node + linkType: hard + "arraybuffer.prototype.slice@npm:^1.0.1": version: 1.0.2 resolution: "arraybuffer.prototype.slice@npm:1.0.2" @@ -6947,6 +7330,22 @@ __metadata: languageName: node linkType: hard +"arraybuffer.prototype.slice@npm:^1.0.3": + version: 1.0.3 + resolution: "arraybuffer.prototype.slice@npm:1.0.3" + dependencies: + array-buffer-byte-length: "npm:^1.0.1" + call-bind: "npm:^1.0.5" + define-properties: "npm:^1.2.1" + es-abstract: "npm:^1.22.3" + es-errors: "npm:^1.2.1" + get-intrinsic: "npm:^1.2.3" + is-array-buffer: "npm:^3.0.4" + is-shared-array-buffer: "npm:^1.0.2" + checksum: 10/0221f16c1e3ec7b67da870ee0e1f12b825b5f9189835392b59a22990f715827561a4f4cd5330dc7507de272d8df821be6cd4b0cb569babf5ea4be70e365a2f3d + languageName: node + linkType: hard + "asn1@npm:~0.2.3": version: 0.2.4 resolution: "asn1@npm:0.2.4" @@ -7424,6 +7823,9 @@ __metadata: version: 0.0.0-use.local resolution: "build-design-tokens@workspace:tools/build-design-tokens" dependencies: + eslint: "npm:~9.14.0" + lint-all: "workspace:~" + prettier: "npm:~3.3.3" stylelint: "npm:~16.10.0" tools-utils: "workspace:~" peerDependencies: @@ -7438,6 +7840,9 @@ __metadata: version: 0.0.0-use.local resolution: "build-icons@workspace:tools/build-icons" dependencies: + eslint: "npm:~9.14.0" + lint-all: "workspace:~" + prettier: "npm:~3.3.3" svg2ttf: "npm:~6.0.3" svgicons2svgfont: "npm:~10.0.6" tools-utils: "workspace:~" @@ -7455,6 +7860,8 @@ __metadata: version: 0.0.0-use.local resolution: "build-logo@workspace:tools/build-logo" dependencies: + eslint: "npm:~9.14.0" + lint-all: "workspace:~" prettier: "npm:~3.3.3" react: "npm:^17.0.2" react-dom: "npm:^17.0.2" @@ -7498,7 +7905,7 @@ __metadata: languageName: node linkType: hard -"call-bind@npm:^1.0.0, call-bind@npm:^1.0.2, call-bind@npm:^1.0.5, call-bind@npm:^1.0.7": +"call-bind@npm:^1.0.0, call-bind@npm:^1.0.2, call-bind@npm:^1.0.5, call-bind@npm:^1.0.6, call-bind@npm:^1.0.7": version: 1.0.7 resolution: "call-bind@npm:1.0.7" dependencies: @@ -7811,6 +8218,13 @@ __metadata: languageName: node linkType: hard +"ci-info@npm:^4.0.0": + version: 4.0.0 + resolution: "ci-info@npm:4.0.0" + checksum: 10/c983bb7ff1b06648f4a47432201abbd58291147d8ab5043dbb5c03e1a0e3fb2347f40d29b66a3044f28ffeb5dade01ac35aa6bd4e7464a44d9a49a3d7532415a + languageName: node + linkType: hard + "cjs-module-lexer@npm:^1.0.0, cjs-module-lexer@npm:^1.2.3": version: 1.3.1 resolution: "cjs-module-lexer@npm:1.3.1" @@ -8085,6 +8499,18 @@ __metadata: languageName: node linkType: hard +"concat-stream@npm:^2.0.0": + version: 2.0.0 + resolution: "concat-stream@npm:2.0.0" + dependencies: + buffer-from: "npm:^1.0.0" + inherits: "npm:^2.0.3" + readable-stream: "npm:^3.0.2" + typedarray: "npm:^0.0.6" + checksum: 10/250e576d0617e7c58e1c4b2dd6fe69560f316d2c962a409f9f3aac794018499ddb31948b1e4296f217008e124cd5d526432097745157fe504b5d9f3dc469eadb + languageName: node + linkType: hard + "console-control-strings@npm:^1.0.0, console-control-strings@npm:^1.1.0, console-control-strings@npm:~1.1.0": version: 1.1.0 resolution: "console-control-strings@npm:1.1.0" @@ -8262,18 +8688,7 @@ __metadata: languageName: node linkType: hard -"cross-spawn@npm:^7.0.0": - version: 7.0.5 - resolution: "cross-spawn@npm:7.0.5" - dependencies: - path-key: "npm:^3.1.0" - shebang-command: "npm:^2.0.0" - which: "npm:^2.0.1" - checksum: 10/c95062469d4bdbc1f099454d01c0e77177a3733012d41bf907a71eb8d22d2add43b5adf6a0a14ef4e7feaf804082714d6c262ef4557a1c480b86786c120d18e2 - languageName: node - linkType: hard - -"cross-spawn@npm:^7.0.1, cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3": +"cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.1, cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3": version: 7.0.3 resolution: "cross-spawn@npm:7.0.3" dependencies: @@ -8553,11 +8968,44 @@ __metadata: languageName: node linkType: hard -"dataloader@npm:^1.4.0": - version: 1.4.0 - resolution: "dataloader@npm:1.4.0" - checksum: 10/8dc2181f7fc243f657aa97b5aa51b9e0da88dee9a59a689bab50d4bac826c27ae0457db8d9a5d59559d636f6b997f419303ccfde595cc26191f37ab9c792fe01 - languageName: node +"data-view-buffer@npm:^1.0.1": + version: 1.0.1 + resolution: "data-view-buffer@npm:1.0.1" + dependencies: + call-bind: "npm:^1.0.6" + es-errors: "npm:^1.3.0" + is-data-view: "npm:^1.0.1" + checksum: 10/5919a39a18ee919573336158fd162fdf8ada1bc23a139f28543fd45fac48e0ea4a3ad3bfde91de124d4106e65c4a7525f6a84c20ba0797ec890a77a96d13a82a + languageName: node + linkType: hard + +"data-view-byte-length@npm:^1.0.1": + version: 1.0.1 + resolution: "data-view-byte-length@npm:1.0.1" + dependencies: + call-bind: "npm:^1.0.7" + es-errors: "npm:^1.3.0" + is-data-view: "npm:^1.0.1" + checksum: 10/f33c65e58d8d0432ad79761f2e8a579818d724b5dc6dc4e700489b762d963ab30873c0f1c37d8f2ed12ef51c706d1195f64422856d25f067457aeec50cc40aac + languageName: node + linkType: hard + +"data-view-byte-offset@npm:^1.0.0": + version: 1.0.0 + resolution: "data-view-byte-offset@npm:1.0.0" + dependencies: + call-bind: "npm:^1.0.6" + es-errors: "npm:^1.3.0" + is-data-view: "npm:^1.0.1" + checksum: 10/96f34f151bf02affb7b9f98762fb7aca1dd5f4553cb57b80bce750ca609c15d33ca659568ef1d422f7e35680736cbccb893a3d4b012760c758c1446bbdc4c6db + languageName: node + linkType: hard + +"dataloader@npm:^1.4.0": + version: 1.4.0 + resolution: "dataloader@npm:1.4.0" + checksum: 10/8dc2181f7fc243f657aa97b5aa51b9e0da88dee9a59a689bab50d4bac826c27ae0457db8d9a5d59559d636f6b997f419303ccfde595cc26191f37ab9c792fe01 + languageName: node linkType: hard "debounce@npm:^1.2.1": @@ -8597,7 +9045,7 @@ __metadata: languageName: node linkType: hard -"debug@npm:^4.3.7": +"debug@npm:^4.3.5, debug@npm:^4.3.7": version: 4.3.7 resolution: "debug@npm:4.3.7" dependencies: @@ -9018,6 +9466,13 @@ __metadata: languageName: node linkType: hard +"emoji-regex@npm:^10.2.1": + version: 10.4.0 + resolution: "emoji-regex@npm:10.4.0" + checksum: 10/76bb92c5bcf0b6980d37e535156231e4a9d0aa6ab3b9f5eabf7690231d5aa5d5b8e516f36e6804cbdd0f1c23dfef2a60c40ab7bb8aedd890584281a565b97c50 + languageName: node + linkType: hard + "emoji-regex@npm:^8.0.0": version: 8.0.0 resolution: "emoji-regex@npm:8.0.0" @@ -9075,7 +9530,7 @@ __metadata: languageName: node linkType: hard -"enhanced-resolve@npm:^5.0.0, enhanced-resolve@npm:^5.12.0, enhanced-resolve@npm:^5.17.1": +"enhanced-resolve@npm:^5.0.0, enhanced-resolve@npm:^5.12.0, enhanced-resolve@npm:^5.15.0, enhanced-resolve@npm:^5.17.1": version: 5.17.1 resolution: "enhanced-resolve@npm:5.17.1" dependencies: @@ -9139,7 +9594,7 @@ __metadata: languageName: node linkType: hard -"error-ex@npm:^1.3.1": +"error-ex@npm:^1.3.1, error-ex@npm:^1.3.2": version: 1.3.2 resolution: "error-ex@npm:1.3.2" dependencies: @@ -9195,6 +9650,60 @@ __metadata: languageName: node linkType: hard +"es-abstract@npm:^1.17.5, es-abstract@npm:^1.22.3, es-abstract@npm:^1.23.0, es-abstract@npm:^1.23.1, es-abstract@npm:^1.23.2, es-abstract@npm:^1.23.3": + version: 1.23.3 + resolution: "es-abstract@npm:1.23.3" + dependencies: + array-buffer-byte-length: "npm:^1.0.1" + arraybuffer.prototype.slice: "npm:^1.0.3" + available-typed-arrays: "npm:^1.0.7" + call-bind: "npm:^1.0.7" + data-view-buffer: "npm:^1.0.1" + data-view-byte-length: "npm:^1.0.1" + data-view-byte-offset: "npm:^1.0.0" + es-define-property: "npm:^1.0.0" + es-errors: "npm:^1.3.0" + es-object-atoms: "npm:^1.0.0" + es-set-tostringtag: "npm:^2.0.3" + es-to-primitive: "npm:^1.2.1" + function.prototype.name: "npm:^1.1.6" + get-intrinsic: "npm:^1.2.4" + get-symbol-description: "npm:^1.0.2" + globalthis: "npm:^1.0.3" + gopd: "npm:^1.0.1" + has-property-descriptors: "npm:^1.0.2" + has-proto: "npm:^1.0.3" + has-symbols: "npm:^1.0.3" + hasown: "npm:^2.0.2" + internal-slot: "npm:^1.0.7" + is-array-buffer: "npm:^3.0.4" + is-callable: "npm:^1.2.7" + is-data-view: "npm:^1.0.1" + is-negative-zero: "npm:^2.0.3" + is-regex: "npm:^1.1.4" + is-shared-array-buffer: "npm:^1.0.3" + is-string: "npm:^1.0.7" + is-typed-array: "npm:^1.1.13" + is-weakref: "npm:^1.0.2" + object-inspect: "npm:^1.13.1" + object-keys: "npm:^1.1.1" + object.assign: "npm:^4.1.5" + regexp.prototype.flags: "npm:^1.5.2" + safe-array-concat: "npm:^1.1.2" + safe-regex-test: "npm:^1.0.3" + string.prototype.trim: "npm:^1.2.9" + string.prototype.trimend: "npm:^1.0.8" + string.prototype.trimstart: "npm:^1.0.8" + typed-array-buffer: "npm:^1.0.2" + typed-array-byte-length: "npm:^1.0.1" + typed-array-byte-offset: "npm:^1.0.2" + typed-array-length: "npm:^1.0.6" + unbox-primitive: "npm:^1.0.2" + which-typed-array: "npm:^1.1.15" + checksum: 10/2da795a6a1ac5fc2c452799a409acc2e3692e06dc6440440b076908617188899caa562154d77263e3053bcd9389a07baa978ab10ac3b46acc399bd0c77be04cb + languageName: node + linkType: hard + "es-check@npm:~7.1.1": version: 7.1.1 resolution: "es-check@npm:7.1.1" @@ -9219,13 +9728,36 @@ __metadata: languageName: node linkType: hard -"es-errors@npm:^1.3.0": +"es-errors@npm:^1.2.1, es-errors@npm:^1.3.0": version: 1.3.0 resolution: "es-errors@npm:1.3.0" checksum: 10/96e65d640156f91b707517e8cdc454dd7d47c32833aa3e85d79f24f9eb7ea85f39b63e36216ef0114996581969b59fe609a94e30316b08f5f4df1d44134cf8d5 languageName: node linkType: hard +"es-iterator-helpers@npm:^1.1.0": + version: 1.2.0 + resolution: "es-iterator-helpers@npm:1.2.0" + dependencies: + call-bind: "npm:^1.0.7" + define-properties: "npm:^1.2.1" + es-abstract: "npm:^1.23.3" + es-errors: "npm:^1.3.0" + es-set-tostringtag: "npm:^2.0.3" + function-bind: "npm:^1.1.2" + get-intrinsic: "npm:^1.2.4" + globalthis: "npm:^1.0.4" + gopd: "npm:^1.0.1" + has-property-descriptors: "npm:^1.0.2" + has-proto: "npm:^1.0.3" + has-symbols: "npm:^1.0.3" + internal-slot: "npm:^1.0.7" + iterator.prototype: "npm:^1.1.3" + safe-array-concat: "npm:^1.1.2" + checksum: 10/a4159e36c6bae03d4b636894fff2ff1acfcedc16c622939298b00adf4d2da6356ad92f682cc75c037a012a4b06adb903f67dfdfd05bac61847e9b763de2acbcb + languageName: node + linkType: hard + "es-module-lexer@npm:^1.2.1, es-module-lexer@npm:^1.5.0": version: 1.5.4 resolution: "es-module-lexer@npm:1.5.4" @@ -9233,6 +9765,15 @@ __metadata: languageName: node linkType: hard +"es-object-atoms@npm:^1.0.0": + version: 1.0.0 + resolution: "es-object-atoms@npm:1.0.0" + dependencies: + es-errors: "npm:^1.3.0" + checksum: 10/f8910cf477e53c0615f685c5c96210591841850871b81924fcf256bfbaa68c254457d994a4308c60d15b20805e7f61ce6abc669375e01a5349391a8c1767584f + languageName: node + linkType: hard + "es-set-tostringtag@npm:^2.0.1": version: 2.0.1 resolution: "es-set-tostringtag@npm:2.0.1" @@ -9244,6 +9785,17 @@ __metadata: languageName: node linkType: hard +"es-set-tostringtag@npm:^2.0.3": + version: 2.0.3 + resolution: "es-set-tostringtag@npm:2.0.3" + dependencies: + get-intrinsic: "npm:^1.2.4" + has-tostringtag: "npm:^1.0.2" + hasown: "npm:^2.0.1" + checksum: 10/7227fa48a41c0ce83e0377b11130d324ac797390688135b8da5c28994c0165be8b252e15cd1de41e1325e5a5412511586960213e88f9ab4a5e7d028895db5129 + languageName: node + linkType: hard + "es-shim-unscopables@npm:^1.0.0": version: 1.0.0 resolution: "es-shim-unscopables@npm:1.0.0" @@ -9253,6 +9805,15 @@ __metadata: languageName: node linkType: hard +"es-shim-unscopables@npm:^1.0.2": + version: 1.0.2 + resolution: "es-shim-unscopables@npm:1.0.2" + dependencies: + hasown: "npm:^2.0.0" + checksum: 10/6d3bf91f658a27cc7217cd32b407a0d714393a84d125ad576319b9e83a893bea165cf41270c29e9ceaa56d3cf41608945d7e2a2c31fd51c0009b0c31402b91c7 + languageName: node + linkType: hard + "es-to-primitive@npm:^1.2.1": version: 1.2.1 resolution: "es-to-primitive@npm:1.2.1" @@ -9421,6 +9982,17 @@ __metadata: languageName: node linkType: hard +"eslint-import-resolver-node@npm:^0.3.9": + version: 0.3.9 + resolution: "eslint-import-resolver-node@npm:0.3.9" + dependencies: + debug: "npm:^3.2.7" + is-core-module: "npm:^2.13.0" + resolve: "npm:^1.22.4" + checksum: 10/d52e08e1d96cf630957272e4f2644dcfb531e49dcfd1edd2e07e43369eb2ec7a7d4423d417beee613201206ff2efa4eb9a582b5825ee28802fc7c71fcd53ca83 + languageName: node + linkType: hard + "eslint-import-resolver-typescript@npm:~3.5.5": version: 3.5.5 resolution: "eslint-import-resolver-typescript@npm:3.5.5" @@ -9440,6 +10012,31 @@ __metadata: languageName: node linkType: hard +"eslint-import-resolver-typescript@npm:~3.6.3": + version: 3.6.3 + resolution: "eslint-import-resolver-typescript@npm:3.6.3" + dependencies: + "@nolyfill/is-core-module": "npm:1.0.39" + debug: "npm:^4.3.5" + enhanced-resolve: "npm:^5.15.0" + eslint-module-utils: "npm:^2.8.1" + fast-glob: "npm:^3.3.2" + get-tsconfig: "npm:^4.7.5" + is-bun-module: "npm:^1.0.2" + is-glob: "npm:^4.0.3" + peerDependencies: + eslint: "*" + eslint-plugin-import: "*" + eslint-plugin-import-x: "*" + peerDependenciesMeta: + eslint-plugin-import: + optional: true + eslint-plugin-import-x: + optional: true + checksum: 10/5f9956dbbd0becc3d6c6cb945dad0e5e6f529cfd0f488d5688f3c59840cd7f4a44ab6aee0f54b5c4188134dab9a01cb63c1201767bde7fc330b7c1a14747f8ac + languageName: node + linkType: hard + "eslint-mdx@npm:^2.0.5, eslint-mdx@npm:~2.0.5": version: 2.0.5 resolution: "eslint-mdx@npm:2.0.5" @@ -9464,6 +10061,42 @@ __metadata: languageName: node linkType: hard +"eslint-mdx@npm:^3.1.5": + version: 3.1.5 + resolution: "eslint-mdx@npm:3.1.5" + dependencies: + acorn: "npm:^8.11.3" + acorn-jsx: "npm:^5.3.2" + espree: "npm:^9.6.1" + estree-util-visit: "npm:^2.0.0" + remark-mdx: "npm:^3.0.0" + remark-parse: "npm:^11.0.0" + remark-stringify: "npm:^11.0.0" + synckit: "npm:^0.9.0" + tslib: "npm:^2.6.2" + unified: "npm:^11.0.4" + unified-engine: "npm:^11.2.0" + unist-util-visit: "npm:^5.0.0" + uvu: "npm:^0.5.6" + vfile: "npm:^6.0.1" + peerDependencies: + eslint: ">=8.0.0" + checksum: 10/8218476bf4dde702d7d0bd846163f407fef2c44de5315e08206cb025734f73a29baae7588f32e0c6745ea56bf10fe495ee6efc240083b79b47565b0bcb3096cb + languageName: node + linkType: hard + +"eslint-module-utils@npm:^2.12.0, eslint-module-utils@npm:^2.8.1": + version: 2.12.0 + resolution: "eslint-module-utils@npm:2.12.0" + dependencies: + debug: "npm:^3.2.7" + peerDependenciesMeta: + eslint: + optional: true + checksum: 10/dd27791147eca17366afcb83f47d6825b6ce164abb256681e5de4ec1d7e87d8605641eb869298a0dbc70665e2446dbcc2f40d3e1631a9475dd64dd23d4ca5dee + languageName: node + linkType: hard + "eslint-module-utils@npm:^2.7.3, eslint-module-utils@npm:^2.7.4": version: 2.7.4 resolution: "eslint-module-utils@npm:2.7.4" @@ -9499,6 +10132,35 @@ __metadata: languageName: node linkType: hard +"eslint-plugin-import@npm:~2.31.0": + version: 2.31.0 + resolution: "eslint-plugin-import@npm:2.31.0" + dependencies: + "@rtsao/scc": "npm:^1.1.0" + array-includes: "npm:^3.1.8" + array.prototype.findlastindex: "npm:^1.2.5" + array.prototype.flat: "npm:^1.3.2" + array.prototype.flatmap: "npm:^1.3.2" + debug: "npm:^3.2.7" + doctrine: "npm:^2.1.0" + eslint-import-resolver-node: "npm:^0.3.9" + eslint-module-utils: "npm:^2.12.0" + hasown: "npm:^2.0.2" + is-core-module: "npm:^2.15.1" + is-glob: "npm:^4.0.3" + minimatch: "npm:^3.1.2" + object.fromentries: "npm:^2.0.8" + object.groupby: "npm:^1.0.3" + object.values: "npm:^1.2.0" + semver: "npm:^6.3.1" + string.prototype.trimend: "npm:^1.0.8" + tsconfig-paths: "npm:^3.15.0" + peerDependencies: + eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 || ^9 + checksum: 10/6b76bd009ac2db0615d9019699d18e2a51a86cb8c1d0855a35fb1b418be23b40239e6debdc6e8c92c59f1468ed0ea8d7b85c817117a113d5cc225be8a02ad31c + languageName: node + linkType: hard + "eslint-plugin-markdown@npm:^3.0.0": version: 3.0.0 resolution: "eslint-plugin-markdown@npm:3.0.0" @@ -9510,6 +10172,17 @@ __metadata: languageName: node linkType: hard +"eslint-plugin-markdown@npm:^3.0.1": + version: 3.0.1 + resolution: "eslint-plugin-markdown@npm:3.0.1" + dependencies: + mdast-util-from-markdown: "npm:^0.8.5" + peerDependencies: + eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 + checksum: 10/1408ccd48f6358dfc528a0fe7abc1f468c913144c74392cc3ed4926ed6556e7c87524a0a1b8a40174135e872979d213d05dcd3edc90a3ad555f12feb31c3c87d + languageName: node + linkType: hard + "eslint-plugin-mdx@npm:~2.0.5": version: 2.0.5 resolution: "eslint-plugin-mdx@npm:2.0.5" @@ -9528,6 +10201,24 @@ __metadata: languageName: node linkType: hard +"eslint-plugin-mdx@npm:~3.1.5": + version: 3.1.5 + resolution: "eslint-plugin-mdx@npm:3.1.5" + dependencies: + eslint-mdx: "npm:^3.1.5" + eslint-plugin-markdown: "npm:^3.0.1" + remark-mdx: "npm:^3.0.0" + remark-parse: "npm:^11.0.0" + remark-stringify: "npm:^11.0.0" + tslib: "npm:^2.6.2" + unified: "npm:^11.0.4" + vfile: "npm:^6.0.1" + peerDependencies: + eslint: ">=8.0.0" + checksum: 10/56c4cffb0e7931ed5200084878367f9ee2fc7c1c910509dbea32f227ff911b1451b36b7500bf393ef9b7ca67c8ca7825bbd0e6694bb35360c0182c974581fa80 + languageName: node + linkType: hard + "eslint-plugin-prettier@npm:~5.2.1": version: 5.2.1 resolution: "eslint-plugin-prettier@npm:5.2.1" @@ -9557,6 +10248,15 @@ __metadata: languageName: node linkType: hard +"eslint-plugin-react-hooks@npm:~5.0.0": + version: 5.0.0 + resolution: "eslint-plugin-react-hooks@npm:5.0.0" + peerDependencies: + eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0 + checksum: 10/b762789832806b6981e2d910994e72aa7a85136fe0880572334b26cf1274ba37bd3b1365e77d2c2f92465337c4a65c84ef647bc499d33b86fc1110f2df7ef1bb + languageName: node + linkType: hard + "eslint-plugin-react@npm:~7.32.2": version: 7.32.2 resolution: "eslint-plugin-react@npm:7.32.2" @@ -9582,6 +10282,34 @@ __metadata: languageName: node linkType: hard +"eslint-plugin-react@npm:~7.37.2": + version: 7.37.2 + resolution: "eslint-plugin-react@npm:7.37.2" + dependencies: + array-includes: "npm:^3.1.8" + array.prototype.findlast: "npm:^1.2.5" + array.prototype.flatmap: "npm:^1.3.2" + array.prototype.tosorted: "npm:^1.1.4" + doctrine: "npm:^2.1.0" + es-iterator-helpers: "npm:^1.1.0" + estraverse: "npm:^5.3.0" + hasown: "npm:^2.0.2" + jsx-ast-utils: "npm:^2.4.1 || ^3.0.0" + minimatch: "npm:^3.1.2" + object.entries: "npm:^1.1.8" + object.fromentries: "npm:^2.0.8" + object.values: "npm:^1.2.0" + prop-types: "npm:^15.8.1" + resolve: "npm:^2.0.0-next.5" + semver: "npm:^6.3.1" + string.prototype.matchall: "npm:^4.0.11" + string.prototype.repeat: "npm:^1.0.0" + peerDependencies: + eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7 + checksum: 10/df2f7ab198018d3378f305a8a5ceceebc9bd31f019fc7567a2ef9c77789dc8a6a2c3c3957f8b0805f26c11c02f9f86c972e02cd0eda12f4d0370526c11f8a9a3 + languageName: node + linkType: hard + "eslint-scope@npm:5.1.1": version: 5.1.1 resolution: "eslint-scope@npm:5.1.1" @@ -9592,13 +10320,13 @@ __metadata: languageName: node linkType: hard -"eslint-scope@npm:^7.2.2": - version: 7.2.2 - resolution: "eslint-scope@npm:7.2.2" +"eslint-scope@npm:^8.2.0": + version: 8.2.0 + resolution: "eslint-scope@npm:8.2.0" dependencies: esrecurse: "npm:^4.3.0" estraverse: "npm:^5.2.0" - checksum: 10/5c660fb905d5883ad018a6fea2b49f3cb5b1cbf2cd4bd08e98646e9864f9bc2c74c0839bed2d292e90a4a328833accc197c8f0baed89cbe8d605d6f918465491 + checksum: 10/cd9ab60d5a68f3a0fcac04d1cff5a7383d0f331964d5f1c446259123caec5b3ccc542284d07846e4f4d1389da77750821cc9a6e1ce18558c674977351666f9a6 languageName: node linkType: hard @@ -9616,55 +10344,75 @@ __metadata: languageName: node linkType: hard -"eslint@npm:~8.57.1": - version: 8.57.1 - resolution: "eslint@npm:8.57.1" +"eslint-visitor-keys@npm:^4.2.0": + version: 4.2.0 + resolution: "eslint-visitor-keys@npm:4.2.0" + checksum: 10/9651b3356b01760e586b4c631c5268c0e1a85236e3292bf754f0472f465bf9a856c0ddc261fceace155334118c0151778effafbab981413dbf9288349343fa25 + languageName: node + linkType: hard + +"eslint@npm:~9.14.0": + version: 9.14.0 + resolution: "eslint@npm:9.14.0" dependencies: "@eslint-community/eslint-utils": "npm:^4.2.0" - "@eslint-community/regexpp": "npm:^4.6.1" - "@eslint/eslintrc": "npm:^2.1.4" - "@eslint/js": "npm:8.57.1" - "@humanwhocodes/config-array": "npm:^0.13.0" + "@eslint-community/regexpp": "npm:^4.12.1" + "@eslint/config-array": "npm:^0.18.0" + "@eslint/core": "npm:^0.7.0" + "@eslint/eslintrc": "npm:^3.1.0" + "@eslint/js": "npm:9.14.0" + "@eslint/plugin-kit": "npm:^0.2.0" + "@humanfs/node": "npm:^0.16.6" "@humanwhocodes/module-importer": "npm:^1.0.1" - "@nodelib/fs.walk": "npm:^1.2.8" - "@ungap/structured-clone": "npm:^1.2.0" + "@humanwhocodes/retry": "npm:^0.4.0" + "@types/estree": "npm:^1.0.6" + "@types/json-schema": "npm:^7.0.15" ajv: "npm:^6.12.4" chalk: "npm:^4.0.0" cross-spawn: "npm:^7.0.2" debug: "npm:^4.3.2" - doctrine: "npm:^3.0.0" escape-string-regexp: "npm:^4.0.0" - eslint-scope: "npm:^7.2.2" - eslint-visitor-keys: "npm:^3.4.3" - espree: "npm:^9.6.1" - esquery: "npm:^1.4.2" + eslint-scope: "npm:^8.2.0" + eslint-visitor-keys: "npm:^4.2.0" + espree: "npm:^10.3.0" + esquery: "npm:^1.5.0" esutils: "npm:^2.0.2" fast-deep-equal: "npm:^3.1.3" - file-entry-cache: "npm:^6.0.1" + file-entry-cache: "npm:^8.0.0" find-up: "npm:^5.0.0" glob-parent: "npm:^6.0.2" - globals: "npm:^13.19.0" - graphemer: "npm:^1.4.0" ignore: "npm:^5.2.0" imurmurhash: "npm:^0.1.4" is-glob: "npm:^4.0.0" - is-path-inside: "npm:^3.0.3" - js-yaml: "npm:^4.1.0" json-stable-stringify-without-jsonify: "npm:^1.0.1" - levn: "npm:^0.4.1" lodash.merge: "npm:^4.6.2" minimatch: "npm:^3.1.2" natural-compare: "npm:^1.4.0" optionator: "npm:^0.9.3" - strip-ansi: "npm:^6.0.1" text-table: "npm:^0.2.0" + peerDependencies: + jiti: "*" + peerDependenciesMeta: + jiti: + optional: true bin: eslint: bin/eslint.js - checksum: 10/5504fa24879afdd9f9929b2fbfc2ee9b9441a3d464efd9790fbda5f05738858530182029f13323add68d19fec749d3ab4a70320ded091ca4432b1e9cc4ed104c + checksum: 10/6ce59dda56ecff9483c6e8cd28e91138d2c43cbf08c923f731f507fd9b4aba9d72761c99882dc313a72ea915a5e380ab0b4f01e208a7a37d71490ddfd29ee063 languageName: node linkType: hard -"espree@npm:^9.4.0, espree@npm:^9.6.0, espree@npm:^9.6.1": +"espree@npm:^10.0.1, espree@npm:^10.3.0": + version: 10.3.0 + resolution: "espree@npm:10.3.0" + dependencies: + acorn: "npm:^8.14.0" + acorn-jsx: "npm:^5.3.2" + eslint-visitor-keys: "npm:^4.2.0" + checksum: 10/3412d44d4204c9e29d6b5dd0277400cfa0cd68495dc09eae1b9ce79d0c8985c1c5cc09cb9ba32a1cd963f48a49b0c46bdb7736afe395a300aa6bb1c0d86837e8 + languageName: node + linkType: hard + +"espree@npm:^9.4.0, espree@npm:^9.6.1": version: 9.6.1 resolution: "espree@npm:9.6.1" dependencies: @@ -9685,12 +10433,12 @@ __metadata: languageName: node linkType: hard -"esquery@npm:^1.4.2": - version: 1.5.0 - resolution: "esquery@npm:1.5.0" +"esquery@npm:^1.5.0": + version: 1.6.0 + resolution: "esquery@npm:1.6.0" dependencies: estraverse: "npm:^5.1.0" - checksum: 10/e65fcdfc1e0ff5effbf50fb4f31ea20143ae5df92bb2e4953653d8d40aa4bc148e0d06117a592ce4ea53eeab1dafdfded7ea7e22a5be87e82d73757329a1b01d + checksum: 10/c587fb8ec9ed83f2b1bc97cf2f6854cc30bf784a79d62ba08c6e358bf22280d69aee12827521cf38e69ae9761d23fb7fde593ce315610f85655c139d99b05e5a languageName: node linkType: hard @@ -9724,6 +10472,13 @@ __metadata: languageName: node linkType: hard +"estree-util-is-identifier-name@npm:^3.0.0": + version: 3.0.0 + resolution: "estree-util-is-identifier-name@npm:3.0.0" + checksum: 10/cdc9187614fdb269d714eddfdf72c270a79daa9ed51e259bb78527983be6dcc68da6a914ccc41175b662194c67fbd2a1cd262f85fac1eef7111cfddfaf6f77f8 + languageName: node + linkType: hard + "estree-util-visit@npm:^1.0.0, estree-util-visit@npm:^1.2.0": version: 1.2.1 resolution: "estree-util-visit@npm:1.2.1" @@ -9734,6 +10489,16 @@ __metadata: languageName: node linkType: hard +"estree-util-visit@npm:^2.0.0": + version: 2.0.0 + resolution: "estree-util-visit@npm:2.0.0" + dependencies: + "@types/estree-jsx": "npm:^1.0.0" + "@types/unist": "npm:^3.0.0" + checksum: 10/e3c39d34c8b42fc2067dfa64d460f754b43cca4b573b031a5e5bb185e02c4efc753353197815bbb094b8149a781ab76f18116bec8056b5ff375162e68bffa0bd + languageName: node + linkType: hard + "estree-walker@npm:^1.0.1": version: 1.0.1 resolution: "estree-walker@npm:1.0.1" @@ -9961,12 +10726,12 @@ __metadata: languageName: node linkType: hard -"file-entry-cache@npm:^6.0.1": - version: 6.0.1 - resolution: "file-entry-cache@npm:6.0.1" +"file-entry-cache@npm:^8.0.0": + version: 8.0.0 + resolution: "file-entry-cache@npm:8.0.0" dependencies: - flat-cache: "npm:^3.0.4" - checksum: 10/099bb9d4ab332cb93c48b14807a6918a1da87c45dce91d4b61fd40e6505d56d0697da060cb901c729c90487067d93c9243f5da3dc9c41f0358483bfdebca736b + flat-cache: "npm:^4.0.0" + checksum: 10/afe55c4de4e0d226a23c1eae62a7219aafb390859122608a89fa4df6addf55c7fd3f1a2da6f5b41e7cdff496e4cf28bbd215d53eab5c817afa96d2b40c81bfb0 languageName: node linkType: hard @@ -10054,6 +10819,16 @@ __metadata: languageName: node linkType: hard +"flat-cache@npm:^4.0.0": + version: 4.0.1 + resolution: "flat-cache@npm:4.0.1" + dependencies: + flatted: "npm:^3.2.9" + keyv: "npm:^4.5.4" + checksum: 10/58ce851d9045fffc7871ce2bd718bc485ad7e777bf748c054904b87c351ff1080c2c11da00788d78738bfb51b71e4d5ea12d13b98eb36e3358851ffe495b62dc + languageName: node + linkType: hard + "flat-cache@npm:^5.0.0": version: 5.0.0 resolution: "flat-cache@npm:5.0.0" @@ -10071,7 +10846,7 @@ __metadata: languageName: node linkType: hard -"flatted@npm:^3.3.1": +"flatted@npm:^3.2.9, flatted@npm:^3.3.1": version: 3.3.1 resolution: "flatted@npm:3.3.1" checksum: 10/7b8376061d5be6e0d3658bbab8bde587647f68797cf6bfeae9dea0e5137d9f27547ab92aaff3512dd9d1299086a6d61be98e9d48a56d17531b634f77faadbc49 @@ -10306,6 +11081,18 @@ __metadata: languageName: node linkType: hard +"function.prototype.name@npm:^1.1.6": + version: 1.1.6 + resolution: "function.prototype.name@npm:1.1.6" + dependencies: + call-bind: "npm:^1.0.2" + define-properties: "npm:^1.2.0" + es-abstract: "npm:^1.22.1" + functions-have-names: "npm:^1.2.3" + checksum: 10/4d40be44d4609942e4e90c4fff77a811fa936f4985d92d2abfcf44f673ba344e2962bf223a33101f79c1a056465f36f09b072b9c289d7660ca554a12491cd5a2 + languageName: node + linkType: hard + "functions-have-names@npm:^1.2.2, functions-have-names@npm:^1.2.3": version: 1.2.3 resolution: "functions-have-names@npm:1.2.3" @@ -10366,7 +11153,7 @@ __metadata: languageName: node linkType: hard -"get-intrinsic@npm:^1.0.2, get-intrinsic@npm:^1.1.1, get-intrinsic@npm:^1.1.3, get-intrinsic@npm:^1.2.0, get-intrinsic@npm:^1.2.1, get-intrinsic@npm:^1.2.4": +"get-intrinsic@npm:^1.0.2, get-intrinsic@npm:^1.1.1, get-intrinsic@npm:^1.1.3, get-intrinsic@npm:^1.2.0, get-intrinsic@npm:^1.2.1, get-intrinsic@npm:^1.2.3, get-intrinsic@npm:^1.2.4": version: 1.2.4 resolution: "get-intrinsic@npm:1.2.4" dependencies: @@ -10403,6 +11190,17 @@ __metadata: languageName: node linkType: hard +"get-symbol-description@npm:^1.0.2": + version: 1.0.2 + resolution: "get-symbol-description@npm:1.0.2" + dependencies: + call-bind: "npm:^1.0.5" + es-errors: "npm:^1.3.0" + get-intrinsic: "npm:^1.2.4" + checksum: 10/e1cb53bc211f9dbe9691a4f97a46837a553c4e7caadd0488dc24ac694db8a390b93edd412b48dcdd0b4bbb4c595de1709effc75fc87c0839deedc6968f5bd973 + languageName: node + linkType: hard + "get-tsconfig@npm:^4.5.0": version: 4.5.0 resolution: "get-tsconfig@npm:4.5.0" @@ -10410,6 +11208,15 @@ __metadata: languageName: node linkType: hard +"get-tsconfig@npm:^4.7.5": + version: 4.8.1 + resolution: "get-tsconfig@npm:4.8.1" + dependencies: + resolve-pkg-maps: "npm:^1.0.0" + checksum: 10/3fb5a8ad57b9633eaea085d81661e9e5c9f78b35d8f8689eaf8b8b45a2a3ebf3b3422266d4d7df765e308cc1e6231648d114803ab3d018332e29916f2c1de036 + languageName: node + linkType: hard + "getpass@npm:^0.1.1": version: 0.1.7 resolution: "getpass@npm:0.1.7" @@ -10463,7 +11270,7 @@ __metadata: languageName: node linkType: hard -"glob@npm:^10.4.2": +"glob@npm:^10.2.2, glob@npm:^10.4.2": version: 10.4.5 resolution: "glob@npm:10.4.5" dependencies: @@ -10533,12 +11340,17 @@ __metadata: languageName: node linkType: hard -"globals@npm:^13.19.0": - version: 13.20.0 - resolution: "globals@npm:13.20.0" - dependencies: - type-fest: "npm:^0.20.2" - checksum: 10/9df85cde2f0dce6ac9b3a5e08bec109d2f3b38ddd055a83867e0672c55704866d53ce6a4265859fa630624baadd46f50ca38602a13607ad86be853a8c179d3e7 +"globals@npm:^14.0.0": + version: 14.0.0 + resolution: "globals@npm:14.0.0" + checksum: 10/03939c8af95c6df5014b137cac83aa909090c3a3985caef06ee9a5a669790877af8698ab38007e4c0186873adc14c0b13764acc754b16a754c216cc56aa5f021 + languageName: node + linkType: hard + +"globals@npm:~15.12.0": + version: 15.12.0 + resolution: "globals@npm:15.12.0" + checksum: 10/07cac4ee7cc9befa7894be9b4d1a57f46eeedf9065939f39ffb875009394908eb7bac84147712cfd4bbabab5abc7ab98fc3a6d0fd881f9548fffa10ba2e4bf67 languageName: node linkType: hard @@ -10551,6 +11363,16 @@ __metadata: languageName: node linkType: hard +"globalthis@npm:^1.0.4": + version: 1.0.4 + resolution: "globalthis@npm:1.0.4" + dependencies: + define-properties: "npm:^1.2.1" + gopd: "npm:^1.0.1" + checksum: 10/1f1fd078fb2f7296306ef9dd51019491044ccf17a59ed49d375b576ca108ff37e47f3d29aead7add40763574a992f16a5367dd1e2173b8634ef18556ab719ac4 + languageName: node + linkType: hard + "globby@npm:^11.0.0, globby@npm:^11.1.0": version: 11.1.0 resolution: "globby@npm:11.1.0" @@ -10671,6 +11493,13 @@ __metadata: languageName: node linkType: hard +"has-proto@npm:^1.0.3": + version: 1.0.3 + resolution: "has-proto@npm:1.0.3" + checksum: 10/0b67c2c94e3bea37db3e412e3c41f79d59259875e636ba471e94c009cdfb1fa82bf045deeffafc7dbb9c148e36cae6b467055aaa5d9fad4316e11b41e3ba551a + languageName: node + linkType: hard + "has-symbols@npm:^1.0.1, has-symbols@npm:^1.0.3": version: 1.0.3 resolution: "has-symbols@npm:1.0.3" @@ -10703,7 +11532,7 @@ __metadata: languageName: node linkType: hard -"hasown@npm:^2.0.0, hasown@npm:^2.0.2": +"hasown@npm:^2.0.0, hasown@npm:^2.0.1, hasown@npm:^2.0.2": version: 2.0.2 resolution: "hasown@npm:2.0.2" dependencies: @@ -10738,6 +11567,15 @@ __metadata: languageName: node linkType: hard +"hosted-git-info@npm:^7.0.0": + version: 7.0.2 + resolution: "hosted-git-info@npm:7.0.2" + dependencies: + lru-cache: "npm:^10.0.1" + checksum: 10/8f085df8a4a637d995f357f48b1e3f6fc1f9f92e82b33fb406415b5741834ed431a510a09141071001e8deea2eee43ce72786463e2aa5e5a70db8648c0eedeab + languageName: node + linkType: hard + "html-encoding-sniffer@npm:^4.0.0": version: 4.0.0 resolution: "html-encoding-sniffer@npm:4.0.0" @@ -11008,7 +11846,7 @@ __metadata: languageName: node linkType: hard -"ignore@npm:^6.0.2": +"ignore@npm:^6.0.0, ignore@npm:^6.0.2": version: 6.0.2 resolution: "ignore@npm:6.0.2" checksum: 10/af39e49996cd989763920e445eff897d0ae1e36b5f27b0e09e14a4fd2df89b362f92e720ecf06ef729056842366527db8561d310e904718810b92ffbcd23056d @@ -11044,6 +11882,13 @@ __metadata: languageName: node linkType: hard +"import-meta-resolve@npm:^4.0.0": + version: 4.1.0 + resolution: "import-meta-resolve@npm:4.1.0" + checksum: 10/40162f67eb406c8d5d49266206ef12ff07b54f5fad8cfd806db9efe3a055958e9969be51d6efaf82e34b8bea6758113dcc17bb79ff148292a4badcabc3472f22 + languageName: node + linkType: hard + "imurmurhash@npm:^0.1.4": version: 0.1.4 resolution: "imurmurhash@npm:0.1.4" @@ -11110,6 +11955,13 @@ __metadata: languageName: node linkType: hard +"ini@npm:^4.1.2, ini@npm:^4.1.3": + version: 4.1.3 + resolution: "ini@npm:4.1.3" + checksum: 10/f536b414d1442e5b233429e2b56efcdb354109b2d65ddd489e5939d8f0f5ad23c88aa2b19c92987249d0dd63ba8192e9aeb1a02b0459549c5a9ff31acd729a5d + languageName: node + linkType: hard + "internal-slot@npm:^1.0.3, internal-slot@npm:^1.0.5": version: 1.0.5 resolution: "internal-slot@npm:1.0.5" @@ -11121,6 +11973,17 @@ __metadata: languageName: node linkType: hard +"internal-slot@npm:^1.0.7": + version: 1.0.7 + resolution: "internal-slot@npm:1.0.7" + dependencies: + es-errors: "npm:^1.3.0" + hasown: "npm:^2.0.0" + side-channel: "npm:^1.0.4" + checksum: 10/3e66720508831153ecf37d13def9f6856f9f2960989ec8a0a0476c98f887fca9eff0163127466485cb825c900c2d6fc601aa9117b7783b90ffce23a71ea5d053 + languageName: node + linkType: hard + "interpret@npm:^3.1.1": version: 3.1.1 resolution: "interpret@npm:3.1.1" @@ -11210,6 +12073,16 @@ __metadata: languageName: node linkType: hard +"is-array-buffer@npm:^3.0.4": + version: 3.0.4 + resolution: "is-array-buffer@npm:3.0.4" + dependencies: + call-bind: "npm:^1.0.2" + get-intrinsic: "npm:^1.2.1" + checksum: 10/34a26213d981d58b30724ef37a1e0682f4040d580fa9ff58fdfdd3cefcb2287921718c63971c1c404951e7b747c50fdc7caf6e867e951353fa71b369c04c969b + languageName: node + linkType: hard + "is-arrayish@npm:^0.2.1": version: 0.2.1 resolution: "is-arrayish@npm:0.2.1" @@ -11224,6 +12097,15 @@ __metadata: languageName: node linkType: hard +"is-async-function@npm:^2.0.0": + version: 2.0.0 + resolution: "is-async-function@npm:2.0.0" + dependencies: + has-tostringtag: "npm:^1.0.0" + checksum: 10/2cf336fbf8cba3badcf526aa3d10384c30bab32615ac4831b74492eb4e843ccb7d8439a119c27f84bcf217d72024e611b1373f870f433b48f3fa57d3d1b863f1 + languageName: node + linkType: hard + "is-bigint@npm:^1.0.1": version: 1.0.1 resolution: "is-bigint@npm:1.0.1" @@ -11265,6 +12147,15 @@ __metadata: languageName: node linkType: hard +"is-bun-module@npm:^1.0.2": + version: 1.2.1 + resolution: "is-bun-module@npm:1.2.1" + dependencies: + semver: "npm:^7.6.3" + checksum: 10/1c2cbcf1a76991add1b640d2d7fe09848e8697a76f96e1289dff44133a48c97f5dc601d4a66d3f3a86217a77178d72d33d10d0c9e14194e58e70ec8df3eae41a + languageName: node + linkType: hard + "is-callable@npm:^1.1.3, is-callable@npm:^1.1.4, is-callable@npm:^1.2.7": version: 1.2.7 resolution: "is-callable@npm:1.2.7" @@ -11281,6 +12172,24 @@ __metadata: languageName: node linkType: hard +"is-core-module@npm:^2.15.1": + version: 2.15.1 + resolution: "is-core-module@npm:2.15.1" + dependencies: + hasown: "npm:^2.0.2" + checksum: 10/77316d5891d5743854bcef2cd2f24c5458fb69fbc9705c12ca17d54a2017a67d0693bbf1ba8c77af376c0eef6bf6d1b27a4ab08e4db4e69914c3789bdf2ceec5 + languageName: node + linkType: hard + +"is-data-view@npm:^1.0.1": + version: 1.0.1 + resolution: "is-data-view@npm:1.0.1" + dependencies: + is-typed-array: "npm:^1.1.13" + checksum: 10/4ba4562ac2b2ec005fefe48269d6bd0152785458cd253c746154ffb8a8ab506a29d0cfb3b74af87513843776a88e4981ae25c89457bf640a33748eab1a7216b5 + languageName: node + linkType: hard + "is-date-object@npm:^1.0.1": version: 1.0.2 resolution: "is-date-object@npm:1.0.2" @@ -11288,6 +12197,15 @@ __metadata: languageName: node linkType: hard +"is-date-object@npm:^1.0.5": + version: 1.0.5 + resolution: "is-date-object@npm:1.0.5" + dependencies: + has-tostringtag: "npm:^1.0.0" + checksum: 10/cc80b3a4b42238fa0d358b9a6230dae40548b349e64a477cb7c5eff9b176ba194c11f8321daaf6dd157e44073e9b7fd01f87db1f14952a88d5657acdcd3a56e2 + languageName: node + linkType: hard + "is-decimal@npm:^1.0.0": version: 1.0.4 resolution: "is-decimal@npm:1.0.4" @@ -11311,6 +12229,13 @@ __metadata: languageName: node linkType: hard +"is-empty@npm:^1.0.0": + version: 1.2.0 + resolution: "is-empty@npm:1.2.0" + checksum: 10/dc80e0a8ad5439d98d128d126fe69e5dcd6b474e29753107bcfe82fc7d628c9da618d48bb24878a7891f231696405ad0a854dfe3cfc955c23d24e80d9e252e62 + languageName: node + linkType: hard + "is-extglob@npm:^2.1.1": version: 2.1.1 resolution: "is-extglob@npm:2.1.1" @@ -11318,6 +12243,15 @@ __metadata: languageName: node linkType: hard +"is-finalizationregistry@npm:^1.0.2": + version: 1.0.2 + resolution: "is-finalizationregistry@npm:1.0.2" + dependencies: + call-bind: "npm:^1.0.2" + checksum: 10/1b8e9e1bf2075e862315ef9d38ce6d39c43ca9d81d46f73b34473506992f4b0fbaadb47ec9b420a5e76afe3f564d9f1f0d9b552ef272cc2395e0f21d743c9c29 + languageName: node + linkType: hard + "is-fullwidth-code-point@npm:^1.0.0": version: 1.0.0 resolution: "is-fullwidth-code-point@npm:1.0.0" @@ -11341,7 +12275,7 @@ __metadata: languageName: node linkType: hard -"is-generator-function@npm:^1.0.7": +"is-generator-function@npm:^1.0.10, is-generator-function@npm:^1.0.7": version: 1.0.10 resolution: "is-generator-function@npm:1.0.10" dependencies: @@ -11396,6 +12330,13 @@ __metadata: languageName: node linkType: hard +"is-map@npm:^2.0.3": + version: 2.0.3 + resolution: "is-map@npm:2.0.3" + checksum: 10/8de7b41715b08bcb0e5edb0fb9384b80d2d5bcd10e142188f33247d19ff078abaf8e9b6f858e2302d8d05376a26a55cd23a3c9f8ab93292b02fcd2cc9e4e92bb + languageName: node + linkType: hard + "is-module@npm:^1.0.0": version: 1.0.0 resolution: "is-module@npm:1.0.0" @@ -11420,6 +12361,13 @@ __metadata: languageName: node linkType: hard +"is-negative-zero@npm:^2.0.3": + version: 2.0.3 + resolution: "is-negative-zero@npm:2.0.3" + checksum: 10/8fe5cffd8d4fb2ec7b49d657e1691889778d037494c6f40f4d1a524cadd658b4b53ad7b6b73a59bcb4b143ae9a3d15829af864b2c0f9d65ac1e678c4c80f17e5 + languageName: node + linkType: hard + "is-number-object@npm:^1.0.4": version: 1.0.4 resolution: "is-number-object@npm:1.0.4" @@ -11430,14 +12378,7 @@ __metadata: "is-number@npm:^7.0.0": version: 7.0.0 resolution: "is-number@npm:7.0.0" - checksum: 10/6a6c3383f68afa1e05b286af866017c78f1226d43ac8cb064e115ff9ed85eb33f5c4f7216c96a71e4dfea289ef52c5da3aef5bbfade8ffe47a0465d70c0c8e86 - languageName: node - linkType: hard - -"is-path-inside@npm:^3.0.3": - version: 3.0.3 - resolution: "is-path-inside@npm:3.0.3" - checksum: 10/abd50f06186a052b349c15e55b182326f1936c89a78bf6c8f2b707412517c097ce04bc49a0ca221787bc44e1049f51f09a2ffb63d22899051988d3a618ba13e9 + checksum: 10/6a6c3383f68afa1e05b286af866017c78f1226d43ac8cb064e115ff9ed85eb33f5c4f7216c96a71e4dfea289ef52c5da3aef5bbfade8ffe47a0465d70c0c8e86 languageName: node linkType: hard @@ -11490,6 +12431,13 @@ __metadata: languageName: node linkType: hard +"is-set@npm:^2.0.3": + version: 2.0.3 + resolution: "is-set@npm:2.0.3" + checksum: 10/5685df33f0a4a6098a98c72d94d67cad81b2bc72f1fb2091f3d9283c4a1c582123cd709145b02a9745f0ce6b41e3e43f1c944496d1d74d4ea43358be61308669 + languageName: node + linkType: hard + "is-shared-array-buffer@npm:^1.0.2": version: 1.0.2 resolution: "is-shared-array-buffer@npm:1.0.2" @@ -11499,6 +12447,15 @@ __metadata: languageName: node linkType: hard +"is-shared-array-buffer@npm:^1.0.3": + version: 1.0.3 + resolution: "is-shared-array-buffer@npm:1.0.3" + dependencies: + call-bind: "npm:^1.0.7" + checksum: 10/bc5402900dc62b96ebb2548bf5b0a0bcfacc2db122236fe3ab3b3e3c884293a0d5eb777e73f059bcbf8dc8563bb65eae972fee0fb97e38a9ae27c8678f62bcfe + languageName: node + linkType: hard + "is-stream@npm:^2.0.0": version: 2.0.0 resolution: "is-stream@npm:2.0.0" @@ -11533,7 +12490,7 @@ __metadata: languageName: node linkType: hard -"is-typed-array@npm:^1.1.10, is-typed-array@npm:^1.1.3, is-typed-array@npm:^1.1.9": +"is-typed-array@npm:^1.1.10, is-typed-array@npm:^1.1.13, is-typed-array@npm:^1.1.3, is-typed-array@npm:^1.1.9": version: 1.1.13 resolution: "is-typed-array@npm:1.1.13" dependencies: @@ -11565,6 +12522,13 @@ __metadata: languageName: node linkType: hard +"is-weakmap@npm:^2.0.2": + version: 2.0.2 + resolution: "is-weakmap@npm:2.0.2" + checksum: 10/a7b7e23206c542dcf2fa0abc483142731788771527e90e7e24f658c0833a0d91948a4f7b30d78f7a65255a48512e41a0288b778ba7fc396137515c12e201fd11 + languageName: node + linkType: hard + "is-weakref@npm:^1.0.2": version: 1.0.2 resolution: "is-weakref@npm:1.0.2" @@ -11574,6 +12538,16 @@ __metadata: languageName: node linkType: hard +"is-weakset@npm:^2.0.3": + version: 2.0.3 + resolution: "is-weakset@npm:2.0.3" + dependencies: + call-bind: "npm:^1.0.7" + get-intrinsic: "npm:^1.2.4" + checksum: 10/40159582ff1b44fc40085f631baf19f56479b05af2faede65b4e6a0b6acab745c13fd070e35b475aafd8a1ee50879ba5a3f1265125b46bebdb446b6be1f62165 + languageName: node + linkType: hard + "is-windows@npm:^1.0.0": version: 1.0.2 resolution: "is-windows@npm:1.0.2" @@ -11618,6 +12592,13 @@ __metadata: languageName: node linkType: hard +"isexe@npm:^3.1.1": + version: 3.1.1 + resolution: "isexe@npm:3.1.1" + checksum: 10/7fe1931ee4e88eb5aa524cd3ceb8c882537bc3a81b02e438b240e47012eef49c86904d0f0e593ea7c3a9996d18d0f1f3be8d3eaa92333977b0c3a9d353d5563e + languageName: node + linkType: hard + "isobject@npm:^3.0.1": version: 3.0.1 resolution: "isobject@npm:3.0.1" @@ -11697,6 +12678,19 @@ __metadata: languageName: node linkType: hard +"iterator.prototype@npm:^1.1.3": + version: 1.1.3 + resolution: "iterator.prototype@npm:1.1.3" + dependencies: + define-properties: "npm:^1.2.1" + get-intrinsic: "npm:^1.2.1" + has-symbols: "npm:^1.0.3" + reflect.getprototypeof: "npm:^1.0.4" + set-function-name: "npm:^2.0.1" + checksum: 10/1a2a508d3baac121b76c834404ff552d1bb96a173b1d74ff947b2c5763840c0b1e5be01be7e2183a19b08e99e38729812668ff1f23b35f6655a366017bc32519 + languageName: node + linkType: hard + "jackspeak@npm:^3.1.2": version: 3.4.3 resolution: "jackspeak@npm:3.4.3" @@ -12347,6 +13341,13 @@ __metadata: languageName: node linkType: hard +"json-parse-even-better-errors@npm:^3.0.0": + version: 3.0.2 + resolution: "json-parse-even-better-errors@npm:3.0.2" + checksum: 10/6f04ea6c9ccb783630a59297959247e921cc90b917b8351197ca7fd058fccc7079268fd9362be21ba876fc26aa5039369dd0a2280aae49aae425784794a94927 + languageName: node + linkType: hard + "json-schema-traverse@npm:^0.4.1": version: 0.4.1 resolution: "json-schema-traverse@npm:0.4.1" @@ -12394,7 +13395,7 @@ __metadata: languageName: node linkType: hard -"json5@npm:^1.0.1": +"json5@npm:^1.0.1, json5@npm:^1.0.2": version: 1.0.2 resolution: "json5@npm:1.0.2" dependencies: @@ -12566,12 +13567,19 @@ __metadata: languageName: node linkType: hard +"lines-and-columns@npm:^2.0.3": + version: 2.0.4 + resolution: "lines-and-columns@npm:2.0.4" + checksum: 10/81ac2f943f5428a46bd4ea2561c74ba674a107d8e6cc70cd317d16892a36ff3ba0dc6e599aca8b6f8668d26c85288394c6edf7a40e985ca843acab3701b80d4c + languageName: node + linkType: hard + "lint-all@workspace:tools/lint-all, lint-all@workspace:~": version: 0.0.0-use.local resolution: "lint-all@workspace:tools/lint-all" dependencies: "@prettier/plugin-xml": "npm:~3.4.1" - eslint: "npm:~8.57.1" + eslint: "npm:~9.14.0" prettier: "npm:~3.3.3" stylelint: "npm:~16.10.0" zx: "npm:~8.1.9" @@ -12593,6 +13601,16 @@ __metadata: languageName: node linkType: hard +"load-plugin@npm:^6.0.0": + version: 6.0.3 + resolution: "load-plugin@npm:6.0.3" + dependencies: + "@npmcli/config": "npm:^8.0.0" + import-meta-resolve: "npm:^4.0.0" + checksum: 10/b348f8751508020e9344b29178f7032647f1a1c9614356d6b993c06589cfb08306deb76f560cfe3fce21c976b2378f0206d581b6d1d2563abf550e4468608adc + languageName: node + linkType: hard + "loader-runner@npm:^4.2.0": version: 4.2.0 resolution: "loader-runner@npm:4.2.0" @@ -12751,7 +13769,7 @@ __metadata: languageName: node linkType: hard -"lru-cache@npm:^10.2.0": +"lru-cache@npm:^10.0.1, lru-cache@npm:^10.2.0": version: 10.4.3 resolution: "lru-cache@npm:10.4.3" checksum: 10/e6e90267360476720fa8e83cc168aa2bf0311f3f2eea20a6ba78b90a885ae72071d9db132f40fda4129c803e7dcec3a6b6a6fbb44ca90b081630b810b5d6a41a @@ -13068,6 +14086,20 @@ __metadata: languageName: node linkType: hard +"mdast-util-mdx-expression@npm:^2.0.0": + version: 2.0.1 + resolution: "mdast-util-mdx-expression@npm:2.0.1" + dependencies: + "@types/estree-jsx": "npm:^1.0.0" + "@types/hast": "npm:^3.0.0" + "@types/mdast": "npm:^4.0.0" + devlop: "npm:^1.0.0" + mdast-util-from-markdown: "npm:^2.0.0" + mdast-util-to-markdown: "npm:^2.0.0" + checksum: 10/70e860f8ee22c4f478449942750055d649d4380bf43b235d0710af510189d285fb057e401d20b59596d9789f4e270fce08ca892dc849676f9e3383b991d52485 + languageName: node + linkType: hard + "mdast-util-mdx-jsx@npm:^2.0.0": version: 2.1.2 resolution: "mdast-util-mdx-jsx@npm:2.1.2" @@ -13088,6 +14120,26 @@ __metadata: languageName: node linkType: hard +"mdast-util-mdx-jsx@npm:^3.0.0": + version: 3.1.3 + resolution: "mdast-util-mdx-jsx@npm:3.1.3" + dependencies: + "@types/estree-jsx": "npm:^1.0.0" + "@types/hast": "npm:^3.0.0" + "@types/mdast": "npm:^4.0.0" + "@types/unist": "npm:^3.0.0" + ccount: "npm:^2.0.0" + devlop: "npm:^1.1.0" + mdast-util-from-markdown: "npm:^2.0.0" + mdast-util-to-markdown: "npm:^2.0.0" + parse-entities: "npm:^4.0.0" + stringify-entities: "npm:^4.0.0" + unist-util-stringify-position: "npm:^4.0.0" + vfile-message: "npm:^4.0.0" + checksum: 10/6c14f271f1380fd512038247f45887b7aa71bbf4acd8881651a317b61706b114f2582f62f7777d0eacd42c4a7b979802825c2a2fd8bb7c46a1ab931ccb1ddf3e + languageName: node + linkType: hard + "mdast-util-mdx@npm:^2.0.0": version: 2.0.1 resolution: "mdast-util-mdx@npm:2.0.1" @@ -13101,6 +14153,19 @@ __metadata: languageName: node linkType: hard +"mdast-util-mdx@npm:^3.0.0": + version: 3.0.0 + resolution: "mdast-util-mdx@npm:3.0.0" + dependencies: + mdast-util-from-markdown: "npm:^2.0.0" + mdast-util-mdx-expression: "npm:^2.0.0" + mdast-util-mdx-jsx: "npm:^3.0.0" + mdast-util-mdxjs-esm: "npm:^2.0.0" + mdast-util-to-markdown: "npm:^2.0.0" + checksum: 10/547d928f0d1e60d9087cd8ad301cdf2e1d14b094d2662a00292874b923bcb59323bdad3a29804c7f323ad78f4d3954361bfdaf4a9be765c4e6fe47a815df50c2 + languageName: node + linkType: hard + "mdast-util-mdxjs-esm@npm:^1.0.0": version: 1.3.1 resolution: "mdast-util-mdxjs-esm@npm:1.3.1" @@ -13114,6 +14179,20 @@ __metadata: languageName: node linkType: hard +"mdast-util-mdxjs-esm@npm:^2.0.0": + version: 2.0.1 + resolution: "mdast-util-mdxjs-esm@npm:2.0.1" + dependencies: + "@types/estree-jsx": "npm:^1.0.0" + "@types/hast": "npm:^3.0.0" + "@types/mdast": "npm:^4.0.0" + devlop: "npm:^1.0.0" + mdast-util-from-markdown: "npm:^2.0.0" + mdast-util-to-markdown: "npm:^2.0.0" + checksum: 10/05474226e163a3f407fccb5780b0d8585a95e548e5da4a85227df43f281b940c7941a9a9d4af1be4f885fe554731647addb057a728e87aa1f503ff9cc72c9163 + languageName: node + linkType: hard + "mdast-util-phrasing@npm:^3.0.0": version: 3.0.1 resolution: "mdast-util-phrasing@npm:3.0.1" @@ -13440,6 +14519,22 @@ __metadata: languageName: node linkType: hard +"micromark-extension-mdx-expression@npm:^3.0.0": + version: 3.0.0 + resolution: "micromark-extension-mdx-expression@npm:3.0.0" + dependencies: + "@types/estree": "npm:^1.0.0" + devlop: "npm:^1.0.0" + micromark-factory-mdx-expression: "npm:^2.0.0" + micromark-factory-space: "npm:^2.0.0" + micromark-util-character: "npm:^2.0.0" + micromark-util-events-to-acorn: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + checksum: 10/a5592160319d4617362f6b72a6fc44b5570466afa07419d44bcfdd9398a77a5693d7c5f8da7b3ff4682edf6209d4781835f5d2e3166fdf6bba37db456fd2d091 + languageName: node + linkType: hard + "micromark-extension-mdx-jsx@npm:^1.0.0": version: 1.0.3 resolution: "micromark-extension-mdx-jsx@npm:1.0.3" @@ -13457,6 +14552,25 @@ __metadata: languageName: node linkType: hard +"micromark-extension-mdx-jsx@npm:^3.0.0": + version: 3.0.1 + resolution: "micromark-extension-mdx-jsx@npm:3.0.1" + dependencies: + "@types/acorn": "npm:^4.0.0" + "@types/estree": "npm:^1.0.0" + devlop: "npm:^1.0.0" + estree-util-is-identifier-name: "npm:^3.0.0" + micromark-factory-mdx-expression: "npm:^2.0.0" + micromark-factory-space: "npm:^2.0.0" + micromark-util-character: "npm:^2.0.0" + micromark-util-events-to-acorn: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + vfile-message: "npm:^4.0.0" + checksum: 10/2cc0277d91c3c85d52e88755d17d021b5eab6fa03a578a9965f9d3d2c184dbc1accce63e7f8437a092ceeb602840ef451d4dce6dc9e8c13df0bc76e741080a89 + languageName: node + linkType: hard + "micromark-extension-mdx-md@npm:^1.0.0": version: 1.0.0 resolution: "micromark-extension-mdx-md@npm:1.0.0" @@ -13466,6 +14580,15 @@ __metadata: languageName: node linkType: hard +"micromark-extension-mdx-md@npm:^2.0.0": + version: 2.0.0 + resolution: "micromark-extension-mdx-md@npm:2.0.0" + dependencies: + micromark-util-types: "npm:^2.0.0" + checksum: 10/8b364a69b23196075258143c8c19fa58d7d5a91f6811ec0f881b75cf024a4869994be29f84f4d281147275c5a104af8b6a7fcd98abd8fde9f5b534a1acb254e8 + languageName: node + linkType: hard + "micromark-extension-mdxjs-esm@npm:^1.0.0": version: 1.0.3 resolution: "micromark-extension-mdxjs-esm@npm:1.0.3" @@ -13482,6 +14605,23 @@ __metadata: languageName: node linkType: hard +"micromark-extension-mdxjs-esm@npm:^3.0.0": + version: 3.0.0 + resolution: "micromark-extension-mdxjs-esm@npm:3.0.0" + dependencies: + "@types/estree": "npm:^1.0.0" + devlop: "npm:^1.0.0" + micromark-core-commonmark: "npm:^2.0.0" + micromark-util-character: "npm:^2.0.0" + micromark-util-events-to-acorn: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + unist-util-position-from-estree: "npm:^2.0.0" + vfile-message: "npm:^4.0.0" + checksum: 10/f2e0977f9a65284b0c765d1175d55ec5d1928dae3ae90f65cc36f293cda152a97fe2007977aaf5595b1bc02298b34c96e8ce8b647c9c647c75f1ea53e92d14d2 + languageName: node + linkType: hard + "micromark-extension-mdxjs@npm:^1.0.0": version: 1.0.0 resolution: "micromark-extension-mdxjs@npm:1.0.0" @@ -13498,6 +14638,22 @@ __metadata: languageName: node linkType: hard +"micromark-extension-mdxjs@npm:^3.0.0": + version: 3.0.0 + resolution: "micromark-extension-mdxjs@npm:3.0.0" + dependencies: + acorn: "npm:^8.0.0" + acorn-jsx: "npm:^5.0.0" + micromark-extension-mdx-expression: "npm:^3.0.0" + micromark-extension-mdx-jsx: "npm:^3.0.0" + micromark-extension-mdx-md: "npm:^2.0.0" + micromark-extension-mdxjs-esm: "npm:^3.0.0" + micromark-util-combine-extensions: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + checksum: 10/66e0df7b2db05b9c88796600e354e0753594f06760abfddcac706afcd5754586c9085adb89e15447ce1450e6a5f2fa66a75f6da394e0eceb919e9c364475593e + languageName: node + linkType: hard + "micromark-factory-destination@npm:^1.0.0": version: 1.0.0 resolution: "micromark-factory-destination@npm:1.0.0" @@ -13560,6 +14716,23 @@ __metadata: languageName: node linkType: hard +"micromark-factory-mdx-expression@npm:^2.0.0": + version: 2.0.2 + resolution: "micromark-factory-mdx-expression@npm:2.0.2" + dependencies: + "@types/estree": "npm:^1.0.0" + devlop: "npm:^1.0.0" + micromark-factory-space: "npm:^2.0.0" + micromark-util-character: "npm:^2.0.0" + micromark-util-events-to-acorn: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + unist-util-position-from-estree: "npm:^2.0.0" + vfile-message: "npm:^4.0.0" + checksum: 10/d5285fa98018f14a058c7cd4a961aacedd2d3c4f4fddd4c58c16f1e640d1284a8f581f4d00fa3e18c06ed302ce23bca23f6a01edd66064c23c9057e65385a62d + languageName: node + linkType: hard + "micromark-factory-space@npm:^1.0.0": version: 1.0.0 resolution: "micromark-factory-space@npm:1.0.0" @@ -13780,6 +14953,22 @@ __metadata: languageName: node linkType: hard +"micromark-util-events-to-acorn@npm:^2.0.0": + version: 2.0.2 + resolution: "micromark-util-events-to-acorn@npm:2.0.2" + dependencies: + "@types/acorn": "npm:^4.0.0" + "@types/estree": "npm:^1.0.0" + "@types/unist": "npm:^3.0.0" + devlop: "npm:^1.0.0" + estree-util-visit: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + vfile-message: "npm:^4.0.0" + checksum: 10/475367e716c4d24f2a57464a7f2c8aa507ae36c05b7767fd652895525f3f0a1179ea3219cabccc0f3038bb5e4f9cce5390d530dc56decaa5f1786bda42739810 + languageName: node + linkType: hard + "micromark-util-html-tag-name@npm:^1.0.0": version: 1.1.0 resolution: "micromark-util-html-tag-name@npm:1.1.0" @@ -14022,7 +15211,7 @@ __metadata: languageName: node linkType: hard -"minimatch@npm:^3.0.4, minimatch@npm:^3.0.5, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2": +"minimatch@npm:^3.0.4, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2": version: 3.1.2 resolution: "minimatch@npm:3.1.2" dependencies: @@ -14405,6 +15594,17 @@ __metadata: languageName: node linkType: hard +"nopt@npm:^7.2.1": + version: 7.2.1 + resolution: "nopt@npm:7.2.1" + dependencies: + abbrev: "npm:^2.0.0" + bin: + nopt: bin/nopt.js + checksum: 10/95a1f6dec8a81cd18cdc2fed93e6f0b4e02cf6bdb4501c848752c6e34f9883d9942f036a5e3b21a699047d8a448562d891e67492df68ec9c373e6198133337ae + languageName: node + linkType: hard + "normalize-package-data@npm:^2.3.2": version: 2.5.0 resolution: "normalize-package-data@npm:2.5.0" @@ -14417,6 +15617,17 @@ __metadata: languageName: node linkType: hard +"normalize-package-data@npm:^6.0.0": + version: 6.0.2 + resolution: "normalize-package-data@npm:6.0.2" + dependencies: + hosted-git-info: "npm:^7.0.0" + semver: "npm:^7.3.5" + validate-npm-package-license: "npm:^3.0.4" + checksum: 10/7c4216a2426aa76c0197f8372f06b23a0484d62b3518fb5c0f6ebccb16376bdfab29ceba96f95c75f60506473198f1337fe337b945c8df0541fe32b8049ab4c9 + languageName: node + linkType: hard + "normalize-path@npm:^3.0.0, normalize-path@npm:~3.0.0": version: 3.0.0 resolution: "normalize-path@npm:3.0.0" @@ -14445,6 +15656,46 @@ __metadata: languageName: node linkType: hard +"npm-install-checks@npm:^6.0.0": + version: 6.3.0 + resolution: "npm-install-checks@npm:6.3.0" + dependencies: + semver: "npm:^7.1.1" + checksum: 10/6c20dadb878a0d2f1f777405217b6b63af1299d0b43e556af9363ee6eefaa98a17dfb7b612a473a473e96faf7e789c58b221e0d8ffdc1d34903c4f71618df3b4 + languageName: node + linkType: hard + +"npm-normalize-package-bin@npm:^3.0.0": + version: 3.0.1 + resolution: "npm-normalize-package-bin@npm:3.0.1" + checksum: 10/de416d720ab22137a36292ff8a333af499ea0933ef2320a8c6f56a73b0f0448227fec4db5c890d702e26d21d04f271415eab6580b5546456861cc0c19498a4bf + languageName: node + linkType: hard + +"npm-package-arg@npm:^11.0.0": + version: 11.0.3 + resolution: "npm-package-arg@npm:11.0.3" + dependencies: + hosted-git-info: "npm:^7.0.0" + proc-log: "npm:^4.0.0" + semver: "npm:^7.3.5" + validate-npm-package-name: "npm:^5.0.0" + checksum: 10/bacc863907edf98940286edc2fd80327901c1e8b34426d538cdc708ed66bc6567f06d742d838eaf35db6804347bb4ba56ca9cef032c4b52743b33e7a22a2678e + languageName: node + linkType: hard + +"npm-pick-manifest@npm:^9.0.0": + version: 9.1.0 + resolution: "npm-pick-manifest@npm:9.1.0" + dependencies: + npm-install-checks: "npm:^6.0.0" + npm-normalize-package-bin: "npm:^3.0.0" + npm-package-arg: "npm:^11.0.0" + semver: "npm:^7.3.5" + checksum: 10/e759e4fe4076da9169cf522964a80bbc096d50cd24c8c44b50b44706c4479bd9d9d018fbdb76c6ea0c6037e012e07c6c917a1ecaa7ae1a1169cddfae1c0f24b6 + languageName: node + linkType: hard + "npm-run-all@npm:^4.1.5": version: 4.1.5 resolution: "npm-run-all@npm:4.1.5" @@ -14588,6 +15839,18 @@ __metadata: languageName: node linkType: hard +"object.assign@npm:^4.1.5": + version: 4.1.5 + resolution: "object.assign@npm:4.1.5" + dependencies: + call-bind: "npm:^1.0.5" + define-properties: "npm:^1.2.1" + has-symbols: "npm:^1.0.3" + object-keys: "npm:^1.1.1" + checksum: 10/dbb22da4cda82e1658349ea62b80815f587b47131b3dd7a4ab7f84190ab31d206bbd8fe7e26ae3220c55b65725ac4529825f6142154211220302aa6b1518045d + languageName: node + linkType: hard + "object.entries@npm:^1.1.6": version: 1.1.6 resolution: "object.entries@npm:1.1.6" @@ -14599,6 +15862,17 @@ __metadata: languageName: node linkType: hard +"object.entries@npm:^1.1.8": + version: 1.1.8 + resolution: "object.entries@npm:1.1.8" + dependencies: + call-bind: "npm:^1.0.7" + define-properties: "npm:^1.2.1" + es-object-atoms: "npm:^1.0.0" + checksum: 10/2301918fbd1ee697cf6ff7cd94f060c738c0a7d92b22fd24c7c250e9b593642c9707ad2c44d339303c1439c5967d8964251cdfc855f7f6ec55db2dd79e8dc2a7 + languageName: node + linkType: hard + "object.fromentries@npm:^2.0.6": version: 2.0.6 resolution: "object.fromentries@npm:2.0.6" @@ -14610,6 +15884,18 @@ __metadata: languageName: node linkType: hard +"object.fromentries@npm:^2.0.8": + version: 2.0.8 + resolution: "object.fromentries@npm:2.0.8" + dependencies: + call-bind: "npm:^1.0.7" + define-properties: "npm:^1.2.1" + es-abstract: "npm:^1.23.2" + es-object-atoms: "npm:^1.0.0" + checksum: 10/5b2e80f7af1778b885e3d06aeb335dcc86965e39464671adb7167ab06ac3b0f5dd2e637a90d8ebd7426d69c6f135a4753ba3dd7d0fe2a7030cf718dcb910fd92 + languageName: node + linkType: hard + "object.getownpropertydescriptors@npm:^2.1.0": version: 2.1.1 resolution: "object.getownpropertydescriptors@npm:2.1.1" @@ -14621,6 +15907,17 @@ __metadata: languageName: node linkType: hard +"object.groupby@npm:^1.0.3": + version: 1.0.3 + resolution: "object.groupby@npm:1.0.3" + dependencies: + call-bind: "npm:^1.0.7" + define-properties: "npm:^1.2.1" + es-abstract: "npm:^1.23.2" + checksum: 10/44cb86dd2c660434be65f7585c54b62f0425b0c96b5c948d2756be253ef06737da7e68d7106e35506ce4a44d16aa85a413d11c5034eb7ce5579ec28752eb42d0 + languageName: node + linkType: hard + "object.hasown@npm:^1.1.2": version: 1.1.2 resolution: "object.hasown@npm:1.1.2" @@ -14642,6 +15939,17 @@ __metadata: languageName: node linkType: hard +"object.values@npm:^1.2.0": + version: 1.2.0 + resolution: "object.values@npm:1.2.0" + dependencies: + call-bind: "npm:^1.0.7" + define-properties: "npm:^1.2.1" + es-object-atoms: "npm:^1.0.0" + checksum: 10/db2e498019c354428c5dd30d02980d920ac365b155fce4dcf63eb9433f98ccf0f72624309e182ce7cc227c95e45d474e1d483418e60de2293dd23fa3ebe34903 + languageName: node + linkType: hard + "objectorarray@npm:^1.0.5": version: 1.0.5 resolution: "objectorarray@npm:1.0.5" @@ -14927,6 +16235,19 @@ __metadata: languageName: node linkType: hard +"parse-json@npm:^7.0.0": + version: 7.1.1 + resolution: "parse-json@npm:7.1.1" + dependencies: + "@babel/code-frame": "npm:^7.21.4" + error-ex: "npm:^1.3.2" + json-parse-even-better-errors: "npm:^3.0.0" + lines-and-columns: "npm:^2.0.3" + type-fest: "npm:^3.8.0" + checksum: 10/187275c7ac097dcfb3c7420bca2399caa4da33bcd5d5aac3604bda0e2b8eee4df61cc26aa0d79fab97f0d67bf42d41d332baa9f9f56ad27636ad785f1ae639e5 + languageName: node + linkType: hard + "parse5@npm:^7.0.0": version: 7.1.2 resolution: "parse5@npm:7.1.2" @@ -15818,6 +17139,13 @@ __metadata: languageName: node linkType: hard +"proc-log@npm:^4.0.0, proc-log@npm:^4.2.0": + version: 4.2.0 + resolution: "proc-log@npm:4.2.0" + checksum: 10/4e1394491b717f6c1ade15c570ecd4c2b681698474d3ae2d303c1e4b6ab9455bd5a81566211e82890d5a5ae9859718cc6954d5150bb18b09b72ecb297beae90a + languageName: node + linkType: hard + "process-nextick-args@npm:~2.0.0": version: 2.0.1 resolution: "process-nextick-args@npm:2.0.1" @@ -16225,6 +17553,16 @@ __metadata: languageName: node linkType: hard +"read-package-json-fast@npm:^3.0.0": + version: 3.0.2 + resolution: "read-package-json-fast@npm:3.0.2" + dependencies: + json-parse-even-better-errors: "npm:^3.0.0" + npm-normalize-package-bin: "npm:^3.0.0" + checksum: 10/8d406869f045f1d76e2a99865a8fd1c1af9c1dc06200b94d2b07eef87ed734b22703a8d72e1cd36ea36cc48e22020bdd187f88243c7dd0563f72114d38c17072 + languageName: node + linkType: hard + "read-pkg@npm:^3.0.0": version: 3.0.0 resolution: "read-pkg@npm:3.0.0" @@ -16275,7 +17613,7 @@ __metadata: languageName: node linkType: hard -"readable-stream@npm:^3.1.1, readable-stream@npm:^3.4.0, readable-stream@npm:^3.6.0": +"readable-stream@npm:^3.0.2, readable-stream@npm:^3.1.1, readable-stream@npm:^3.4.0, readable-stream@npm:^3.6.0": version: 3.6.2 resolution: "readable-stream@npm:3.6.2" dependencies: @@ -16327,6 +17665,21 @@ __metadata: languageName: node linkType: hard +"reflect.getprototypeof@npm:^1.0.4": + version: 1.0.6 + resolution: "reflect.getprototypeof@npm:1.0.6" + dependencies: + call-bind: "npm:^1.0.7" + define-properties: "npm:^1.2.1" + es-abstract: "npm:^1.23.1" + es-errors: "npm:^1.3.0" + get-intrinsic: "npm:^1.2.4" + globalthis: "npm:^1.0.3" + which-builtin-type: "npm:^1.1.3" + checksum: 10/518f6457e4bb470c9b317d239c62d4b4a05678b7eae4f1c3f4332fad379b3ea6d2d8999bfad448547fdba8fb77e4725cfe8c6440d0168ff387f16b4f19f759ad + languageName: node + linkType: hard + "regenerate-unicode-properties@npm:^10.1.0": version: 10.1.0 resolution: "regenerate-unicode-properties@npm:10.1.0" @@ -16384,6 +17737,18 @@ __metadata: languageName: node linkType: hard +"regexp.prototype.flags@npm:^1.5.2": + version: 1.5.3 + resolution: "regexp.prototype.flags@npm:1.5.3" + dependencies: + call-bind: "npm:^1.0.7" + define-properties: "npm:^1.2.1" + es-errors: "npm:^1.3.0" + set-function-name: "npm:^2.0.2" + checksum: 10/fe17bc4eebbc72945aaf9dd059eb7784a5ca453a67cc4b5b3e399ab08452c9a05befd92063e2c52e7b24d9238c60031656af32dd57c555d1ba6330dbf8c23b43 + languageName: node + linkType: hard + "regexpu-core@npm:^5.3.1": version: 5.3.2 resolution: "regexpu-core@npm:5.3.2" @@ -16440,6 +17805,16 @@ __metadata: languageName: node linkType: hard +"remark-mdx@npm:^3.0.0": + version: 3.1.0 + resolution: "remark-mdx@npm:3.1.0" + dependencies: + mdast-util-mdx: "npm:^3.0.0" + micromark-extension-mdxjs: "npm:^3.0.0" + checksum: 10/9a0a1ba9433f0a9a13ec6b9b185244cb431d3205cc0034ff474b60a13b76095870b8cb6a466cfacf35199ee98e92413fec86fbeb75de3ec3d7bb8f486efc7484 + languageName: node + linkType: hard + "remark-parse@npm:^10.0.1": version: 10.0.1 resolution: "remark-parse@npm:10.0.1" @@ -16563,6 +17938,13 @@ __metadata: languageName: node linkType: hard +"resolve-pkg-maps@npm:^1.0.0": + version: 1.0.0 + resolution: "resolve-pkg-maps@npm:1.0.0" + checksum: 10/0763150adf303040c304009231314d1e84c6e5ebfa2d82b7d94e96a6e82bacd1dcc0b58ae257315f3c8adb89a91d8d0f12928241cba2df1680fbe6f60bf99b0e + languageName: node + linkType: hard + "resolve-url-loader@npm:~5.0.0": version: 5.0.0 resolution: "resolve-url-loader@npm:5.0.0" @@ -16583,7 +17965,7 @@ __metadata: languageName: node linkType: hard -"resolve@npm:^1.10.0, resolve@npm:^1.14.2, resolve@npm:^1.17.0, resolve@npm:^1.19.0, resolve@npm:^1.20.0, resolve@npm:^1.22.0, resolve@npm:^1.22.1, resolve@npm:^1.22.8": +"resolve@npm:^1.10.0, resolve@npm:^1.14.2, resolve@npm:^1.17.0, resolve@npm:^1.19.0, resolve@npm:^1.20.0, resolve@npm:^1.22.0, resolve@npm:^1.22.1, resolve@npm:^1.22.4, resolve@npm:^1.22.8": version: 1.22.8 resolution: "resolve@npm:1.22.8" dependencies: @@ -16609,7 +17991,20 @@ __metadata: languageName: node linkType: hard -"resolve@patch:resolve@npm%3A^1.10.0#optional!builtin, resolve@patch:resolve@npm%3A^1.14.2#optional!builtin, resolve@patch:resolve@npm%3A^1.17.0#optional!builtin, resolve@patch:resolve@npm%3A^1.19.0#optional!builtin, resolve@patch:resolve@npm%3A^1.20.0#optional!builtin, resolve@patch:resolve@npm%3A^1.22.0#optional!builtin, resolve@patch:resolve@npm%3A^1.22.1#optional!builtin, resolve@patch:resolve@npm%3A^1.22.8#optional!builtin": +"resolve@npm:^2.0.0-next.5": + version: 2.0.0-next.5 + resolution: "resolve@npm:2.0.0-next.5" + dependencies: + is-core-module: "npm:^2.13.0" + path-parse: "npm:^1.0.7" + supports-preserve-symlinks-flag: "npm:^1.0.0" + bin: + resolve: bin/resolve + checksum: 10/2d6fd28699f901744368e6f2032b4268b4c7b9185fd8beb64f68c93ac6b22e52ae13560ceefc96241a665b985edf9ffd393ae26d2946a7d3a07b7007b7d51e79 + languageName: node + linkType: hard + +"resolve@patch:resolve@npm%3A^1.10.0#optional!builtin, resolve@patch:resolve@npm%3A^1.14.2#optional!builtin, resolve@patch:resolve@npm%3A^1.17.0#optional!builtin, resolve@patch:resolve@npm%3A^1.19.0#optional!builtin, resolve@patch:resolve@npm%3A^1.20.0#optional!builtin, resolve@patch:resolve@npm%3A^1.22.0#optional!builtin, resolve@patch:resolve@npm%3A^1.22.1#optional!builtin, resolve@patch:resolve@npm%3A^1.22.4#optional!builtin, resolve@patch:resolve@npm%3A^1.22.8#optional!builtin": version: 1.22.8 resolution: "resolve@patch:resolve@npm%3A1.22.8#optional!builtin::version=1.22.8&hash=c3c19d" dependencies: @@ -16635,6 +18030,19 @@ __metadata: languageName: node linkType: hard +"resolve@patch:resolve@npm%3A^2.0.0-next.5#optional!builtin": + version: 2.0.0-next.5 + resolution: "resolve@patch:resolve@npm%3A2.0.0-next.5#optional!builtin::version=2.0.0-next.5&hash=c3c19d" + dependencies: + is-core-module: "npm:^2.13.0" + path-parse: "npm:^1.0.7" + supports-preserve-symlinks-flag: "npm:^1.0.0" + bin: + resolve: bin/resolve + checksum: 10/05fa778de9d0347c8b889eb7a18f1f06bf0f801b0eb4610b4871a4b2f22e220900cf0ad525e94f990bb8d8921c07754ab2122c0c225ab4cdcea98f36e64fa4c2 + languageName: node + linkType: hard + "restore-cursor@npm:^3.1.0": version: 3.1.0 resolution: "restore-cursor@npm:3.1.0" @@ -16769,6 +18177,18 @@ __metadata: languageName: node linkType: hard +"safe-array-concat@npm:^1.1.2": + version: 1.1.2 + resolution: "safe-array-concat@npm:1.1.2" + dependencies: + call-bind: "npm:^1.0.7" + get-intrinsic: "npm:^1.2.4" + has-symbols: "npm:^1.0.3" + isarray: "npm:^2.0.5" + checksum: 10/a54f8040d7cb696a1ee38d19cc71ab3cfb654b9b81bae00c6459618cfad8214ece7e6666592f9c925aafef43d0a20c5e6fbb3413a2b618e1ce9d516a2e6dcfc5 + languageName: node + linkType: hard + "safe-buffer@npm:^5.0.1, safe-buffer@npm:^5.1.0, safe-buffer@npm:^5.1.2, safe-buffer@npm:~5.2.0": version: 5.2.1 resolution: "safe-buffer@npm:5.2.1" @@ -16794,6 +18214,17 @@ __metadata: languageName: node linkType: hard +"safe-regex-test@npm:^1.0.3": + version: 1.0.3 + resolution: "safe-regex-test@npm:1.0.3" + dependencies: + call-bind: "npm:^1.0.6" + es-errors: "npm:^1.3.0" + is-regex: "npm:^1.1.4" + checksum: 10/b04de61114b10274d92e25b6de7ccb5de07f11ea15637ff636de4b5190c0f5cd8823fe586dde718504cf78055437d70fd8804976894df502fcf5a210c970afb3 + languageName: node + linkType: hard + "safe-stable-stringify@npm:^2.3.1": version: 2.4.1 resolution: "safe-stable-stringify@npm:2.4.1" @@ -16913,7 +18344,7 @@ __metadata: "@typescript-eslint/parser": "npm:~8.8.1" cross-env: "npm:^7.0.3" endent: "npm:^2.1.0" - eslint: "npm:~8.57.1" + eslint: "npm:~9.14.0" fast-glob: "npm:~3.2.12" npm-run-all: "npm:^4.1.5" prettier: "npm:~3.3.3" @@ -16940,7 +18371,7 @@ __metadata: languageName: node linkType: hard -"semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.3.8, semver@npm:^7.5.3, semver@npm:^7.5.4, semver@npm:^7.6.0, semver@npm:^7.6.2": +"semver@npm:^7.1.1, semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.3.8, semver@npm:^7.5.3, semver@npm:^7.5.4, semver@npm:^7.6.0, semver@npm:^7.6.2, semver@npm:^7.6.3": version: 7.6.3 resolution: "semver@npm:7.6.3" bin: @@ -17009,6 +18440,18 @@ __metadata: languageName: node linkType: hard +"set-function-name@npm:^2.0.1, set-function-name@npm:^2.0.2": + version: 2.0.2 + resolution: "set-function-name@npm:2.0.2" + dependencies: + define-data-property: "npm:^1.1.4" + es-errors: "npm:^1.3.0" + functions-have-names: "npm:^1.2.3" + has-property-descriptors: "npm:^1.0.2" + checksum: 10/c7614154a53ebf8c0428a6c40a3b0b47dac30587c1a19703d1b75f003803f73cdfa6a93474a9ba678fa565ef5fbddc2fae79bca03b7d22ab5fd5163dbe571a74 + languageName: node + linkType: hard + "shallow-clone@npm:^3.0.0": version: 3.0.1 resolution: "shallow-clone@npm:3.0.1" @@ -17492,6 +18935,37 @@ __metadata: languageName: node linkType: hard +"string-width@npm:^6.0.0": + version: 6.1.0 + resolution: "string-width@npm:6.1.0" + dependencies: + eastasianwidth: "npm:^0.2.0" + emoji-regex: "npm:^10.2.1" + strip-ansi: "npm:^7.0.1" + checksum: 10/8aefb456a230c8d7fe254049b1b2d62603da1a3b6c7fc9f3332f6779583cc1c72653f9b6e4cd0c1c92befee1565d4a0a7542d09ba4ceb6d96af02fbd8425bb03 + languageName: node + linkType: hard + +"string.prototype.matchall@npm:^4.0.11": + version: 4.0.11 + resolution: "string.prototype.matchall@npm:4.0.11" + dependencies: + call-bind: "npm:^1.0.7" + define-properties: "npm:^1.2.1" + es-abstract: "npm:^1.23.2" + es-errors: "npm:^1.3.0" + es-object-atoms: "npm:^1.0.0" + get-intrinsic: "npm:^1.2.4" + gopd: "npm:^1.0.1" + has-symbols: "npm:^1.0.3" + internal-slot: "npm:^1.0.7" + regexp.prototype.flags: "npm:^1.5.2" + set-function-name: "npm:^2.0.2" + side-channel: "npm:^1.0.6" + checksum: 10/a902ff4500f909f2a08e55cc5ab1ffbbc905f603b36837674370ee3921058edd0392147e15891910db62a2f31ace2adaf065eaa3bc6e9810bdbc8ca48e05a7b5 + languageName: node + linkType: hard + "string.prototype.matchall@npm:^4.0.8": version: 4.0.8 resolution: "string.prototype.matchall@npm:4.0.8" @@ -17519,6 +18993,16 @@ __metadata: languageName: node linkType: hard +"string.prototype.repeat@npm:^1.0.0": + version: 1.0.0 + resolution: "string.prototype.repeat@npm:1.0.0" + dependencies: + define-properties: "npm:^1.1.3" + es-abstract: "npm:^1.17.5" + checksum: 10/4b1bd91b75fa8fdf0541625184ebe80e445a465ce4253c19c3bccd633898005dadae0f74b85ae72662a53aafb8035bf48f8f5c0755aec09bc106a7f13959d05e + languageName: node + linkType: hard + "string.prototype.trim@npm:^1.2.7": version: 1.2.8 resolution: "string.prototype.trim@npm:1.2.8" @@ -17530,6 +19014,18 @@ __metadata: languageName: node linkType: hard +"string.prototype.trim@npm:^1.2.9": + version: 1.2.9 + resolution: "string.prototype.trim@npm:1.2.9" + dependencies: + call-bind: "npm:^1.0.7" + define-properties: "npm:^1.2.1" + es-abstract: "npm:^1.23.0" + es-object-atoms: "npm:^1.0.0" + checksum: 10/b2170903de6a2fb5a49bb8850052144e04b67329d49f1343cdc6a87cb24fb4e4b8ad00d3e273a399b8a3d8c32c89775d93a8f43cb42fbff303f25382079fb58a + languageName: node + linkType: hard + "string.prototype.trimend@npm:^1.0.6": version: 1.0.6 resolution: "string.prototype.trimend@npm:1.0.6" @@ -17541,6 +19037,17 @@ __metadata: languageName: node linkType: hard +"string.prototype.trimend@npm:^1.0.8": + version: 1.0.8 + resolution: "string.prototype.trimend@npm:1.0.8" + dependencies: + call-bind: "npm:^1.0.7" + define-properties: "npm:^1.2.1" + es-object-atoms: "npm:^1.0.0" + checksum: 10/c2e862ae724f95771da9ea17c27559d4eeced9208b9c20f69bbfcd1b9bc92375adf8af63a103194dba17c4cc4a5cb08842d929f415ff9d89c062d44689c8761b + languageName: node + linkType: hard + "string.prototype.trimstart@npm:^1.0.6": version: 1.0.6 resolution: "string.prototype.trimstart@npm:1.0.6" @@ -17552,6 +19059,17 @@ __metadata: languageName: node linkType: hard +"string.prototype.trimstart@npm:^1.0.8": + version: 1.0.8 + resolution: "string.prototype.trimstart@npm:1.0.8" + dependencies: + call-bind: "npm:^1.0.7" + define-properties: "npm:^1.2.1" + es-object-atoms: "npm:^1.0.0" + checksum: 10/160167dfbd68e6f7cb9f51a16074eebfce1571656fc31d40c3738ca9e30e35496f2c046fe57b6ad49f65f238a152be8c86fd9a2dd58682b5eba39dad995b3674 + languageName: node + linkType: hard + "string_decoder@npm:^1.1.1, string_decoder@npm:^1.3.0": version: 1.3.0 resolution: "string_decoder@npm:1.3.0" @@ -17834,6 +19352,13 @@ __metadata: languageName: node linkType: hard +"supports-color@npm:^9.0.0": + version: 9.4.0 + resolution: "supports-color@npm:9.4.0" + checksum: 10/cb8ff8daeaf1db642156f69a9aa545b6c01dd9c4def4f90a49f46cbf24be0c245d392fcf37acd119cd1819b99dad2cc9b7e3260813f64bcfd7f5b18b5a1eefb8 + languageName: node + linkType: hard + "supports-hyperlinks@npm:^3.1.0": version: 3.1.0 resolution: "supports-hyperlinks@npm:3.1.0" @@ -17984,7 +19509,7 @@ __metadata: languageName: node linkType: hard -"synckit@npm:^0.9.1": +"synckit@npm:^0.9.0, synckit@npm:^0.9.1": version: 0.9.2 resolution: "synckit@npm:0.9.2" dependencies: @@ -18134,6 +19659,9 @@ __metadata: resolution: "testing-utils@workspace:tools/testing-utils" dependencies: css-mediaquery: "npm:^0.1.2" + eslint: "npm:~9.14.0" + lint-all: "workspace:~" + prettier: "npm:~3.3.3" languageName: unknown linkType: soft @@ -18252,8 +19780,11 @@ __metadata: version: 0.0.0-use.local resolution: "tools-utils@workspace:tools/tools-utils" dependencies: + eslint: "npm:~9.14.0" fast-glob: "npm:~3.2.12" json5: "npm:^2.2.3" + lint-all: "workspace:~" + prettier: "npm:~3.3.3" rimraf: "npm:^3.0.2" peerDependencies: eslint: "*" @@ -18445,6 +19976,18 @@ __metadata: languageName: node linkType: hard +"tsconfig-paths@npm:^3.15.0": + version: 3.15.0 + resolution: "tsconfig-paths@npm:3.15.0" + dependencies: + "@types/json5": "npm:^0.0.29" + json5: "npm:^1.0.2" + minimist: "npm:^1.2.6" + strip-bom: "npm:^3.0.0" + checksum: 10/2041beaedc6c271fc3bedd12e0da0cc553e65d030d4ff26044b771fac5752d0460944c0b5e680f670c2868c95c664a256cec960ae528888db6ded83524e33a14 + languageName: node + linkType: hard + "tsconfig-paths@npm:^4.2.0": version: 4.2.0 resolution: "tsconfig-paths@npm:4.2.0" @@ -18617,13 +20160,6 @@ __metadata: languageName: node linkType: hard -"type-fest@npm:^0.20.2": - version: 0.20.2 - resolution: "type-fest@npm:0.20.2" - checksum: 10/8907e16284b2d6cfa4f4817e93520121941baba36b39219ea36acfe64c86b9dbc10c9941af450bd60832c8f43464974d51c0957f9858bc66b952b66b6914cbb9 - languageName: node - linkType: hard - "type-fest@npm:^0.21.3": version: 0.21.3 resolution: "type-fest@npm:0.21.3" @@ -18638,6 +20174,13 @@ __metadata: languageName: node linkType: hard +"type-fest@npm:^3.8.0": + version: 3.13.1 + resolution: "type-fest@npm:3.13.1" + checksum: 10/9a8a2359ada34c9b3affcaf3a8f73ee14c52779e89950db337ce66fb74c3399776c697c99f2532e9b16e10e61cfdba3b1c19daffb93b338b742f0acd0117ce12 + languageName: node + linkType: hard + "typed-array-buffer@npm:^1.0.0": version: 1.0.0 resolution: "typed-array-buffer@npm:1.0.0" @@ -18649,6 +20192,17 @@ __metadata: languageName: node linkType: hard +"typed-array-buffer@npm:^1.0.2": + version: 1.0.2 + resolution: "typed-array-buffer@npm:1.0.2" + dependencies: + call-bind: "npm:^1.0.7" + es-errors: "npm:^1.3.0" + is-typed-array: "npm:^1.1.13" + checksum: 10/02ffc185d29c6df07968272b15d5319a1610817916ec8d4cd670ded5d1efe72901541ff2202fcc622730d8a549c76e198a2f74e312eabbfb712ed907d45cbb0b + languageName: node + linkType: hard + "typed-array-byte-length@npm:^1.0.0": version: 1.0.0 resolution: "typed-array-byte-length@npm:1.0.0" @@ -18661,6 +20215,19 @@ __metadata: languageName: node linkType: hard +"typed-array-byte-length@npm:^1.0.1": + version: 1.0.1 + resolution: "typed-array-byte-length@npm:1.0.1" + dependencies: + call-bind: "npm:^1.0.7" + for-each: "npm:^0.3.3" + gopd: "npm:^1.0.1" + has-proto: "npm:^1.0.3" + is-typed-array: "npm:^1.1.13" + checksum: 10/e4a38329736fe6a73b52a09222d4a9e8de14caaa4ff6ad8e55217f6705b017d9815b7284c85065b3b8a7704e226ccff1372a72b78c2a5b6b71b7bf662308c903 + languageName: node + linkType: hard + "typed-array-byte-offset@npm:^1.0.0": version: 1.0.0 resolution: "typed-array-byte-offset@npm:1.0.0" @@ -18674,6 +20241,20 @@ __metadata: languageName: node linkType: hard +"typed-array-byte-offset@npm:^1.0.2": + version: 1.0.2 + resolution: "typed-array-byte-offset@npm:1.0.2" + dependencies: + available-typed-arrays: "npm:^1.0.7" + call-bind: "npm:^1.0.7" + for-each: "npm:^0.3.3" + gopd: "npm:^1.0.1" + has-proto: "npm:^1.0.3" + is-typed-array: "npm:^1.1.13" + checksum: 10/ac26d720ebb2aacbc45e231347c359e6649f52e0cfe0e76e62005912f8030d68e4cb7b725b1754e8fdd48e433cb68df5a8620a3e420ad1457d666e8b29bf9150 + languageName: node + linkType: hard + "typed-array-length@npm:^1.0.4": version: 1.0.4 resolution: "typed-array-length@npm:1.0.4" @@ -18685,6 +20266,27 @@ __metadata: languageName: node linkType: hard +"typed-array-length@npm:^1.0.6": + version: 1.0.6 + resolution: "typed-array-length@npm:1.0.6" + dependencies: + call-bind: "npm:^1.0.7" + for-each: "npm:^0.3.3" + gopd: "npm:^1.0.1" + has-proto: "npm:^1.0.3" + is-typed-array: "npm:^1.1.13" + possible-typed-array-names: "npm:^1.0.0" + checksum: 10/05e96cf4ff836743ebfc593d86133b8c30e83172cb5d16c56814d7bacfed57ce97e87ada9c4b2156d9aaa59f75cdef01c25bd9081c7826e0b869afbefc3e8c39 + languageName: node + linkType: hard + +"typedarray@npm:^0.0.6": + version: 0.0.6 + resolution: "typedarray@npm:0.0.6" + checksum: 10/2cc1bcf7d8c1237f6a16c04efc06637b2c5f2d74e58e84665445cf87668b85a21ab18dd751fa49eee6ae024b70326635d7b79ad37b1c370ed2fec6aeeeb52714 + languageName: node + linkType: hard + "typedoc@npm:~0.25.13": version: 0.25.13 resolution: "typedoc@npm:0.25.13" @@ -18701,6 +20303,20 @@ __metadata: languageName: node linkType: hard +"typescript-eslint@npm:~8.13.0": + version: 8.13.0 + resolution: "typescript-eslint@npm:8.13.0" + dependencies: + "@typescript-eslint/eslint-plugin": "npm:8.13.0" + "@typescript-eslint/parser": "npm:8.13.0" + "@typescript-eslint/utils": "npm:8.13.0" + peerDependenciesMeta: + typescript: + optional: true + checksum: 10/74e9371e684c93cb74892bede3b22bbc15bf953eedf47cb40fb58bbc8bafaf164c82a7cf69923197ebabaecc138915d3d7cd364532b1791ae64d8f7385ffd728 + languageName: node + linkType: hard + "typescript@npm:~5.6.3": version: 5.6.3 resolution: "typescript@npm:5.6.3" @@ -18778,6 +20394,35 @@ __metadata: languageName: node linkType: hard +"unified-engine@npm:^11.2.0": + version: 11.2.2 + resolution: "unified-engine@npm:11.2.2" + dependencies: + "@types/concat-stream": "npm:^2.0.0" + "@types/debug": "npm:^4.0.0" + "@types/is-empty": "npm:^1.0.0" + "@types/node": "npm:^22.0.0" + "@types/unist": "npm:^3.0.0" + concat-stream: "npm:^2.0.0" + debug: "npm:^4.0.0" + extend: "npm:^3.0.0" + glob: "npm:^10.0.0" + ignore: "npm:^6.0.0" + is-empty: "npm:^1.0.0" + is-plain-obj: "npm:^4.0.0" + load-plugin: "npm:^6.0.0" + parse-json: "npm:^7.0.0" + trough: "npm:^2.0.0" + unist-util-inspect: "npm:^8.0.0" + vfile: "npm:^6.0.0" + vfile-message: "npm:^4.0.0" + vfile-reporter: "npm:^8.0.0" + vfile-statistics: "npm:^3.0.0" + yaml: "npm:^2.0.0" + checksum: 10/4b1befbb4c47a803ad5da28dba37c5551a7948ab6db7e6c7219ae58a13bbd70207b5fa966f0d24863924ab7910009233e39c1cfc9bf37e6ad9269e721e0df6dc + languageName: node + linkType: hard + "unified@npm:^10.0.0, unified@npm:^10.1.2": version: 10.1.2 resolution: "unified@npm:10.1.2" @@ -18793,7 +20438,7 @@ __metadata: languageName: node linkType: hard -"unified@npm:^11.0.0": +"unified@npm:^11.0.0, unified@npm:^11.0.4": version: 11.0.5 resolution: "unified@npm:11.0.5" dependencies: @@ -18833,6 +20478,15 @@ __metadata: languageName: node linkType: hard +"unist-util-inspect@npm:^8.0.0": + version: 8.1.0 + resolution: "unist-util-inspect@npm:8.1.0" + dependencies: + "@types/unist": "npm:^3.0.0" + checksum: 10/f1d14b2fdf184b08de55e215b67ccce9be59b81ccb72b01295538b1642b2087f093b6e98bd830727dd5d69074dcdce3c471469a2ec8bd0aa4063b1270b23e86f + languageName: node + linkType: hard + "unist-util-is@npm:^5.0.0": version: 5.2.1 resolution: "unist-util-is@npm:5.2.1" @@ -18860,6 +20514,15 @@ __metadata: languageName: node linkType: hard +"unist-util-position-from-estree@npm:^2.0.0": + version: 2.0.0 + resolution: "unist-util-position-from-estree@npm:2.0.0" + dependencies: + "@types/unist": "npm:^3.0.0" + checksum: 10/d3b3048a5727c2367f64ef6dcc5b20c4717215ef8b1372ff9a7c426297c5d1e5776409938acd01531213e2cd2543218d16e73f9f862f318e9496e2c73bb18354 + languageName: node + linkType: hard + "unist-util-remove-position@npm:^4.0.0": version: 4.0.2 resolution: "unist-util-remove-position@npm:4.0.2" @@ -19011,7 +20674,10 @@ __metadata: version: 0.0.0-use.local resolution: "update-readme@workspace:tools/update-readme" dependencies: + eslint: "npm:~9.14.0" + lint-all: "workspace:~" outdent: "npm:^0.8.0" + prettier: "npm:~3.3.3" zx: "npm:~8.1.9" bin: update-readme: ./update-readme.mjs @@ -19170,7 +20836,7 @@ __metadata: languageName: node linkType: hard -"validate-npm-package-license@npm:^3.0.1": +"validate-npm-package-license@npm:^3.0.1, validate-npm-package-license@npm:^3.0.4": version: 3.0.4 resolution: "validate-npm-package-license@npm:3.0.4" dependencies: @@ -19180,6 +20846,13 @@ __metadata: languageName: node linkType: hard +"validate-npm-package-name@npm:^5.0.0": + version: 5.0.1 + resolution: "validate-npm-package-name@npm:5.0.1" + checksum: 10/0d583a1af23aeffea7748742cf22b6802458736fb8b60323ba5949763824d46f796474b0e1b9206beb716f9d75269e19dbd7795d6b038b29d561be95dd827381 + languageName: node + linkType: hard + "varstream@npm:^0.3.2": version: 0.3.2 resolution: "varstream@npm:0.3.2" @@ -19233,6 +20906,42 @@ __metadata: languageName: node linkType: hard +"vfile-reporter@npm:^8.0.0": + version: 8.1.1 + resolution: "vfile-reporter@npm:8.1.1" + dependencies: + "@types/supports-color": "npm:^8.0.0" + string-width: "npm:^6.0.0" + supports-color: "npm:^9.0.0" + unist-util-stringify-position: "npm:^4.0.0" + vfile: "npm:^6.0.0" + vfile-message: "npm:^4.0.0" + vfile-sort: "npm:^4.0.0" + vfile-statistics: "npm:^3.0.0" + checksum: 10/caeb1b59d3798d9c098d84da68047e8fa5fb3a245c66dc4a653d16ac1cec5bc8023ef5c529d426a21fed8dafab902ede6adea22958fbcbdc1cb999f44b783f50 + languageName: node + linkType: hard + +"vfile-sort@npm:^4.0.0": + version: 4.0.0 + resolution: "vfile-sort@npm:4.0.0" + dependencies: + vfile: "npm:^6.0.0" + vfile-message: "npm:^4.0.0" + checksum: 10/2d60298ccf30b6f1068560660985670ad3345cfa1f85f1feb66f0d9b74b847a81af94db26fc798e98a09eed58ea4502c7bbd69c969e26848f5badcdb90d28bc8 + languageName: node + linkType: hard + +"vfile-statistics@npm:^3.0.0": + version: 3.0.0 + resolution: "vfile-statistics@npm:3.0.0" + dependencies: + vfile: "npm:^6.0.0" + vfile-message: "npm:^4.0.0" + checksum: 10/0dbbc8adeb73bb24b5f723e947122e1ae7b6bd0c5ff3fd1ae0ef4a3066f74be00425102c95aa4eaa0f529ba05237255fe8342af76661b0ba6aee3f4c16ca135f + languageName: node + linkType: hard + "vfile@npm:^5.0.0, vfile@npm:^5.3.4": version: 5.3.7 resolution: "vfile@npm:5.3.7" @@ -19256,6 +20965,16 @@ __metadata: languageName: node linkType: hard +"vfile@npm:^6.0.1": + version: 6.0.3 + resolution: "vfile@npm:6.0.3" + dependencies: + "@types/unist": "npm:^3.0.0" + vfile-message: "npm:^4.0.0" + checksum: 10/a5a85293c9eb8787aa42e180edaef00c13199a493d6ed82fecf13ab29a68526850788e22434d77808ea6b17a74e03ff899b9b4711df5b9eee75afcddd7c2e1fb + languageName: node + linkType: hard + "void-elements@npm:3.1.0": version: 3.1.0 resolution: "void-elements@npm:3.1.0" @@ -19286,6 +21005,13 @@ __metadata: languageName: node linkType: hard +"walk-up-path@npm:^3.0.1": + version: 3.0.1 + resolution: "walk-up-path@npm:3.0.1" + checksum: 10/9ffca02fe30fb65f6db531260582988c5e766f4c739cf86a6109380a7f791236b5d0b92b1dce37a6f73e22dca6bc9d93bf3700413e16251b2bd6bbd1ca2be316 + languageName: node + linkType: hard + "walker@npm:^1.0.8": version: 1.0.8 resolution: "walker@npm:1.0.8" @@ -19557,7 +21283,39 @@ __metadata: languageName: node linkType: hard -"which-typed-array@npm:^1.1.10, which-typed-array@npm:^1.1.14, which-typed-array@npm:^1.1.2": +"which-builtin-type@npm:^1.1.3": + version: 1.1.4 + resolution: "which-builtin-type@npm:1.1.4" + dependencies: + function.prototype.name: "npm:^1.1.6" + has-tostringtag: "npm:^1.0.2" + is-async-function: "npm:^2.0.0" + is-date-object: "npm:^1.0.5" + is-finalizationregistry: "npm:^1.0.2" + is-generator-function: "npm:^1.0.10" + is-regex: "npm:^1.1.4" + is-weakref: "npm:^1.0.2" + isarray: "npm:^2.0.5" + which-boxed-primitive: "npm:^1.0.2" + which-collection: "npm:^1.0.2" + which-typed-array: "npm:^1.1.15" + checksum: 10/c0cdb9b004e7a326f4ce54c75b19658a3bec73601a71dd7e2d9538accb3e781b546b589c3f306caf5e7429ac1c8019028d5e662e2860f03603354105b8247c83 + languageName: node + linkType: hard + +"which-collection@npm:^1.0.2": + version: 1.0.2 + resolution: "which-collection@npm:1.0.2" + dependencies: + is-map: "npm:^2.0.3" + is-set: "npm:^2.0.3" + is-weakmap: "npm:^2.0.2" + is-weakset: "npm:^2.0.3" + checksum: 10/674bf659b9bcfe4055f08634b48a8588e879161b9fefed57e9ec4ff5601e4d50a05ccd76cf10f698ef5873784e5df3223336d56c7ce88e13bcf52ebe582fc8d7 + languageName: node + linkType: hard + +"which-typed-array@npm:^1.1.10, which-typed-array@npm:^1.1.14, which-typed-array@npm:^1.1.15, which-typed-array@npm:^1.1.2": version: 1.1.15 resolution: "which-typed-array@npm:1.1.15" dependencies: @@ -19592,6 +21350,17 @@ __metadata: languageName: node linkType: hard +"which@npm:^4.0.0": + version: 4.0.0 + resolution: "which@npm:4.0.0" + dependencies: + isexe: "npm:^3.1.1" + bin: + node-which: bin/which.js + checksum: 10/f17e84c042592c21e23c8195108cff18c64050b9efb8459589116999ea9da6dd1509e6a1bac3aeebefd137be00fabbb61b5c2bc0aa0f8526f32b58ee2f545651 + languageName: node + linkType: hard + "wide-align@npm:^1.1.0, wide-align@npm:^1.1.5": version: 1.1.5 resolution: "wide-align@npm:1.1.5" @@ -19808,7 +21577,7 @@ __metadata: languageName: node linkType: hard -"yaml@npm:^2.2.2": +"yaml@npm:^2.0.0, yaml@npm:^2.2.2": version: 2.6.0 resolution: "yaml@npm:2.6.0" bin: From 599693cd18200c7168c6510d79f140d5b010f6f5 Mon Sep 17 00:00:00 2001 From: Tasso Date: Tue, 5 Nov 2024 11:54:03 -0300 Subject: [PATCH 04/11] Remove `@rocket.chat/eslint-config-alt` --- README.md | 1 - .../library/files/.eslintignore.t | 5 - .../library/files/package.json.t | 7 - package.json | 4 - packages/css-in-js/package.json | 1 - packages/css-supports/package.json | 1 - packages/emitter/package.json | 1 - packages/eslint-config-alt/CHANGELOG.md | 45 -- packages/eslint-config-alt/README.md | 77 --- packages/eslint-config-alt/minimal/index.js | 33 -- packages/eslint-config-alt/original/index.js | 27 - .../original/rules/best-practices.js | 327 ------------ .../original/rules/errors.js | 148 ------ .../eslint-config-alt/original/rules/es6.js | 189 ------- .../original/rules/imports.js | 262 ---------- .../eslint-config-alt/original/rules/node.js | 33 -- .../original/rules/strict.js | 6 - .../eslint-config-alt/original/rules/style.js | 487 ------------------ .../original/rules/variables.js | 54 -- packages/eslint-config-alt/package.json | 54 -- packages/eslint-config-alt/react/index.js | 79 --- .../eslint-config-alt/typescript/index.js | 39 -- packages/fuselage-hooks/package.json | 1 - packages/fuselage-polyfills/package.json | 1 - packages/fuselage-toastbar/package.json | 7 - packages/fuselage-tokens/package.json | 1 - packages/fuselage/package.json | 1 - packages/icons/package.json | 1 - packages/layout/package.json | 7 - packages/logo/package.json | 1 - packages/memo/package.json | 7 - packages/mp3-encoder/package.json | 1 - packages/onboarding-ui/package.json | 1 - packages/peggy-loader/package.json | 1 - packages/prettier-config/package.json | 3 - packages/string-helpers/package.json | 7 - .../string-helpers/src/escapeRegExp.spec.ts | 14 +- packages/styled/package.json | 1 - .../package.json | 1 - tools/lint-all/lint-and-fix.mjs | 8 +- tools/scripts/package.json | 1 - yarn.lock | 292 +---------- 42 files changed, 15 insertions(+), 2222 deletions(-) delete mode 100644 _templates/create-package/library/files/.eslintignore.t delete mode 100644 packages/eslint-config-alt/CHANGELOG.md delete mode 100644 packages/eslint-config-alt/README.md delete mode 100644 packages/eslint-config-alt/minimal/index.js delete mode 100644 packages/eslint-config-alt/original/index.js delete mode 100644 packages/eslint-config-alt/original/rules/best-practices.js delete mode 100644 packages/eslint-config-alt/original/rules/errors.js delete mode 100644 packages/eslint-config-alt/original/rules/es6.js delete mode 100644 packages/eslint-config-alt/original/rules/imports.js delete mode 100644 packages/eslint-config-alt/original/rules/node.js delete mode 100644 packages/eslint-config-alt/original/rules/strict.js delete mode 100644 packages/eslint-config-alt/original/rules/style.js delete mode 100644 packages/eslint-config-alt/original/rules/variables.js delete mode 100644 packages/eslint-config-alt/package.json delete mode 100644 packages/eslint-config-alt/react/index.js delete mode 100644 packages/eslint-config-alt/typescript/index.js diff --git a/README.md b/README.md index 1a92b8b30c..4dca772c17 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,6 @@ | 📦 [`@rocket.chat/css-in-js`](/packages/css-in-js) | Toolset to transpile and use CSS on runtime | [![npm](https://img.shields.io/npm/v/@rocket.chat/css-in-js?style=flat-square)](https://www.npmjs.com/package/@rocket.chat/css-in-js) | ![deps](https://img.shields.io/librariesio/release/npm/@rocket.chat/css-in-js?style=flat-square) | | 📦 [`@rocket.chat/css-supports`](/packages/css-supports) | Memoized and SSR-compatible facade of CSS.supports API | [![npm](https://img.shields.io/npm/v/@rocket.chat/css-supports?style=flat-square)](https://www.npmjs.com/package/@rocket.chat/css-supports) | ![deps](https://img.shields.io/librariesio/release/npm/@rocket.chat/css-supports?style=flat-square) | | 📦 [`@rocket.chat/emitter`](/packages/emitter) | Event Emitter by Rocket.Chat | [![npm](https://img.shields.io/npm/v/@rocket.chat/emitter?style=flat-square)](https://www.npmjs.com/package/@rocket.chat/emitter) | ![deps](https://img.shields.io/librariesio/release/npm/@rocket.chat/emitter?style=flat-square) | -| 📦 [`@rocket.chat/eslint-config-alt`](/packages/eslint-config-alt) | ESLint configuration for Rocket.Chat repositories | [![npm](https://img.shields.io/npm/v/@rocket.chat/eslint-config-alt?style=flat-square)](https://www.npmjs.com/package/@rocket.chat/eslint-config-alt) | ![deps](https://img.shields.io/librariesio/release/npm/@rocket.chat/eslint-config-alt?style=flat-square) | | 📦 [`@rocket.chat/fuselage`](/packages/fuselage) | Rocket.Chat's React Components Library | [![npm](https://img.shields.io/npm/v/@rocket.chat/fuselage?style=flat-square)](https://www.npmjs.com/package/@rocket.chat/fuselage) | ![deps](https://img.shields.io/librariesio/release/npm/@rocket.chat/fuselage?style=flat-square) | | 📦 [`@rocket.chat/fuselage-hooks`](/packages/fuselage-hooks) | React hooks for Fuselage, Rocket.Chat's design system and UI toolkit | [![npm](https://img.shields.io/npm/v/@rocket.chat/fuselage-hooks?style=flat-square)](https://www.npmjs.com/package/@rocket.chat/fuselage-hooks) | ![deps](https://img.shields.io/librariesio/release/npm/@rocket.chat/fuselage-hooks?style=flat-square) | | 📦 [`@rocket.chat/fuselage-polyfills`](/packages/fuselage-polyfills) | A bundle of useful poly/ponyfills used by fuselage | [![npm](https://img.shields.io/npm/v/@rocket.chat/fuselage-polyfills?style=flat-square)](https://www.npmjs.com/package/@rocket.chat/fuselage-polyfills) | ![deps](https://img.shields.io/librariesio/release/npm/@rocket.chat/fuselage-polyfills?style=flat-square) | diff --git a/_templates/create-package/library/files/.eslintignore.t b/_templates/create-package/library/files/.eslintignore.t deleted file mode 100644 index 2096624d93..0000000000 --- a/_templates/create-package/library/files/.eslintignore.t +++ /dev/null @@ -1,5 +0,0 @@ ---- -to: packages/<%=package%>/.eslintignore ---- -/node_modules -/dist diff --git a/_templates/create-package/library/files/package.json.t b/_templates/create-package/library/files/package.json.t index 98cac5bdf7..3467ba8fd5 100644 --- a/_templates/create-package/library/files/package.json.t +++ b/_templates/create-package/library/files/package.json.t @@ -39,7 +39,6 @@ to: packages/<%=package%>/package.json "docs": "typedoc" }, "devDependencies": { - "@rocket.chat/eslint-config-alt": "workspace:~", "@types/jest": "~27.4.0", "eslint": "~8.8.0", "jest": "~27.5.1", @@ -50,12 +49,6 @@ to: packages/<%=package%>/package.json "typedoc": "~0.24.1", "typescript": "~5.5.4" }, - "eslintConfig": { - "extends": "@rocket.chat/eslint-config-alt/typescript", - "env": { - "jest": true - } - }, "jest": { "preset": "ts-jest", "errorOnDeprecated": true, diff --git a/package.json b/package.json index 901ce759a0..d349351463 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,6 @@ "@changesets/changelog-github": "~0.5.0", "@changesets/cli": "~2.27.9", "@eslint/js": "~9.14.0", - "@rocket.chat/eslint-config-alt": "workspace:~", "@rocket.chat/prettier-config": "workspace:~", "@types/eslint__js": "~8.42.3", "eslint": "~9.14.0", @@ -56,9 +55,6 @@ "yarn": "4.5.1" }, "packageManager": "yarn@4.5.1", - "eslintConfig": { - "extends": "@rocket.chat/eslint-config-alt" - }, "resolutions": { "jsdom": "25.0.1" } diff --git a/packages/css-in-js/package.json b/packages/css-in-js/package.json index f9fbb01701..8d8f0f0f9a 100644 --- a/packages/css-in-js/package.json +++ b/packages/css-in-js/package.json @@ -40,7 +40,6 @@ "docs": "typedoc" }, "devDependencies": { - "@rocket.chat/eslint-config-alt": "workspace:~", "@rollup/plugin-commonjs": "~21.0.3", "@rollup/plugin-json": "~4.1.0", "@rollup/plugin-node-resolve": "~13.1.3", diff --git a/packages/css-supports/package.json b/packages/css-supports/package.json index 94e94d0647..9e47b87855 100644 --- a/packages/css-supports/package.json +++ b/packages/css-supports/package.json @@ -33,7 +33,6 @@ "docs": "typedoc" }, "devDependencies": { - "@rocket.chat/eslint-config-alt": "workspace:~", "eslint": "~9.14.0", "lint-all": "workspace:~", "prettier": "~3.3.3", diff --git a/packages/emitter/package.json b/packages/emitter/package.json index cba8aa5163..ec7f2c11a1 100644 --- a/packages/emitter/package.json +++ b/packages/emitter/package.json @@ -40,7 +40,6 @@ "docs": "typedoc" }, "devDependencies": { - "@rocket.chat/eslint-config-alt": "workspace:~", "@rollup/plugin-commonjs": "~21.0.3", "@rollup/plugin-json": "~4.1.0", "@rollup/plugin-node-resolve": "~13.1.3", diff --git a/packages/eslint-config-alt/CHANGELOG.md b/packages/eslint-config-alt/CHANGELOG.md deleted file mode 100644 index 9844de18ff..0000000000 --- a/packages/eslint-config-alt/CHANGELOG.md +++ /dev/null @@ -1,45 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [0.31.0](https://github.com/RocketChat/fuselage/compare/v0.30.1...v0.31.0) (2021-12-28) - -### Features - -- New hooks for element size tracking ([#413](https://github.com/RocketChat/fuselage/issues/413)) ([8ca682c](https://github.com/RocketChat/fuselage/commit/8ca682c636d2e4813f7d346cb881513382be63cf)) - -# [0.30.0](https://github.com/RocketChat/fuselage/compare/v0.29.0...v0.30.0) (2021-10-06) - -**Note:** Version bump only for package @rocket.chat/eslint-config-alt - -# [0.29.0](https://github.com/RocketChat/fuselage/compare/v0.28.0...v0.29.0) (2021-08-31) - -**Note:** Version bump only for package @rocket.chat/eslint-config-alt - -# [0.28.0](https://github.com/RocketChat/fuselage/compare/v0.27.0...v0.28.0) (2021-07-30) - -### Features - -- **onboarding-ui:** Administrator information form and Organization information form ([#489](https://github.com/RocketChat/fuselage/issues/489)) ([b289f68](https://github.com/RocketChat/fuselage/commit/b289f68676954b91c792d8d97680314178bf2c60)) -- styled API; monorepo grooming ([#482](https://github.com/RocketChat/fuselage/issues/482)) ([1b6b70c](https://github.com/RocketChat/fuselage/commit/1b6b70cf67ec16927b1566adc2350295a8927223)) - -# [0.27.0](https://github.com/RocketChat/fuselage/compare/v0.26.0...v0.27.0) (2021-06-28) - -### Bug Fixes - -- **eslint:** Add missing ESLint rule for TypeScript ([#470](https://github.com/RocketChat/fuselage/issues/470)) ([cc0d498](https://github.com/RocketChat/fuselage/commit/cc0d4989bf37f7602d1d58d051824f1dd6c096b3)) - -# [0.26.0](https://github.com/RocketChat/fuselage/compare/v0.25.0...v0.26.0) (2021-05-28) - -**Note:** Version bump only for package @rocket.chat/eslint-config-alt - -# [0.25.0](https://github.com/RocketChat/fuselage/compare/v0.24.0...v0.25.0) (2021-05-19) - -### Features - -- Peggy loader ([#450](https://github.com/RocketChat/fuselage/issues/450)) ([0496cad](https://github.com/RocketChat/fuselage/commit/0496cad457d76f8a4d6a217209e4a55e315e8365)) - -# [0.24.0](https://github.com/RocketChat/fuselage/compare/v0.23.0...v0.24.0) (2021-04-28) - -**Note:** Version bump only for package @rocket.chat/eslint-config-alt diff --git a/packages/eslint-config-alt/README.md b/packages/eslint-config-alt/README.md deleted file mode 100644 index 2ceafc4493..0000000000 --- a/packages/eslint-config-alt/README.md +++ /dev/null @@ -1,77 +0,0 @@ - - -

- - Rocket.Chat - -

- -# `@rocket.chat/eslint-config-alt` - -> ESLint configuration for Rocket.Chat repositories - ---- - -[![npm@latest](https://img.shields.io/npm/v/@rocket.chat/eslint-config-alt/latest?style=flat-square)](https://www.npmjs.com/package/@rocket.chat/eslint-config-alt/v/latest) [![npm@next](https://img.shields.io/npm/v/@rocket.chat/eslint-config-alt/next?style=flat-square)](https://www.npmjs.com/package/@rocket.chat/eslint-config-alt/v/next) ![npm downloads](https://img.shields.io/npm/dw/@rocket.chat/eslint-config-alt?style=flat-square) ![License: MIT](https://img.shields.io/npm/l/@rocket.chat/eslint-config-alt?style=flat-square) - -![deps](https://img.shields.io/librariesio/release/npm/@rocket.chat/eslint-config-alt?style=flat-square) ![npm bundle size](https://img.shields.io/bundlephobia/min/@rocket.chat/eslint-config-alt?style=flat-square) - - - -## Install - - - -Firstly, install the peer dependencies (prerequisites): - -```sh -npm i -D @babel/eslint-parser eslint prettier - -# or, if you are using yarn: - -yarn add -D @babel/eslint-parser eslint prettier -``` - -Add `@rocket.chat/eslint-config-alt` as a dependency: - -```sh -npm i -D @rocket.chat/eslint-config-alt - -# or, if you are using yarn: - -yarn add -D @rocket.chat/eslint-config-alt -``` - - - -## Contributing - - - -Contributions, issues, and feature requests are welcome!
-Feel free to check the [issues](https://github.com/RocketChat/fuselage/issues). - - - -### Linting - -To ensure the source is matching our coding style, we perform [linting](). -Before commiting, check if your code fits our style by running: - - - -```sh -yarn lint -``` - - - -Some linter warnings and errors can be automatically fixed: - - - -```sh -yarn lint-and-fix -``` - - diff --git a/packages/eslint-config-alt/minimal/index.js b/packages/eslint-config-alt/minimal/index.js deleted file mode 100644 index bfd61f8a5c..0000000000 --- a/packages/eslint-config-alt/minimal/index.js +++ /dev/null @@ -1,33 +0,0 @@ -/** @type {import('eslint').Linter.Config} */ -module.exports = { - extends: ['../original', 'prettier'], - plugins: ['prettier'], - rules: { - 'import/named': 'error', - 'import/order': [ - 'error', - { - 'newlines-between': 'always', - 'groups': [ - 'builtin', - 'external', - 'internal', - ['parent', 'sibling', 'index'], - ], - 'alphabetize': { - order: 'asc', - }, - }, - ], - 'indent': 'off', - 'prefer-arrow-callback': ['error', { allowNamedFunctions: true }], - 'prettier/prettier': 'error', - }, - settings: { - 'import/resolver': { - node: { - extensions: ['.js'], - }, - }, - }, -}; diff --git a/packages/eslint-config-alt/original/index.js b/packages/eslint-config-alt/original/index.js deleted file mode 100644 index 2f7e6b4e99..0000000000 --- a/packages/eslint-config-alt/original/index.js +++ /dev/null @@ -1,27 +0,0 @@ -/** @type {import('eslint').Linter.Config} */ -module.exports = { - extends: [ - './rules/best-practices', - './rules/errors', - './rules/node', - './rules/style', - './rules/variables', - './rules/es6', - './rules/imports', - ].map(require.resolve), - parserOptions: { - sourceType: 'module', - ecmaVersion: 2018, - ecmaFeatures: { - generators: false, - objectLiteralDuplicateProperties: false, - }, - }, - env: { - browser: true, - commonjs: true, - es6: true, - node: true, - jquery: true, - }, -}; diff --git a/packages/eslint-config-alt/original/rules/best-practices.js b/packages/eslint-config-alt/original/rules/best-practices.js deleted file mode 100644 index d6eb740ae3..0000000000 --- a/packages/eslint-config-alt/original/rules/best-practices.js +++ /dev/null @@ -1,327 +0,0 @@ -module.exports = { - rules: { - // // enforces getter/setter pairs in objects - // 'accessor-pairs': 'off', - - // enforces return statements in callbacks of array's methods - // https://eslint.org/docs/rules/array-callback-return - 'array-callback-return': ['error', { allowImplicit: true }], - - // treat var statements as if they were block scoped - 'block-scoped-var': 'error', - - // specify the maximum cyclomatic complexity allowed in a program - 'complexity': ['warn', 31], - - // enforce that class methods use "this" - // https://eslint.org/docs/rules/class-methods-use-this - // 'class-methods-use-this': ['error', { - // exceptMethods: [], - // }], - - // require return statements to either always or never specify values - // 'consistent-return': 'error', - - // specify curly brace conventions for all control statements - 'curly': ['error', 'all'], - - // // require default case in switch statements - // 'default-case': ['error', { commentPattern: '^no default$' }], - - // encourages use of dot notation whenever possible - 'dot-notation': ['error', { allowKeywords: true }], - - // enforces consistent newlines before or after dots - // https://eslint.org/docs/rules/dot-location - 'dot-location': ['error', 'property'], - - // require the use of === and !== - // https://eslint.org/docs/rules/eqeqeq - 'eqeqeq': ['error', 'allow-null'], - - // make sure for-in loops have an if statement - 'guard-for-in': 'error', - - // // enforce a maximum number of classes per file - // // https://eslint.org/docs/rules/max-classes-per-file - // // TODO: semver-major (eslint 5): enable - // 'max-classes-per-file': ['off', 1], - - // // disallow the use of alert, confirm, and prompt - // 'no-alert': 'warn', - - // disallow use of arguments.caller or arguments.callee - 'no-caller': 'error', - - // disallow lexical declarations in case/default clauses - // https://eslint.org/docs/rules/no-case-declarations.html - // 'no-case-declarations': 'error', - - // disallow division operators explicitly at beginning of regular expression - // https://eslint.org/docs/rules/no-div-regex - 'no-div-regex': 'off', - - // disallow else after a return in an if - // https://eslint.org/docs/rules/no-else-return - 'no-else-return': ['error', { allowElseIf: false }], - - // disallow empty functions, except for standalone funcs/arrows - // https://eslint.org/docs/rules/no-empty-function - 'no-empty-function': [ - 'error', - { - allow: ['arrowFunctions', 'functions', 'methods'], - }, - ], - - // disallow empty destructuring patterns - // https://eslint.org/docs/rules/no-empty-pattern - 'no-empty-pattern': 'error', - - // // disallow comparisons to null without a type-checking operator - // 'no-eq-null': 'off', - - // disallow use of eval() - 'no-eval': 'error', - - // disallow adding to native types - 'no-extend-native': 'error', - - // disallow unnecessary function binding - 'no-extra-bind': 'error', - - // disallow Unnecessary Labels - // https://eslint.org/docs/rules/no-extra-label - 'no-extra-label': 'error', - - // disallow fallthrough of case statements - 'no-fallthrough': 'error', - - // disallow the use of leading or trailing decimal points in numeric literals - 'no-floating-decimal': 'error', - - // // disallow reassignments of native objects or read-only globals - // // https://eslint.org/docs/rules/no-global-assign - // 'no-global-assign': ['error', { exceptions: [] }], - // // deprecated in favor of no-global-assign - // 'no-native-reassign': 'off', - - // // disallow implicit type conversions - // // https://eslint.org/docs/rules/no-implicit-coercion - // 'no-implicit-coercion': ['off', { - // boolean: false, - // number: true, - // string: true, - // allow: [], - // }], - - // // disallow var and named functions in global scope - // // https://eslint.org/docs/rules/no-implicit-globals - // 'no-implicit-globals': 'off', - - // disallow use of eval()-like methods - 'no-implied-eval': 'error', - - // disallow this keywords outside of classes or class-like objects - 'no-invalid-this': 'off', - - // disallow usage of __iterator__ property - 'no-iterator': 'error', - - // // disallow use of labels for anything other then loops and switches - // 'no-labels': ['error', { allowLoop: false, allowSwitch: false }], - - // disallow unnecessary nested blocks - 'no-lone-blocks': 'error', - - // disallow creation of functions within loops - 'no-loop-func': 'error', - - // // disallow magic numbers - // // https://eslint.org/docs/rules/no-magic-numbers - // 'no-magic-numbers': ['off', { - // ignore: [], - // ignoreArrayIndexes: true, - // enforceConst: true, - // detectObjects: false, - // }], - - // disallow use of multiple spaces - 'no-multi-spaces': 'error', - - // disallow use of multiline strings - 'no-multi-str': 'error', - - // disallow use of new operator when not part of the assignment or comparison - // 'no-new': 'error', - - // disallow use of new operator for Function object - // 'no-new-func': 'error', - - // disallows creating new instances of String, Number, and Boolean - 'no-new-wrappers': 'error', - - // disallow use of (old style) octal literals - 'no-octal': 'error', - - // // disallow use of octal escape sequences in string literals, such as - // // var foo = 'Copyright \251'; - // 'no-octal-escape': 'error', - - // // disallow reassignment of function parameters - // // disallow parameter object manipulation except for specific exclusions - // // rule: https://eslint.org/docs/rules/no-param-reassign.html - // 'no-param-reassign': ['error', { - // props: true, - // ignorePropertyModificationsFor: [ - // 'acc', // for reduce accumulators - // 'accumulator', // for reduce accumulators - // 'e', // for e.returnvalue - // 'ctx', // for Koa routing - // 'req', // for Express requests - // 'request', // for Express requests - // 'res', // for Express responses - // 'response', // for Express responses - // '$scope', // for Angular 1 scopes - // ] - // }], - - // disallow usage of __proto__ property - 'no-proto': 'error', - - // disallow declaring the same variable more then once - 'no-redeclare': 'error', - - // // disallow certain object properties - // // https://eslint.org/docs/rules/no-restricted-properties - // 'no-restricted-properties': ['error', { - // object: 'arguments', - // property: 'callee', - // message: 'arguments.callee is deprecated', - // }, { - // object: 'global', - // property: 'isFinite', - // message: 'Please use Number.isFinite instead', - // }, { - // object: 'self', - // property: 'isFinite', - // message: 'Please use Number.isFinite instead', - // }, { - // object: 'window', - // property: 'isFinite', - // message: 'Please use Number.isFinite instead', - // }, { - // object: 'global', - // property: 'isNaN', - // message: 'Please use Number.isNaN instead', - // }, { - // object: 'self', - // property: 'isNaN', - // message: 'Please use Number.isNaN instead', - // }, { - // object: 'window', - // property: 'isNaN', - // message: 'Please use Number.isNaN instead', - // }, { - // property: '__defineGetter__', - // message: 'Please use Object.defineProperty instead.', - // }, { - // property: '__defineSetter__', - // message: 'Please use Object.defineProperty instead.', - // }, { - // object: 'Math', - // property: 'pow', - // message: 'Use the exponentiation operator (**) instead.', - // }], - - // disallow use of assignment in return statement - 'no-return-assign': ['error', 'always'], - - // disallow redundant `return await` - 'no-return-await': 'error', - - // // disallow use of `javascript:` urls. - // 'no-script-url': 'error', - - // // disallow self assignment - // // https://eslint.org/docs/rules/no-self-assign - // // TODO: semver-major: props -> true - // 'no-self-assign': ['error', { - // props: false, - // }], - - // disallow comparisons where both sides are exactly the same - 'no-self-compare': 'error', - - // disallow use of comma operator - 'no-sequences': 'error', - - // restrict what can be thrown as an exception - 'no-throw-literal': 'error', - - // // disallow unmodified conditions of loops - // // https://eslint.org/docs/rules/no-unmodified-loop-condition - // 'no-unmodified-loop-condition': 'off', - - // // disallow usage of expressions in statement position - // 'no-unused-expressions': ['error', { - // allowShortCircuit: false, - // allowTernary: false, - // allowTaggedTemplates: false, - // }], - - // disallow unused labels - // https://eslint.org/docs/rules/no-unused-labels - 'no-unused-labels': 'error', - - // disallow unnecessary .call() and .apply() - 'no-useless-call': 'off', - - // disallow useless string concatenation - // https://eslint.org/docs/rules/no-useless-concat - 'no-useless-concat': 'error', - - // // disallow unnecessary string escaping - // // https://eslint.org/docs/rules/no-useless-escape - // 'no-useless-escape': 'error', - - // disallow redundant return; keywords - // https://eslint.org/docs/rules/no-useless-return - 'no-useless-return': 'error', - - // disallow use of void operator - // https://eslint.org/docs/rules/no-void - 'no-void': 'error', - - // // disallow usage of configurable warning terms in comments: e.g. todo - // 'no-warning-comments': ['off', { terms: ['todo', 'fixme', 'xxx'], location: 'start' }], - - // // disallow use of the with statement - // 'no-with': 'error', - - // // require using Error objects as Promise rejection reasons - // // https://eslint.org/docs/rules/prefer-promise-reject-errors - // 'prefer-promise-reject-errors': ['error', { allowEmptyReject: true }], - - // // require use of the second argument for parseInt() - // radix: 'error', - - // // require `await` in `async function` (note: this is a horrible rule that should never be used) - // // https://eslint.org/docs/rules/require-await - // 'require-await': 'off', - - // // Enforce the use of u flag on RegExp - // // https://eslint.org/docs/rules/require-unicode-regexp - // 'require-unicode-regexp': 'off', - - // // requires to declare all vars on top of their containing scope - // 'vars-on-top': 'error', - - // require immediate function invocation to be wrapped in parentheses - // https://eslint.org/docs/rules/wrap-iife.html - 'wrap-iife': ['error', 'outside', { functionPrototypeMethods: false }], - - // require or disallow Yoda conditions - 'yoda': 'error', - }, -}; diff --git a/packages/eslint-config-alt/original/rules/errors.js b/packages/eslint-config-alt/original/rules/errors.js deleted file mode 100644 index 44ca433f94..0000000000 --- a/packages/eslint-config-alt/original/rules/errors.js +++ /dev/null @@ -1,148 +0,0 @@ -module.exports = { - rules: { - // Enforce “for” loop update clause moving the counter in the right direction - // https://eslint.org/docs/rules/for-direction - 'for-direction': 'error', - - // Enforces that a return statement is present in property getters - // https://eslint.org/docs/rules/getter-return - 'getter-return': ['error', { allowImplicit: true }], - - // disallow using an async function as a Promise executor - // https://eslint.org/docs/rules/no-async-promise-executor - // TODO: enable, semver-major - 'no-async-promise-executor': 'off', - - // Disallow await inside of loops - // https://eslint.org/docs/rules/no-await-in-loop - 'no-await-in-loop': 'error', - - // Disallow comparisons to negative zero - // https://eslint.org/docs/rules/no-compare-neg-zero - 'no-compare-neg-zero': 'error', - - // disallow assignment in conditional expressions - 'no-cond-assign': 'error', - - // disallow use of console - // 'no-console': 'warn', - - // disallow use of constant expressions in conditions - 'no-constant-condition': 'error', - - // disallow control characters in regular expressions - 'no-control-regex': 'error', - - // disallow use of debugger - 'no-debugger': 'error', - - // disallow duplicate arguments in functions - 'no-dupe-args': 'error', - - // disallow duplicate keys when creating object literals - 'no-dupe-keys': 'error', - - // disallow a duplicate case label. - 'no-duplicate-case': 'error', - - // disallow empty statements - 'no-empty': 'error', - - // disallow the use of empty character classes in regular expressions - 'no-empty-character-class': 'error', - - // disallow assigning to the exception in a catch block - 'no-ex-assign': 'error', - - // disallow double-negation boolean casts in a boolean context - // https://eslint.org/docs/rules/no-extra-boolean-cast - 'no-extra-boolean-cast': 'error', - - // disallow unnecessary parentheses - // https://eslint.org/docs/rules/no-extra-parens - 'no-extra-parens': [ - 'error', - 'all', - { - conditionalAssign: true, - nestedBinaryExpressions: false, - returnAssign: true, - ignoreJSX: 'all', // delegate to eslint-plugin-react - enforceForArrowConditionals: false, - }, - ], - - // disallow unnecessary semicolons - 'no-extra-semi': 'error', - - // disallow overwriting functions written as function declarations - 'no-func-assign': 'error', - - // disallow function declarations in nested blocks - 'no-inner-declarations': ['error', 'functions'], - - // disallow invalid regular expression strings in the RegExp constructor - 'no-invalid-regexp': 'error', - - // disallow irregular whitespace outside of strings and comments - 'no-irregular-whitespace': 'error', - - // // Disallow characters which are made with multiple code points in character class syntax - // // https://eslint.org/docs/rules/no-misleading-character-class - // // TODO: enable, semver-major - // 'no-misleading-character-class': 'off', - - // disallow the use of object properties of the global object (Math and JSON) as functions - 'no-obj-calls': 'error', - - // // disallow use of Object.prototypes builtins directly - // // https://eslint.org/docs/rules/no-prototype-builtins - // 'no-prototype-builtins': 'error', - - // disallow multiple spaces in a regular expression literal - 'no-regex-spaces': 'error', - - // disallow sparse arrays - 'no-sparse-arrays': 'error', - - // // Disallow template literal placeholder syntax in regular strings - // // https://eslint.org/docs/rules/no-template-curly-in-string - // 'no-template-curly-in-string': 'error', - - // Avoid code that looks like two expressions but is actually one - // https://eslint.org/docs/rules/no-unexpected-multiline - 'no-unexpected-multiline': 'error', - - // disallow unreachable statements after a return, throw, continue, or break statement - 'no-unreachable': 'error', - - // disallow return/throw/break/continue inside finally blocks - // https://eslint.org/docs/rules/no-unsafe-finally - 'no-unsafe-finally': 'error', - - // disallow negating the left operand of relational operators - // https://eslint.org/docs/rules/no-unsafe-negation - 'no-unsafe-negation': 'error', - - // disallow negation of the left operand of an in expression - // deprecated in favor of no-unsafe-negation - // TODO: turn off - 'no-negated-in-lhs': 'error', - - // Disallow assignments that can lead to race conditions due to usage of await or yield - // https://eslint.org/docs/rules/require-atomic-updates - // TODO: enable, semver-major - 'require-atomic-updates': 'off', - - // disallow comparisons with the value NaN - 'use-isnan': 'error', - - // // ensure JSDoc comments are valid - // // https://eslint.org/docs/rules/valid-jsdoc - // 'valid-jsdoc': 'off', - - // ensure that the results of typeof are compared against a valid string - // https://eslint.org/docs/rules/valid-typeof - 'valid-typeof': ['error', { requireStringLiterals: true }], - }, -}; diff --git a/packages/eslint-config-alt/original/rules/es6.js b/packages/eslint-config-alt/original/rules/es6.js deleted file mode 100644 index be7f5f7a67..0000000000 --- a/packages/eslint-config-alt/original/rules/es6.js +++ /dev/null @@ -1,189 +0,0 @@ -module.exports = { - env: { - es6: true, - }, - parserOptions: { - ecmaVersion: 6, - sourceType: 'module', - ecmaFeatures: { - generators: false, - objectLiteralDuplicateProperties: false, - }, - }, - - rules: { - // enforces no braces where they can be omitted - // https://eslint.org/docs/rules/arrow-body-style - // TODO: enable requireReturnForObjectLiteral? - 'arrow-body-style': [ - 'error', - 'as-needed', - { - requireReturnForObjectLiteral: false, - }, - ], - - // require parens in arrow function arguments - // https://eslint.org/docs/rules/arrow-parens - 'arrow-parens': ['error', 'always'], - - // require space before/after arrow function's arrow - // https://eslint.org/docs/rules/arrow-spacing - 'arrow-spacing': ['error', { before: true, after: true }], - - // // verify super() callings in constructors - // 'constructor-super': 'error', - - // // enforce the spacing around the * in generator functions - // // https://eslint.org/docs/rules/generator-star-spacing - // 'generator-star-spacing': ['error', { before: false, after: true }], - - // // disallow modifying variables of class declarations - // // https://eslint.org/docs/rules/no-class-assign - // 'no-class-assign': 'error', - - // disallow arrow functions where they could be confused with comparisons - // https://eslint.org/docs/rules/no-confusing-arrow - 'no-confusing-arrow': [ - 'error', - { - allowParens: true, - }, - ], - - // disallow modifying variables that are declared using const - 'no-const-assign': 'error', - - // disallow duplicate class members - // https://eslint.org/docs/rules/no-dupe-class-members - 'no-dupe-class-members': 'error', - - // disallow importing from the same path more than once - // https://eslint.org/docs/rules/no-duplicate-imports - // replaced by https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-duplicates.md - 'no-duplicate-imports': 'off', - - // // disallow symbol constructor - // // https://eslint.org/docs/rules/no-new-symbol - // 'no-new-symbol': 'error', - - // // disallow specific imports - // // https://eslint.org/docs/rules/no-restricted-imports - // 'no-restricted-imports': ['off', { - // paths: [], - // patterns: [] - // }], - - // disallow to use this/super before super() calling in constructors. - // https://eslint.org/docs/rules/no-this-before-super - 'no-this-before-super': 'error', - - // disallow useless computed property keys - // https://eslint.org/docs/rules/no-useless-computed-key - 'no-useless-computed-key': 'error', - - // disallow unnecessary constructor - // https://eslint.org/docs/rules/no-useless-constructor - 'no-useless-constructor': 'error', - - // disallow renaming import, export, and destructured assignments to the same name - // https://eslint.org/docs/rules/no-useless-rename - 'no-useless-rename': [ - 'error', - { - ignoreDestructuring: false, - ignoreImport: false, - ignoreExport: false, - }, - ], - - // require let or const instead of var - 'no-var': 'error', - - // require method and property shorthand syntax for object literals - // https://eslint.org/docs/rules/object-shorthand - 'object-shorthand': 'error', - - // // suggest using arrow functions as callbacks - // 'prefer-arrow-callback': ['error', { - // allowNamedFunctions: false, - // allowUnboundThis: true, - // }], - - // suggest using of const declaration for variables that are never modified after declared - 'prefer-const': [ - 'error', - { - destructuring: 'any', - ignoreReadBeforeAssign: true, - }, - ], - - // Prefer destructuring from arrays and objects - // https://eslint.org/docs/rules/prefer-destructuring - 'prefer-destructuring': [ - 'error', - { - VariableDeclarator: { - array: false, - object: true, - }, - AssignmentExpression: { - array: false, - object: false, - }, - }, - { - enforceForRenamedProperties: false, - }, - ], - - // // disallow parseInt() in favor of binary, octal, and hexadecimal literals - // // https://eslint.org/docs/rules/prefer-numeric-literals - // 'prefer-numeric-literals': 'error', - - // // suggest using Reflect methods where applicable - // // https://eslint.org/docs/rules/prefer-reflect - // 'prefer-reflect': 'off', - - // use rest parameters instead of arguments - // https://eslint.org/docs/rules/prefer-rest-params - 'prefer-rest-params': 'error', - - // // suggest using the spread operator instead of .apply() - // // https://eslint.org/docs/rules/prefer-spread - // 'prefer-spread': 'error', - - // suggest using template literals instead of string concatenation - // https://eslint.org/docs/rules/prefer-template - 'prefer-template': 'error', - - // // disallow generator functions that do not have yield - // // https://eslint.org/docs/rules/require-yield - // 'require-yield': 'error', - - // enforce spacing between object rest-spread - // https://eslint.org/docs/rules/rest-spread-spacing - 'rest-spread-spacing': ['error', 'never'], - - // // import sorting - // // https://eslint.org/docs/rules/sort-imports - // 'sort-imports': ['off', { - // ignoreCase: false, - // ignoreMemberSort: false, - // memberSyntaxSortOrder: ['none', 'all', 'multiple', 'single'], - // }], - - // // require a Symbol description - // // https://eslint.org/docs/rules/symbol-description - // 'symbol-description': 'error', - - // enforce usage of spacing in template strings - // https://eslint.org/docs/rules/template-curly-spacing - 'template-curly-spacing': ['error', 'always'], - - // // enforce spacing around the * in yield* expressions - // // https://eslint.org/docs/rules/yield-star-spacing - // 'yield-star-spacing': ['error', 'after'] - }, -}; diff --git a/packages/eslint-config-alt/original/rules/imports.js b/packages/eslint-config-alt/original/rules/imports.js deleted file mode 100644 index ddb45d226c..0000000000 --- a/packages/eslint-config-alt/original/rules/imports.js +++ /dev/null @@ -1,262 +0,0 @@ -module.exports = { - env: { - es6: true, - }, - parserOptions: { - ecmaVersion: 6, - sourceType: 'module', - }, - plugins: ['import'], - - settings: { - 'import/resolver': { - node: { - extensions: ['.mjs', '.js', '.json'], - }, - }, - 'import/extensions': ['.js', '.mjs', '.jsx'], - 'import/core-modules': [], - 'import/ignore': [ - 'node_modules', - '\\.(coffee|scss|css|less|hbs|svg|json)$', - ], - }, - - rules: { - // Static analysis: - - // ensure imports point to files/modules that can be resolved - // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-unresolved.md - 'import/no-unresolved': [ - 'error', - { - commonjs: true, - caseSensitive: true, - amd: true, - ignore: ['^meteor/.+$'], - }, - ], - - // ensure named imports coupled with named exports - // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/named.md#when-not-to-use-it - 'import/named': 'off', - - // ensure default import coupled with default export - // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/default.md#when-not-to-use-it - 'import/default': 'off', - - // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/namespace.md - 'import/namespace': 'off', - - // Helpful warnings: - - // disallow invalid exports, e.g. multiple defaults - // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/export.md - 'import/export': 'error', - - // do not allow a default import name to match a named export - // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-named-as-default.md - // 'import/no-named-as-default': 'error', - 'import/no-named-as-default': 'off', - - // warn on accessing default export property names that are also named exports - // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-named-as-default-member.md - // 'import/no-named-as-default-member': 'error', - 'import/no-named-as-default-member': 'off', - - // // disallow use of jsdoc-marked-deprecated imports - // // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-deprecated.md - // 'import/no-deprecated': 'off', - - // // Forbid the use of extraneous packages - // // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-extraneous-dependencies.md - // // paths are treated both as absolute paths, and relative to process.cwd() - // 'import/no-extraneous-dependencies': ['error', { - // devDependencies: [ - // 'test/**', // tape, common npm pattern - // 'tests/**', // also common npm pattern - // 'spec/**', // mocha, rspec-like pattern - // '**/__tests__/**', // jest pattern - // '**/__mocks__/**', // jest pattern - // 'test.{js,jsx}', // repos with a single test file - // 'test-*.{js,jsx}', // repos with multiple top-level test files - // '**/*{.,_}{test,spec}.{js,jsx}', // tests where the extension or filename suffix denotes that it is a test - // '**/jest.config.js', // jest config - // '**/vue.config.js', // vue-cli config - // '**/webpack.config.js', // webpack config - // '**/webpack.config.*.js', // webpack config - // '**/rollup.config.js', // rollup config - // '**/rollup.config.*.js', // rollup config - // '**/gulpfile.js', // gulp config - // '**/gulpfile.*.js', // gulp config - // '**/Gruntfile{,.js}', // grunt config - // '**/protractor.conf.js', // protractor config - // '**/protractor.conf.*.js', // protractor config - // ], - // optionalDependencies: false, - // }], - - // // Forbid mutable exports - // // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-mutable-exports.md - // 'import/no-mutable-exports': 'error', - - // Module systems: - - // // disallow require() - // // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-commonjs.md - // 'import/no-commonjs': 'off', - - // // disallow AMD require/define - // // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-amd.md - // 'import/no-amd': 'error', - - // // No Node.js builtin modules - // // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-nodejs-modules.md - // // TODO: enable? - // 'import/no-nodejs-modules': 'off', - - // Style guide: - - // disallow non-import statements appearing before import statements - // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/first.md - 'import/first': 'error', - - // // disallow non-import statements appearing before import statements - // // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/imports-first.md - // // deprecated: use `import/first` - // 'import/imports-first': 'off', - - // disallow duplicate imports - // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-duplicates.md - 'import/no-duplicates': 'error', - - // // disallow namespace imports - // // TODO: enable? - // // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-namespace.md - // 'import/no-namespace': 'off', - - // // Ensure consistent use of file extension within the import path - // // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/extensions.md - // 'import/extensions': ['error', 'ignorePackages', { - // js: 'never', - // mjs: 'never', - // jsx: 'never', - // }], - - // ensure absolute imports are above relative imports and that unassigned imports are ignored - // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/order.md - // TODO: enforce a stricter convention in module import order? - 'import/order': [ - 'error', - { - 'newlines-between': 'always', - 'groups': [ - 'builtin', - 'external', - 'internal', - ['parent', 'sibling', 'index'], - ], - }, - ], - - // Require a newline after the last import/require in a group - // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/newline-after-import.md - 'import/newline-after-import': 'error', - - // // Require modules with a single export to use a default export - // // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/prefer-default-export.md - // 'import/prefer-default-export': 'error', - - // // Restrict which files can be imported in a given folder - // // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-restricted-paths.md - // 'import/no-restricted-paths': 'off', - - // // Forbid modules to have too many dependencies - // // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/max-dependencies.md - // 'import/max-dependencies': ['off', { max: 10 }], - - // Forbid import of modules using absolute paths - // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-absolute-path.md - 'import/no-absolute-path': 'error', - - // Forbid require() calls with expressions - // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-dynamic-require.md - 'import/no-dynamic-require': 'error', - - // // prevent importing the submodules of other modules - // // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-internal-modules.md - // 'import/no-internal-modules': ['off', { - // allow: [], - // }], - - // // Warn if a module could be mistakenly parsed as a script by a consumer - // // leveraging Unambiguous JavaScript Grammar - // // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/unambiguous.md - // // this should not be enabled until this proposal has at least been *presented* to TC39. - // // At the moment, it's not a thing. - // 'import/unambiguous': 'off', - - // // Forbid Webpack loader syntax in imports - // // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-webpack-loader-syntax.md - // 'import/no-webpack-loader-syntax': 'error', - - // // Prevent unassigned imports - // // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-unassigned-import.md - // // importing for side effects is perfectly acceptable, if you need side effects. - // 'import/no-unassigned-import': 'off', - - // // Prevent importing the default as if it were named - // // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-named-default.md - // 'import/no-named-default': 'error', - - // // Reports if a module's default export is unnamed - // // https://github.com/benmosher/eslint-plugin-import/blob/d9b712ac7fd1fddc391f7b234827925c160d956f/docs/rules/no-anonymous-default-export.md - // 'import/no-anonymous-default-export': ['off', { - // allowArray: false, - // allowArrowFunction: false, - // allowAnonymousClass: false, - // allowAnonymousFunction: false, - // allowLiteral: false, - // allowObject: false, - // }], - - // // This rule enforces that all exports are declared at the bottom of the file. - // // https://github.com/benmosher/eslint-plugin-import/blob/98acd6afd04dcb6920b81330114e146dc8532ea4/docs/rules/exports-last.md - // // TODO: enable? - // 'import/exports-last': 'off', - - // // Reports when named exports are not grouped together in a single export declaration - // // or when multiple assignments to CommonJS module.exports or exports object are present - // // in a single file. - // // https://github.com/benmosher/eslint-plugin-import/blob/44a038c06487964394b1e15b64f3bd34e5d40cde/docs/rules/group-exports.md - // 'import/group-exports': 'off', - - // // forbid default exports. this is a terrible rule, do not use it. - // // https://github.com/benmosher/eslint-plugin-import/blob/44a038c06487964394b1e15b64f3bd34e5d40cde/docs/rules/no-default-export.md - // 'import/no-default-export': 'off', - - // Forbid a module from importing itself - // https://github.com/benmosher/eslint-plugin-import/blob/44a038c06487964394b1e15b64f3bd34e5d40cde/docs/rules/no-self-import.md - 'import/no-self-import': 'error', - - // Forbid cyclical dependencies between modules - // https://github.com/benmosher/eslint-plugin-import/blob/d81f48a2506182738409805f5272eff4d77c9348/docs/rules/no-cycle.md - // 'import/no-cycle': ['error', { maxDepth: Infinity }], - 'import/no-cycle': 'off', - - // Ensures that there are no useless path segments - // https://github.com/benmosher/eslint-plugin-import/blob/ebafcbf59ec9f653b2ac2a0156ca3bcba0a7cf57/docs/rules/no-useless-path-segments.md - 'import/no-useless-path-segments': 'error', - - // // dynamic imports require a leading comment with a webpackChunkName - // // https://github.com/benmosher/eslint-plugin-import/blob/ebafcbf59ec9f653b2ac2a0156ca3bcba0a7cf57/docs/rules/dynamic-import-chunkname.md - // 'import/dynamic-import-chunkname': ['off', { - // importFunctions: [], - // webpackChunknameFormat: '[0-9a-zA-Z-_/.]+', - // }], - - // // Use this rule to prevent imports to folders in relative parent paths. - // // https://github.com/benmosher/eslint-plugin-import/blob/c34f14f67f077acd5a61b3da9c0b0de298d20059/docs/rules/no-relative-parent-imports.md - // 'import/no-relative-parent-imports': 'off', - }, -}; diff --git a/packages/eslint-config-alt/original/rules/node.js b/packages/eslint-config-alt/original/rules/node.js deleted file mode 100644 index ee5344c38e..0000000000 --- a/packages/eslint-config-alt/original/rules/node.js +++ /dev/null @@ -1,33 +0,0 @@ -module.exports = { - env: { - node: true, - }, - - rules: { - // enforce return after a callback - // 'callback-return': 'off', - // // require all requires be top-level - // // https://eslint.org/docs/rules/global-require - // 'global-require': 'error', - // // enforces error handling in callbacks (node environment) - // 'handle-callback-err': 'off', - // // disallow use of the Buffer() constructor - // // https://eslint.org/docs/rules/no-buffer-constructor - // 'no-buffer-constructor': 'error', - // // disallow mixing regular variable and require declarations - // 'no-mixed-requires': ['off', false], - // // disallow use of new operator with the require function - // 'no-new-require': 'error', - // // disallow string concatenation with __dirname and __filename - // // https://eslint.org/docs/rules/no-path-concat - // 'no-path-concat': 'error', - // // disallow use of process.env - // 'no-process-env': 'off', - // // disallow process.exit() - // 'no-process-exit': 'off', - // // restrict usage of specified node modules - // 'no-restricted-modules': 'off', - // // disallow use of synchronous methods (off by default) - // 'no-sync': 'off', - }, -}; diff --git a/packages/eslint-config-alt/original/rules/strict.js b/packages/eslint-config-alt/original/rules/strict.js deleted file mode 100644 index 6499380670..0000000000 --- a/packages/eslint-config-alt/original/rules/strict.js +++ /dev/null @@ -1,6 +0,0 @@ -module.exports = { - rules: { - // babel inserts `'use strict';` for us - // strict: ['error', 'never'] - }, -}; diff --git a/packages/eslint-config-alt/original/rules/style.js b/packages/eslint-config-alt/original/rules/style.js deleted file mode 100644 index 54405b6683..0000000000 --- a/packages/eslint-config-alt/original/rules/style.js +++ /dev/null @@ -1,487 +0,0 @@ -module.exports = { - rules: { - // enforce line breaks after opening and before closing array brackets - // https://eslint.org/docs/rules/array-bracket-newline - // TODO: enable? semver-major - // 'array-bracket-newline': ['off', 'consistent'], // object option alternative: { multiline: true, minItems: 3 } - - // // enforce line breaks between array elements - // // https://eslint.org/docs/rules/array-element-newline - // // TODO: enable? semver-major - // 'array-element-newline': ['off', { multiline: true, minItems: 3 }], - - // enforce spacing inside array brackets - 'array-bracket-spacing': ['error', 'never'], - - // enforce spacing inside single-line blocks - // https://eslint.org/docs/rules/block-spacing - 'block-spacing': 'error', - - // enforce one true brace style - 'brace-style': ['error', '1tbs', { allowSingleLine: true }], - - // // require camel case names - // // TODO: semver-major (eslint 5): add ignoreDestructuring: false option - // camelcase: ['error', { properties: 'never' }], - - // // enforce or disallow capitalization of the first letter of a comment - // // https://eslint.org/docs/rules/capitalized-comments - // 'capitalized-comments': ['off', 'never', { - // line: { - // ignorePattern: '.*', - // ignoreInlineComments: true, - // ignoreConsecutiveComments: true, - // }, - // block: { - // ignorePattern: '.*', - // ignoreInlineComments: true, - // ignoreConsecutiveComments: true, - // }, - // }], - - // require trailing commas in multiline object literals - 'comma-dangle': ['error', 'always-multiline'], - - // enforce spacing before and after comma - 'comma-spacing': 'error', - - // enforce one true comma style - 'comma-style': 'error', - - // disallow padding inside computed properties - 'computed-property-spacing': ['error', 'never'], - - // // enforces consistent naming when capturing the current execution context - // 'consistent-this': 'off', - - // enforce newline at the end of file, with no multiple empty lines - 'eol-last': ['error', 'always'], - - // enforce spacing between functions and their invocations - // https://eslint.org/docs/rules/func-call-spacing - 'func-call-spacing': ['error', 'never'], - - // // requires function names to match the name of the variable or property to which they are - // // assigned - // // https://eslint.org/docs/rules/func-name-matching - // // TODO: semver-major (eslint 5): add considerPropertyDescriptor: true - // 'func-name-matching': ['off', 'always', { - // includeCommonJSModuleExports: false - // }], - - // // require function expressions to have a name - // // https://eslint.org/docs/rules/func-names - // 'func-names': 'warn', - - // // enforces use of function declarations or expressions - // // https://eslint.org/docs/rules/func-style - // // TODO: enable - // 'func-style': ['off', 'expression'], - - // // enforce consistent line breaks inside function parentheses - // // https://eslint.org/docs/rules/function-paren-newline - // 'function-paren-newline': ['error', 'consistent'], - - // // Blacklist certain identifiers to prevent them being used - // // https://eslint.org/docs/rules/id-blacklist - // 'id-blacklist': 'off', - - // // this option enforces minimum and maximum identifier lengths - // // (variable names, property names etc.) - // 'id-length': 'off', - - // // require identifiers to match the provided regular expression - // 'id-match': 'off', - - // Enforce the location of arrow function bodies with implicit returns - // https://eslint.org/docs/rules/implicit-arrow-linebreak - // 'implicit-arrow-linebreak': ['error', 'beside'], - - // this option sets a specific tab width for your code - // https://eslint.org/docs/rules/indent - 'indent': ['error', 'tab', { SwitchCase: 1 }], - - // // specify whether double or single quotes should be used in JSX attributes - // // https://eslint.org/docs/rules/jsx-quotes - // 'jsx-quotes': ['off', 'prefer-double'], - - // enforces spacing between keys and values in object literal properties - 'key-spacing': ['error', { beforeColon: false, afterColon: true }], - - // require a space before & after certain keywords - 'keyword-spacing': 'error', - - // // enforce position of line comments - // // https://eslint.org/docs/rules/line-comment-position - // // TODO: enable? - // 'line-comment-position': ['off', { - // position: 'above', - // ignorePattern: '', - // applyDefaultPatterns: true, - // }], - - // disallow mixed 'LF' and 'CRLF' as linebreaks - // https://eslint.org/docs/rules/linebreak-style - 'linebreak-style': ['error', 'unix'], - - // require or disallow an empty line between class members - // https://eslint.org/docs/rules/lines-between-class-members - 'lines-between-class-members': [ - 'error', - 'always', - { exceptAfterSingleLine: false }, - ], - - // // enforces empty lines around comments - // 'lines-around-comment': 'off', - - // require or disallow newlines around directives - // https://eslint.org/docs/rules/lines-around-directive - 'lines-around-directive': [ - 'error', - { - before: 'always', - after: 'always', - }, - ], - - // specify the maximum depth that blocks can be nested - 'max-depth': ['off', 4], - - // // specify the maximum length of a line in your program - // // https://eslint.org/docs/rules/max-len - // 'max-len': ['error', 100, 2, { - // ignoreUrls: true, - // ignoreComments: false, - // ignoreRegExpLiterals: true, - // ignoreStrings: true, - // ignoreTemplateLiterals: true, - // }], - - // // specify the max number of lines in a file - // // https://eslint.org/docs/rules/max-lines - // 'max-lines': ['off', { - // max: 300, - // skipBlankLines: true, - // skipComments: true - // }], - - // // enforce a maximum function length - // // https://eslint.org/docs/rules/max-lines-per-function - // 'max-lines-per-function': ['off', { - // max: 50, - // skipBlankLines: true, - // skipComments: true, - // IIFEs: true, - // }], - - // // specify the maximum depth callbacks can be nested - // 'max-nested-callbacks': 'off', - - // // limits the number of parameters that can be used in the function declaration. - // 'max-params': ['off', 3], - - // // specify the maximum number of statement allowed in a function - // 'max-statements': ['off', 10], - - // // restrict the number of statements per line - // // https://eslint.org/docs/rules/max-statements-per-line - // 'max-statements-per-line': ['off', { max: 1 }], - - // // enforce a particular style for multiline comments - // // https://eslint.org/docs/rules/multiline-comment-style - // 'multiline-comment-style': ['off', 'starred-block'], - - // // require multiline ternary - // // https://eslint.org/docs/rules/multiline-ternary - // // TODO: enable? - // 'multiline-ternary': ['off', 'never'], - - // require a capital letter for constructors - 'new-cap': [ - 'error', - { - capIsNewExceptions: [ - 'Match.Optional', - 'Match.Maybe', - 'Match.OneOf', - 'Match.Where', - 'Match.ObjectIncluding', - 'Push.Configure', - 'SHA256', - ], - }, - ], - - // disallow the omission of parentheses when invoking a constructor with no arguments - // https://eslint.org/docs/rules/new-parens - 'new-parens': 'error', - - // // allow/disallow an empty newline after var statement - // 'newline-after-var': 'off', - - // // https://eslint.org/docs/rules/newline-before-return - // 'newline-before-return': 'off', - - // // enforces new line after each method call in the chain to make it - // // more readable and easy to maintain - // // https://eslint.org/docs/rules/newline-per-chained-call - // 'newline-per-chained-call': ['error', { ignoreChainWithDepth: 4 }], - - // disallow use of the Array constructor - 'no-array-constructor': 'error', - - // // disallow use of bitwise operators - // // https://eslint.org/docs/rules/no-bitwise - // 'no-bitwise': 'error', - - // // disallow use of the continue statement - // // https://eslint.org/docs/rules/no-continue - // 'no-continue': 'error', - - // // disallow comments inline after code - // 'no-inline-comments': 'off', - - // disallow if as the only statement in an else block - // https://eslint.org/docs/rules/no-lonely-if - 'no-lonely-if': 'error', - - // disallow un-paren'd mixes of different operators - // https://eslint.org/docs/rules/no-mixed-operators - 'no-mixed-operators': [ - 'error', - { - // the list of arthmetic groups disallows mixing `%` and `**` - // with other arithmetic operators. - groups: [ - ['%', '**'], - ['%', '+'], - ['%', '-'], - ['%', '*'], - ['%', '/'], - ['**', '+'], - ['**', '-'], - ['**', '*'], - ['**', '/'], - ['&', '|', '^', '~', '<<', '>>', '>>>'], - ['==', '!=', '===', '!==', '>', '>=', '<', '<='], - ['&&', '||'], - ['in', 'instanceof'], - ], - allowSamePrecedence: false, - }, - ], - - // disallow mixed spaces and tabs for indentation - 'no-mixed-spaces-and-tabs': 'error', - - // disallow use of chained assignment expressions - // https://eslint.org/docs/rules/no-multi-assign - 'no-multi-assign': ['error'], - - // disallow multiple empty lines and only one newline at the end - 'no-multiple-empty-lines': ['error', { max: 2, maxEOF: 0 }], - - // // disallow negated conditions - // // https://eslint.org/docs/rules/no-negated-condition - // 'no-negated-condition': 'off', - - // disallow nested ternary expressions - 'no-nested-ternary': 'error', - - // // disallow use of the Object constructor - // 'no-new-object': 'error', - - // // disallow use of unary operators, ++ and -- - // // https://eslint.org/docs/rules/no-plusplus - // 'no-plusplus': 'error', - - // // disallow certain syntax forms - // // https://eslint.org/docs/rules/no-restricted-syntax - // 'no-restricted-syntax': [ - // 'error', - // { - // selector: 'ForInStatement', - // message: 'for..in loops iterate over the entire prototype chain, which is virtually never what you want. Use Object.{keys,values,entries}, and iterate over the resulting array.', - // }, - // { - // selector: 'ForOfStatement', - // message: 'iterators/generators require regenerator-runtime, which is too heavyweight for this guide to allow them. Separately, loops should be avoided in favor of array iterations.', - // }, - // { - // selector: 'LabeledStatement', - // message: 'Labels are a form of GOTO; using them makes code confusing and hard to maintain and understand.', - // }, - // { - // selector: 'WithStatement', - // message: '`with` is disallowed in strict mode because it makes code impossible to predict and optimize.', - // }, - // ], - - // disallow space between function identifier and application - 'no-spaced-func': 'error', - - // // disallow tab characters entirely - // 'no-tabs': 'error', - - // // disallow the use of ternary operators - // 'no-ternary': 'off', - - // disallow trailing whitespace at the end of lines - 'no-trailing-spaces': [ - 'error', - { - skipBlankLines: false, - ignoreComments: false, - }, - ], - - // // disallow dangling underscores in identifiers - // // https://eslint.org/docs/rules/no-underscore-dangle - // 'no-underscore-dangle': ['error', { - // allow: [], - // allowAfterThis: false, - // allowAfterSuper: false, - // enforceInMethodNames: true, - // }], - - // disallow the use of Boolean literals in conditional expressions - // also, prefer `a || b` over `a ? a : b` - // https://eslint.org/docs/rules/no-unneeded-ternary - 'no-unneeded-ternary': ['error', { defaultAssignment: false }], - - // disallow whitespace before properties - // https://eslint.org/docs/rules/no-whitespace-before-property - 'no-whitespace-before-property': 'error', - - // // enforce the location of single-line statements - // // https://eslint.org/docs/rules/nonblock-statement-body-position - // 'nonblock-statement-body-position': ['error', 'beside', { overrides: {} }], - - // require padding inside curly braces - 'object-curly-spacing': ['error', 'always'], - - // // enforce line breaks between braces - // // https://eslint.org/docs/rules/object-curly-newline - // 'object-curly-newline': ['error', { - // ObjectExpression: { minProperties: 4, multiline: true, consistent: true }, - // ObjectPattern: { minProperties: 4, multiline: true, consistent: true }, - // ImportDeclaration: { minProperties: 4, multiline: true, consistent: true }, - // ExportDeclaration: { minProperties: 4, multiline: true, consistent: true }, - // }], - - // enforce "same line" or "multiple line" on object properties. - // https://eslint.org/docs/rules/object-property-newline - 'object-property-newline': [ - 'error', - { - allowAllPropertiesOnSameLine: true, - }, - ], - - // allow just one var statement per function - 'one-var': ['error', 'never'], - - // // require a newline around variable declaration - // // https://eslint.org/docs/rules/one-var-declaration-per-line - // 'one-var-declaration-per-line': ['error', 'always'], - - // require assignment operator shorthand where possible or prohibit it entirely - // https://eslint.org/docs/rules/operator-assignment - 'operator-assignment': ['error', 'always'], - - // Requires operator at the beginning of the line in multiline statements - // https://eslint.org/docs/rules/operator-linebreak - 'operator-linebreak': ['error', 'before', { overrides: { '=': 'none' } }], - - // disallow padding within blocks - 'padded-blocks': [ - 'error', - { blocks: 'never', classes: 'never', switches: 'never' }, - ], - - // // Require or disallow padding lines between statements - // // https://eslint.org/docs/rules/padding-line-between-statements - // 'padding-line-between-statements': 'off', - - // Prefer use of an object spread over Object.assign - // https://eslint.org/docs/rules/prefer-object-spread - // TODO: semver-major (eslint 5): enable - 'prefer-object-spread': 'off', - - // require quotes around object literal property names - // https://eslint.org/docs/rules/quote-props.html - 'quote-props': [ - 'error', - 'as-needed', - { keywords: false, unnecessary: true, numbers: false }, - ], - - // specify whether double or single quotes should be used - 'quotes': ['error', 'single', { avoidEscape: true }], - - // // do not require jsdoc - // // https://eslint.org/docs/rules/require-jsdoc - // 'require-jsdoc': 'off', - - // require or disallow use of semicolons instead of ASI - 'semi': ['error', 'always'], - - // enforce spacing before and after semicolons - 'semi-spacing': ['error', { before: false, after: true }], - - // Enforce location of semicolons - // https://eslint.org/docs/rules/semi-style - 'semi-style': ['error', 'last'], - - // // requires object keys to be sorted - // 'sort-keys': ['off', 'asc', { caseSensitive: false, natural: true }], - - // // sort variables within the same declaration block - // 'sort-vars': 'off', - - // require or disallow space before blocks - 'space-before-blocks': ['error', 'always'], - - // require or disallow space before function opening parenthesis - // https://eslint.org/docs/rules/space-before-function-paren - 'space-before-function-paren': [ - 'error', - { anonymous: 'never', named: 'never', asyncArrow: 'always' }, - ], - - // require or disallow spaces inside parentheses - 'space-in-parens': ['error', 'never'], - - // require spaces around operators - 'space-infix-ops': 'error', - - // // Require or disallow spaces before/after unary operators - // // https://eslint.org/docs/rules/space-unary-ops - // 'space-unary-ops': ['error', { - // words: true, - // nonwords: false, - // overrides: { - // }, - // }], - - // require or disallow a space immediately following the // or /* in a comment - // https://eslint.org/docs/rules/spaced-comment - 'spaced-comment': 'error', - - // Enforce spacing around colons of switch statements - // https://eslint.org/docs/rules/switch-colon-spacing - 'switch-colon-spacing': ['error', { after: true, before: false }], - - // // Require or disallow spacing between template tags and their literals - // // https://eslint.org/docs/rules/template-tag-spacing - // 'template-tag-spacing': ['error', 'never'], - - // // require or disallow the Unicode Byte Order Mark - // // https://eslint.org/docs/rules/unicode-bom - // 'unicode-bom': ['error', 'never'], - - // // require regex literals to be wrapped in parentheses - // 'wrap-regex': 'off' - }, -}; diff --git a/packages/eslint-config-alt/original/rules/variables.js b/packages/eslint-config-alt/original/rules/variables.js deleted file mode 100644 index e90811be59..0000000000 --- a/packages/eslint-config-alt/original/rules/variables.js +++ /dev/null @@ -1,54 +0,0 @@ -// const restrictedGlobals = require('eslint-restricted-globals'); - -module.exports = { - rules: { - // enforce or disallow variable initializations at definition - // 'init-declarations': 'off', - - // // disallow the catch clause parameter name being the same as a variable in the outer scope - // 'no-catch-shadow': 'off', - - // disallow deletion of variables - 'no-delete-var': 'error', - - // // disallow labels that share a name with a variable - // // https://eslint.org/docs/rules/no-label-var - // 'no-label-var': 'error', - - // // disallow specific globals - // 'no-restricted-globals': ['error', 'isFinite', 'isNaN'].concat(restrictedGlobals), - - // // disallow declaration of variables already declared in the outer scope - // 'no-shadow': 'error', - - // // disallow shadowing of names such as arguments - // 'no-shadow-restricted-names': 'error', - - // disallow use of undeclared variables unless mentioned in a /*global */ block - 'no-undef': 'error', - - // // disallow use of undefined when initializing variables - // 'no-undef-init': 'error', - - // // disallow use of undefined variable - // // https://eslint.org/docs/rules/no-undefined - // // TODO: enable? - // 'no-undefined': 'off', - - // disallow declaration of variables that are not used in the code - 'no-unused-vars': [ - 'error', - { - vars: 'all', - args: 'after-used', - ignoreRestSiblings: true, - }, - ], - - // disallow use of variables before they are defined - 'no-use-before-define': [ - 'error', - { functions: true, classes: true, variables: true }, - ], - }, -}; diff --git a/packages/eslint-config-alt/package.json b/packages/eslint-config-alt/package.json deleted file mode 100644 index 79dfc087b5..0000000000 --- a/packages/eslint-config-alt/package.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "name": "@rocket.chat/eslint-config-alt", - "description": "ESLint configuration for Rocket.Chat repositories", - "version": "0.31.25", - "author": { - "name": "Rocket.Chat", - "url": "https://rocket.chat/" - }, - "license": "MIT", - "homepage": "https://github.com/RocketChat/fuselage#readme", - "repository": { - "type": "git", - "url": "git+https://github.com/RocketChat/fuselage.git", - "directory": "packages/eslint-config-alt" - }, - "bugs": { - "url": "https://github.com/RocketChat/fuselage/issues" - }, - "main": "minimal/index.js", - "files": [ - "/minimal", - "/original", - "/react", - "/typescript" - ], - "publishConfig": { - "access": "public" - }, - "scripts": { - "lint": "lint", - "lint-and-fix": "lint-and-fix" - }, - "peerDependencies": { - "@babel/eslint-parser": "^7.13.14", - "eslint": "~8.38.0", - "prettier": "*" - }, - "devDependencies": { - "@babel/eslint-parser": "~7.21.3", - "eslint": "~9.14.0", - "lint-all": "workspace:~", - "prettier": "~3.3.3" - }, - "dependencies": { - "@typescript-eslint/eslint-plugin": "~8.8.1", - "@typescript-eslint/parser": "~8.8.1", - "eslint-config-prettier": "~8.8.0", - "eslint-import-resolver-typescript": "~3.5.5", - "eslint-plugin-import": "~2.26.0", - "eslint-plugin-prettier": "~5.2.1", - "eslint-plugin-react": "~7.32.2", - "eslint-plugin-react-hooks": "~4.6.0" - } -} diff --git a/packages/eslint-config-alt/react/index.js b/packages/eslint-config-alt/react/index.js deleted file mode 100644 index 78316fb441..0000000000 --- a/packages/eslint-config-alt/react/index.js +++ /dev/null @@ -1,79 +0,0 @@ -/** @type {import('eslint').Linter.Config} */ -module.exports = { - extends: '../minimal', - plugins: ['react', 'react-hooks'], - parser: '@babel/eslint-parser', - rules: { - 'jsx-quotes': ['error', 'prefer-single'], - 'react/display-name': 'error', - 'react/self-closing-comp': 'error', - 'react/jsx-uses-react': 'off', - 'react/jsx-uses-vars': 'error', - 'react/jsx-no-undef': 'error', - 'react/jsx-fragments': ['error', 'syntax'], - 'react/no-multi-comp': 'error', - 'react/react-in-jsx-scope': 'off', - 'react-hooks/rules-of-hooks': 'error', - 'react-hooks/exhaustive-deps': 'warn', - }, - settings: { - 'import/resolver': { - node: { - extensions: ['.js', '.jsx', '.ts', '.tsx'], - }, - }, - 'react': { - version: 'detect', - }, - }, - env: { - browser: true, - es6: true, - }, - overrides: [ - { - files: ['**/*.ts', '**/*.tsx'], - extends: '../typescript', - parser: '@typescript-eslint/parser', - plugins: ['react', 'react-hooks'], - rules: { - 'jsx-quotes': ['error', 'prefer-single'], - 'react/display-name': 'error', - 'react/jsx-uses-react': 'off', - 'react/jsx-uses-vars': 'error', - 'react/jsx-no-undef': 'error', - 'react/jsx-fragments': ['error', 'syntax'], - 'react/no-multi-comp': 'error', - 'react/react-in-jsx-scope': 'off', - 'react-hooks/rules-of-hooks': 'error', - 'react-hooks/exhaustive-deps': 'warn', - }, - env: { - browser: true, - es6: true, - }, - settings: { - 'import/resolver': { - node: { - extensions: ['.js', '.jsx', '.ts', '.tsx'], - }, - }, - 'react': { - version: 'detect', - }, - }, - }, - { - files: [ - '**/*.stories.js', - '**/*.stories.jsx', - '**/*.stories.ts', - '**/*.stories.tsx', - ], - rules: { - 'react/display-name': 'off', - 'react/no-multi-comp': 'off', - }, - }, - ], -}; diff --git a/packages/eslint-config-alt/typescript/index.js b/packages/eslint-config-alt/typescript/index.js deleted file mode 100644 index 85c46934f8..0000000000 --- a/packages/eslint-config-alt/typescript/index.js +++ /dev/null @@ -1,39 +0,0 @@ -/** @type {import('eslint').Linter.Config} */ -module.exports = { - overrides: [ - { - files: ['*.+(ts|tsx|cts|ctsx|mts|mtsx)'], - extends: [ - 'plugin:@typescript-eslint/recommended', - 'plugin:@typescript-eslint/eslint-recommended', - ], - parser: '@typescript-eslint/parser', - parserOptions: { - project: ['./tsconfig.json'], - }, - rules: { - '@typescript-eslint/no-dupe-class-members': 'error', - '@typescript-eslint/no-explicit-any': 'off', - '@typescript-eslint/no-unused-vars': [ - 'error', - { - argsIgnorePattern: '^_', - ignoreRestSiblings: true, - }, - ], - 'no-dupe-class-members': 'off', - 'no-empty-function': 'off', - 'no-use-before-define': 'off', - 'no-useless-constructor': 'off', - }, - settings: { - 'import/resolver': { - node: { - extensions: ['.js', '.jsx', '.ts', '.tsx'], - }, - typescript: {}, - }, - }, - }, - ], -}; diff --git a/packages/fuselage-hooks/package.json b/packages/fuselage-hooks/package.json index 2084643d36..2d11ffb050 100644 --- a/packages/fuselage-hooks/package.json +++ b/packages/fuselage-hooks/package.json @@ -42,7 +42,6 @@ "test": "jest --runInBand" }, "devDependencies": { - "@rocket.chat/eslint-config-alt": "workspace:~", "@rocket.chat/fuselage-tokens": "workspace:~", "@rollup/plugin-commonjs": "~21.0.3", "@rollup/plugin-json": "~4.1.0", diff --git a/packages/fuselage-polyfills/package.json b/packages/fuselage-polyfills/package.json index 436eda1ef5..da4b3896f9 100644 --- a/packages/fuselage-polyfills/package.json +++ b/packages/fuselage-polyfills/package.json @@ -32,7 +32,6 @@ "new-event-polyfill": "^1.0.1" }, "devDependencies": { - "@rocket.chat/eslint-config-alt": "workspace:~", "eslint": "~9.14.0", "lint-all": "workspace:~", "prettier": "~3.3.3" diff --git a/packages/fuselage-toastbar/package.json b/packages/fuselage-toastbar/package.json index ac046977c7..3bbf8fc5e7 100644 --- a/packages/fuselage-toastbar/package.json +++ b/packages/fuselage-toastbar/package.json @@ -45,7 +45,6 @@ "build-storybook": "storybook build" }, "devDependencies": { - "@rocket.chat/eslint-config-alt": "workspace:~", "@rocket.chat/fuselage": "workspace:~", "@rocket.chat/fuselage-hooks": "workspace:~", "@rocket.chat/fuselage-tokens": "workspace:~", @@ -85,12 +84,6 @@ "react": "^17.0.2", "react-dom": "^17.0.2" }, - "eslintConfig": { - "extends": "@rocket.chat/eslint-config-alt/typescript", - "env": { - "jest": true - } - }, "volta": { "extends": "../../package.json" }, diff --git a/packages/fuselage-tokens/package.json b/packages/fuselage-tokens/package.json index 3c5d58dc34..47c3c31bd8 100644 --- a/packages/fuselage-tokens/package.json +++ b/packages/fuselage-tokens/package.json @@ -39,7 +39,6 @@ ".:build:clean": "rimraf dist" }, "devDependencies": { - "@rocket.chat/eslint-config-alt": "workspace:~", "build-design-tokens": "workspace:~", "eslint": "~9.14.0", "eslint-config-prettier": "~8.8.0", diff --git a/packages/fuselage/package.json b/packages/fuselage/package.json index a75e8e14e2..575c984793 100644 --- a/packages/fuselage/package.json +++ b/packages/fuselage/package.json @@ -68,7 +68,6 @@ "@babel/plugin-transform-runtime": "~7.21.4", "@babel/preset-env": "~7.21.4", "@babel/preset-react": "~7.18.6", - "@rocket.chat/eslint-config-alt": "workspace:~", "@rocket.chat/fuselage-hooks": "workspace:~", "@rocket.chat/fuselage-polyfills": "workspace:~", "@rocket.chat/icons": "workspace:~", diff --git a/packages/icons/package.json b/packages/icons/package.json index 44d867ee3a..5b19bbb93f 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -29,7 +29,6 @@ "lint-and-fix": "lint-and-fix" }, "devDependencies": { - "@rocket.chat/eslint-config-alt": "workspace:~", "build-icons": "workspace:~", "eslint": "~9.14.0", "lint-all": "workspace:~", diff --git a/packages/layout/package.json b/packages/layout/package.json index 323f3ee0a2..80eddb0f0a 100644 --- a/packages/layout/package.json +++ b/packages/layout/package.json @@ -38,7 +38,6 @@ "build-storybook": "storybook build" }, "devDependencies": { - "@rocket.chat/eslint-config-alt": "workspace:~", "@rocket.chat/fuselage": "workspace:~", "@rocket.chat/fuselage-tokens": "workspace:~", "@storybook/addon-essentials": "~8.4.1", @@ -72,12 +71,6 @@ "react-dom": "17.0.2", "react-i18next": "~11.15.4" }, - "eslintConfig": { - "extends": "@rocket.chat/eslint-config-alt/typescript", - "env": { - "jest": true - } - }, "volta": { "extends": "../../package.json" } diff --git a/packages/logo/package.json b/packages/logo/package.json index f5240cf447..01d75dff48 100644 --- a/packages/logo/package.json +++ b/packages/logo/package.json @@ -41,7 +41,6 @@ "docs": "typedoc" }, "devDependencies": { - "@rocket.chat/eslint-config-alt": "workspace:~", "@rocket.chat/fuselage-tokens": "workspace:~", "@types/jest": "~29.5.12", "@types/react": "~17.0.80", diff --git a/packages/memo/package.json b/packages/memo/package.json index e1a1247dee..63590222ac 100644 --- a/packages/memo/package.json +++ b/packages/memo/package.json @@ -39,7 +39,6 @@ "docs": "typedoc" }, "devDependencies": { - "@rocket.chat/eslint-config-alt": "workspace:~", "@types/jest": "~29.5.12", "eslint": "~9.14.0", "jest": "~29.7.0", @@ -50,12 +49,6 @@ "typedoc": "~0.25.13", "typescript": "~5.6.3" }, - "eslintConfig": { - "extends": "@rocket.chat/eslint-config-alt/typescript", - "env": { - "jest": true - } - }, "jest": { "preset": "ts-jest", "errorOnDeprecated": true, diff --git a/packages/mp3-encoder/package.json b/packages/mp3-encoder/package.json index b211a23358..5fad6237e0 100644 --- a/packages/mp3-encoder/package.json +++ b/packages/mp3-encoder/package.json @@ -43,7 +43,6 @@ "@babel/plugin-transform-runtime": "~7.21.4", "@babel/preset-env": "~7.21.4", "@babel/preset-typescript": "~7.21.4", - "@rocket.chat/eslint-config-alt": "workspace:~", "@rollup/plugin-commonjs": "~24.1.0", "@rollup/plugin-node-resolve": "~15.0.2", "@rollup/plugin-typescript": "~11.1.0", diff --git a/packages/onboarding-ui/package.json b/packages/onboarding-ui/package.json index c0a7fef00f..6f09f83347 100644 --- a/packages/onboarding-ui/package.json +++ b/packages/onboarding-ui/package.json @@ -41,7 +41,6 @@ "url": "https://github.com/RocketChat/fuselage/issues" }, "devDependencies": { - "@rocket.chat/eslint-config-alt": "workspace:~", "@rocket.chat/fuselage": "workspace:~", "@rocket.chat/fuselage-hooks": "workspace:~", "@rocket.chat/fuselage-polyfills": "workspace:~", diff --git a/packages/peggy-loader/package.json b/packages/peggy-loader/package.json index 719e9fbaac..acb93a2dff 100644 --- a/packages/peggy-loader/package.json +++ b/packages/peggy-loader/package.json @@ -43,7 +43,6 @@ "webpack": "*" }, "devDependencies": { - "@rocket.chat/eslint-config-alt": "workspace:~", "@types/node": "~14.18.42", "eslint": "~9.14.0", "lint-all": "workspace:~", diff --git a/packages/prettier-config/package.json b/packages/prettier-config/package.json index dc042cb77e..e7960591f6 100644 --- a/packages/prettier-config/package.json +++ b/packages/prettier-config/package.json @@ -24,9 +24,6 @@ "publishConfig": { "access": "public" }, - "eslintConfig": { - "extends": "@rocket.chat/eslint-config-alt/minimal" - }, "scripts": { "lint": "lint", "lint-and-fix": "lint-and-fix" diff --git a/packages/string-helpers/package.json b/packages/string-helpers/package.json index 9377e61921..c60c822c5c 100644 --- a/packages/string-helpers/package.json +++ b/packages/string-helpers/package.json @@ -40,7 +40,6 @@ "url": "https://github.com/RocketChat/fuselage/issues" }, "devDependencies": { - "@rocket.chat/eslint-config-alt": "workspace:~", "@types/jest": "~29.5.12", "eslint": "~9.14.0", "jest": "~29.7.0", @@ -52,12 +51,6 @@ "typedoc": "~0.25.13", "typescript": "~5.6.3" }, - "eslintConfig": { - "extends": "@rocket.chat/eslint-config-alt/typescript", - "env": { - "jest": true - } - }, "jest": { "preset": "ts-jest", "errorOnDeprecated": true, diff --git a/packages/string-helpers/src/escapeRegExp.spec.ts b/packages/string-helpers/src/escapeRegExp.spec.ts index 43a648e292..b00aad72ba 100644 --- a/packages/string-helpers/src/escapeRegExp.spec.ts +++ b/packages/string-helpers/src/escapeRegExp.spec.ts @@ -1,5 +1,3 @@ -/* eslint-disable @typescript-eslint/ban-ts-comment */ - import { escapeRegExp } from './escapeRegExp'; describe('escapeRegExp', () => { @@ -83,16 +81,12 @@ describe('escapeRegExp', () => { }); it('ignores errors from non-string argument', () => { - // @ts-ignore - expect(() => escapeRegExp(false)).not.toThrowError(); + expect(() => escapeRegExp(false as any)).not.toThrowError(); - // @ts-ignore - expect(() => escapeRegExp()).not.toThrowError(); + expect(() => (escapeRegExp as any)()).not.toThrowError(); - // @ts-ignore - expect(() => escapeRegExp(null)).not.toThrowError(); + expect(() => escapeRegExp(null as any)).not.toThrowError(); - // @ts-ignore - expect(() => escapeRegExp(42)).not.toThrowError(); + expect(() => escapeRegExp(42 as any)).not.toThrowError(); }); }); diff --git a/packages/styled/package.json b/packages/styled/package.json index 5418039470..5cad6ee82b 100644 --- a/packages/styled/package.json +++ b/packages/styled/package.json @@ -36,7 +36,6 @@ "docs": "typedoc" }, "devDependencies": { - "@rocket.chat/eslint-config-alt": "workspace:~", "@types/jest": "~29.5.12", "eslint": "~9.14.0", "jest": "~29.7.0", diff --git a/packages/stylis-logical-props-middleware/package.json b/packages/stylis-logical-props-middleware/package.json index 59bad6a860..ab3d20ce82 100644 --- a/packages/stylis-logical-props-middleware/package.json +++ b/packages/stylis-logical-props-middleware/package.json @@ -36,7 +36,6 @@ "docs": "typedoc" }, "devDependencies": { - "@rocket.chat/eslint-config-alt": "workspace:~", "@types/jest": "~29.5.12", "eslint": "~9.14.0", "jest": "~29.7.0", diff --git a/tools/lint-all/lint-and-fix.mjs b/tools/lint-all/lint-and-fix.mjs index 267d0ce441..9a5d948f28 100755 --- a/tools/lint-all/lint-and-fix.mjs +++ b/tools/lint-all/lint-and-fix.mjs @@ -1,13 +1,9 @@ #!/usr/bin/env node -import { $, fs, glob } from 'zx'; +import { $, glob } from 'zx'; $.verbose = true; -const manifest = await fs.readJSON('./package.json'); - -if ((await glob('.eslintrc*')).length || 'eslintConfig' in manifest) { - await $`eslint --fix '**/*.{js,mjs,ts,tsx,mdx}'`; -} +await $`eslint --fix`; if ((await glob('.stylelintrc*')).length) { await $`stylelint --allow-empty-input --fix '**/*.{css,scss}'`; diff --git a/tools/scripts/package.json b/tools/scripts/package.json index c6f5f2c204..f9a00f72f1 100644 --- a/tools/scripts/package.json +++ b/tools/scripts/package.json @@ -10,7 +10,6 @@ "lint-and-fix": "eslint --fix ." }, "devDependencies": { - "@rocket.chat/eslint-config-alt": "workspace:~", "@types/node": "~14.18.42", "@typescript-eslint/parser": "~8.8.1", "cross-env": "^7.0.3", diff --git a/yarn.lock b/yarn.lock index d9a0f23e0a..7c3ebd85fb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4143,7 +4143,6 @@ __metadata: dependencies: "@emotion/hash": "npm:^0.9.0" "@rocket.chat/css-supports": "workspace:~" - "@rocket.chat/eslint-config-alt": "workspace:~" "@rocket.chat/memo": "workspace:~" "@rocket.chat/stylis-logical-props-middleware": "workspace:~" "@rollup/plugin-commonjs": "npm:~21.0.3" @@ -4169,7 +4168,6 @@ __metadata: version: 0.0.0-use.local resolution: "@rocket.chat/css-supports@workspace:packages/css-supports" dependencies: - "@rocket.chat/eslint-config-alt": "workspace:~" "@rocket.chat/memo": "workspace:~" eslint: "npm:~9.14.0" lint-all: "workspace:~" @@ -4184,7 +4182,6 @@ __metadata: version: 0.0.0-use.local resolution: "@rocket.chat/emitter@workspace:packages/emitter" dependencies: - "@rocket.chat/eslint-config-alt": "workspace:~" "@rollup/plugin-commonjs": "npm:~21.0.3" "@rollup/plugin-json": "npm:~4.1.0" "@rollup/plugin-node-resolve": "npm:~13.1.3" @@ -4203,34 +4200,10 @@ __metadata: languageName: unknown linkType: soft -"@rocket.chat/eslint-config-alt@workspace:packages/eslint-config-alt, @rocket.chat/eslint-config-alt@workspace:~": - version: 0.0.0-use.local - resolution: "@rocket.chat/eslint-config-alt@workspace:packages/eslint-config-alt" - dependencies: - "@babel/eslint-parser": "npm:~7.21.3" - "@typescript-eslint/eslint-plugin": "npm:~8.8.1" - "@typescript-eslint/parser": "npm:~8.8.1" - eslint: "npm:~9.14.0" - eslint-config-prettier: "npm:~8.8.0" - eslint-import-resolver-typescript: "npm:~3.5.5" - eslint-plugin-import: "npm:~2.26.0" - eslint-plugin-prettier: "npm:~5.2.1" - eslint-plugin-react: "npm:~7.32.2" - eslint-plugin-react-hooks: "npm:~4.6.0" - lint-all: "workspace:~" - prettier: "npm:~3.3.3" - peerDependencies: - "@babel/eslint-parser": ^7.13.14 - eslint: ~8.38.0 - prettier: "*" - languageName: unknown - linkType: soft - "@rocket.chat/fuselage-hooks@workspace:packages/fuselage-hooks, @rocket.chat/fuselage-hooks@workspace:~": version: 0.0.0-use.local resolution: "@rocket.chat/fuselage-hooks@workspace:packages/fuselage-hooks" dependencies: - "@rocket.chat/eslint-config-alt": "workspace:~" "@rocket.chat/fuselage-tokens": "workspace:~" "@rollup/plugin-commonjs": "npm:~21.0.3" "@rollup/plugin-json": "npm:~4.1.0" @@ -4274,7 +4247,6 @@ __metadata: "@changesets/changelog-github": "npm:~0.5.0" "@changesets/cli": "npm:~2.27.9" "@eslint/js": "npm:~9.14.0" - "@rocket.chat/eslint-config-alt": "workspace:~" "@rocket.chat/prettier-config": "workspace:~" "@types/eslint__js": "npm:~8.42.3" eslint: "npm:~9.14.0" @@ -4300,7 +4272,6 @@ __metadata: resolution: "@rocket.chat/fuselage-polyfills@workspace:packages/fuselage-polyfills" dependencies: "@juggle/resize-observer": "npm:^3.4.0" - "@rocket.chat/eslint-config-alt": "workspace:~" clipboard-polyfill: "npm:^3.0.3" element-closest-polyfill: "npm:^1.0.6" eslint: "npm:~9.14.0" @@ -4316,7 +4287,6 @@ __metadata: version: 0.0.0-use.local resolution: "@rocket.chat/fuselage-toastbar@workspace:packages/fuselage-toastbar" dependencies: - "@rocket.chat/eslint-config-alt": "workspace:~" "@rocket.chat/fuselage": "workspace:~" "@rocket.chat/fuselage-hooks": "workspace:~" "@rocket.chat/fuselage-tokens": "workspace:~" @@ -4362,7 +4332,6 @@ __metadata: version: 0.0.0-use.local resolution: "@rocket.chat/fuselage-tokens@workspace:packages/fuselage-tokens" dependencies: - "@rocket.chat/eslint-config-alt": "workspace:~" build-design-tokens: "workspace:~" eslint: "npm:~9.14.0" eslint-config-prettier: "npm:~8.8.0" @@ -4392,7 +4361,6 @@ __metadata: "@babel/preset-react": "npm:~7.18.6" "@rocket.chat/css-in-js": "workspace:~" "@rocket.chat/css-supports": "workspace:~" - "@rocket.chat/eslint-config-alt": "workspace:~" "@rocket.chat/fuselage-hooks": "workspace:~" "@rocket.chat/fuselage-polyfills": "workspace:~" "@rocket.chat/fuselage-tokens": "workspace:~" @@ -4486,7 +4454,6 @@ __metadata: version: 0.0.0-use.local resolution: "@rocket.chat/icons@workspace:packages/icons" dependencies: - "@rocket.chat/eslint-config-alt": "workspace:~" build-icons: "workspace:~" eslint: "npm:~9.14.0" lint-all: "workspace:~" @@ -4504,7 +4471,6 @@ __metadata: version: 0.0.0-use.local resolution: "@rocket.chat/layout@workspace:packages/layout" dependencies: - "@rocket.chat/eslint-config-alt": "workspace:~" "@rocket.chat/fuselage": "workspace:~" "@rocket.chat/fuselage-tokens": "workspace:~" "@storybook/addon-essentials": "npm:~8.4.1" @@ -4543,7 +4509,6 @@ __metadata: version: 0.0.0-use.local resolution: "@rocket.chat/logo@workspace:packages/logo" dependencies: - "@rocket.chat/eslint-config-alt": "workspace:~" "@rocket.chat/fuselage-hooks": "workspace:~" "@rocket.chat/fuselage-tokens": "workspace:~" "@rocket.chat/styled": "workspace:~" @@ -4573,7 +4538,6 @@ __metadata: version: 0.0.0-use.local resolution: "@rocket.chat/memo@workspace:packages/memo" dependencies: - "@rocket.chat/eslint-config-alt": "workspace:~" "@types/jest": "npm:~29.5.12" eslint: "npm:~9.14.0" jest: "npm:~29.7.0" @@ -4594,7 +4558,6 @@ __metadata: "@babel/plugin-transform-runtime": "npm:~7.21.4" "@babel/preset-env": "npm:~7.21.4" "@babel/preset-typescript": "npm:~7.21.4" - "@rocket.chat/eslint-config-alt": "workspace:~" "@rollup/plugin-commonjs": "npm:~24.1.0" "@rollup/plugin-node-resolve": "npm:~15.0.2" "@rollup/plugin-typescript": "npm:~11.1.0" @@ -4615,7 +4578,6 @@ __metadata: version: 0.0.0-use.local resolution: "@rocket.chat/onboarding-ui@workspace:packages/onboarding-ui" dependencies: - "@rocket.chat/eslint-config-alt": "workspace:~" "@rocket.chat/fuselage": "workspace:~" "@rocket.chat/fuselage-hooks": "workspace:~" "@rocket.chat/fuselage-polyfills": "workspace:~" @@ -4669,7 +4631,6 @@ __metadata: version: 0.0.0-use.local resolution: "@rocket.chat/peggy-loader@workspace:packages/peggy-loader" dependencies: - "@rocket.chat/eslint-config-alt": "workspace:~" "@types/node": "npm:~14.18.42" eslint: "npm:~9.14.0" lint-all: "workspace:~" @@ -4705,7 +4666,6 @@ __metadata: version: 0.0.0-use.local resolution: "@rocket.chat/string-helpers@workspace:packages/string-helpers" dependencies: - "@rocket.chat/eslint-config-alt": "workspace:~" "@types/jest": "npm:~29.5.12" eslint: "npm:~9.14.0" jest: "npm:~29.7.0" @@ -4724,7 +4684,6 @@ __metadata: resolution: "@rocket.chat/styled@workspace:packages/styled" dependencies: "@rocket.chat/css-in-js": "workspace:~" - "@rocket.chat/eslint-config-alt": "workspace:~" "@types/jest": "npm:~29.5.12" eslint: "npm:~9.14.0" jest: "npm:~29.7.0" @@ -4744,7 +4703,6 @@ __metadata: resolution: "@rocket.chat/stylis-logical-props-middleware@workspace:packages/stylis-logical-props-middleware" dependencies: "@rocket.chat/css-supports": "workspace:~" - "@rocket.chat/eslint-config-alt": "workspace:~" "@types/jest": "npm:~29.5.12" eslint: "npm:~9.14.0" jest: "npm:~29.7.0" @@ -6318,29 +6276,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:~8.8.1": - version: 8.8.1 - resolution: "@typescript-eslint/eslint-plugin@npm:8.8.1" - dependencies: - "@eslint-community/regexpp": "npm:^4.10.0" - "@typescript-eslint/scope-manager": "npm:8.8.1" - "@typescript-eslint/type-utils": "npm:8.8.1" - "@typescript-eslint/utils": "npm:8.8.1" - "@typescript-eslint/visitor-keys": "npm:8.8.1" - 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: 10/6d45d7c3b2993f9d4130794596b029e72646f69581741ff2032b33f5c5d6b46c241b854556d04f769c2ef491e117c7d73013a07d74de3a0e0b557e648bc82a9c - languageName: node - linkType: hard - "@typescript-eslint/parser@npm:8.13.0": version: 8.13.0 resolution: "@typescript-eslint/parser@npm:8.13.0" @@ -6412,21 +6347,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:8.8.1": - version: 8.8.1 - resolution: "@typescript-eslint/type-utils@npm:8.8.1" - dependencies: - "@typescript-eslint/typescript-estree": "npm:8.8.1" - "@typescript-eslint/utils": "npm:8.8.1" - debug: "npm:^4.3.4" - ts-api-utils: "npm:^1.3.0" - peerDependenciesMeta: - typescript: - optional: true - checksum: 10/3aed62459e68a49f468004d966c914457db2288979234a9452043bff6d5ac7f2d46490fe13f4bb06fd91af085a50e6ac63b69eb66f9a27ee477f958af4738587 - languageName: node - linkType: hard - "@typescript-eslint/types@npm:8.13.0": version: 8.13.0 resolution: "@typescript-eslint/types@npm:8.13.0" @@ -6493,20 +6413,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/utils@npm:8.8.1": - version: 8.8.1 - resolution: "@typescript-eslint/utils@npm:8.8.1" - dependencies: - "@eslint-community/eslint-utils": "npm:^4.4.0" - "@typescript-eslint/scope-manager": "npm:8.8.1" - "@typescript-eslint/types": "npm:8.8.1" - "@typescript-eslint/typescript-estree": "npm:8.8.1" - peerDependencies: - eslint: ^8.57.0 || ^9.0.0 - checksum: 10/8ecd827af49d3c69ebe65283e5a4e6b44b48f24392319ed9336b8eec47e84fcbcc3e1b5f855ed6b782996cfc0cd289a0a14e40dd69234fd60eeee0a29047bde5 - languageName: node - linkType: hard - "@typescript-eslint/visitor-keys@npm:8.13.0": version: 8.13.0 resolution: "@typescript-eslint/visitor-keys@npm:8.13.0" @@ -7191,7 +7097,7 @@ __metadata: languageName: node linkType: hard -"array-includes@npm:^3.1.4, array-includes@npm:^3.1.5, array-includes@npm:^3.1.6": +"array-includes@npm:^3.1.4, array-includes@npm:^3.1.5": version: 3.1.6 resolution: "array-includes@npm:3.1.6" dependencies: @@ -7265,18 +7171,6 @@ __metadata: languageName: node linkType: hard -"array.prototype.flatmap@npm:^1.3.1": - version: 1.3.1 - resolution: "array.prototype.flatmap@npm:1.3.1" - dependencies: - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.1.4" - es-abstract: "npm:^1.20.4" - es-shim-unscopables: "npm:^1.0.0" - checksum: 10/f1f3d8e0610afce06a8622295b4843507dfc2fbbd2c2b2a8d541d9f42871747393c3099d630a3f8266ca086b97b089687db64cd86b6eb7e270ebc8f767eec9fc - languageName: node - linkType: hard - "array.prototype.flatmap@npm:^1.3.2": version: 1.3.2 resolution: "array.prototype.flatmap@npm:1.3.2" @@ -7289,19 +7183,6 @@ __metadata: languageName: node linkType: hard -"array.prototype.tosorted@npm:^1.1.1": - version: 1.1.1 - resolution: "array.prototype.tosorted@npm:1.1.1" - dependencies: - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.1.4" - es-abstract: "npm:^1.20.4" - es-shim-unscopables: "npm:^1.0.0" - get-intrinsic: "npm:^1.1.3" - checksum: 10/23e86074d0dda9260aaa137ec45ae5a8196916ee3f256e41665381f120fdb5921bd84ad93eeba8d0234e5cd355093049585167ba2307fde340e5cee15b12415d - languageName: node - linkType: hard - "array.prototype.tosorted@npm:^1.1.4": version: 1.1.4 resolution: "array.prototype.tosorted@npm:1.1.4" @@ -9530,7 +9411,7 @@ __metadata: languageName: node linkType: hard -"enhanced-resolve@npm:^5.0.0, enhanced-resolve@npm:^5.12.0, enhanced-resolve@npm:^5.15.0, enhanced-resolve@npm:^5.17.1": +"enhanced-resolve@npm:^5.0.0, enhanced-resolve@npm:^5.15.0, enhanced-resolve@npm:^5.17.1": version: 5.17.1 resolution: "enhanced-resolve@npm:5.17.1" dependencies: @@ -9993,25 +9874,6 @@ __metadata: languageName: node linkType: hard -"eslint-import-resolver-typescript@npm:~3.5.5": - version: 3.5.5 - resolution: "eslint-import-resolver-typescript@npm:3.5.5" - dependencies: - debug: "npm:^4.3.4" - enhanced-resolve: "npm:^5.12.0" - eslint-module-utils: "npm:^2.7.4" - get-tsconfig: "npm:^4.5.0" - globby: "npm:^13.1.3" - is-core-module: "npm:^2.11.0" - is-glob: "npm:^4.0.3" - synckit: "npm:^0.8.5" - peerDependencies: - eslint: "*" - eslint-plugin-import: "*" - checksum: 10/e739b33203c25ba6968c537a53187b7e254e0d5ad1513cbe6a906c947cf748385ee5b013c10a4c2df3c84ea7c5b5d9d7831bec8ba4337459d5be4504e07335bb - languageName: node - linkType: hard - "eslint-import-resolver-typescript@npm:~3.6.3": version: 3.6.3 resolution: "eslint-import-resolver-typescript@npm:3.6.3" @@ -10097,7 +9959,7 @@ __metadata: languageName: node linkType: hard -"eslint-module-utils@npm:^2.7.3, eslint-module-utils@npm:^2.7.4": +"eslint-module-utils@npm:^2.7.3": version: 2.7.4 resolution: "eslint-module-utils@npm:2.7.4" dependencies: @@ -10239,15 +10101,6 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-react-hooks@npm:~4.6.0": - version: 4.6.0 - resolution: "eslint-plugin-react-hooks@npm:4.6.0" - peerDependencies: - eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 - checksum: 10/3c63134e056a6d98d66e2c475c81f904169db817e89316d14e36269919e31f4876a2588aa0e466ec8ef160465169c627fe823bfdaae7e213946584e4a165a3ac - languageName: node - linkType: hard - "eslint-plugin-react-hooks@npm:~5.0.0": version: 5.0.0 resolution: "eslint-plugin-react-hooks@npm:5.0.0" @@ -10257,31 +10110,6 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-react@npm:~7.32.2": - version: 7.32.2 - resolution: "eslint-plugin-react@npm:7.32.2" - dependencies: - array-includes: "npm:^3.1.6" - array.prototype.flatmap: "npm:^1.3.1" - array.prototype.tosorted: "npm:^1.1.1" - doctrine: "npm:^2.1.0" - estraverse: "npm:^5.3.0" - jsx-ast-utils: "npm:^2.4.1 || ^3.0.0" - minimatch: "npm:^3.1.2" - object.entries: "npm:^1.1.6" - object.fromentries: "npm:^2.0.6" - object.hasown: "npm:^1.1.2" - object.values: "npm:^1.1.6" - prop-types: "npm:^15.8.1" - resolve: "npm:^2.0.0-next.4" - semver: "npm:^6.3.0" - string.prototype.matchall: "npm:^4.0.8" - peerDependencies: - eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 - checksum: 10/5ca7959c85fa557bcd25c4b9b3f81fbfae974e8fb16172e31a275712cc71da8ecbb9436da2d3130a8b24dd7a4bbe69d37d4392944aecc4821618717ba156caf4 - languageName: node - linkType: hard - "eslint-plugin-react@npm:~7.37.2": version: 7.37.2 resolution: "eslint-plugin-react@npm:7.37.2" @@ -10647,7 +10475,7 @@ __metadata: languageName: node linkType: hard -"fast-glob@npm:^3.2.11, fast-glob@npm:^3.2.12, fast-glob@npm:^3.2.9, fast-glob@npm:^3.3.2": +"fast-glob@npm:^3.2.12, fast-glob@npm:^3.2.9, fast-glob@npm:^3.3.2": version: 3.3.2 resolution: "fast-glob@npm:3.3.2" dependencies: @@ -11201,13 +11029,6 @@ __metadata: languageName: node linkType: hard -"get-tsconfig@npm:^4.5.0": - version: 4.5.0 - resolution: "get-tsconfig@npm:4.5.0" - checksum: 10/bfbdcf1da704a68cdade750b29f19d925918936f9d4e0062a3942aa513a59d19c6eb85286d63f60ff0d3e7b0cb08848f4dd3a850d7abd0231946ddac64df87b7 - languageName: node - linkType: hard - "get-tsconfig@npm:^4.7.5": version: 4.8.1 resolution: "get-tsconfig@npm:4.8.1" @@ -11387,19 +11208,6 @@ __metadata: languageName: node linkType: hard -"globby@npm:^13.1.3": - version: 13.1.4 - resolution: "globby@npm:13.1.4" - dependencies: - dir-glob: "npm:^3.0.1" - fast-glob: "npm:^3.2.11" - ignore: "npm:^5.2.0" - merge2: "npm:^1.4.1" - slash: "npm:^4.0.0" - checksum: 10/4d039258f3af41f868e81d6d992542c445fe847ce09593a5ba20987695b145dcbca7263736b3ebbe4a7d985beb8d71bad1104ada00997e768cf21c311d1bbdf1 - languageName: node - linkType: hard - "globjoin@npm:^0.1.4": version: 0.1.4 resolution: "globjoin@npm:0.1.4" @@ -11962,7 +11770,7 @@ __metadata: languageName: node linkType: hard -"internal-slot@npm:^1.0.3, internal-slot@npm:^1.0.5": +"internal-slot@npm:^1.0.5": version: 1.0.5 resolution: "internal-slot@npm:1.0.5" dependencies: @@ -12163,7 +11971,7 @@ __metadata: languageName: node linkType: hard -"is-core-module@npm:^2.11.0, is-core-module@npm:^2.13.0, is-core-module@npm:^2.8.1, is-core-module@npm:^2.9.0": +"is-core-module@npm:^2.13.0, is-core-module@npm:^2.8.1": version: 2.15.0 resolution: "is-core-module@npm:2.15.0" dependencies: @@ -15851,17 +15659,6 @@ __metadata: languageName: node linkType: hard -"object.entries@npm:^1.1.6": - version: 1.1.6 - resolution: "object.entries@npm:1.1.6" - dependencies: - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.1.4" - es-abstract: "npm:^1.20.4" - checksum: 10/08a09ff839fd541e8af90a47c67a3dd71721683cdc28e55470e191a8afd8b61188fb9a429fd1d1805808097d8d5950b47c0c2862157dad891226112d8321401b - languageName: node - linkType: hard - "object.entries@npm:^1.1.8": version: 1.1.8 resolution: "object.entries@npm:1.1.8" @@ -15873,17 +15670,6 @@ __metadata: languageName: node linkType: hard -"object.fromentries@npm:^2.0.6": - version: 2.0.6 - resolution: "object.fromentries@npm:2.0.6" - dependencies: - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.1.4" - es-abstract: "npm:^1.20.4" - checksum: 10/e8b813647cbc6505750cdff8b3978bb341492707a5f1df4129e2d8a904b31692e225eff92481ae5916be3bde3c2eff1d0e8a6730921ca7f4eed60bc15a70cb35 - languageName: node - linkType: hard - "object.fromentries@npm:^2.0.8": version: 2.0.8 resolution: "object.fromentries@npm:2.0.8" @@ -15918,17 +15704,7 @@ __metadata: languageName: node linkType: hard -"object.hasown@npm:^1.1.2": - version: 1.1.2 - resolution: "object.hasown@npm:1.1.2" - dependencies: - define-properties: "npm:^1.1.4" - es-abstract: "npm:^1.20.4" - checksum: 10/94031022a2ba6006c15c6f1e0c4f51a7fa5b36aee64800192335b979fcc8bd823b18c35cb1a728af68fdfdbbe6d765f77a3c5437306c031f63654b8a34b9e639 - languageName: node - linkType: hard - -"object.values@npm:^1.1.0, object.values@npm:^1.1.5, object.values@npm:^1.1.6": +"object.values@npm:^1.1.0, object.values@npm:^1.1.5": version: 1.1.6 resolution: "object.values@npm:1.1.6" dependencies: @@ -17726,7 +17502,7 @@ __metadata: languageName: node linkType: hard -"regexp.prototype.flags@npm:^1.4.3, regexp.prototype.flags@npm:^1.5.0": +"regexp.prototype.flags@npm:^1.5.0": version: 1.5.1 resolution: "regexp.prototype.flags@npm:1.5.1" dependencies: @@ -17978,19 +17754,6 @@ __metadata: languageName: node linkType: hard -"resolve@npm:^2.0.0-next.4": - version: 2.0.0-next.4 - resolution: "resolve@npm:2.0.0-next.4" - dependencies: - is-core-module: "npm:^2.9.0" - path-parse: "npm:^1.0.7" - supports-preserve-symlinks-flag: "npm:^1.0.0" - bin: - resolve: bin/resolve - checksum: 10/20d5293f5015aa0b65c488ee365f9dfc30b954b04f9074425a6fb738d78fa63825a82ba8574b7ee200af7ebd5e98c41786831d1d4c1612da3cd063980dfa06a3 - languageName: node - linkType: hard - "resolve@npm:^2.0.0-next.5": version: 2.0.0-next.5 resolution: "resolve@npm:2.0.0-next.5" @@ -18017,19 +17780,6 @@ __metadata: languageName: node linkType: hard -"resolve@patch:resolve@npm%3A^2.0.0-next.4#optional!builtin": - version: 2.0.0-next.4 - resolution: "resolve@patch:resolve@npm%3A2.0.0-next.4#optional!builtin::version=2.0.0-next.4&hash=c3c19d" - dependencies: - is-core-module: "npm:^2.9.0" - path-parse: "npm:^1.0.7" - supports-preserve-symlinks-flag: "npm:^1.0.0" - bin: - resolve: bin/resolve - checksum: 10/27bff19d8219385bb1e271066317e553cff18daa2a19db9598d94ae444417ef3f5aec19e86927872d6cb241d02649cfb35a4c0d9d10ef2afa6325bce8bc8d903 - languageName: node - linkType: hard - "resolve@patch:resolve@npm%3A^2.0.0-next.5#optional!builtin": version: 2.0.0-next.5 resolution: "resolve@patch:resolve@npm%3A2.0.0-next.5#optional!builtin::version=2.0.0-next.5&hash=c3c19d" @@ -18339,7 +18089,6 @@ __metadata: version: 0.0.0-use.local resolution: "scripts@workspace:tools/scripts" dependencies: - "@rocket.chat/eslint-config-alt": "workspace:~" "@types/node": "npm:~14.18.42" "@typescript-eslint/parser": "npm:~8.8.1" cross-env: "npm:^7.0.3" @@ -18625,13 +18374,6 @@ __metadata: languageName: node linkType: hard -"slash@npm:^4.0.0": - version: 4.0.0 - resolution: "slash@npm:4.0.0" - checksum: 10/da8e4af73712253acd21b7853b7e0dbba776b786e82b010a5bfc8b5051a1db38ed8aba8e1e8f400dd2c9f373be91eb1c42b66e91abb407ff42b10feece5e1d2d - languageName: node - linkType: hard - "slice-ansi@npm:^4.0.0": version: 4.0.0 resolution: "slice-ansi@npm:4.0.0" @@ -18966,22 +18708,6 @@ __metadata: languageName: node linkType: hard -"string.prototype.matchall@npm:^4.0.8": - version: 4.0.8 - resolution: "string.prototype.matchall@npm:4.0.8" - dependencies: - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.1.4" - es-abstract: "npm:^1.20.4" - get-intrinsic: "npm:^1.1.3" - has-symbols: "npm:^1.0.3" - internal-slot: "npm:^1.0.3" - regexp.prototype.flags: "npm:^1.4.3" - side-channel: "npm:^1.0.4" - checksum: 10/9de2e9e33344002e08c03c13533d88d0c557d5a3d9214a4f2cc8d63349f7c35af895804dec08e43224cc4c0345651c678e14260c5933967fd97aad4640a7e485 - languageName: node - linkType: hard - "string.prototype.padend@npm:^3.0.0": version: 3.1.1 resolution: "string.prototype.padend@npm:3.1.1" @@ -19499,7 +19225,7 @@ __metadata: languageName: node linkType: hard -"synckit@npm:^0.8.4, synckit@npm:^0.8.5": +"synckit@npm:^0.8.4": version: 0.8.8 resolution: "synckit@npm:0.8.8" dependencies: From e14944e6837dd71eaa955e6c84c02fb9cab415ac Mon Sep 17 00:00:00 2001 From: Tasso Date: Tue, 5 Nov 2024 12:42:40 -0300 Subject: [PATCH 05/11] Adjust dependencies --- package.json | 1 + packages/fuselage-tokens/package.json | 2 - packages/fuselage/package.json | 2 - packages/prettier-config/package.json | 3 - yarn.lock | 789 +------------------------- 5 files changed, 12 insertions(+), 785 deletions(-) diff --git a/package.json b/package.json index d349351463..6702d8da2b 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "eslint-import-resolver-typescript": "~3.6.3", "eslint-plugin-import": "~2.31.0", "eslint-plugin-mdx": "~3.1.5", + "eslint-plugin-prettier": "~5.2.1", "eslint-plugin-react": "~7.37.2", "eslint-plugin-react-hooks": "~5.0.0", "globals": "~15.12.0", diff --git a/packages/fuselage-tokens/package.json b/packages/fuselage-tokens/package.json index 47c3c31bd8..ea95ad1fe1 100644 --- a/packages/fuselage-tokens/package.json +++ b/packages/fuselage-tokens/package.json @@ -42,8 +42,6 @@ "build-design-tokens": "workspace:~", "eslint": "~9.14.0", "eslint-config-prettier": "~8.8.0", - "eslint-plugin-import": "~2.26.0", - "eslint-plugin-prettier": "~5.2.1", "lint-all": "workspace:~", "npm-run-all": "^4.1.5", "postcss-scss": "~4.0.6", diff --git a/packages/fuselage/package.json b/packages/fuselage/package.json index 575c984793..17b384669b 100644 --- a/packages/fuselage/package.json +++ b/packages/fuselage/package.json @@ -100,8 +100,6 @@ "cssnano": "~5.0.17", "es-check": "~7.1.1", "eslint": "~9.14.0", - "eslint-mdx": "~2.0.5", - "eslint-plugin-mdx": "~2.0.5", "jest": "~29.7.0", "jest-axe": "~8.0.0", "jest-environment-jsdom": "~29.7.0", diff --git a/packages/prettier-config/package.json b/packages/prettier-config/package.json index e7960591f6..632954f22b 100644 --- a/packages/prettier-config/package.json +++ b/packages/prettier-config/package.json @@ -33,9 +33,6 @@ }, "devDependencies": { "eslint": "~9.14.0", - "eslint-config-prettier": "~8.8.0", - "eslint-plugin-import": "~2.26.0", - "eslint-plugin-prettier": "~5.2.1", "lint-all": "workspace:~", "prettier": "~3.3.3" } diff --git a/yarn.lock b/yarn.lock index 7c3ebd85fb..774ae38254 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4253,6 +4253,7 @@ __metadata: eslint-import-resolver-typescript: "npm:~3.6.3" eslint-plugin-import: "npm:~2.31.0" eslint-plugin-mdx: "npm:~3.1.5" + eslint-plugin-prettier: "npm:~5.2.1" eslint-plugin-react: "npm:~7.37.2" eslint-plugin-react-hooks: "npm:~5.0.0" globals: "npm:~15.12.0" @@ -4335,8 +4336,6 @@ __metadata: build-design-tokens: "workspace:~" eslint: "npm:~9.14.0" eslint-config-prettier: "npm:~8.8.0" - eslint-plugin-import: "npm:~2.26.0" - eslint-plugin-prettier: "npm:~5.2.1" lint-all: "workspace:~" npm-run-all: "npm:^4.1.5" postcss-scss: "npm:~4.0.6" @@ -4396,8 +4395,6 @@ __metadata: cssnano: "npm:~5.0.17" es-check: "npm:~7.1.1" eslint: "npm:~9.14.0" - eslint-mdx: "npm:~2.0.5" - eslint-plugin-mdx: "npm:~2.0.5" invariant: "npm:^2.2.4" jest: "npm:~29.7.0" jest-axe: "npm:~8.0.0" @@ -4652,9 +4649,6 @@ __metadata: resolution: "@rocket.chat/prettier-config@workspace:packages/prettier-config" dependencies: eslint: "npm:~9.14.0" - eslint-config-prettier: "npm:~8.8.0" - eslint-plugin-import: "npm:~2.26.0" - eslint-plugin-prettier: "npm:~5.2.1" lint-all: "workspace:~" prettier: "npm:~3.3.3" peerDependencies: @@ -5900,15 +5894,6 @@ __metadata: languageName: node linkType: hard -"@types/hast@npm:^2.0.0": - version: 2.3.1 - resolution: "@types/hast@npm:2.3.1" - dependencies: - "@types/unist": "npm:*" - checksum: 10/3e2ec0a56a06cd2fb5474b4ee312b40e70dc82e4e711514b393bb4e5ace2e9912576c9b44c2504bbb46c9b772794be49f1a4c418d01ceac1fafd66d15c158f62 - languageName: node - linkType: hard - "@types/hast@npm:^3.0.0": version: 3.0.4 resolution: "@types/hast@npm:3.0.4" @@ -6791,7 +6776,7 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^8.0.0, acorn@npm:^8.0.4, acorn@npm:^8.11.0, acorn@npm:^8.12.1, acorn@npm:^8.4.1, acorn@npm:^8.7.1, acorn@npm:^8.8.0, acorn@npm:^8.8.2, acorn@npm:^8.9.0": +"acorn@npm:^8.0.0, acorn@npm:^8.0.4, acorn@npm:^8.11.0, acorn@npm:^8.12.1, acorn@npm:^8.4.1, acorn@npm:^8.7.1, acorn@npm:^8.8.2, acorn@npm:^8.9.0": version: 8.12.1 resolution: "acorn@npm:8.12.1" bin: @@ -7097,7 +7082,7 @@ __metadata: languageName: node linkType: hard -"array-includes@npm:^3.1.4, array-includes@npm:^3.1.5": +"array-includes@npm:^3.1.5": version: 3.1.6 resolution: "array-includes@npm:3.1.6" dependencies: @@ -7159,7 +7144,7 @@ __metadata: languageName: node linkType: hard -"array.prototype.flat@npm:^1.2.5, array.prototype.flat@npm:^1.3.2": +"array.prototype.flat@npm:^1.3.2": version: 1.3.2 resolution: "array.prototype.flat@npm:1.3.2" dependencies: @@ -8908,15 +8893,6 @@ __metadata: languageName: node linkType: hard -"debug@npm:^2.6.9": - version: 2.6.9 - resolution: "debug@npm:2.6.9" - dependencies: - ms: "npm:2.0.0" - checksum: 10/e07005f2b40e04f1bd14a3dd20520e9c4f25f60224cb006ce9d6781732c917964e9ec029fc7f1a151083cd929025ad5133814d4dc624a9aaf020effe4914ed14 - languageName: node - linkType: hard - "debug@npm:^3.2.7": version: 3.2.7 resolution: "debug@npm:3.2.7" @@ -9853,16 +9829,6 @@ __metadata: languageName: node linkType: hard -"eslint-import-resolver-node@npm:^0.3.6": - version: 0.3.6 - resolution: "eslint-import-resolver-node@npm:0.3.6" - dependencies: - debug: "npm:^3.2.7" - resolve: "npm:^1.20.0" - checksum: 10/c35c6edb7e77980a90922be8aedfacde572839b817146ab9fbed01195cb173cc40aa02d44ba0950170cfd41add11bc652dda8efed7ca766d733dc1eefc174614 - languageName: node - linkType: hard - "eslint-import-resolver-node@npm:^0.3.9": version: 0.3.9 resolution: "eslint-import-resolver-node@npm:0.3.9" @@ -9899,30 +9865,6 @@ __metadata: languageName: node linkType: hard -"eslint-mdx@npm:^2.0.5, eslint-mdx@npm:~2.0.5": - version: 2.0.5 - resolution: "eslint-mdx@npm:2.0.5" - dependencies: - acorn: "npm:^8.8.0" - acorn-jsx: "npm:^5.3.2" - cosmiconfig: "npm:^7.0.1" - espree: "npm:^9.4.0" - estree-util-visit: "npm:^1.2.0" - remark-mdx: "npm:^2.1.3" - remark-parse: "npm:^10.0.1" - remark-stringify: "npm:^10.0.2" - synckit: "npm:^0.8.4" - tslib: "npm:^2.4.0" - unified: "npm:^10.1.2" - unist-util-visit: "npm:^4.1.1" - uvu: "npm:^0.5.6" - vfile: "npm:^5.3.4" - peerDependencies: - eslint: ">=8.0.0" - checksum: 10/1c0398d68a1b8b259ee697a811cccb51c042581fb58bb3fd4083bcad8a678b7e08436af35f0db3dc2b9e4bf1d41ef0673039f609ce6eb7fddf16d6af1a1c634d - languageName: node - linkType: hard - "eslint-mdx@npm:^3.1.5": version: 3.1.5 resolution: "eslint-mdx@npm:3.1.5" @@ -9959,41 +9901,6 @@ __metadata: languageName: node linkType: hard -"eslint-module-utils@npm:^2.7.3": - version: 2.7.4 - resolution: "eslint-module-utils@npm:2.7.4" - dependencies: - debug: "npm:^3.2.7" - peerDependenciesMeta: - eslint: - optional: true - checksum: 10/25527e03d4245d1d0b2ff1f752aaa02a34520c2a56403fd316e7ea54dcbbdd68089d490c6db2b79bfd4de57287535ade9fef6e024caa6310fc664289899a672d - languageName: node - linkType: hard - -"eslint-plugin-import@npm:~2.26.0": - version: 2.26.0 - resolution: "eslint-plugin-import@npm:2.26.0" - dependencies: - array-includes: "npm:^3.1.4" - array.prototype.flat: "npm:^1.2.5" - debug: "npm:^2.6.9" - doctrine: "npm:^2.1.0" - eslint-import-resolver-node: "npm:^0.3.6" - eslint-module-utils: "npm:^2.7.3" - has: "npm:^1.0.3" - is-core-module: "npm:^2.8.1" - is-glob: "npm:^4.0.3" - minimatch: "npm:^3.1.2" - object.values: "npm:^1.1.5" - resolve: "npm:^1.22.0" - tsconfig-paths: "npm:^3.14.1" - peerDependencies: - eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 - checksum: 10/80322d0414c6d6b6f8ddb77a87ede733d7af8536461cbc977e0da9a9e7bd976aa588488a5f310383b914111f496c0a259d2752f402e5880b16ecc48aca89b29e - languageName: node - linkType: hard - "eslint-plugin-import@npm:~2.31.0": version: 2.31.0 resolution: "eslint-plugin-import@npm:2.31.0" @@ -10023,17 +9930,6 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-markdown@npm:^3.0.0": - version: 3.0.0 - resolution: "eslint-plugin-markdown@npm:3.0.0" - dependencies: - mdast-util-from-markdown: "npm:^0.8.5" - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - checksum: 10/d1374c9ce129584ddacd66ccbef22a791a4f979d8358065864ad43886d151411f065d31fc3fa5a18c69acb74473deee6f3c711a69a05a4d4bba090ece3af5a00 - languageName: node - linkType: hard - "eslint-plugin-markdown@npm:^3.0.1": version: 3.0.1 resolution: "eslint-plugin-markdown@npm:3.0.1" @@ -10045,24 +9941,6 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-mdx@npm:~2.0.5": - version: 2.0.5 - resolution: "eslint-plugin-mdx@npm:2.0.5" - dependencies: - eslint-mdx: "npm:^2.0.5" - eslint-plugin-markdown: "npm:^3.0.0" - remark-mdx: "npm:^2.1.3" - remark-parse: "npm:^10.0.1" - remark-stringify: "npm:^10.0.2" - tslib: "npm:^2.4.0" - unified: "npm:^10.1.2" - vfile: "npm:^5.3.4" - peerDependencies: - eslint: ">=8.0.0" - checksum: 10/a242bc329db9fb6d2f4aa77bbc7bb86e579fc354fe20957652059cea0203ebed103db980812961484646e5e6085c5194c16d55edd06ef0855dfca71bb32ea2ba - languageName: node - linkType: hard - "eslint-plugin-mdx@npm:~3.1.5": version: 3.1.5 resolution: "eslint-plugin-mdx@npm:3.1.5" @@ -10240,7 +10118,7 @@ __metadata: languageName: node linkType: hard -"espree@npm:^9.4.0, espree@npm:^9.6.1": +"espree@npm:^9.6.1": version: 9.6.1 resolution: "espree@npm:9.6.1" dependencies: @@ -10293,13 +10171,6 @@ __metadata: languageName: node linkType: hard -"estree-util-is-identifier-name@npm:^2.0.0": - version: 2.1.0 - resolution: "estree-util-is-identifier-name@npm:2.1.0" - checksum: 10/8d99b0ce26dc0711c8d600ec69c653047d803464aed049402f492a40ccacf3b6a9d89c6ccfb2d8a17cb7a18869dc432302898702cb28e8b9172c9cda7ef82888 - languageName: node - linkType: hard - "estree-util-is-identifier-name@npm:^3.0.0": version: 3.0.0 resolution: "estree-util-is-identifier-name@npm:3.0.0" @@ -10307,16 +10178,6 @@ __metadata: languageName: node linkType: hard -"estree-util-visit@npm:^1.0.0, estree-util-visit@npm:^1.2.0": - version: 1.2.1 - resolution: "estree-util-visit@npm:1.2.1" - dependencies: - "@types/estree-jsx": "npm:^1.0.0" - "@types/unist": "npm:^2.0.0" - checksum: 10/f86b923312ca69620718d3429eabf9a3e03f7a3521c87e271f3b4152a906370dea56b58970bc574650ec7163ede1357fe27ee12a32a62a61561e33c249395d65 - languageName: node - linkType: hard - "estree-util-visit@npm:^2.0.0": version: 2.0.0 resolution: "estree-util-visit@npm:2.0.0" @@ -11939,13 +11800,6 @@ __metadata: languageName: node linkType: hard -"is-buffer@npm:^2.0.0": - version: 2.0.5 - resolution: "is-buffer@npm:2.0.5" - checksum: 10/3261a8b858edcc6c9566ba1694bf829e126faa88911d1c0a747ea658c5d81b14b6955e3a702d59dabadd58fdd440c01f321aa71d6547105fd21d03f94d0597e7 - languageName: node - linkType: hard - "is-builtin-module@npm:^3.2.1": version: 3.2.1 resolution: "is-builtin-module@npm:3.2.1" @@ -11971,7 +11825,7 @@ __metadata: languageName: node linkType: hard -"is-core-module@npm:^2.13.0, is-core-module@npm:^2.8.1": +"is-core-module@npm:^2.13.0": version: 2.15.0 resolution: "is-core-module@npm:2.15.0" dependencies: @@ -13203,7 +13057,7 @@ __metadata: languageName: node linkType: hard -"json5@npm:^1.0.1, json5@npm:^1.0.2": +"json5@npm:^1.0.2": version: 1.0.2 resolution: "json5@npm:1.0.2" dependencies: @@ -13764,26 +13618,6 @@ __metadata: languageName: node linkType: hard -"mdast-util-from-markdown@npm:^1.0.0, mdast-util-from-markdown@npm:^1.1.0": - version: 1.3.0 - resolution: "mdast-util-from-markdown@npm:1.3.0" - dependencies: - "@types/mdast": "npm:^3.0.0" - "@types/unist": "npm:^2.0.0" - decode-named-character-reference: "npm:^1.0.0" - mdast-util-to-string: "npm:^3.1.0" - micromark: "npm:^3.0.0" - micromark-util-decode-numeric-character-reference: "npm:^1.0.0" - micromark-util-decode-string: "npm:^1.0.0" - micromark-util-normalize-identifier: "npm:^1.0.0" - micromark-util-symbol: "npm:^1.0.0" - micromark-util-types: "npm:^1.0.0" - unist-util-stringify-position: "npm:^3.0.0" - uvu: "npm:^0.5.0" - checksum: 10/54821270e279029e09f8389f1ded6dd538f75384ab8f322b2c8a5a21498a9f39273deb7de3534aba1ca2135c365e562412354130bb383d98cc25ec804ce01139 - languageName: node - linkType: hard - "mdast-util-from-markdown@npm:^2.0.0": version: 2.0.1 resolution: "mdast-util-from-markdown@npm:2.0.1" @@ -13881,19 +13715,6 @@ __metadata: languageName: node linkType: hard -"mdast-util-mdx-expression@npm:^1.0.0": - version: 1.3.2 - resolution: "mdast-util-mdx-expression@npm:1.3.2" - dependencies: - "@types/estree-jsx": "npm:^1.0.0" - "@types/hast": "npm:^2.0.0" - "@types/mdast": "npm:^3.0.0" - mdast-util-from-markdown: "npm:^1.0.0" - mdast-util-to-markdown: "npm:^1.0.0" - checksum: 10/90b8ec5b6fdd05282f45c1286bb8c5c3568959877930a10b8bcae100676d3baead8c6f26a768abfe74fde93fbf9cd0eabb3ab63af88a6026a3029a3f6700bd63 - languageName: node - linkType: hard - "mdast-util-mdx-expression@npm:^2.0.0": version: 2.0.1 resolution: "mdast-util-mdx-expression@npm:2.0.1" @@ -13908,26 +13729,6 @@ __metadata: languageName: node linkType: hard -"mdast-util-mdx-jsx@npm:^2.0.0": - version: 2.1.2 - resolution: "mdast-util-mdx-jsx@npm:2.1.2" - dependencies: - "@types/estree-jsx": "npm:^1.0.0" - "@types/hast": "npm:^2.0.0" - "@types/mdast": "npm:^3.0.0" - "@types/unist": "npm:^2.0.0" - ccount: "npm:^2.0.0" - mdast-util-from-markdown: "npm:^1.1.0" - mdast-util-to-markdown: "npm:^1.3.0" - parse-entities: "npm:^4.0.0" - stringify-entities: "npm:^4.0.0" - unist-util-remove-position: "npm:^4.0.0" - unist-util-stringify-position: "npm:^3.0.0" - vfile-message: "npm:^3.0.0" - checksum: 10/eae4a7b6e38c739567a6324b0c75690f3a7a1e337092646a79f02621f355d372a895515081bfc72f4094f729c3ce93781ceda65bd241167dc7565065717d0b35 - languageName: node - linkType: hard - "mdast-util-mdx-jsx@npm:^3.0.0": version: 3.1.3 resolution: "mdast-util-mdx-jsx@npm:3.1.3" @@ -13948,19 +13749,6 @@ __metadata: languageName: node linkType: hard -"mdast-util-mdx@npm:^2.0.0": - version: 2.0.1 - resolution: "mdast-util-mdx@npm:2.0.1" - dependencies: - mdast-util-from-markdown: "npm:^1.0.0" - mdast-util-mdx-expression: "npm:^1.0.0" - mdast-util-mdx-jsx: "npm:^2.0.0" - mdast-util-mdxjs-esm: "npm:^1.0.0" - mdast-util-to-markdown: "npm:^1.0.0" - checksum: 10/58230fccd8f499182a0b98879d90c0c13c533627c00b4509cd6100a9f0b4b6c70a460782dc62f2230753b40b8f0795ce2090ce7d6d131c5ab2c87b7698efc3ec - languageName: node - linkType: hard - "mdast-util-mdx@npm:^3.0.0": version: 3.0.0 resolution: "mdast-util-mdx@npm:3.0.0" @@ -13974,19 +13762,6 @@ __metadata: languageName: node linkType: hard -"mdast-util-mdxjs-esm@npm:^1.0.0": - version: 1.3.1 - resolution: "mdast-util-mdxjs-esm@npm:1.3.1" - dependencies: - "@types/estree-jsx": "npm:^1.0.0" - "@types/hast": "npm:^2.0.0" - "@types/mdast": "npm:^3.0.0" - mdast-util-from-markdown: "npm:^1.0.0" - mdast-util-to-markdown: "npm:^1.0.0" - checksum: 10/319b4e138b25079964bd69b79c6d5c1cc7001f2cd392f48f024e235e5c14240c78fc9016c5c9c8001eb03e6efd3a2b06fcf1da62104ae94f93f65d12301c7957 - languageName: node - linkType: hard - "mdast-util-mdxjs-esm@npm:^2.0.0": version: 2.0.1 resolution: "mdast-util-mdxjs-esm@npm:2.0.1" @@ -14001,16 +13776,6 @@ __metadata: languageName: node linkType: hard -"mdast-util-phrasing@npm:^3.0.0": - version: 3.0.1 - resolution: "mdast-util-phrasing@npm:3.0.1" - dependencies: - "@types/mdast": "npm:^3.0.0" - unist-util-is: "npm:^5.0.0" - checksum: 10/c5b616d9b1eb76a6b351d195d94318494722525a12a89d9c8a3b091af7db3dd1fc55d294f9d29266d8159a8267b0df4a7a133bda8a3909d5331c383e1e1ff328 - languageName: node - linkType: hard - "mdast-util-phrasing@npm:^4.0.0": version: 4.1.0 resolution: "mdast-util-phrasing@npm:4.1.0" @@ -14021,22 +13786,6 @@ __metadata: languageName: node linkType: hard -"mdast-util-to-markdown@npm:^1.0.0, mdast-util-to-markdown@npm:^1.3.0": - version: 1.5.0 - resolution: "mdast-util-to-markdown@npm:1.5.0" - dependencies: - "@types/mdast": "npm:^3.0.0" - "@types/unist": "npm:^2.0.0" - longest-streak: "npm:^3.0.0" - mdast-util-phrasing: "npm:^3.0.0" - mdast-util-to-string: "npm:^3.0.0" - micromark-util-decode-string: "npm:^1.0.0" - unist-util-visit: "npm:^4.0.0" - zwitch: "npm:^2.0.0" - checksum: 10/713f674588a01969a2ce524a69985bd57e507377eea2c4ba69800fb305414468b30144ae9b837fbdde8c609877673140e4f56f6cabe9e0e2bc1487291e3c5144 - languageName: node - linkType: hard - "mdast-util-to-markdown@npm:^2.0.0": version: 2.1.0 resolution: "mdast-util-to-markdown@npm:2.1.0" @@ -14060,15 +13809,6 @@ __metadata: languageName: node linkType: hard -"mdast-util-to-string@npm:^3.0.0, mdast-util-to-string@npm:^3.1.0": - version: 3.2.0 - resolution: "mdast-util-to-string@npm:3.2.0" - dependencies: - "@types/mdast": "npm:^3.0.0" - checksum: 10/fafe201c12a0d412a875fe8540bf70b4360f3775fb7f0d19403ba7b59e50f74f730e3b405c72ad940bc8a3ec1ba311f76dfca61c4ce585dce1ccda2168ec244f - languageName: node - linkType: hard - "mdast-util-to-string@npm:^4.0.0": version: 4.0.0 resolution: "mdast-util-to-string@npm:4.0.0" @@ -14171,30 +13911,6 @@ __metadata: languageName: node linkType: hard -"micromark-core-commonmark@npm:^1.0.0, micromark-core-commonmark@npm:^1.0.1": - version: 1.0.6 - resolution: "micromark-core-commonmark@npm:1.0.6" - dependencies: - decode-named-character-reference: "npm:^1.0.0" - micromark-factory-destination: "npm:^1.0.0" - micromark-factory-label: "npm:^1.0.0" - micromark-factory-space: "npm:^1.0.0" - micromark-factory-title: "npm:^1.0.0" - micromark-factory-whitespace: "npm:^1.0.0" - micromark-util-character: "npm:^1.0.0" - micromark-util-chunked: "npm:^1.0.0" - micromark-util-classify-character: "npm:^1.0.0" - micromark-util-html-tag-name: "npm:^1.0.0" - micromark-util-normalize-identifier: "npm:^1.0.0" - micromark-util-resolve-all: "npm:^1.0.0" - micromark-util-subtokenize: "npm:^1.0.0" - micromark-util-symbol: "npm:^1.0.0" - micromark-util-types: "npm:^1.0.1" - uvu: "npm:^0.5.0" - checksum: 10/20daa4b78b88afea7658c2bd428c830734c72fbb2184c1f0761bb4c1e5fcf266509e7d46ad5f7b2a2aeb32cd17951788733cad458632457b52397534d930030a - languageName: node - linkType: hard - "micromark-core-commonmark@npm:^2.0.0": version: 2.0.1 resolution: "micromark-core-commonmark@npm:2.0.1" @@ -14312,21 +14028,6 @@ __metadata: languageName: node linkType: hard -"micromark-extension-mdx-expression@npm:^1.0.0": - version: 1.0.4 - resolution: "micromark-extension-mdx-expression@npm:1.0.4" - dependencies: - micromark-factory-mdx-expression: "npm:^1.0.0" - micromark-factory-space: "npm:^1.0.0" - micromark-util-character: "npm:^1.0.0" - micromark-util-events-to-acorn: "npm:^1.0.0" - micromark-util-symbol: "npm:^1.0.0" - micromark-util-types: "npm:^1.0.0" - uvu: "npm:^0.5.0" - checksum: 10/2335aa7dd4d17906847184be44a2c0680958c47e401edd0475955a61669d43be6dbb71ab369645abcac98d50fad70d5abadef946750ae6246a92ec0671ad877b - languageName: node - linkType: hard - "micromark-extension-mdx-expression@npm:^3.0.0": version: 3.0.0 resolution: "micromark-extension-mdx-expression@npm:3.0.0" @@ -14343,23 +14044,6 @@ __metadata: languageName: node linkType: hard -"micromark-extension-mdx-jsx@npm:^1.0.0": - version: 1.0.3 - resolution: "micromark-extension-mdx-jsx@npm:1.0.3" - dependencies: - "@types/acorn": "npm:^4.0.0" - estree-util-is-identifier-name: "npm:^2.0.0" - micromark-factory-mdx-expression: "npm:^1.0.0" - micromark-factory-space: "npm:^1.0.0" - micromark-util-character: "npm:^1.0.0" - micromark-util-symbol: "npm:^1.0.0" - micromark-util-types: "npm:^1.0.0" - uvu: "npm:^0.5.0" - vfile-message: "npm:^3.0.0" - checksum: 10/994b78f33b7d82d6264c5469dcaa5655bdb9e432359161a7fc09d868574390a0fe800012486d43ccccaa7e7f5d0d6465a2b6c56191a6dfd36b39bec6b9f31e93 - languageName: node - linkType: hard - "micromark-extension-mdx-jsx@npm:^3.0.0": version: 3.0.1 resolution: "micromark-extension-mdx-jsx@npm:3.0.1" @@ -14379,15 +14063,6 @@ __metadata: languageName: node linkType: hard -"micromark-extension-mdx-md@npm:^1.0.0": - version: 1.0.0 - resolution: "micromark-extension-mdx-md@npm:1.0.0" - dependencies: - micromark-util-types: "npm:^1.0.0" - checksum: 10/b4f205e1d5f0946b4755541ef44ffd0b3be8c7ecfc08d8b139b6a21fbd3ff62d8fdb6b7e6d17bd9a3b610450267f43a41703dc48b341da9addd743a28cdefa64 - languageName: node - linkType: hard - "micromark-extension-mdx-md@npm:^2.0.0": version: 2.0.0 resolution: "micromark-extension-mdx-md@npm:2.0.0" @@ -14397,22 +14072,6 @@ __metadata: languageName: node linkType: hard -"micromark-extension-mdxjs-esm@npm:^1.0.0": - version: 1.0.3 - resolution: "micromark-extension-mdxjs-esm@npm:1.0.3" - dependencies: - micromark-core-commonmark: "npm:^1.0.0" - micromark-util-character: "npm:^1.0.0" - micromark-util-events-to-acorn: "npm:^1.0.0" - micromark-util-symbol: "npm:^1.0.0" - micromark-util-types: "npm:^1.0.0" - unist-util-position-from-estree: "npm:^1.1.0" - uvu: "npm:^0.5.0" - vfile-message: "npm:^3.0.0" - checksum: 10/c01a005c3cb99c4ffd9229186afad42244fa58123e64cdf0dddcf6beff9e2b9a527c89d780644db44c3e28347c5af9372ed99bc2b5bd0f63d900e87e103b37b4 - languageName: node - linkType: hard - "micromark-extension-mdxjs-esm@npm:^3.0.0": version: 3.0.0 resolution: "micromark-extension-mdxjs-esm@npm:3.0.0" @@ -14430,22 +14089,6 @@ __metadata: languageName: node linkType: hard -"micromark-extension-mdxjs@npm:^1.0.0": - version: 1.0.0 - resolution: "micromark-extension-mdxjs@npm:1.0.0" - dependencies: - acorn: "npm:^8.0.0" - acorn-jsx: "npm:^5.0.0" - micromark-extension-mdx-expression: "npm:^1.0.0" - micromark-extension-mdx-jsx: "npm:^1.0.0" - micromark-extension-mdx-md: "npm:^1.0.0" - micromark-extension-mdxjs-esm: "npm:^1.0.0" - micromark-util-combine-extensions: "npm:^1.0.0" - micromark-util-types: "npm:^1.0.0" - checksum: 10/ba836c6d2dfc67597886e88f533ffa02f2029dbe216a0651f1066e70f8529a700bcc7fa2bc4201ee12fd3d1cd7da7093d5a442442daeb84b27df96aaffb7699c - languageName: node - linkType: hard - "micromark-extension-mdxjs@npm:^3.0.0": version: 3.0.0 resolution: "micromark-extension-mdxjs@npm:3.0.0" @@ -14462,17 +14105,6 @@ __metadata: languageName: node linkType: hard -"micromark-factory-destination@npm:^1.0.0": - version: 1.0.0 - resolution: "micromark-factory-destination@npm:1.0.0" - dependencies: - micromark-util-character: "npm:^1.0.0" - micromark-util-symbol: "npm:^1.0.0" - micromark-util-types: "npm:^1.0.0" - checksum: 10/8e733ae9c1c2342f14ff290bf09946e20f6f540117d80342377a765cac48df2ea5e748f33c8b07501ad7a43414b1a6597c8510ede2052b6bf1251fab89748e20 - languageName: node - linkType: hard - "micromark-factory-destination@npm:^2.0.0": version: 2.0.0 resolution: "micromark-factory-destination@npm:2.0.0" @@ -14484,18 +14116,6 @@ __metadata: languageName: node linkType: hard -"micromark-factory-label@npm:^1.0.0": - version: 1.0.2 - resolution: "micromark-factory-label@npm:1.0.2" - dependencies: - micromark-util-character: "npm:^1.0.0" - micromark-util-symbol: "npm:^1.0.0" - micromark-util-types: "npm:^1.0.0" - uvu: "npm:^0.5.0" - checksum: 10/957e9366bdc8dbc1437c0706ff96972fa985ab4b1274abcae12f6094f527cbf5c69e7f2304c23c7f4b96e311ff7911d226563b8b43dcfcd4091e8c985fb97ce6 - languageName: node - linkType: hard - "micromark-factory-label@npm:^2.0.0": version: 2.0.0 resolution: "micromark-factory-label@npm:2.0.0" @@ -14508,22 +14128,6 @@ __metadata: languageName: node linkType: hard -"micromark-factory-mdx-expression@npm:^1.0.0": - version: 1.0.7 - resolution: "micromark-factory-mdx-expression@npm:1.0.7" - dependencies: - micromark-factory-space: "npm:^1.0.0" - micromark-util-character: "npm:^1.0.0" - micromark-util-events-to-acorn: "npm:^1.0.0" - micromark-util-symbol: "npm:^1.0.0" - micromark-util-types: "npm:^1.0.0" - unist-util-position-from-estree: "npm:^1.0.0" - uvu: "npm:^0.5.0" - vfile-message: "npm:^3.0.0" - checksum: 10/dbd1ab20675021335eb7d3cbae7739a4ffc4ffff7da754f6f1d6a7afaf0b9b9dae2b2ff135e388ad8ab052172843b68be079c95410ec39da215d1ff3716611b7 - languageName: node - linkType: hard - "micromark-factory-mdx-expression@npm:^2.0.0": version: 2.0.2 resolution: "micromark-factory-mdx-expression@npm:2.0.2" @@ -14541,16 +14145,6 @@ __metadata: languageName: node linkType: hard -"micromark-factory-space@npm:^1.0.0": - version: 1.0.0 - resolution: "micromark-factory-space@npm:1.0.0" - dependencies: - micromark-util-character: "npm:^1.0.0" - micromark-util-types: "npm:^1.0.0" - checksum: 10/70d3aafde4e68ef4e509a3b644e9a29e4aada00801279e346577b008cbca06d78051bcd62aa7ea7425856ed73f09abd2b36607803055f726f52607ee7cb706b0 - languageName: node - linkType: hard - "micromark-factory-space@npm:^2.0.0": version: 2.0.0 resolution: "micromark-factory-space@npm:2.0.0" @@ -14561,19 +14155,6 @@ __metadata: languageName: node linkType: hard -"micromark-factory-title@npm:^1.0.0": - version: 1.0.2 - resolution: "micromark-factory-title@npm:1.0.2" - dependencies: - micromark-factory-space: "npm:^1.0.0" - micromark-util-character: "npm:^1.0.0" - micromark-util-symbol: "npm:^1.0.0" - micromark-util-types: "npm:^1.0.0" - uvu: "npm:^0.5.0" - checksum: 10/9a9cf66babde0bad1e25d6c1087082bfde6dfc319a36cab67c89651cc1a53d0e21cdec83262b5a4c33bff49f0e3c8dc2a7bd464e991d40dbea166a8f9b37e5b2 - languageName: node - linkType: hard - "micromark-factory-title@npm:^2.0.0": version: 2.0.0 resolution: "micromark-factory-title@npm:2.0.0" @@ -14586,18 +14167,6 @@ __metadata: languageName: node linkType: hard -"micromark-factory-whitespace@npm:^1.0.0": - version: 1.0.0 - resolution: "micromark-factory-whitespace@npm:1.0.0" - dependencies: - micromark-factory-space: "npm:^1.0.0" - micromark-util-character: "npm:^1.0.0" - micromark-util-symbol: "npm:^1.0.0" - micromark-util-types: "npm:^1.0.0" - checksum: 10/0888386e6ea2dd665a5182c570d9b3d0a172d3f11694ca5a2a84e552149c9f1429f5b975ec26e1f0fa4388c55a656c9f359ce5e0603aff6175ba3e255076f20b - languageName: node - linkType: hard - "micromark-factory-whitespace@npm:^2.0.0": version: 2.0.0 resolution: "micromark-factory-whitespace@npm:2.0.0" @@ -14610,16 +14179,6 @@ __metadata: languageName: node linkType: hard -"micromark-util-character@npm:^1.0.0": - version: 1.1.0 - resolution: "micromark-util-character@npm:1.1.0" - dependencies: - micromark-util-symbol: "npm:^1.0.0" - micromark-util-types: "npm:^1.0.0" - checksum: 10/81a1e4ee996e89966f58620088ca1ad49a6b1474fa488992be9b6f62d783d621c33f74c01f8560a2960412a43e83c7d991c711620ff3ee49169eb77de0bb2e3a - languageName: node - linkType: hard - "micromark-util-character@npm:^2.0.0": version: 2.1.0 resolution: "micromark-util-character@npm:2.1.0" @@ -14630,15 +14189,6 @@ __metadata: languageName: node linkType: hard -"micromark-util-chunked@npm:^1.0.0": - version: 1.0.0 - resolution: "micromark-util-chunked@npm:1.0.0" - dependencies: - micromark-util-symbol: "npm:^1.0.0" - checksum: 10/c1efd56e8c4217bcf1c6f1a9fb9912b4a2a5503b00d031da902be922fb3fee60409ac53f11739991291357b2784fb0647ddfc74c94753a068646c0cb0fd71421 - languageName: node - linkType: hard - "micromark-util-chunked@npm:^2.0.0": version: 2.0.0 resolution: "micromark-util-chunked@npm:2.0.0" @@ -14648,17 +14198,6 @@ __metadata: languageName: node linkType: hard -"micromark-util-classify-character@npm:^1.0.0": - version: 1.0.0 - resolution: "micromark-util-classify-character@npm:1.0.0" - dependencies: - micromark-util-character: "npm:^1.0.0" - micromark-util-symbol: "npm:^1.0.0" - micromark-util-types: "npm:^1.0.0" - checksum: 10/180446e6a1dec653f625ded028f244784e1db8d10ad05c5d70f08af9de393b4a03dc6cf6fa5ed8ccc9c24bbece7837abf3bf66681c0b4adf159364b7d5236dfd - languageName: node - linkType: hard - "micromark-util-classify-character@npm:^2.0.0": version: 2.0.0 resolution: "micromark-util-classify-character@npm:2.0.0" @@ -14670,16 +14209,6 @@ __metadata: languageName: node linkType: hard -"micromark-util-combine-extensions@npm:^1.0.0": - version: 1.0.0 - resolution: "micromark-util-combine-extensions@npm:1.0.0" - dependencies: - micromark-util-chunked: "npm:^1.0.0" - micromark-util-types: "npm:^1.0.0" - checksum: 10/5304a820ef75340e1be69d6ad167055b6ba9a3bafe8171e5945a935752f462415a9dd61eb3490220c055a8a11167209a45bfa73f278338b7d3d61fa1464d3f35 - languageName: node - linkType: hard - "micromark-util-combine-extensions@npm:^2.0.0": version: 2.0.0 resolution: "micromark-util-combine-extensions@npm:2.0.0" @@ -14690,15 +14219,6 @@ __metadata: languageName: node linkType: hard -"micromark-util-decode-numeric-character-reference@npm:^1.0.0": - version: 1.0.0 - resolution: "micromark-util-decode-numeric-character-reference@npm:1.0.0" - dependencies: - micromark-util-symbol: "npm:^1.0.0" - checksum: 10/f3ae2bb582a80f1e9d3face026f585c0c472335c064bd850bde152376f0394cb2831746749b6be6e0160f7d73626f67d10716026c04c87f402c0dd45a1a28633 - languageName: node - linkType: hard - "micromark-util-decode-numeric-character-reference@npm:^2.0.0": version: 2.0.1 resolution: "micromark-util-decode-numeric-character-reference@npm:2.0.1" @@ -14708,18 +14228,6 @@ __metadata: languageName: node linkType: hard -"micromark-util-decode-string@npm:^1.0.0": - version: 1.0.2 - resolution: "micromark-util-decode-string@npm:1.0.2" - dependencies: - decode-named-character-reference: "npm:^1.0.0" - micromark-util-character: "npm:^1.0.0" - micromark-util-decode-numeric-character-reference: "npm:^1.0.0" - micromark-util-symbol: "npm:^1.0.0" - checksum: 10/2dbb41c9691cc71505d39706405139fb7d6699429d577a524c7c248ac0cfd09d3dd212ad8e91c143a00b2896f26f81136edc67c5bda32d20446f0834d261b17a - languageName: node - linkType: hard - "micromark-util-decode-string@npm:^2.0.0": version: 2.0.0 resolution: "micromark-util-decode-string@npm:2.0.0" @@ -14732,13 +14240,6 @@ __metadata: languageName: node linkType: hard -"micromark-util-encode@npm:^1.0.0": - version: 1.0.1 - resolution: "micromark-util-encode@npm:1.0.1" - checksum: 10/9290583abfdc79ea3e7eb92c012c47a0e14327888f8aaa6f57ff79b3058d8e7743716b9d91abca3646f15ab3d78fdad9779fdb4ccf13349cd53309dfc845253a - languageName: node - linkType: hard - "micromark-util-encode@npm:^2.0.0": version: 2.0.0 resolution: "micromark-util-encode@npm:2.0.0" @@ -14746,21 +14247,6 @@ __metadata: languageName: node linkType: hard -"micromark-util-events-to-acorn@npm:^1.0.0": - version: 1.2.1 - resolution: "micromark-util-events-to-acorn@npm:1.2.1" - dependencies: - "@types/acorn": "npm:^4.0.0" - "@types/estree": "npm:^1.0.0" - estree-util-visit: "npm:^1.0.0" - micromark-util-types: "npm:^1.0.0" - uvu: "npm:^0.5.0" - vfile-location: "npm:^4.0.0" - vfile-message: "npm:^3.0.0" - checksum: 10/1e631514e055cca2cf8386df842a020a82a6b895bbc30ae5e936462bbd21ef039fe13d43f53420e5497931512cd03358054a42b86614c54109a27cbaa0aabb2d - languageName: node - linkType: hard - "micromark-util-events-to-acorn@npm:^2.0.0": version: 2.0.2 resolution: "micromark-util-events-to-acorn@npm:2.0.2" @@ -14777,13 +14263,6 @@ __metadata: languageName: node linkType: hard -"micromark-util-html-tag-name@npm:^1.0.0": - version: 1.1.0 - resolution: "micromark-util-html-tag-name@npm:1.1.0" - checksum: 10/a9b783cec89ec813648d59799464c1950fe281ae797b2a965f98ad0167d7fa1a247718eff023b4c015f47211a172f9446b8e6b98aad50e3cd44a3337317dad2c - languageName: node - linkType: hard - "micromark-util-html-tag-name@npm:^2.0.0": version: 2.0.0 resolution: "micromark-util-html-tag-name@npm:2.0.0" @@ -14791,15 +14270,6 @@ __metadata: languageName: node linkType: hard -"micromark-util-normalize-identifier@npm:^1.0.0": - version: 1.0.0 - resolution: "micromark-util-normalize-identifier@npm:1.0.0" - dependencies: - micromark-util-symbol: "npm:^1.0.0" - checksum: 10/d7c09d5e8318fb72f194af72664bd84a48a2928e3550b2b21c8fbc0ec22524f2a72e0f6663d2b95dc189a6957d3d7759b60716e888909710767cd557be821f8b - languageName: node - linkType: hard - "micromark-util-normalize-identifier@npm:^2.0.0": version: 2.0.0 resolution: "micromark-util-normalize-identifier@npm:2.0.0" @@ -14809,15 +14279,6 @@ __metadata: languageName: node linkType: hard -"micromark-util-resolve-all@npm:^1.0.0": - version: 1.0.0 - resolution: "micromark-util-resolve-all@npm:1.0.0" - dependencies: - micromark-util-types: "npm:^1.0.0" - checksum: 10/409667f2bd126ef8acce009270d2aecaaa5584c5807672bc657b09e50aa91bd2e552cf41e5be1e6469244a83349cbb71daf6059b746b1c44e3f35446fef63e50 - languageName: node - linkType: hard - "micromark-util-resolve-all@npm:^2.0.0": version: 2.0.0 resolution: "micromark-util-resolve-all@npm:2.0.0" @@ -14827,17 +14288,6 @@ __metadata: languageName: node linkType: hard -"micromark-util-sanitize-uri@npm:^1.0.0": - version: 1.1.0 - resolution: "micromark-util-sanitize-uri@npm:1.1.0" - dependencies: - micromark-util-character: "npm:^1.0.0" - micromark-util-encode: "npm:^1.0.0" - micromark-util-symbol: "npm:^1.0.0" - checksum: 10/1510dde1dfebbea5c6bea0c8b7239e0838588072440fc4b6f477ee90d568c5a07efed8d6a8bcfbdd2715fd5f13e980fa0accbc706b8fc7f8f165bc7f3cece7a9 - languageName: node - linkType: hard - "micromark-util-sanitize-uri@npm:^2.0.0": version: 2.0.0 resolution: "micromark-util-sanitize-uri@npm:2.0.0" @@ -14849,18 +14299,6 @@ __metadata: languageName: node linkType: hard -"micromark-util-subtokenize@npm:^1.0.0": - version: 1.0.2 - resolution: "micromark-util-subtokenize@npm:1.0.2" - dependencies: - micromark-util-chunked: "npm:^1.0.0" - micromark-util-symbol: "npm:^1.0.0" - micromark-util-types: "npm:^1.0.0" - uvu: "npm:^0.5.0" - checksum: 10/27549616d399be30907e2a06fe41f400d0a8f4b1ac2db2b169e515beeabbbd934b13fbb865d5ad23560c13472efe60e5bb584ce9f110aa3edce308687e5d0aff - languageName: node - linkType: hard - "micromark-util-subtokenize@npm:^2.0.0": version: 2.0.1 resolution: "micromark-util-subtokenize@npm:2.0.1" @@ -14873,13 +14311,6 @@ __metadata: languageName: node linkType: hard -"micromark-util-symbol@npm:^1.0.0": - version: 1.0.1 - resolution: "micromark-util-symbol@npm:1.0.1" - checksum: 10/c193bf4f657acdd2ae71e99a57f7bd4337ffa475eb8e339c2647036564ab611ff0571c1c20b67dab61ff1b44ded9cee838c300606a5d848924a14b9676456b58 - languageName: node - linkType: hard - "micromark-util-symbol@npm:^2.0.0": version: 2.0.0 resolution: "micromark-util-symbol@npm:2.0.0" @@ -14887,13 +14318,6 @@ __metadata: languageName: node linkType: hard -"micromark-util-types@npm:^1.0.0, micromark-util-types@npm:^1.0.1": - version: 1.0.2 - resolution: "micromark-util-types@npm:1.0.2" - checksum: 10/5d58a529795d18c40a8182cb05bee856b53164370c7fb22e5a6eb793fc99b51c32bcd4c58fdddb85f14d4a610df9b6d4d36d0370e573427a68daabf005645b8f - languageName: node - linkType: hard - "micromark-util-types@npm:^2.0.0": version: 2.0.0 resolution: "micromark-util-types@npm:2.0.0" @@ -14901,31 +14325,6 @@ __metadata: languageName: node linkType: hard -"micromark@npm:^3.0.0": - version: 3.1.0 - resolution: "micromark@npm:3.1.0" - dependencies: - "@types/debug": "npm:^4.0.0" - debug: "npm:^4.0.0" - decode-named-character-reference: "npm:^1.0.0" - micromark-core-commonmark: "npm:^1.0.1" - micromark-factory-space: "npm:^1.0.0" - micromark-util-character: "npm:^1.0.0" - micromark-util-chunked: "npm:^1.0.0" - micromark-util-combine-extensions: "npm:^1.0.0" - micromark-util-decode-numeric-character-reference: "npm:^1.0.0" - micromark-util-encode: "npm:^1.0.0" - micromark-util-normalize-identifier: "npm:^1.0.0" - micromark-util-resolve-all: "npm:^1.0.0" - micromark-util-sanitize-uri: "npm:^1.0.0" - micromark-util-subtokenize: "npm:^1.0.0" - micromark-util-symbol: "npm:^1.0.0" - micromark-util-types: "npm:^1.0.1" - uvu: "npm:^0.5.0" - checksum: 10/2eb02651b55bab8b728ea2ab722853b0cd7f90ca111a075db2c8531cde8a65afcb13d2fb414d9a74629fb5e9da64bdd9f728b808756c0cc997b4bf69e2a99e91 - languageName: node - linkType: hard - "micromark@npm:^4.0.0": version: 4.0.0 resolution: "micromark@npm:4.0.0" @@ -15178,13 +14577,6 @@ __metadata: languageName: node linkType: hard -"ms@npm:2.0.0": - version: 2.0.0 - resolution: "ms@npm:2.0.0" - checksum: 10/0e6a22b8b746d2e0b65a430519934fefd41b6db0682e3477c10f60c76e947c4c0ad06f63ffdf1d78d335f83edee8c0aa928aa66a36c7cd95b69b26f468d527f4 - languageName: node - linkType: hard - "ms@npm:2.1.2": version: 2.1.2 resolution: "ms@npm:2.1.2" @@ -15704,7 +15096,7 @@ __metadata: languageName: node linkType: hard -"object.values@npm:^1.1.0, object.values@npm:^1.1.5": +"object.values@npm:^1.1.0": version: 1.1.6 resolution: "object.values@npm:1.1.6" dependencies: @@ -17571,16 +16963,6 @@ __metadata: languageName: node linkType: hard -"remark-mdx@npm:^2.1.3": - version: 2.3.0 - resolution: "remark-mdx@npm:2.3.0" - dependencies: - mdast-util-mdx: "npm:^2.0.0" - micromark-extension-mdxjs: "npm:^1.0.0" - checksum: 10/811419d0ec041f671e916798dbb305c07152469f1fe7a7a1388d0a13040170caba6d5e6c1719e90f9da5de2b989f97f6562fc4f65a7379b3ba1f90ad3e521765 - languageName: node - linkType: hard - "remark-mdx@npm:^3.0.0": version: 3.1.0 resolution: "remark-mdx@npm:3.1.0" @@ -17591,17 +16973,6 @@ __metadata: languageName: node linkType: hard -"remark-parse@npm:^10.0.1": - version: 10.0.1 - resolution: "remark-parse@npm:10.0.1" - dependencies: - "@types/mdast": "npm:^3.0.0" - mdast-util-from-markdown: "npm:^1.0.0" - unified: "npm:^10.0.0" - checksum: 10/7c6e21dd1594d756897ff49f835670c581c5190f2324f7bbe131672420efbdf375d5898874a8863712a13c6ea3bebf42790f4b77caf1d296183b5faa39cff400 - languageName: node - linkType: hard - "remark-parse@npm:^11.0.0": version: 11.0.0 resolution: "remark-parse@npm:11.0.0" @@ -17614,17 +16985,6 @@ __metadata: languageName: node linkType: hard -"remark-stringify@npm:^10.0.2": - version: 10.0.2 - resolution: "remark-stringify@npm:10.0.2" - dependencies: - "@types/mdast": "npm:^3.0.0" - mdast-util-to-markdown: "npm:^1.0.0" - unified: "npm:^10.0.0" - checksum: 10/6037825f84a308b6054f06da2acb2566db5b3f0e831c8ce71414a075260afb2d300c5da7c3b7d1707959f9daaa4f8a8714f267209599cfa2cbf7a3e81fc3dd8b - languageName: node - linkType: hard - "remark-stringify@npm:^11.0.0": version: 11.0.0 resolution: "remark-stringify@npm:11.0.0" @@ -17741,7 +17101,7 @@ __metadata: languageName: node linkType: hard -"resolve@npm:^1.10.0, resolve@npm:^1.14.2, resolve@npm:^1.17.0, resolve@npm:^1.19.0, resolve@npm:^1.20.0, resolve@npm:^1.22.0, resolve@npm:^1.22.1, resolve@npm:^1.22.4, resolve@npm:^1.22.8": +"resolve@npm:^1.10.0, resolve@npm:^1.14.2, resolve@npm:^1.17.0, resolve@npm:^1.19.0, resolve@npm:^1.20.0, resolve@npm:^1.22.1, resolve@npm:^1.22.4, resolve@npm:^1.22.8": version: 1.22.8 resolution: "resolve@npm:1.22.8" dependencies: @@ -17767,7 +17127,7 @@ __metadata: languageName: node linkType: hard -"resolve@patch:resolve@npm%3A^1.10.0#optional!builtin, resolve@patch:resolve@npm%3A^1.14.2#optional!builtin, resolve@patch:resolve@npm%3A^1.17.0#optional!builtin, resolve@patch:resolve@npm%3A^1.19.0#optional!builtin, resolve@patch:resolve@npm%3A^1.20.0#optional!builtin, resolve@patch:resolve@npm%3A^1.22.0#optional!builtin, resolve@patch:resolve@npm%3A^1.22.1#optional!builtin, resolve@patch:resolve@npm%3A^1.22.4#optional!builtin, resolve@patch:resolve@npm%3A^1.22.8#optional!builtin": +"resolve@patch:resolve@npm%3A^1.10.0#optional!builtin, resolve@patch:resolve@npm%3A^1.14.2#optional!builtin, resolve@patch:resolve@npm%3A^1.17.0#optional!builtin, resolve@patch:resolve@npm%3A^1.19.0#optional!builtin, resolve@patch:resolve@npm%3A^1.20.0#optional!builtin, resolve@patch:resolve@npm%3A^1.22.1#optional!builtin, resolve@patch:resolve@npm%3A^1.22.4#optional!builtin, resolve@patch:resolve@npm%3A^1.22.8#optional!builtin": version: 1.22.8 resolution: "resolve@patch:resolve@npm%3A1.22.8#optional!builtin::version=1.22.8&hash=c3c19d" dependencies: @@ -19225,16 +18585,6 @@ __metadata: languageName: node linkType: hard -"synckit@npm:^0.8.4": - version: 0.8.8 - resolution: "synckit@npm:0.8.8" - dependencies: - "@pkgr/core": "npm:^0.1.0" - tslib: "npm:^2.6.2" - checksum: 10/2864a5c3e689ad5b991bebbd8a583c5682c4fa08a4f39986b510b6b5d160c08fc3672444069f8f96ed6a9d12772879c674c1f61e728573eadfa90af40a765b74 - languageName: node - linkType: hard - "synckit@npm:^0.9.0, synckit@npm:^0.9.1": version: 0.9.2 resolution: "synckit@npm:0.9.2" @@ -19690,18 +19040,6 @@ __metadata: languageName: node linkType: hard -"tsconfig-paths@npm:^3.14.1": - version: 3.14.1 - resolution: "tsconfig-paths@npm:3.14.1" - dependencies: - "@types/json5": "npm:^0.0.29" - json5: "npm:^1.0.1" - minimist: "npm:^1.2.6" - strip-bom: "npm:^3.0.0" - checksum: 10/51be8bd8f90e49d2f8b3f61f544557e631dd5cee35e247dd316be27d723c9e99de9ce59eb39395ca20f1e43aedfc1fef0272ba25acb0a0e0e9a38cffd692256d - languageName: node - linkType: hard - "tsconfig-paths@npm:^3.15.0": version: 3.15.0 resolution: "tsconfig-paths@npm:3.15.0" @@ -20149,21 +19487,6 @@ __metadata: languageName: node linkType: hard -"unified@npm:^10.0.0, unified@npm:^10.1.2": - version: 10.1.2 - resolution: "unified@npm:10.1.2" - dependencies: - "@types/unist": "npm:^2.0.0" - bail: "npm:^2.0.0" - extend: "npm:^3.0.0" - is-buffer: "npm:^2.0.0" - is-plain-obj: "npm:^4.0.0" - trough: "npm:^2.0.0" - vfile: "npm:^5.0.0" - checksum: 10/6cffebcefc3290be26d25a58ba714cda943142782baf320fddf374ca3a319bdaabb006f96df4be17b8b367f5e6f6e113b1027c52ef66154846a7a110550f6688 - languageName: node - linkType: hard - "unified@npm:^11.0.0, unified@npm:^11.0.4": version: 11.0.5 resolution: "unified@npm:11.0.5" @@ -20213,15 +19536,6 @@ __metadata: languageName: node linkType: hard -"unist-util-is@npm:^5.0.0": - version: 5.2.1 - resolution: "unist-util-is@npm:5.2.1" - dependencies: - "@types/unist": "npm:^2.0.0" - checksum: 10/c10f6c07aad4f4830ffa8ea82b42a2c8d5cd36c7555e27889e5fee953040af321e4e6f4e52c4edb606604de75d7230a5f4bc7b71b8ac3e874a26ab595c2057e4 - languageName: node - linkType: hard - "unist-util-is@npm:^6.0.0": version: 6.0.0 resolution: "unist-util-is@npm:6.0.0" @@ -20231,15 +19545,6 @@ __metadata: languageName: node linkType: hard -"unist-util-position-from-estree@npm:^1.0.0, unist-util-position-from-estree@npm:^1.1.0": - version: 1.1.2 - resolution: "unist-util-position-from-estree@npm:1.1.2" - dependencies: - "@types/unist": "npm:^2.0.0" - checksum: 10/e3f4060e2a9e894c6ed63489c5a7cb58ff282e5dae9497cbc2073033ca74d6e412af4d4d342c97aea08d997c908b8bce2fe43a2062aafc2bb3f266533016588b - languageName: node - linkType: hard - "unist-util-position-from-estree@npm:^2.0.0": version: 2.0.0 resolution: "unist-util-position-from-estree@npm:2.0.0" @@ -20249,16 +19554,6 @@ __metadata: languageName: node linkType: hard -"unist-util-remove-position@npm:^4.0.0": - version: 4.0.2 - resolution: "unist-util-remove-position@npm:4.0.2" - dependencies: - "@types/unist": "npm:^2.0.0" - unist-util-visit: "npm:^4.0.0" - checksum: 10/b809693035a110a597b8ce7dc64c49dd8b8e0f4cb57e51850b1677ac7f3b831620992ab921df1272f08135cb5f507c2c495c2f1e9531c51511102cce4119ff5d - languageName: node - linkType: hard - "unist-util-stringify-position@npm:^2.0.0": version: 2.0.3 resolution: "unist-util-stringify-position@npm:2.0.3" @@ -20268,15 +19563,6 @@ __metadata: languageName: node linkType: hard -"unist-util-stringify-position@npm:^3.0.0": - version: 3.0.3 - resolution: "unist-util-stringify-position@npm:3.0.3" - dependencies: - "@types/unist": "npm:^2.0.0" - checksum: 10/07913e4fd77fe57d95f8b2f771354f97a29082229c1ad14ceedce6bbc77b2d784ca8296563335471cdca97915e548204bd6f098ea5b808b822b4b54087662cfb - languageName: node - linkType: hard - "unist-util-stringify-position@npm:^4.0.0": version: 4.0.0 resolution: "unist-util-stringify-position@npm:4.0.0" @@ -20286,16 +19572,6 @@ __metadata: languageName: node linkType: hard -"unist-util-visit-parents@npm:^5.1.1": - version: 5.1.3 - resolution: "unist-util-visit-parents@npm:5.1.3" - dependencies: - "@types/unist": "npm:^2.0.0" - unist-util-is: "npm:^5.0.0" - checksum: 10/5381fc57a129d478d983b988d86b72a1266d6f91fc608562b00bfa76596128d6e4d1c2b26ced64d96e55eb5d27d620081b4ee9703979bab63e1210789e781372 - languageName: node - linkType: hard - "unist-util-visit-parents@npm:^6.0.0": version: 6.0.1 resolution: "unist-util-visit-parents@npm:6.0.1" @@ -20306,17 +19582,6 @@ __metadata: languageName: node linkType: hard -"unist-util-visit@npm:^4.0.0, unist-util-visit@npm:^4.1.1": - version: 4.1.2 - resolution: "unist-util-visit@npm:4.1.2" - dependencies: - "@types/unist": "npm:^2.0.0" - unist-util-is: "npm:^5.0.0" - unist-util-visit-parents: "npm:^5.1.1" - checksum: 10/e3b20c6b1f5ae1b7b40bbf9be49103a342d98fad98bdf958110c20d72e5923bd3f12966b6702459bc61ab832facb5af418a79af87cefa7a8a41b892369678b13 - languageName: node - linkType: hard - "unist-util-visit@npm:^5.0.0": version: 5.0.0 resolution: "unist-util-visit@npm:5.0.0" @@ -20530,7 +19795,7 @@ __metadata: languageName: node linkType: hard -"uvu@npm:^0.5.0, uvu@npm:^0.5.6": +"uvu@npm:^0.5.6": version: 0.5.6 resolution: "uvu@npm:0.5.6" dependencies: @@ -20602,26 +19867,6 @@ __metadata: languageName: node linkType: hard -"vfile-location@npm:^4.0.0": - version: 4.1.0 - resolution: "vfile-location@npm:4.1.0" - dependencies: - "@types/unist": "npm:^2.0.0" - vfile: "npm:^5.0.0" - checksum: 10/c894e8e5224170d1f85288f4a1d1ebcee0780823ea2b49d881648ab360ebf01b37ecb09b1c4439a75f9a51f31a9f9742cd045e987763e367c352a1ef7c50d446 - languageName: node - linkType: hard - -"vfile-message@npm:^3.0.0": - version: 3.1.4 - resolution: "vfile-message@npm:3.1.4" - dependencies: - "@types/unist": "npm:^2.0.0" - unist-util-stringify-position: "npm:^3.0.0" - checksum: 10/423ca87f4427a403e4688d7ec663a2e6add694eefac47c945746463377428c7553bc613058841f1da83e18b68af886d3dd11cb96d582b5cc3c98e11efb7e55e9 - languageName: node - linkType: hard - "vfile-message@npm:^4.0.0": version: 4.0.2 resolution: "vfile-message@npm:4.0.2" @@ -20668,18 +19913,6 @@ __metadata: languageName: node linkType: hard -"vfile@npm:^5.0.0, vfile@npm:^5.3.4": - version: 5.3.7 - resolution: "vfile@npm:5.3.7" - dependencies: - "@types/unist": "npm:^2.0.0" - is-buffer: "npm:^2.0.0" - unist-util-stringify-position: "npm:^3.0.0" - vfile-message: "npm:^3.0.0" - checksum: 10/d8f59b419d4c83b3ed24f500cf02393149b728f8803f88519c18fe0733f62544fa9ab0d8425a8bc7835181d848b9ce29c014168dc45af72f416074bbe475f643 - languageName: node - linkType: hard - "vfile@npm:^6.0.0": version: 6.0.2 resolution: "vfile@npm:6.0.2" From 4b35c940fe2e23b191271c0ef9e59d6ab48ec6ca Mon Sep 17 00:00:00 2001 From: Tasso Date: Tue, 5 Nov 2024 19:09:13 -0300 Subject: [PATCH 06/11] Tweak `import/order` --- eslint.config.mjs | 20 ++++++++++++++----- .../fuselage-hooks/src/usePosition/index.ts | 3 ++- .../useBoundingClientRectChanges.ts | 2 +- .../fuselage-toastbar/.storybook/preview.tsx | 1 + packages/fuselage/.storybook/preview.tsx | 1 + .../components/Accordion/Accordion.spec.tsx | 1 + .../Accordion/Accordion.stories.tsx | 1 + .../AnimatedVisibility.stories.tsx | 3 ++- .../AutoComplete/AutoComplete.spec.tsx | 1 + .../AutoComplete/AutoComplete.stories.tsx | 1 + .../src/components/Avatar/Avatar.spec.tsx | 1 + .../src/components/Avatar/Avatar.stories.tsx | 1 + .../src/components/Badge/Badge.spec.tsx | 1 + .../src/components/Badge/Badge.stories.tsx | 1 + .../src/components/Banner/Banner.spec.tsx | 1 + .../src/components/Banner/Banner.stories.js | 1 + .../fuselage/src/components/Box/Box.spec.tsx | 3 ++- packages/fuselage/src/components/Box/Box.tsx | 3 ++- .../src/components/Box/StylingBox.tsx | 3 ++- .../src/components/Box/layout.stories.tsx | 1 + .../src/components/Box/props.stories.tsx | 1 + .../src/components/Box/typography.stories.tsx | 1 + .../src/components/Box/useStylingProps.ts | 1 + .../src/components/Bubble/Bubble.spec.tsx | 1 + .../src/components/Button/ActionButton.tsx | 3 ++- .../src/components/Button/Button.spec.tsx | 1 + .../src/components/Button/Button.stories.tsx | 1 + .../components/Button/IconButton.stories.tsx | 1 + .../ButtonGroup/ButtonGroup.spec.tsx | 1 + .../ButtonGroup/ButtonGroup.stories.tsx | 1 + .../src/components/Callout/Callout.spec.tsx | 1 + .../src/components/Card/Card.spec.tsx | 1 + .../src/components/Card/Card.stories.tsx | 1 + .../src/components/CardGrid/CardGrid.spec.tsx | 1 + .../components/CardGrid/CardGrid.stories.tsx | 1 + .../components/CardGroup/CardGroup.spec.tsx | 1 + .../CardGroup/CardGroup.stories.tsx | 1 + .../src/components/CheckBox/CheckBox.spec.tsx | 1 + .../components/CheckBox/CheckBox.stories.tsx | 1 + .../src/components/Chevron/Chevron.spec.tsx | 1 + .../components/Chevron/Chevron.stories.tsx | 1 + .../src/components/Chip/Chip.spec.tsx | 1 + .../src/components/Chip/Chip.stories.tsx | 1 + .../fuselage/src/components/Chip/index.ts | 1 + .../CodeSnippet/CodeSnippet.spec.tsx | 1 + .../Contextualbar/Contextualbar.spec.tsx | 1 + .../Contextualbar/Contextualbar.stories.tsx | 1 + .../ContextualbarEmptyContent.tsx | 1 + .../Contextualbar/ContextualbarSkeleton.tsx | 1 + .../ContextualbarV2/Contextualbar.spec.tsx | 1 + .../ContextualbarV2/Contextualbar.stories.tsx | 11 +++++----- .../ContextualbarEmptyContent.tsx | 1 + .../ContextualbarV2/ContextualbarSkeleton.tsx | 3 ++- .../src/components/Divider/Divider.spec.tsx | 1 + .../components/Divider/Divider.stories.tsx | 1 + .../src/components/Dropdown/Dropdown.spec.tsx | 1 + .../components/Dropdown/Dropdown.stories.tsx | 1 + .../components/EmailInput/EmailInput.spec.tsx | 1 + .../EmailInput/EmailInput.stories.tsx | 1 + .../src/components/Field/Field.spec.tsx | 1 + .../src/components/Field/Field.stories.tsx | 1 + .../src/components/Field/FieldDescription.tsx | 1 + .../src/components/Field/FieldError.tsx | 1 + .../src/components/Field/FieldHint.tsx | 1 + .../src/components/Field/FieldLabel.tsx | 1 + .../src/components/Field/FieldLabelInfo.tsx | 1 + .../src/components/Field/FieldLink.tsx | 1 + .../src/components/Field/FieldRow.tsx | 1 + .../components/FieldGroup/FieldGroup.spec.tsx | 1 + .../FieldGroup/FieldGroup.stories.tsx | 1 + .../src/components/Flex/Flex.spec.tsx | 3 ++- .../src/components/Flex/Flex.stories.tsx | 3 ++- .../components/FramedIcon/FramedIcon.spec.tsx | 1 + .../src/components/Grid/Grid.spec.tsx | 3 ++- .../src/components/Grid/Grid.stories.tsx | 1 + .../fuselage/src/components/Grid/Grid.tsx | 1 + .../src/components/Icon/Icon.spec.tsx | 3 ++- .../src/components/Icon/Icon.stories.tsx | 1 + .../src/components/InputBox/InputBox.spec.tsx | 1 + .../components/InputBox/InputBox.stories.tsx | 1 + .../src/components/InputBox/InputBox.tsx | 1 + .../src/components/Label/Label.spec.tsx | 1 + .../src/components/Margins/Margins.spec.tsx | 3 ++- .../components/Margins/Margins.stories.tsx | 1 + .../src/components/Menu/Menu.spec.tsx | 1 + .../src/components/Menu/Menu.stories.tsx | 1 + .../src/components/Menu/V2/Menu.stories.tsx | 15 +++++++------- .../fuselage/src/components/Menu/V2/Menu.tsx | 1 + .../src/components/Menu/V2/MenuPopover.tsx | 2 +- .../src/components/Menu/V2/MenuSection.tsx | 1 + .../src/components/Message/Message.spec.tsx | 1 + .../MessageDivider/MessageDivider.spec.tsx | 3 ++- .../MessageDivider/MessageDivider.stories.tsx | 1 + .../MessageGenericPreview.stories.tsx | 1 + .../MessageGenericPreviewCoverImage.spec.tsx | 1 + .../MessageGenericPreviewImage.spec.tsx | 1 + .../MessageMetrics/MessageMetrics.spec.tsx | 1 + .../MessageMetrics/MessageMetrics.stories.tsx | 1 + .../MessageMetrics/MessageMetricsReply.tsx | 1 + .../MessageReactions.spec.tsx | 1 + .../MessageReactions.stories.tsx | 1 + .../MessageStatusIndicator.spec.tsx | 3 ++- .../MessageStatusIndicator.stories.tsx | 1 + .../MessageSystem/MessageSystem.spec.tsx | 1 + .../MessageSystem/MessageSystem.stories.tsx | 3 ++- .../MessageToolbar/MessageToolbar.spec.tsx | 1 + .../MessageToolbar/MessageToolbar.stories.tsx | 1 + .../Message/MessageToolbar/index.tsx | 1 + .../components/Message/Messages.stories.tsx | 3 ++- .../ThreadMessage/ThreadMessage.spec.tsx | 3 ++- .../ThreadMessage/ThreadMessage.stories.tsx | 3 ++- .../ThreadMessageOrigin.spec.tsx | 1 + .../Message/ThreadMessage/index.tsx | 1 + .../src/components/Message/helpers.tsx | 3 ++- .../src/components/Modal/Modal.spec.tsx | 1 + .../src/components/Modal/Modal.stories.tsx | 3 ++- .../MultiSelect/MultiSelect.spec.tsx | 1 + .../MultiSelect/MultiSelect.stories.tsx | 1 + .../components/MultiSelect/MultiSelect.tsx | 1 + .../MultiSelect/MultiSelectFiltered.tsx | 1 + .../src/components/NavBar/NavBar.spec.tsx | 1 + .../src/components/NavBar/NavBar.stories.tsx | 1 + .../NumberInput/NumberInput.spec.tsx | 1 + .../NumberInput/NumberInput.stories.tsx | 1 + .../src/components/Option/CheckOption.tsx | 1 + .../src/components/Option/Option.spec.tsx | 3 ++- .../src/components/Option/Option.stories.tsx | 1 + .../fuselage/src/components/Option/Option.tsx | 1 + .../src/components/Option/OptionIcon.tsx | 1 + .../src/components/Option/OptionSkeleton.tsx | 1 + .../src/components/Options/Options.spec.tsx | 1 + .../components/Options/Options.stories.tsx | 1 + .../src/components/Options/Options.tsx | 1 + .../fuselage/src/components/Options/index.ts | 1 + .../src/components/Options/useCursor.ts | 1 + .../OptionsPaginated.stories.tsx | 1 + .../PaginatedMultiSelectFiltered.tsx | 1 + .../PaginatedSelect/PaginatedSelect.tsx | 1 + .../PaginatedSelectFiltered.tsx | 1 + .../components/Pagination/Pagination.spec.tsx | 1 + .../PaletteStyleTag/PaletteStyleTag.spec.tsx | 1 + .../PaletteStyleTag.stories.tsx | 1 + .../PasswordInput/PasswordInput.spec.tsx | 1 + .../PasswordInput/PasswordInput.stories.tsx | 1 + .../src/components/Popover/Popover.spec.tsx | 1 + .../components/Popover/Popover.stories.tsx | 1 + .../components/Position/Position.stories.tsx | 1 + .../PositionAnimated.stories.tsx | 1 + .../ProgressBar/ProgressBar.spec.tsx | 1 + .../RadioButton/RadioButton.spec.tsx | 1 + .../RadioButton/RadioButton.stories.tsx | 1 + .../components/Scrollable/Scrollable.spec.tsx | 1 + .../Scrollable/Scrollable.stories.tsx | 1 + .../SearchInput/SearchInput.spec.tsx | 1 + .../SearchInput/SearchInput.stories.tsx | 1 + .../src/components/Select/Select.spec.tsx | 1 + .../src/components/Select/Select.stories.tsx | 1 + .../src/components/Select/SelectAria.tsx | 1 + .../src/components/Select/SelectFiltered.tsx | 3 ++- .../src/components/Select/SelectLegacy.tsx | 1 + .../SelectInput/SelectInput.spec.tsx | 1 + .../SelectInput/SelectInput.stories.tsx | 3 ++- .../src/components/Sidebar/Item.stories.tsx | 1 + .../fuselage/src/components/Sidebar/Item.tsx | 1 + .../src/components/Sidebar/Sidebar.spec.tsx | 1 + .../components/Sidebar/Sidebar.stories.tsx | 3 ++- .../components/Sidebar/TopBar/TopBar.spec.tsx | 1 + .../Sidebar/TopBar/TopBar.stories.tsx | 5 +++-- .../Sidebar/TopBar/TopBarSection.tsx | 1 + .../Sidebar/TopBar/TopBarToolBox.tsx | 1 + .../src/components/Sidebar/TopBar/index.ts | 1 + .../fuselage/src/components/Sidebar/index.tsx | 1 + .../src/components/SidebarV2/Sidebar.spec.tsx | 1 + .../components/SidebarV2/Sidebar.stories.tsx | 3 ++- .../SidebarV2/SidebarAccordionItem.tsx | 1 + .../src/components/SidebarV2/helpers.tsx | 3 ++- .../components/Sidepanel/Sidepanel.spec.tsx | 1 + .../Sidepanel/Sidepanel.stories.tsx | 17 ++++++++-------- .../src/components/Skeleton/Skeleton.spec.tsx | 1 + .../src/components/Slider/Slider.spec.tsx | 1 + .../src/components/Slider/Slider.stories.tsx | 1 + .../fuselage/src/components/Slider/Slider.tsx | 1 + .../src/components/States/States.spec.tsx | 1 + .../src/components/States/States.stories.tsx | 5 +++-- .../StatusBullet/StatusBullet.spec.tsx | 1 + .../StatusBullet/StatusBullet.stories.tsx | 1 + .../src/components/Table/Table.spec.tsx | 1 + .../src/components/Table/Table.stories.tsx | 1 + .../src/components/Table/TableBody.tsx | 1 + .../src/components/Table/TableCell.tsx | 1 + .../src/components/Table/TableFoot.tsx | 1 + .../src/components/Table/TableHead.tsx | 1 + .../src/components/Tabs/Tabs.spec.tsx | 1 + .../fuselage/src/components/Tabs/Tabs.tsx | 1 + .../fuselage/src/components/Tag/Tag.spec.tsx | 1 + .../src/components/Tag/Tag.stories.tsx | 1 + .../TelephoneInput/TelephoneInput.spec.tsx | 1 + .../TelephoneInput/TelephoneInput.stories.tsx | 1 + .../TextAreaInput/TextAreaInput.spec.tsx | 1 + .../TextAreaInput/TextAreaInput.stories.tsx | 1 + .../components/TextInput/TextInput.spec.tsx | 1 + .../TextInput/TextInput.stories.tsx | 1 + .../src/components/Throbber/Throbber.spec.tsx | 1 + .../components/Throbber/Throbber.stories.tsx | 1 + .../src/components/Tile/Tile.spec.tsx | 1 + .../src/components/ToastBar/ToastBar.spec.tsx | 1 + .../ToggleSwitch/ToggleSwitch.spec.tsx | 1 + .../ToggleSwitch/ToggleSwitch.stories.tsx | 1 + .../src/components/Tooltip/Tooltip.spec.tsx | 1 + .../components/Tooltip/Tooltip.stories.tsx | 1 + .../src/components/UrlInput/UrlInput.spec.tsx | 1 + .../components/UrlInput/UrlInput.stories.tsx | 1 + .../fuselage/src/helpers/composeClassNames.ts | 1 + .../src/hooks/useArrayLikeClassNameProp.ts | 1 + packages/layout/.storybook/preview.tsx | 1 + .../src/BackgroundLayer/BackgroundLayer.tsx | 1 + .../HorizontalWizardLayout.stories.tsx | 1 + .../VerticalWizardLayout.stories.tsx | 1 + .../TaggedRocketChatLogo.tsx | 1 + packages/onboarding-ui/.storybook/preview.tsx | 1 + .../SelfHostedRegistration.stories.tsx | 1 + .../CreateCloudWorkspaceForm.tsx | 1 + .../CreateCloudWorkspacePage.tsx | 1 + .../CreateFirstMemberPage.tsx | 1 + .../RequestTrialPage/RequestTrialPage.tsx | 1 + tools/build-icons/svg.mjs | 2 +- tools/tools-utils/files.mjs | 2 +- .../templates/section/header.mjs | 2 +- 228 files changed, 292 insertions(+), 60 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index f67c3081f6..84e5908135 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -1,11 +1,13 @@ // @ts-check -import tseslint from 'typescript-eslint'; -import globals from 'globals'; -import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended'; + import pluginImport from 'eslint-plugin-import'; +import * as mdx from 'eslint-plugin-mdx'; +import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended'; import pluginReact from 'eslint-plugin-react'; import pluginReactHooks from 'eslint-plugin-react-hooks'; -import * as mdx from 'eslint-plugin-mdx'; +import globals from 'globals'; +// eslint-disable-next-line import/no-unresolved +import tseslint from 'typescript-eslint'; export default tseslint.config( { @@ -379,8 +381,16 @@ export default tseslint.config( 'builtin', 'external', 'internal', - ['parent', 'sibling', 'index'], + 'parent', + ['sibling', 'index'], ], + 'named': false, + 'warnOnUnassignedImports': false, + 'alphabetize': { + order: 'asc', + orderImportKind: 'asc', + caseInsensitive: false, + }, }, ], 'import/newline-after-import': 'error', diff --git a/packages/fuselage-hooks/src/usePosition/index.ts b/packages/fuselage-hooks/src/usePosition/index.ts index 21c628632c..ab9ce71f16 100644 --- a/packages/fuselage-hooks/src/usePosition/index.ts +++ b/packages/fuselage-hooks/src/usePosition/index.ts @@ -1,9 +1,10 @@ -import { useEffect, useRef, useState } from 'react'; import type { RefObject, CSSProperties } from 'react'; +import { useEffect, useRef, useState } from 'react'; import { useDebouncedCallback } from '../useDebouncedCallback'; import { useEffectEvent } from '../useEffectEvent'; import { useSafely } from '../useSafely'; + import type { Placement } from './Placement'; import type { PlacementVariant } from './PlacementVariant'; import type { Position } from './Position'; diff --git a/packages/fuselage-hooks/src/usePosition/useBoundingClientRectChanges.ts b/packages/fuselage-hooks/src/usePosition/useBoundingClientRectChanges.ts index 792a2dbe45..3d20afc3e7 100644 --- a/packages/fuselage-hooks/src/usePosition/useBoundingClientRectChanges.ts +++ b/packages/fuselage-hooks/src/usePosition/useBoundingClientRectChanges.ts @@ -1,5 +1,5 @@ -import { useEffect } from 'react'; import type { RefObject } from 'react'; +import { useEffect } from 'react'; function getAncestors(element: Element): Element[] { const ancestors: Element[] = []; diff --git a/packages/fuselage-toastbar/.storybook/preview.tsx b/packages/fuselage-toastbar/.storybook/preview.tsx index 84e45f20bc..e4fe133177 100644 --- a/packages/fuselage-toastbar/.storybook/preview.tsx +++ b/packages/fuselage-toastbar/.storybook/preview.tsx @@ -7,6 +7,7 @@ import { useDarkMode } from 'storybook-dark-mode'; import manifest from '../package.json'; import ToastBarProvider from '../src/ToastBarProvider'; + import DocsContainer from './DocsContainer'; import logo from './logo.svg'; diff --git a/packages/fuselage/.storybook/preview.tsx b/packages/fuselage/.storybook/preview.tsx index 114da9cd54..38afe9d591 100644 --- a/packages/fuselage/.storybook/preview.tsx +++ b/packages/fuselage/.storybook/preview.tsx @@ -6,6 +6,7 @@ import { useDarkMode } from 'storybook-dark-mode'; import manifest from '../package.json'; import { PaletteStyleTag } from '../src'; + import DocsContainer from './DocsContainer'; import logo from './logo.svg'; diff --git a/packages/fuselage/src/components/Accordion/Accordion.spec.tsx b/packages/fuselage/src/components/Accordion/Accordion.spec.tsx index b4c752d282..29807ececc 100644 --- a/packages/fuselage/src/components/Accordion/Accordion.spec.tsx +++ b/packages/fuselage/src/components/Accordion/Accordion.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { axe } from 'jest-axe'; import { render } from '../../testing'; + import * as stories from './Accordion.stories'; const testCases = Object.values(composeStories(stories)).map((Story) => [ diff --git a/packages/fuselage/src/components/Accordion/Accordion.stories.tsx b/packages/fuselage/src/components/Accordion/Accordion.stories.tsx index 209f9fa92e..9d7dcf4ffc 100644 --- a/packages/fuselage/src/components/Accordion/Accordion.stories.tsx +++ b/packages/fuselage/src/components/Accordion/Accordion.stories.tsx @@ -2,6 +2,7 @@ import type { StoryFn, Meta } from '@storybook/react'; import type { ComponentType } from 'react'; import Box from '../Box'; + import Accordion from './Accordion'; import AccordionItem from './AccordionItem'; diff --git a/packages/fuselage/src/components/AnimatedVisibility/AnimatedVisibility.stories.tsx b/packages/fuselage/src/components/AnimatedVisibility/AnimatedVisibility.stories.tsx index 003d2d4e02..00efba409b 100644 --- a/packages/fuselage/src/components/AnimatedVisibility/AnimatedVisibility.stories.tsx +++ b/packages/fuselage/src/components/AnimatedVisibility/AnimatedVisibility.stories.tsx @@ -1,8 +1,9 @@ import type { StoryFn, Meta } from '@storybook/react'; -import AnimatedVisibility from '.'; import Tile from '../Tile'; +import AnimatedVisibility from '.'; + export default { title: 'Layout/AnimatedVisibility', component: AnimatedVisibility, diff --git a/packages/fuselage/src/components/AutoComplete/AutoComplete.spec.tsx b/packages/fuselage/src/components/AutoComplete/AutoComplete.spec.tsx index bb49147bd1..2a12cb690d 100644 --- a/packages/fuselage/src/components/AutoComplete/AutoComplete.spec.tsx +++ b/packages/fuselage/src/components/AutoComplete/AutoComplete.spec.tsx @@ -3,6 +3,7 @@ import { axe } from 'jest-axe'; import { withResizeObserverMock } from 'testing-utils/mocks/withResizeObserverMock'; import { render } from '../../testing'; + import * as stories from './AutoComplete.stories'; const testCases = Object.values(composeStories(stories)).map((Story) => [ diff --git a/packages/fuselage/src/components/AutoComplete/AutoComplete.stories.tsx b/packages/fuselage/src/components/AutoComplete/AutoComplete.stories.tsx index 955bf8befe..14ac9e07b4 100644 --- a/packages/fuselage/src/components/AutoComplete/AutoComplete.stories.tsx +++ b/packages/fuselage/src/components/AutoComplete/AutoComplete.stories.tsx @@ -6,6 +6,7 @@ import { Avatar } from '../Avatar'; import Box from '../Box'; import Chip from '../Chip'; import Option from '../Option'; + import { AutoComplete } from './AutoComplete'; export default { diff --git a/packages/fuselage/src/components/Avatar/Avatar.spec.tsx b/packages/fuselage/src/components/Avatar/Avatar.spec.tsx index 6de142ae81..eb99f820b3 100644 --- a/packages/fuselage/src/components/Avatar/Avatar.spec.tsx +++ b/packages/fuselage/src/components/Avatar/Avatar.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { axe } from 'jest-axe'; import { render } from '../../testing'; + import * as stories from './Avatar.stories'; const testCases = Object.values(composeStories(stories)).map((Story) => [ diff --git a/packages/fuselage/src/components/Avatar/Avatar.stories.tsx b/packages/fuselage/src/components/Avatar/Avatar.stories.tsx index 037f2d9c39..fafdf1b8e8 100644 --- a/packages/fuselage/src/components/Avatar/Avatar.stories.tsx +++ b/packages/fuselage/src/components/Avatar/Avatar.stories.tsx @@ -3,6 +3,7 @@ import type { ComponentType } from 'react'; import Box from '../Box'; import Margins from '../Margins'; + import { Avatar } from './Avatar'; import { AvatarContainer } from './AvatarContainer'; import { AvatarStack } from './AvatarStack'; diff --git a/packages/fuselage/src/components/Badge/Badge.spec.tsx b/packages/fuselage/src/components/Badge/Badge.spec.tsx index f0df5984d5..fa9d674da9 100644 --- a/packages/fuselage/src/components/Badge/Badge.spec.tsx +++ b/packages/fuselage/src/components/Badge/Badge.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { screen } from '@testing-library/react'; import { render } from '../../testing'; + import { Badge } from './Badge'; import * as stories from './Badge.stories'; diff --git a/packages/fuselage/src/components/Badge/Badge.stories.tsx b/packages/fuselage/src/components/Badge/Badge.stories.tsx index bd9d26a9f2..367701df67 100644 --- a/packages/fuselage/src/components/Badge/Badge.stories.tsx +++ b/packages/fuselage/src/components/Badge/Badge.stories.tsx @@ -1,6 +1,7 @@ import type { StoryFn, Meta } from '@storybook/react'; import Box from '../Box'; + import { Badge } from './Badge'; export default { diff --git a/packages/fuselage/src/components/Banner/Banner.spec.tsx b/packages/fuselage/src/components/Banner/Banner.spec.tsx index b09e053611..29db5a59cb 100644 --- a/packages/fuselage/src/components/Banner/Banner.spec.tsx +++ b/packages/fuselage/src/components/Banner/Banner.spec.tsx @@ -2,6 +2,7 @@ import { screen } from '@testing-library/react'; import { withResizeObserverMock } from 'testing-utils/mocks/withResizeObserverMock'; import { render } from '../../testing'; + import Banner from './Banner'; withResizeObserverMock(); diff --git a/packages/fuselage/src/components/Banner/Banner.stories.js b/packages/fuselage/src/components/Banner/Banner.stories.js index e2bda802d1..74e1065659 100644 --- a/packages/fuselage/src/components/Banner/Banner.stories.js +++ b/packages/fuselage/src/components/Banner/Banner.stories.js @@ -1,6 +1,7 @@ import { action } from '@storybook/addon-actions'; import { Icon } from '../Icon'; + import Banner from './Banner'; export default { diff --git a/packages/fuselage/src/components/Box/Box.spec.tsx b/packages/fuselage/src/components/Box/Box.spec.tsx index 9664b0b8ff..968efa6ace 100644 --- a/packages/fuselage/src/components/Box/Box.spec.tsx +++ b/packages/fuselage/src/components/Box/Box.spec.tsx @@ -1,8 +1,9 @@ import { css } from '@rocket.chat/css-in-js'; -import Box from '.'; import { render } from '../../testing'; +import Box from '.'; + describe('[Box Component]', () => { it('renders without crashing', () => { render(); diff --git a/packages/fuselage/src/components/Box/Box.tsx b/packages/fuselage/src/components/Box/Box.tsx index 71596ea547..d54d24fcbf 100644 --- a/packages/fuselage/src/components/Box/Box.tsx +++ b/packages/fuselage/src/components/Box/Box.tsx @@ -1,5 +1,4 @@ import type { cssFn } from '@rocket.chat/css-in-js'; -import { createElement, forwardRef, memo } from 'react'; import type { AllHTMLAttributes, ElementType, @@ -7,10 +6,12 @@ import type { SVGAttributes, Ref, } from 'react'; +import { createElement, forwardRef, memo } from 'react'; import { useArrayLikeClassNameProp } from '../../hooks/useArrayLikeClassNameProp'; import { useBoxOnlyProps } from '../../hooks/useBoxOnlyProps'; import type { Falsy } from '../../types/Falsy'; + import { useBoxTransform, BoxTransforms } from './BoxTransforms'; import type { StylingProps } from './stylingProps'; import { useStylingProps } from './useStylingProps'; diff --git a/packages/fuselage/src/components/Box/StylingBox.tsx b/packages/fuselage/src/components/Box/StylingBox.tsx index b18fd4bb4b..a11eacd46e 100644 --- a/packages/fuselage/src/components/Box/StylingBox.tsx +++ b/packages/fuselage/src/components/Box/StylingBox.tsx @@ -1,9 +1,10 @@ import type { cssFn } from '@rocket.chat/css-in-js'; -import { cloneElement } from 'react'; import type { ReactElement } from 'react'; +import { cloneElement } from 'react'; import { useArrayLikeClassNameProp } from '../../hooks/useArrayLikeClassNameProp'; import type { Falsy } from '../../types/Falsy'; + import type { StylingProps } from './stylingProps'; import { useStylingProps } from './useStylingProps'; diff --git a/packages/fuselage/src/components/Box/layout.stories.tsx b/packages/fuselage/src/components/Box/layout.stories.tsx index 92eebb6ab4..0d1b6ddafd 100644 --- a/packages/fuselage/src/components/Box/layout.stories.tsx +++ b/packages/fuselage/src/components/Box/layout.stories.tsx @@ -3,6 +3,7 @@ import { cloneElement } from 'react'; import flattenChildren from 'react-keyed-flatten-children'; import { Divider } from '../Divider'; + import Box from './Box'; export default { diff --git a/packages/fuselage/src/components/Box/props.stories.tsx b/packages/fuselage/src/components/Box/props.stories.tsx index 907c30bddd..ff30910c2e 100644 --- a/packages/fuselage/src/components/Box/props.stories.tsx +++ b/packages/fuselage/src/components/Box/props.stories.tsx @@ -1,6 +1,7 @@ import type { StoryFn, Meta } from '@storybook/react'; import Button from '../Button'; + import Box from './Box'; export default { diff --git a/packages/fuselage/src/components/Box/typography.stories.tsx b/packages/fuselage/src/components/Box/typography.stories.tsx index 1107703141..3de79bd948 100644 --- a/packages/fuselage/src/components/Box/typography.stories.tsx +++ b/packages/fuselage/src/components/Box/typography.stories.tsx @@ -1,6 +1,7 @@ import type { StoryFn, Meta } from '@storybook/react'; import { Divider } from '../Divider'; + import Box from './Box'; export default { diff --git a/packages/fuselage/src/components/Box/useStylingProps.ts b/packages/fuselage/src/components/Box/useStylingProps.ts index 36e99d4470..add620a199 100644 --- a/packages/fuselage/src/components/Box/useStylingProps.ts +++ b/packages/fuselage/src/components/Box/useStylingProps.ts @@ -1,5 +1,6 @@ import { appendClassName } from '../../helpers/appendClassName'; import { useStyle } from '../../hooks/useStyle'; + import type { StylingProps } from './stylingProps'; import { extractStylingProps } from './stylingProps'; diff --git a/packages/fuselage/src/components/Bubble/Bubble.spec.tsx b/packages/fuselage/src/components/Bubble/Bubble.spec.tsx index 215475c092..27d971e2a5 100644 --- a/packages/fuselage/src/components/Bubble/Bubble.spec.tsx +++ b/packages/fuselage/src/components/Bubble/Bubble.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { axe } from 'jest-axe'; import { render } from '../../testing'; + import * as stories from './Bubble.stories'; const testCases = Object.values(composeStories(stories)).map((Story) => [ diff --git a/packages/fuselage/src/components/Button/ActionButton.tsx b/packages/fuselage/src/components/Button/ActionButton.tsx index 5dd0753226..b0b22759fc 100644 --- a/packages/fuselage/src/components/Button/ActionButton.tsx +++ b/packages/fuselage/src/components/Button/ActionButton.tsx @@ -1,8 +1,9 @@ import type { ComponentProps, Ref } from 'react'; import { forwardRef } from 'react'; -import { Button } from '.'; import { Icon } from '../Icon'; + +import { Button } from '.'; import type { ButtonProps } from './Button'; type ButtonSize = { diff --git a/packages/fuselage/src/components/Button/Button.spec.tsx b/packages/fuselage/src/components/Button/Button.spec.tsx index f867c8b9d0..7ad7349152 100644 --- a/packages/fuselage/src/components/Button/Button.spec.tsx +++ b/packages/fuselage/src/components/Button/Button.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { axe } from 'jest-axe'; import { render } from '../../testing'; + import * as stories from './Button.stories'; import * as iconButtonStories from './IconButton.stories'; diff --git a/packages/fuselage/src/components/Button/Button.stories.tsx b/packages/fuselage/src/components/Button/Button.stories.tsx index 96b792bbe1..9d283a035e 100644 --- a/packages/fuselage/src/components/Button/Button.stories.tsx +++ b/packages/fuselage/src/components/Button/Button.stories.tsx @@ -6,6 +6,7 @@ import { useState } from 'react'; import { PropsVariationSection } from '../../../.storybook/helpers'; import { ButtonGroup } from '../ButtonGroup'; import Margins from '../Margins'; + import Button from './Button'; import { IconButton } from './IconButton'; diff --git a/packages/fuselage/src/components/Button/IconButton.stories.tsx b/packages/fuselage/src/components/Button/IconButton.stories.tsx index 6e45a519be..ad53b949e5 100644 --- a/packages/fuselage/src/components/Button/IconButton.stories.tsx +++ b/packages/fuselage/src/components/Button/IconButton.stories.tsx @@ -7,6 +7,7 @@ import { Badge } from '../Badge'; import Box from '../Box/Box'; import { ButtonGroup } from '../ButtonGroup'; import { avatarUrl } from '../Message/helpers'; + import { IconButton } from './IconButton'; export default { diff --git a/packages/fuselage/src/components/ButtonGroup/ButtonGroup.spec.tsx b/packages/fuselage/src/components/ButtonGroup/ButtonGroup.spec.tsx index 121c8eb0bc..cdfd00d461 100644 --- a/packages/fuselage/src/components/ButtonGroup/ButtonGroup.spec.tsx +++ b/packages/fuselage/src/components/ButtonGroup/ButtonGroup.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { axe } from 'jest-axe'; import { render } from '../../testing'; + import * as stories from './ButtonGroup.stories'; const { Default } = composeStories(stories); diff --git a/packages/fuselage/src/components/ButtonGroup/ButtonGroup.stories.tsx b/packages/fuselage/src/components/ButtonGroup/ButtonGroup.stories.tsx index 5de40fa020..bff422ed9b 100644 --- a/packages/fuselage/src/components/ButtonGroup/ButtonGroup.stories.tsx +++ b/packages/fuselage/src/components/ButtonGroup/ButtonGroup.stories.tsx @@ -1,6 +1,7 @@ import type { StoryFn, Meta } from '@storybook/react'; import Button from '../Button'; + import { ButtonGroup } from './ButtonGroup'; export default { diff --git a/packages/fuselage/src/components/Callout/Callout.spec.tsx b/packages/fuselage/src/components/Callout/Callout.spec.tsx index ed410d3abd..95bb46fea7 100644 --- a/packages/fuselage/src/components/Callout/Callout.spec.tsx +++ b/packages/fuselage/src/components/Callout/Callout.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { axe } from 'jest-axe'; import { render } from '../../testing'; + import * as stories from './Callout.stories'; const testCases = Object.values(composeStories(stories)).map((Story) => [ diff --git a/packages/fuselage/src/components/Card/Card.spec.tsx b/packages/fuselage/src/components/Card/Card.spec.tsx index a747e18c3d..e336c3b6cb 100644 --- a/packages/fuselage/src/components/Card/Card.spec.tsx +++ b/packages/fuselage/src/components/Card/Card.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { axe } from 'jest-axe'; import { render } from '../../testing'; + import * as stories from './Card.stories'; const testCases = Object.values(composeStories(stories)).map((Story) => [ diff --git a/packages/fuselage/src/components/Card/Card.stories.tsx b/packages/fuselage/src/components/Card/Card.stories.tsx index 5bce5b6c87..b4cdfca9e9 100644 --- a/packages/fuselage/src/components/Card/Card.stories.tsx +++ b/packages/fuselage/src/components/Card/Card.stories.tsx @@ -7,6 +7,7 @@ import Box from '../Box/Box'; import { Button, IconButton } from '../Button'; import { FramedIcon } from '../FramedIcon'; import { Tag } from '../Tag'; + import Card from './Card'; import CardBody from './CardBody'; import CardCol from './CardCol'; diff --git a/packages/fuselage/src/components/CardGrid/CardGrid.spec.tsx b/packages/fuselage/src/components/CardGrid/CardGrid.spec.tsx index f564f3dd66..58948dbc13 100644 --- a/packages/fuselage/src/components/CardGrid/CardGrid.spec.tsx +++ b/packages/fuselage/src/components/CardGrid/CardGrid.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { axe } from 'jest-axe'; import { render } from '../../testing'; + import * as stories from './CardGrid.stories'; const testCases = Object.values(composeStories(stories)).map((Story) => [ diff --git a/packages/fuselage/src/components/CardGrid/CardGrid.stories.tsx b/packages/fuselage/src/components/CardGrid/CardGrid.stories.tsx index 3b8db59764..2778e9dcf4 100644 --- a/packages/fuselage/src/components/CardGrid/CardGrid.stories.tsx +++ b/packages/fuselage/src/components/CardGrid/CardGrid.stories.tsx @@ -4,6 +4,7 @@ import type { ComponentProps } from 'react'; import { Button } from '../Button'; import { Card, CardBody, CardControls, CardHeader, CardTitle } from '../Card'; import { Icon } from '../Icon'; + import { CardGrid } from './CardGrid'; export default { diff --git a/packages/fuselage/src/components/CardGroup/CardGroup.spec.tsx b/packages/fuselage/src/components/CardGroup/CardGroup.spec.tsx index 54d67f33ce..8c2d61c449 100644 --- a/packages/fuselage/src/components/CardGroup/CardGroup.spec.tsx +++ b/packages/fuselage/src/components/CardGroup/CardGroup.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { axe } from 'jest-axe'; import { render } from '../../testing'; + import * as stories from './CardGroup.stories'; const testCases = Object.values(composeStories(stories)).map((Story) => [ diff --git a/packages/fuselage/src/components/CardGroup/CardGroup.stories.tsx b/packages/fuselage/src/components/CardGroup/CardGroup.stories.tsx index c9d6aef786..e7a346ac6f 100644 --- a/packages/fuselage/src/components/CardGroup/CardGroup.stories.tsx +++ b/packages/fuselage/src/components/CardGroup/CardGroup.stories.tsx @@ -14,6 +14,7 @@ import { } from '../Card'; import { Icon } from '../Icon'; import { Tag } from '../Tag'; + import { CardGroup } from './CardGroup'; export default { diff --git a/packages/fuselage/src/components/CheckBox/CheckBox.spec.tsx b/packages/fuselage/src/components/CheckBox/CheckBox.spec.tsx index 330909577f..9ee089a8e9 100644 --- a/packages/fuselage/src/components/CheckBox/CheckBox.spec.tsx +++ b/packages/fuselage/src/components/CheckBox/CheckBox.spec.tsx @@ -3,6 +3,7 @@ import { fireEvent, getByRole } from '@testing-library/react'; import { axe } from 'jest-axe'; import { render } from '../../testing'; + import * as stories from './CheckBox.stories'; const { Default, Indeterminate, Disabled, DefaultChecked } = diff --git a/packages/fuselage/src/components/CheckBox/CheckBox.stories.tsx b/packages/fuselage/src/components/CheckBox/CheckBox.stories.tsx index 7d829d07de..91435ded3d 100644 --- a/packages/fuselage/src/components/CheckBox/CheckBox.stories.tsx +++ b/packages/fuselage/src/components/CheckBox/CheckBox.stories.tsx @@ -5,6 +5,7 @@ import { DECORATOR_LABEL, PropsVariationSection, } from '../../../.storybook/helpers'; + import { CheckBox } from './CheckBox'; export default { diff --git a/packages/fuselage/src/components/Chevron/Chevron.spec.tsx b/packages/fuselage/src/components/Chevron/Chevron.spec.tsx index 6c8ec5b1ff..156ac84f62 100644 --- a/packages/fuselage/src/components/Chevron/Chevron.spec.tsx +++ b/packages/fuselage/src/components/Chevron/Chevron.spec.tsx @@ -1,6 +1,7 @@ import { composeStories } from '@storybook/react'; import { render } from '../../testing'; + import * as stories from './Chevron.stories'; const { Default } = composeStories(stories); diff --git a/packages/fuselage/src/components/Chevron/Chevron.stories.tsx b/packages/fuselage/src/components/Chevron/Chevron.stories.tsx index 4844c4d554..633cb932bb 100644 --- a/packages/fuselage/src/components/Chevron/Chevron.stories.tsx +++ b/packages/fuselage/src/components/Chevron/Chevron.stories.tsx @@ -1,6 +1,7 @@ import type { StoryFn, Meta } from '@storybook/react'; import Box from '../Box'; + import { Chevron } from './Chevron'; export default { diff --git a/packages/fuselage/src/components/Chip/Chip.spec.tsx b/packages/fuselage/src/components/Chip/Chip.spec.tsx index 52705a7f70..2be609894b 100644 --- a/packages/fuselage/src/components/Chip/Chip.spec.tsx +++ b/packages/fuselage/src/components/Chip/Chip.spec.tsx @@ -1,6 +1,7 @@ import { composeStories } from '@storybook/react'; import { render } from '../../testing'; + import * as stories from './Chip.stories'; const { Default } = composeStories(stories); diff --git a/packages/fuselage/src/components/Chip/Chip.stories.tsx b/packages/fuselage/src/components/Chip/Chip.stories.tsx index 5039ca0ec9..8bd1bb22fd 100644 --- a/packages/fuselage/src/components/Chip/Chip.stories.tsx +++ b/packages/fuselage/src/components/Chip/Chip.stories.tsx @@ -4,6 +4,7 @@ import type { StoryFn, Meta } from '@storybook/react'; import { exampleAvatar, blankAvatar } from '../../../.storybook/helpers'; import Box from '../Box'; import Margins from '../Margins'; + import { Chip } from './Chip'; export default { diff --git a/packages/fuselage/src/components/Chip/index.ts b/packages/fuselage/src/components/Chip/index.ts index 988100e084..2942eccfca 100644 --- a/packages/fuselage/src/components/Chip/index.ts +++ b/packages/fuselage/src/components/Chip/index.ts @@ -1,4 +1,5 @@ import { withBoxStyling } from '../Box/withBoxStyling'; + import { Chip } from './Chip'; export default withBoxStyling(Chip); diff --git a/packages/fuselage/src/components/CodeSnippet/CodeSnippet.spec.tsx b/packages/fuselage/src/components/CodeSnippet/CodeSnippet.spec.tsx index 3b6e27db48..6154b8caa9 100644 --- a/packages/fuselage/src/components/CodeSnippet/CodeSnippet.spec.tsx +++ b/packages/fuselage/src/components/CodeSnippet/CodeSnippet.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { screen } from '@testing-library/react'; import { render } from '../../testing'; + import * as stories from './CodeSnippet.stories'; const { Default, CopyButton, CustomButtonName, LoadingCode, DisabledButton } = diff --git a/packages/fuselage/src/components/Contextualbar/Contextualbar.spec.tsx b/packages/fuselage/src/components/Contextualbar/Contextualbar.spec.tsx index 2b58085526..87e5bae2c3 100644 --- a/packages/fuselage/src/components/Contextualbar/Contextualbar.spec.tsx +++ b/packages/fuselage/src/components/Contextualbar/Contextualbar.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { axe, toHaveNoViolations } from 'jest-axe'; import { render } from '../../testing'; + import * as stories from './Contextualbar.stories'; expect.extend(toHaveNoViolations); diff --git a/packages/fuselage/src/components/Contextualbar/Contextualbar.stories.tsx b/packages/fuselage/src/components/Contextualbar/Contextualbar.stories.tsx index e83324ad21..fd5cb18542 100644 --- a/packages/fuselage/src/components/Contextualbar/Contextualbar.stories.tsx +++ b/packages/fuselage/src/components/Contextualbar/Contextualbar.stories.tsx @@ -7,6 +7,7 @@ import Button, { IconButton } from '../Button'; import { ButtonGroup } from '../ButtonGroup'; import { Icon } from '../Icon'; import InputBox from '../InputBox'; + import Contextualbar from './Contextualbar'; import ContextualbarAction from './ContextualbarAction'; import ContextualbarActions from './ContextualbarActions'; diff --git a/packages/fuselage/src/components/Contextualbar/ContextualbarEmptyContent.tsx b/packages/fuselage/src/components/Contextualbar/ContextualbarEmptyContent.tsx index d2b2d57787..0dddd8a5d8 100644 --- a/packages/fuselage/src/components/Contextualbar/ContextualbarEmptyContent.tsx +++ b/packages/fuselage/src/components/Contextualbar/ContextualbarEmptyContent.tsx @@ -3,6 +3,7 @@ import { forwardRef, memo } from 'react'; import type { Box } from '..'; import { StatesIcon, States, StatesTitle, StatesSubtitle } from '..'; + import ContextualbarContent from './ContextualbarContent'; type ContextualbarEmptyContentProps = ComponentProps & { diff --git a/packages/fuselage/src/components/Contextualbar/ContextualbarSkeleton.tsx b/packages/fuselage/src/components/Contextualbar/ContextualbarSkeleton.tsx index 8c6ea0c1f3..85034d58e4 100644 --- a/packages/fuselage/src/components/Contextualbar/ContextualbarSkeleton.tsx +++ b/packages/fuselage/src/components/Contextualbar/ContextualbarSkeleton.tsx @@ -3,6 +3,7 @@ import { memo } from 'react'; import Box from '../Box'; import { Skeleton } from '../Skeleton'; + import Contextualbar from './Contextualbar'; import ContextualbarHeader from './ContextualbarHeader'; diff --git a/packages/fuselage/src/components/ContextualbarV2/Contextualbar.spec.tsx b/packages/fuselage/src/components/ContextualbarV2/Contextualbar.spec.tsx index 2b58085526..87e5bae2c3 100644 --- a/packages/fuselage/src/components/ContextualbarV2/Contextualbar.spec.tsx +++ b/packages/fuselage/src/components/ContextualbarV2/Contextualbar.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { axe, toHaveNoViolations } from 'jest-axe'; import { render } from '../../testing'; + import * as stories from './Contextualbar.stories'; expect.extend(toHaveNoViolations); diff --git a/packages/fuselage/src/components/ContextualbarV2/Contextualbar.stories.tsx b/packages/fuselage/src/components/ContextualbarV2/Contextualbar.stories.tsx index 6ab61a7973..c8795cc66d 100644 --- a/packages/fuselage/src/components/ContextualbarV2/Contextualbar.stories.tsx +++ b/packages/fuselage/src/components/ContextualbarV2/Contextualbar.stories.tsx @@ -2,6 +2,12 @@ import { action } from '@storybook/addon-actions'; import type { StoryFn, Meta } from '@storybook/react'; import type { ComponentType } from 'react'; +import Box from '../Box'; +import Button, { IconButton } from '../Button'; +import { ButtonGroup } from '../ButtonGroup'; +import { Icon } from '../Icon'; +import InputBox from '../InputBox'; + import { ContextualbarV2, ContextualbarV2Action, @@ -15,11 +21,6 @@ import { ContextualbarV2Skeleton, ContextualbarV2Title, } from '.'; -import Box from '../Box'; -import Button, { IconButton } from '../Button'; -import { ButtonGroup } from '../ButtonGroup'; -import { Icon } from '../Icon'; -import InputBox from '../InputBox'; export default { title: 'Containers/ContextualbarV2', diff --git a/packages/fuselage/src/components/ContextualbarV2/ContextualbarEmptyContent.tsx b/packages/fuselage/src/components/ContextualbarV2/ContextualbarEmptyContent.tsx index d2b2d57787..0dddd8a5d8 100644 --- a/packages/fuselage/src/components/ContextualbarV2/ContextualbarEmptyContent.tsx +++ b/packages/fuselage/src/components/ContextualbarV2/ContextualbarEmptyContent.tsx @@ -3,6 +3,7 @@ import { forwardRef, memo } from 'react'; import type { Box } from '..'; import { StatesIcon, States, StatesTitle, StatesSubtitle } from '..'; + import ContextualbarContent from './ContextualbarContent'; type ContextualbarEmptyContentProps = ComponentProps & { diff --git a/packages/fuselage/src/components/ContextualbarV2/ContextualbarSkeleton.tsx b/packages/fuselage/src/components/ContextualbarV2/ContextualbarSkeleton.tsx index cd51a77f21..5721698157 100644 --- a/packages/fuselage/src/components/ContextualbarV2/ContextualbarSkeleton.tsx +++ b/packages/fuselage/src/components/ContextualbarV2/ContextualbarSkeleton.tsx @@ -1,11 +1,12 @@ import type { ReactElement, ComponentProps } from 'react'; import { memo } from 'react'; +import { Box, Skeleton } from '..'; + import { ContextualbarV2 as Contextualbar, ContextualbarV2Header as ContextualbarHeader, } from '.'; -import { Box, Skeleton } from '..'; const ContextualbarSkeleton = ( props: ComponentProps, diff --git a/packages/fuselage/src/components/Divider/Divider.spec.tsx b/packages/fuselage/src/components/Divider/Divider.spec.tsx index 409b83ac0f..6210e866cb 100644 --- a/packages/fuselage/src/components/Divider/Divider.spec.tsx +++ b/packages/fuselage/src/components/Divider/Divider.spec.tsx @@ -1,6 +1,7 @@ import { composeStories } from '@storybook/react'; import { render } from '../../testing'; + import * as stories from './Divider.stories'; const { Default } = composeStories(stories); diff --git a/packages/fuselage/src/components/Divider/Divider.stories.tsx b/packages/fuselage/src/components/Divider/Divider.stories.tsx index 7c3a72e861..ad31d753e2 100644 --- a/packages/fuselage/src/components/Divider/Divider.stories.tsx +++ b/packages/fuselage/src/components/Divider/Divider.stories.tsx @@ -2,6 +2,7 @@ import type { StoryFn, Meta } from '@storybook/react'; import { IconButton } from '../Button'; import { ButtonGroup } from '../ButtonGroup'; + import { Divider } from './Divider'; export default { diff --git a/packages/fuselage/src/components/Dropdown/Dropdown.spec.tsx b/packages/fuselage/src/components/Dropdown/Dropdown.spec.tsx index c9379b2152..317fd5b122 100644 --- a/packages/fuselage/src/components/Dropdown/Dropdown.spec.tsx +++ b/packages/fuselage/src/components/Dropdown/Dropdown.spec.tsx @@ -3,6 +3,7 @@ import { screen } from '@testing-library/react'; import userEvent from '@testing-library/user-event'; import { render } from '../../testing'; + import * as stories from './Dropdown.stories'; const { Default } = composeStories(stories); diff --git a/packages/fuselage/src/components/Dropdown/Dropdown.stories.tsx b/packages/fuselage/src/components/Dropdown/Dropdown.stories.tsx index 70c1f4ccae..f84785d1c1 100644 --- a/packages/fuselage/src/components/Dropdown/Dropdown.stories.tsx +++ b/packages/fuselage/src/components/Dropdown/Dropdown.stories.tsx @@ -4,6 +4,7 @@ import { useRef } from 'react'; import Box from '../Box'; import { IconButton } from '../Button'; import Option from '../Option'; + import { Dropdown } from './Dropdown'; export default { diff --git a/packages/fuselage/src/components/EmailInput/EmailInput.spec.tsx b/packages/fuselage/src/components/EmailInput/EmailInput.spec.tsx index 71a8fefd33..3d8995148f 100644 --- a/packages/fuselage/src/components/EmailInput/EmailInput.spec.tsx +++ b/packages/fuselage/src/components/EmailInput/EmailInput.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { axe } from 'jest-axe'; import { render } from '../../testing'; + import * as stories from './EmailInput.stories'; const { Default } = composeStories(stories); diff --git a/packages/fuselage/src/components/EmailInput/EmailInput.stories.tsx b/packages/fuselage/src/components/EmailInput/EmailInput.stories.tsx index 33cd126a0a..ac795380d2 100644 --- a/packages/fuselage/src/components/EmailInput/EmailInput.stories.tsx +++ b/packages/fuselage/src/components/EmailInput/EmailInput.stories.tsx @@ -2,6 +2,7 @@ import type { StoryFn, Meta } from '@storybook/react'; import { PropsVariationSection } from '../../../.storybook/helpers'; import { Icon } from '../Icon'; + import { EmailInput } from './EmailInput'; export default { diff --git a/packages/fuselage/src/components/Field/Field.spec.tsx b/packages/fuselage/src/components/Field/Field.spec.tsx index 877bc1b5b5..6f61143263 100644 --- a/packages/fuselage/src/components/Field/Field.spec.tsx +++ b/packages/fuselage/src/components/Field/Field.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { axe } from 'jest-axe'; import { render } from '../../testing'; + import * as stories from './Field.stories'; const testCases = Object.values(composeStories(stories)).map((Story) => [ diff --git a/packages/fuselage/src/components/Field/Field.stories.tsx b/packages/fuselage/src/components/Field/Field.stories.tsx index e1687dd12c..b0cb86a076 100644 --- a/packages/fuselage/src/components/Field/Field.stories.tsx +++ b/packages/fuselage/src/components/Field/Field.stories.tsx @@ -5,6 +5,7 @@ import { RadioButton } from '../RadioButton'; import { TextAreaInput } from '../TextAreaInput'; import { TextInput } from '../TextInput'; import { ToggleSwitch } from '../ToggleSwitch'; + import { Field } from './Field'; import { FieldDescription } from './FieldDescription'; import { FieldError } from './FieldError'; diff --git a/packages/fuselage/src/components/Field/FieldDescription.tsx b/packages/fuselage/src/components/Field/FieldDescription.tsx index 16fd193b25..94b4ed56d9 100644 --- a/packages/fuselage/src/components/Field/FieldDescription.tsx +++ b/packages/fuselage/src/components/Field/FieldDescription.tsx @@ -2,6 +2,7 @@ import type { ComponentPropsWithoutRef } from 'react'; import WithErrorWrapper from '../../helpers/WithErrorWrapper'; import Box from '../Box'; + import { FieldContext } from './Field'; type FieldDescriptionProps = ComponentPropsWithoutRef; diff --git a/packages/fuselage/src/components/Field/FieldError.tsx b/packages/fuselage/src/components/Field/FieldError.tsx index 6a5fc1f25a..c616bdc9b8 100644 --- a/packages/fuselage/src/components/Field/FieldError.tsx +++ b/packages/fuselage/src/components/Field/FieldError.tsx @@ -2,6 +2,7 @@ import type { ComponentPropsWithoutRef } from 'react'; import WithErrorWrapper from '../../helpers/WithErrorWrapper'; import Box from '../Box'; + import { FieldContext } from './Field'; type FieldErrorProps = ComponentPropsWithoutRef; diff --git a/packages/fuselage/src/components/Field/FieldHint.tsx b/packages/fuselage/src/components/Field/FieldHint.tsx index b686d7d517..756b975c82 100644 --- a/packages/fuselage/src/components/Field/FieldHint.tsx +++ b/packages/fuselage/src/components/Field/FieldHint.tsx @@ -2,6 +2,7 @@ import type { ComponentPropsWithoutRef } from 'react'; import WithErrorWrapper from '../../helpers/WithErrorWrapper'; import Box from '../Box'; + import { FieldContext } from './Field'; type FieldHintProps = ComponentPropsWithoutRef; diff --git a/packages/fuselage/src/components/Field/FieldLabel.tsx b/packages/fuselage/src/components/Field/FieldLabel.tsx index 27abb9b55f..b88a618247 100644 --- a/packages/fuselage/src/components/Field/FieldLabel.tsx +++ b/packages/fuselage/src/components/Field/FieldLabel.tsx @@ -3,6 +3,7 @@ import type { ComponentPropsWithoutRef } from 'react'; import WithErrorWrapper from '../../helpers/WithErrorWrapper'; import Box from '../Box'; import { Label } from '../Label'; + import { FieldContext } from './Field'; type FieldLabelProps = ComponentPropsWithoutRef; diff --git a/packages/fuselage/src/components/Field/FieldLabelInfo.tsx b/packages/fuselage/src/components/Field/FieldLabelInfo.tsx index 811792593f..59f6e21448 100644 --- a/packages/fuselage/src/components/Field/FieldLabelInfo.tsx +++ b/packages/fuselage/src/components/Field/FieldLabelInfo.tsx @@ -2,6 +2,7 @@ import type { ComponentProps } from 'react'; import WithErrorWrapper from '../../helpers/WithErrorWrapper'; import { LabelInfo } from '../Label/LabelInfo'; + import { FieldContext } from './Field'; type FieldLabelInfoProps = ComponentProps; diff --git a/packages/fuselage/src/components/Field/FieldLink.tsx b/packages/fuselage/src/components/Field/FieldLink.tsx index ee0d3e7a6f..35ecf7a0e7 100644 --- a/packages/fuselage/src/components/Field/FieldLink.tsx +++ b/packages/fuselage/src/components/Field/FieldLink.tsx @@ -2,6 +2,7 @@ import type { ComponentPropsWithoutRef } from 'react'; import WithErrorWrapper from '../../helpers/WithErrorWrapper'; import Box from '../Box'; + import { FieldContext } from './Field'; type FieldLinkProps = ComponentPropsWithoutRef; diff --git a/packages/fuselage/src/components/Field/FieldRow.tsx b/packages/fuselage/src/components/Field/FieldRow.tsx index 2dc8694cde..b20ea6a752 100644 --- a/packages/fuselage/src/components/Field/FieldRow.tsx +++ b/packages/fuselage/src/components/Field/FieldRow.tsx @@ -2,6 +2,7 @@ import type { ComponentPropsWithoutRef } from 'react'; import WithErrorWrapper from '../../helpers/WithErrorWrapper'; import Box from '../Box'; + import { FieldContext } from './Field'; type FieldRowProps = ComponentPropsWithoutRef; diff --git a/packages/fuselage/src/components/FieldGroup/FieldGroup.spec.tsx b/packages/fuselage/src/components/FieldGroup/FieldGroup.spec.tsx index e7b8a7ad4c..5d92bbb082 100644 --- a/packages/fuselage/src/components/FieldGroup/FieldGroup.spec.tsx +++ b/packages/fuselage/src/components/FieldGroup/FieldGroup.spec.tsx @@ -1,6 +1,7 @@ import { composeStories } from '@storybook/react'; import { render } from '../../testing'; + import * as stories from './FieldGroup.stories'; const { Default } = composeStories(stories); diff --git a/packages/fuselage/src/components/FieldGroup/FieldGroup.stories.tsx b/packages/fuselage/src/components/FieldGroup/FieldGroup.stories.tsx index c10e93c903..9879110b87 100644 --- a/packages/fuselage/src/components/FieldGroup/FieldGroup.stories.tsx +++ b/packages/fuselage/src/components/FieldGroup/FieldGroup.stories.tsx @@ -2,6 +2,7 @@ import type { StoryFn, Meta } from '@storybook/react'; import Field, { FieldHint, FieldLabel, FieldRow } from '../Field'; import InputBox from '../InputBox'; + import { FieldGroup } from './FieldGroup'; export default { diff --git a/packages/fuselage/src/components/Flex/Flex.spec.tsx b/packages/fuselage/src/components/Flex/Flex.spec.tsx index 39cc9c2180..812a3e0eec 100644 --- a/packages/fuselage/src/components/Flex/Flex.spec.tsx +++ b/packages/fuselage/src/components/Flex/Flex.spec.tsx @@ -1,6 +1,7 @@ -import Flex from '.'; import { render } from '../../testing'; +import Flex from '.'; + describe('[Flex Component]', () => { it('renders Flex.Container without crashing', () => { render(); diff --git a/packages/fuselage/src/components/Flex/Flex.stories.tsx b/packages/fuselage/src/components/Flex/Flex.stories.tsx index 4a498fa08a..adcf6659ed 100644 --- a/packages/fuselage/src/components/Flex/Flex.stories.tsx +++ b/packages/fuselage/src/components/Flex/Flex.stories.tsx @@ -1,8 +1,9 @@ import type { Meta } from '@storybook/react'; -import Flex from '.'; import Tile from '../Tile'; +import Flex from '.'; + export default { title: 'Layout/Flex', subcomponents: { 'Flex.Container': Flex.Container, 'Flex.Item': Flex.Item }, diff --git a/packages/fuselage/src/components/FramedIcon/FramedIcon.spec.tsx b/packages/fuselage/src/components/FramedIcon/FramedIcon.spec.tsx index 804bea84ea..f0d7758d1e 100644 --- a/packages/fuselage/src/components/FramedIcon/FramedIcon.spec.tsx +++ b/packages/fuselage/src/components/FramedIcon/FramedIcon.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { axe } from 'jest-axe'; import { render } from '../../testing'; + import * as stories from './FramedIcon.stories'; const testCases = Object.values(composeStories(stories)).map((Story) => [ diff --git a/packages/fuselage/src/components/Grid/Grid.spec.tsx b/packages/fuselage/src/components/Grid/Grid.spec.tsx index 54ebd882f7..c70b956c31 100644 --- a/packages/fuselage/src/components/Grid/Grid.spec.tsx +++ b/packages/fuselage/src/components/Grid/Grid.spec.tsx @@ -1,6 +1,7 @@ -import { Grid } from '.'; import { render } from '../../testing'; +import { Grid } from '.'; + describe('[Grid Component]', () => { it('renders Grid without crashing', () => { render(); diff --git a/packages/fuselage/src/components/Grid/Grid.stories.tsx b/packages/fuselage/src/components/Grid/Grid.stories.tsx index 200f58566a..11482fd245 100644 --- a/packages/fuselage/src/components/Grid/Grid.stories.tsx +++ b/packages/fuselage/src/components/Grid/Grid.stories.tsx @@ -3,6 +3,7 @@ import { Fragment } from 'react'; import { Table, TableBody, TableCell, TableHead, TableRow } from '../Table'; import Tile from '../Tile'; + import { Grid } from './Grid'; export default { diff --git a/packages/fuselage/src/components/Grid/Grid.tsx b/packages/fuselage/src/components/Grid/Grid.tsx index 48f6464a5e..47bc185373 100644 --- a/packages/fuselage/src/components/Grid/Grid.tsx +++ b/packages/fuselage/src/components/Grid/Grid.tsx @@ -1,6 +1,7 @@ import type { ComponentProps } from 'react'; import Box from '../Box'; + import { GridItem } from './GridItem'; type GridProps = ComponentProps & { diff --git a/packages/fuselage/src/components/Icon/Icon.spec.tsx b/packages/fuselage/src/components/Icon/Icon.spec.tsx index e45babbf55..f69ea57099 100644 --- a/packages/fuselage/src/components/Icon/Icon.spec.tsx +++ b/packages/fuselage/src/components/Icon/Icon.spec.tsx @@ -1,6 +1,7 @@ -import { Icon } from '.'; import { render } from '../../testing'; +import { Icon } from '.'; + describe('[Icon Component]', () => { it('renders without crashing', () => { render(); diff --git a/packages/fuselage/src/components/Icon/Icon.stories.tsx b/packages/fuselage/src/components/Icon/Icon.stories.tsx index f61b56a7bd..8a8d417656 100644 --- a/packages/fuselage/src/components/Icon/Icon.stories.tsx +++ b/packages/fuselage/src/components/Icon/Icon.stories.tsx @@ -6,6 +6,7 @@ import { useState } from 'react'; import Box from '../Box'; import { Divider } from '../Divider'; import InputBox from '../InputBox'; + import { Icon } from './Icon'; export default { diff --git a/packages/fuselage/src/components/InputBox/InputBox.spec.tsx b/packages/fuselage/src/components/InputBox/InputBox.spec.tsx index 5414266674..782e28ea35 100644 --- a/packages/fuselage/src/components/InputBox/InputBox.spec.tsx +++ b/packages/fuselage/src/components/InputBox/InputBox.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { axe } from 'jest-axe'; import { render } from '../../testing'; + import * as stories from './InputBox.stories'; const { Default } = composeStories(stories); diff --git a/packages/fuselage/src/components/InputBox/InputBox.stories.tsx b/packages/fuselage/src/components/InputBox/InputBox.stories.tsx index 7f9eaa7837..95b023436e 100644 --- a/packages/fuselage/src/components/InputBox/InputBox.stories.tsx +++ b/packages/fuselage/src/components/InputBox/InputBox.stories.tsx @@ -3,6 +3,7 @@ import type { StoryFn, Meta } from '@storybook/react'; import Box from '../Box'; import { Icon } from '../Icon'; + import { InputBox } from './InputBox'; export default { diff --git a/packages/fuselage/src/components/InputBox/InputBox.tsx b/packages/fuselage/src/components/InputBox/InputBox.tsx index 73e39c2b18..99529a6dac 100644 --- a/packages/fuselage/src/components/InputBox/InputBox.tsx +++ b/packages/fuselage/src/components/InputBox/InputBox.tsx @@ -9,6 +9,7 @@ import { forwardRef, useCallback, useLayoutEffect, useRef } from 'react'; import type Box from '../Box'; import { Icon } from '../Icon'; + import { Addon } from './Addon'; import { Input } from './Input'; import type { InputBoxSkeleton } from './InputBoxSkeleton'; diff --git a/packages/fuselage/src/components/Label/Label.spec.tsx b/packages/fuselage/src/components/Label/Label.spec.tsx index ad9a46d690..f9b40896e1 100644 --- a/packages/fuselage/src/components/Label/Label.spec.tsx +++ b/packages/fuselage/src/components/Label/Label.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { axe } from 'jest-axe'; import { render } from '../../testing'; + import * as stories from './Label.stories'; const testCases = Object.values(composeStories(stories)).map((Story) => [ diff --git a/packages/fuselage/src/components/Margins/Margins.spec.tsx b/packages/fuselage/src/components/Margins/Margins.spec.tsx index a1d4251ffe..8ad353bc33 100644 --- a/packages/fuselage/src/components/Margins/Margins.spec.tsx +++ b/packages/fuselage/src/components/Margins/Margins.spec.tsx @@ -1,6 +1,7 @@ -import Margins from '.'; import { render } from '../../testing'; +import Margins from '.'; + describe('[Margins Component]', () => { it('renders without crashing', () => { render(); diff --git a/packages/fuselage/src/components/Margins/Margins.stories.tsx b/packages/fuselage/src/components/Margins/Margins.stories.tsx index 5ab968cc1b..e75710f830 100644 --- a/packages/fuselage/src/components/Margins/Margins.stories.tsx +++ b/packages/fuselage/src/components/Margins/Margins.stories.tsx @@ -4,6 +4,7 @@ import Box from '../Box'; import Button from '../Button'; import { ButtonGroup } from '../ButtonGroup'; import Tile from '../Tile'; + import { Margins } from './Margins'; export default { diff --git a/packages/fuselage/src/components/Menu/Menu.spec.tsx b/packages/fuselage/src/components/Menu/Menu.spec.tsx index eab1cd6b54..3c1e130fe8 100644 --- a/packages/fuselage/src/components/Menu/Menu.spec.tsx +++ b/packages/fuselage/src/components/Menu/Menu.spec.tsx @@ -4,6 +4,7 @@ import userEvent from '@testing-library/user-event'; import { withResizeObserverMock } from 'testing-utils/mocks/withResizeObserverMock'; import { render } from '../../testing'; + import * as stories from './Menu.stories'; withResizeObserverMock(); diff --git a/packages/fuselage/src/components/Menu/Menu.stories.tsx b/packages/fuselage/src/components/Menu/Menu.stories.tsx index c8f6f6bdab..c8967922ad 100644 --- a/packages/fuselage/src/components/Menu/Menu.stories.tsx +++ b/packages/fuselage/src/components/Menu/Menu.stories.tsx @@ -3,6 +3,7 @@ import type { StoryFn, Meta } from '@storybook/react'; import Box from '../Box'; import { Icon } from '../Icon'; + import { Menu } from './Menu'; export default { diff --git a/packages/fuselage/src/components/Menu/V2/Menu.stories.tsx b/packages/fuselage/src/components/Menu/V2/Menu.stories.tsx index ed5899a77d..334ca97ca6 100644 --- a/packages/fuselage/src/components/Menu/V2/Menu.stories.tsx +++ b/packages/fuselage/src/components/Menu/V2/Menu.stories.tsx @@ -2,6 +2,14 @@ import type { StoryFn, Meta } from '@storybook/react'; import type { ComponentProps, ReactNode, Ref } from 'react'; import { forwardRef, useState } from 'react'; +import Box from '../../Box'; +import { IconButton } from '../../Button'; +import { ButtonGroup } from '../../ButtonGroup'; +import { CheckBox } from '../../CheckBox'; +import { RadioButton } from '../../RadioButton'; +import Sidebar from '../../Sidebar'; +import { ToggleSwitch } from '../../ToggleSwitch'; + import { MenuV2 as Menu, MenuItem, @@ -10,13 +18,6 @@ import { MenuItemIcon, MenuItemInput, } from '.'; -import Box from '../../Box'; -import { IconButton } from '../../Button'; -import { ButtonGroup } from '../../ButtonGroup'; -import { CheckBox } from '../../CheckBox'; -import { RadioButton } from '../../RadioButton'; -import Sidebar from '../../Sidebar'; -import { ToggleSwitch } from '../../ToggleSwitch'; export default { title: 'Navigation/Menu/v2', diff --git a/packages/fuselage/src/components/Menu/V2/Menu.tsx b/packages/fuselage/src/components/Menu/V2/Menu.tsx index b84600eb9e..a309729676 100644 --- a/packages/fuselage/src/components/Menu/V2/Menu.tsx +++ b/packages/fuselage/src/components/Menu/V2/Menu.tsx @@ -9,6 +9,7 @@ import { useMenuTriggerState } from 'react-stately'; import type Box from '../../Box/Box'; import { IconButton } from '../../Button'; + import MenuDropDown from './MenuDropdown'; import MenuPopover from './MenuPopover'; import { getPlacement } from './helpers/helpers'; diff --git a/packages/fuselage/src/components/Menu/V2/MenuPopover.tsx b/packages/fuselage/src/components/Menu/V2/MenuPopover.tsx index a4548bae46..d504e55a5e 100644 --- a/packages/fuselage/src/components/Menu/V2/MenuPopover.tsx +++ b/packages/fuselage/src/components/Menu/V2/MenuPopover.tsx @@ -1,8 +1,8 @@ import { useBreakpoints } from '@rocket.chat/fuselage-hooks'; import type { ReactNode } from 'react'; import { useRef } from 'react'; -import { usePopover } from 'react-aria'; import type { AriaPopoverProps } from 'react-aria'; +import { usePopover } from 'react-aria'; import type { OverlayTriggerState } from 'react-stately'; import { DropdownDesktop } from '../../Dropdown/DropdownDesktop'; diff --git a/packages/fuselage/src/components/Menu/V2/MenuSection.tsx b/packages/fuselage/src/components/Menu/V2/MenuSection.tsx index a9e96cc8a9..096cfed18f 100644 --- a/packages/fuselage/src/components/Menu/V2/MenuSection.tsx +++ b/packages/fuselage/src/components/Menu/V2/MenuSection.tsx @@ -5,6 +5,7 @@ import type { TreeState } from 'react-stately'; import Box from '../../Box/Box'; import { Divider } from '../../Divider'; import { OptionTitle } from '../../Option'; + import MenuItem from './MenuItem'; type MenuSectionProps = { diff --git a/packages/fuselage/src/components/Message/Message.spec.tsx b/packages/fuselage/src/components/Message/Message.spec.tsx index 9246479b3e..221ae0093e 100644 --- a/packages/fuselage/src/components/Message/Message.spec.tsx +++ b/packages/fuselage/src/components/Message/Message.spec.tsx @@ -1,6 +1,7 @@ import { composeStories } from '@storybook/react'; import { render } from '../../testing'; + import * as stories from './Messages.stories'; const { Default } = composeStories(stories); diff --git a/packages/fuselage/src/components/Message/MessageDivider/MessageDivider.spec.tsx b/packages/fuselage/src/components/Message/MessageDivider/MessageDivider.spec.tsx index 04d8f42dd4..fdbb9dd57c 100644 --- a/packages/fuselage/src/components/Message/MessageDivider/MessageDivider.spec.tsx +++ b/packages/fuselage/src/components/Message/MessageDivider/MessageDivider.spec.tsx @@ -1,6 +1,7 @@ -import { MessageDivider } from '.'; import { render } from '../../../testing'; +import { MessageDivider } from '.'; + it('renders without crashing', () => { render(); }); diff --git a/packages/fuselage/src/components/Message/MessageDivider/MessageDivider.stories.tsx b/packages/fuselage/src/components/Message/MessageDivider/MessageDivider.stories.tsx index cfc285cd27..d74e7398c5 100644 --- a/packages/fuselage/src/components/Message/MessageDivider/MessageDivider.stories.tsx +++ b/packages/fuselage/src/components/Message/MessageDivider/MessageDivider.stories.tsx @@ -1,6 +1,7 @@ import type { StoryFn, Meta } from '@storybook/react'; import Box from '../../Box'; + import { MessageDivider } from './MessageDivider'; export default { diff --git a/packages/fuselage/src/components/Message/MessageGenericPreview/MessageGenericPreview.stories.tsx b/packages/fuselage/src/components/Message/MessageGenericPreview/MessageGenericPreview.stories.tsx index 2637b075ea..e32ef39bc7 100644 --- a/packages/fuselage/src/components/Message/MessageGenericPreview/MessageGenericPreview.stories.tsx +++ b/packages/fuselage/src/components/Message/MessageGenericPreview/MessageGenericPreview.stories.tsx @@ -4,6 +4,7 @@ import type { ReactNode } from 'react'; import Message from '..'; import { Avatar } from '../../Avatar'; import Box from '../../Box'; + import { MessageGenericPreview } from './MessageGenericPreview'; import { MessageGenericPreviewContent } from './MessageGenericPreviewContent'; import { MessageGenericPreviewCoverImage } from './MessageGenericPreviewCoverImage'; diff --git a/packages/fuselage/src/components/Message/MessageGenericPreview/MessageGenericPreviewCoverImage.spec.tsx b/packages/fuselage/src/components/Message/MessageGenericPreview/MessageGenericPreviewCoverImage.spec.tsx index b40cf6ad73..75e58c33a6 100644 --- a/packages/fuselage/src/components/Message/MessageGenericPreview/MessageGenericPreviewCoverImage.spec.tsx +++ b/packages/fuselage/src/components/Message/MessageGenericPreview/MessageGenericPreviewCoverImage.spec.tsx @@ -1,6 +1,7 @@ import { screen } from '@testing-library/react'; import { render } from '../../../testing'; + import { MessageGenericPreviewCoverImage } from './MessageGenericPreviewCoverImage'; describe('MessageGenericPreviewCoverImage', () => { diff --git a/packages/fuselage/src/components/Message/MessageGenericPreview/MessageGenericPreviewImage.spec.tsx b/packages/fuselage/src/components/Message/MessageGenericPreview/MessageGenericPreviewImage.spec.tsx index f3cb7cb4da..6c68f73591 100644 --- a/packages/fuselage/src/components/Message/MessageGenericPreview/MessageGenericPreviewImage.spec.tsx +++ b/packages/fuselage/src/components/Message/MessageGenericPreview/MessageGenericPreviewImage.spec.tsx @@ -1,6 +1,7 @@ import { screen } from '@testing-library/react'; import { render } from '../../../testing'; + import { MessageGenericPreviewImage } from './MessageGenericPreviewImage'; describe('MessageGenericPreviewImage', () => { diff --git a/packages/fuselage/src/components/Message/MessageMetrics/MessageMetrics.spec.tsx b/packages/fuselage/src/components/Message/MessageMetrics/MessageMetrics.spec.tsx index 946979514d..26b8ce3baf 100644 --- a/packages/fuselage/src/components/Message/MessageMetrics/MessageMetrics.spec.tsx +++ b/packages/fuselage/src/components/Message/MessageMetrics/MessageMetrics.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { axe } from 'jest-axe'; import { render } from '../../../testing'; + import * as stories from './MessageMetrics.stories'; const testCases = Object.values(composeStories(stories)).map((Story) => [ diff --git a/packages/fuselage/src/components/Message/MessageMetrics/MessageMetrics.stories.tsx b/packages/fuselage/src/components/Message/MessageMetrics/MessageMetrics.stories.tsx index 88f198688f..1bf3a33b03 100644 --- a/packages/fuselage/src/components/Message/MessageMetrics/MessageMetrics.stories.tsx +++ b/packages/fuselage/src/components/Message/MessageMetrics/MessageMetrics.stories.tsx @@ -5,6 +5,7 @@ import type { ComponentType } from 'react'; import { Avatar } from '../../Avatar'; import { Badge } from '../../Badge'; import { BasicMessageTemplate } from '../helpers'; + import { MessageMetrics } from './MessageMetrics'; import { MessageMetricsFollowing } from './MessageMetricsFollowing'; import MessageMetricsItem, { diff --git a/packages/fuselage/src/components/Message/MessageMetrics/MessageMetricsReply.tsx b/packages/fuselage/src/components/Message/MessageMetrics/MessageMetricsReply.tsx index bfa3a269e0..821474d5a9 100644 --- a/packages/fuselage/src/components/Message/MessageMetrics/MessageMetricsReply.tsx +++ b/packages/fuselage/src/components/Message/MessageMetrics/MessageMetricsReply.tsx @@ -1,6 +1,7 @@ import type { ComponentProps } from 'react'; import { Button } from '../..'; + import MessageMetricsItem from './MessageMetricsItem'; type MessageMetricsReplyProps = ComponentProps; diff --git a/packages/fuselage/src/components/Message/MessageReactions/MessageReactions.spec.tsx b/packages/fuselage/src/components/Message/MessageReactions/MessageReactions.spec.tsx index a3ad44509b..eb3d830e48 100644 --- a/packages/fuselage/src/components/Message/MessageReactions/MessageReactions.spec.tsx +++ b/packages/fuselage/src/components/Message/MessageReactions/MessageReactions.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { axe } from 'jest-axe'; import { render } from '../../../testing'; + import * as stories from './MessageReactions.stories'; const testCases = Object.values(composeStories(stories)).map((Story) => [ diff --git a/packages/fuselage/src/components/Message/MessageReactions/MessageReactions.stories.tsx b/packages/fuselage/src/components/Message/MessageReactions/MessageReactions.stories.tsx index ef8e54a93c..5b2ca78630 100644 --- a/packages/fuselage/src/components/Message/MessageReactions/MessageReactions.stories.tsx +++ b/packages/fuselage/src/components/Message/MessageReactions/MessageReactions.stories.tsx @@ -1,6 +1,7 @@ import type { Meta } from '@storybook/react'; import { BasicMessageTemplate } from '../helpers'; + import { MessageReaction } from './MessageReaction'; import { MessageReactionAction } from './MessageReactionAction'; import { MessageReactions } from './MessageReactions'; diff --git a/packages/fuselage/src/components/Message/MessageStatusIndicator/MessageStatusIndicator.spec.tsx b/packages/fuselage/src/components/Message/MessageStatusIndicator/MessageStatusIndicator.spec.tsx index 261b7feb8e..9990866a5e 100644 --- a/packages/fuselage/src/components/Message/MessageStatusIndicator/MessageStatusIndicator.spec.tsx +++ b/packages/fuselage/src/components/Message/MessageStatusIndicator/MessageStatusIndicator.spec.tsx @@ -1,6 +1,7 @@ -import { MessageStatusIndicator, MessageStatusIndicatorItem } from '.'; import { render } from '../../../testing'; +import { MessageStatusIndicator, MessageStatusIndicatorItem } from '.'; + it('renders without crashing', () => { render( diff --git a/packages/fuselage/src/components/Message/MessageStatusIndicator/MessageStatusIndicator.stories.tsx b/packages/fuselage/src/components/Message/MessageStatusIndicator/MessageStatusIndicator.stories.tsx index 5a7828de32..dca86749e6 100644 --- a/packages/fuselage/src/components/Message/MessageStatusIndicator/MessageStatusIndicator.stories.tsx +++ b/packages/fuselage/src/components/Message/MessageStatusIndicator/MessageStatusIndicator.stories.tsx @@ -6,6 +6,7 @@ import Box from '../../Box'; import { MessageDivider } from '../MessageDivider'; import MessageReactions from '../MessageReactions'; import MessageToolbar from '../MessageToolbar'; + import { MessageStatusIndicator } from './MessageStatusIndicator'; import { MessageStatusIndicatorText } from './MessageStatusIndicatorText'; diff --git a/packages/fuselage/src/components/Message/MessageSystem/MessageSystem.spec.tsx b/packages/fuselage/src/components/Message/MessageSystem/MessageSystem.spec.tsx index 00a32fc44e..c7e24e2b09 100644 --- a/packages/fuselage/src/components/Message/MessageSystem/MessageSystem.spec.tsx +++ b/packages/fuselage/src/components/Message/MessageSystem/MessageSystem.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { axe } from 'jest-axe'; import { render } from '../../../testing'; + import * as stories from './MessageSystem.stories'; const testCases = Object.values(composeStories(stories)).map((Story) => [ diff --git a/packages/fuselage/src/components/Message/MessageSystem/MessageSystem.stories.tsx b/packages/fuselage/src/components/Message/MessageSystem/MessageSystem.stories.tsx index 62a9667dcc..6100e58a24 100644 --- a/packages/fuselage/src/components/Message/MessageSystem/MessageSystem.stories.tsx +++ b/packages/fuselage/src/components/Message/MessageSystem/MessageSystem.stories.tsx @@ -1,11 +1,12 @@ import type { Meta, StoryFn } from '@storybook/react'; -import { MessageSystemLeftContainer } from '.'; import { Avatar } from '../../Avatar'; import Box from '../../Box'; import { MessageDivider } from '../MessageDivider'; import { MessageNameContainer } from '../MessageNameContainer'; import { MessageUsername } from '../MessageUsername'; + +import { MessageSystemLeftContainer } from '.'; import { MessageSystem } from './MessageSystem'; import { MessageSystemBlock } from './MessageSystemBlock'; import { MessageSystemBody } from './MessageSystemBody'; diff --git a/packages/fuselage/src/components/Message/MessageToolbar/MessageToolbar.spec.tsx b/packages/fuselage/src/components/Message/MessageToolbar/MessageToolbar.spec.tsx index 759d5a1511..c4d829d60b 100644 --- a/packages/fuselage/src/components/Message/MessageToolbar/MessageToolbar.spec.tsx +++ b/packages/fuselage/src/components/Message/MessageToolbar/MessageToolbar.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { axe } from 'jest-axe'; import { render } from '../../../testing'; + import * as stories from './MessageToolbar.stories'; const testCases = Object.values(composeStories(stories)).map((Story) => [ diff --git a/packages/fuselage/src/components/Message/MessageToolbar/MessageToolbar.stories.tsx b/packages/fuselage/src/components/Message/MessageToolbar/MessageToolbar.stories.tsx index c055fb0fa8..2e153bf9e4 100644 --- a/packages/fuselage/src/components/Message/MessageToolbar/MessageToolbar.stories.tsx +++ b/packages/fuselage/src/components/Message/MessageToolbar/MessageToolbar.stories.tsx @@ -3,6 +3,7 @@ import type { ComponentType } from 'react'; import Box from '../../Box'; import { BasicMessageTemplate } from '../helpers'; + import { MessageToolbar } from './MessageToolbar'; import { MessageToolbarItem } from './MessageToolbarItem'; diff --git a/packages/fuselage/src/components/Message/MessageToolbar/index.tsx b/packages/fuselage/src/components/Message/MessageToolbar/index.tsx index a645f42d8a..c5ec65f8dc 100644 --- a/packages/fuselage/src/components/Message/MessageToolbar/index.tsx +++ b/packages/fuselage/src/components/Message/MessageToolbar/index.tsx @@ -1,4 +1,5 @@ import { Menu } from '../../Menu'; + import { MessageToolbar } from './MessageToolbar'; import { MessageToolbarItem } from './MessageToolbarItem'; import { MessageToolbarWrapper } from './MessageToolbarWrapper'; diff --git a/packages/fuselage/src/components/Message/Messages.stories.tsx b/packages/fuselage/src/components/Message/Messages.stories.tsx index 80f27a0028..e97737ab2d 100644 --- a/packages/fuselage/src/components/Message/Messages.stories.tsx +++ b/packages/fuselage/src/components/Message/Messages.stories.tsx @@ -1,9 +1,10 @@ import type { Meta, StoryFn } from '@storybook/react'; import { useState } from 'react'; -import Message from '.'; import { Avatar } from '../Avatar'; import Box from '../Box'; + +import Message from '.'; import { MessageDivider } from './MessageDivider'; import { MessageEmoji } from './MessageEmoji'; import MessageMetrics from './MessageMetrics'; diff --git a/packages/fuselage/src/components/Message/ThreadMessage/ThreadMessage.spec.tsx b/packages/fuselage/src/components/Message/ThreadMessage/ThreadMessage.spec.tsx index 32e38a631a..955316b9dc 100644 --- a/packages/fuselage/src/components/Message/ThreadMessage/ThreadMessage.spec.tsx +++ b/packages/fuselage/src/components/Message/ThreadMessage/ThreadMessage.spec.tsx @@ -1,6 +1,7 @@ -import ThreadMessage from '.'; import { render } from '../../../testing'; +import ThreadMessage from '.'; + it('renders without crashing', () => { render(); }); diff --git a/packages/fuselage/src/components/Message/ThreadMessage/ThreadMessage.stories.tsx b/packages/fuselage/src/components/Message/ThreadMessage/ThreadMessage.stories.tsx index 9e5f0c88b1..080e8e8c6b 100644 --- a/packages/fuselage/src/components/Message/ThreadMessage/ThreadMessage.stories.tsx +++ b/packages/fuselage/src/components/Message/ThreadMessage/ThreadMessage.stories.tsx @@ -1,8 +1,9 @@ import type { Meta } from '@storybook/react'; -import ThreadMessage from '.'; import { Avatar } from '../../Avatar'; import Box from '../../Box'; + +import ThreadMessage from '.'; import { ThreadMessageEmoji } from './ThreadMessageEmoji'; export default { diff --git a/packages/fuselage/src/components/Message/ThreadMessage/ThreadMessageOrigin.spec.tsx b/packages/fuselage/src/components/Message/ThreadMessage/ThreadMessageOrigin.spec.tsx index 9a72c42dc8..edd0dd489b 100644 --- a/packages/fuselage/src/components/Message/ThreadMessage/ThreadMessageOrigin.spec.tsx +++ b/packages/fuselage/src/components/Message/ThreadMessage/ThreadMessageOrigin.spec.tsx @@ -1,6 +1,7 @@ import { screen } from '@testing-library/react'; import { render } from '../../../testing'; + import { ThreadMessageOrigin } from './ThreadMessageOrigin'; describe('ThreadMessageOrigin', () => { diff --git a/packages/fuselage/src/components/Message/ThreadMessage/index.tsx b/packages/fuselage/src/components/Message/ThreadMessage/index.tsx index 70091629df..46b00a1259 100644 --- a/packages/fuselage/src/components/Message/ThreadMessage/index.tsx +++ b/packages/fuselage/src/components/Message/ThreadMessage/index.tsx @@ -1,4 +1,5 @@ import { MessageLeftContainer } from '../MessageLeftContainer'; + import { ThreadMessage } from './ThreadMessage'; import { ThreadMessageBody } from './ThreadMessageBody'; import { ThreadMessageContainer } from './ThreadMessageContainer'; diff --git a/packages/fuselage/src/components/Message/helpers.tsx b/packages/fuselage/src/components/Message/helpers.tsx index 8bf751e0ea..e3fbb75434 100644 --- a/packages/fuselage/src/components/Message/helpers.tsx +++ b/packages/fuselage/src/components/Message/helpers.tsx @@ -1,9 +1,10 @@ import type { StoryFn } from '@storybook/react'; import type { ReactNode } from 'react'; -import Message from '.'; import { Avatar } from '../Avatar'; import Box from '../Box'; + +import Message from '.'; import { MessageDivider } from './MessageDivider'; export const avatarUrl = diff --git a/packages/fuselage/src/components/Modal/Modal.spec.tsx b/packages/fuselage/src/components/Modal/Modal.spec.tsx index 844be61c30..8fed27bd45 100644 --- a/packages/fuselage/src/components/Modal/Modal.spec.tsx +++ b/packages/fuselage/src/components/Modal/Modal.spec.tsx @@ -3,6 +3,7 @@ import { screen } from '@testing-library/react'; import { axe } from 'jest-axe'; import { render } from '../../testing'; + import * as stories from './Modal.stories'; import { Default } from './Modal.stories'; diff --git a/packages/fuselage/src/components/Modal/Modal.stories.tsx b/packages/fuselage/src/components/Modal/Modal.stories.tsx index 1c2767c84d..8f1bd6d5f1 100644 --- a/packages/fuselage/src/components/Modal/Modal.stories.tsx +++ b/packages/fuselage/src/components/Modal/Modal.stories.tsx @@ -2,13 +2,14 @@ import { action } from '@storybook/addon-actions'; import type { Meta, StoryFn } from '@storybook/react'; import type { ComponentProps } from 'react'; -import Modal from '.'; import Box from '../Box'; import Button from '../Button'; import Field, { FieldLabel, FieldRow } from '../Field'; import { FieldGroup } from '../FieldGroup'; import { TextInput } from '../TextInput'; +import Modal from '.'; + export default { title: 'Containers/Modal', component: Modal, diff --git a/packages/fuselage/src/components/MultiSelect/MultiSelect.spec.tsx b/packages/fuselage/src/components/MultiSelect/MultiSelect.spec.tsx index 67ae168215..214570f2c4 100644 --- a/packages/fuselage/src/components/MultiSelect/MultiSelect.spec.tsx +++ b/packages/fuselage/src/components/MultiSelect/MultiSelect.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { withResizeObserverMock } from 'testing-utils/mocks/withResizeObserverMock'; import { render } from '../../testing'; + import * as stories from './MultiSelect.stories'; const { Default } = composeStories(stories); diff --git a/packages/fuselage/src/components/MultiSelect/MultiSelect.stories.tsx b/packages/fuselage/src/components/MultiSelect/MultiSelect.stories.tsx index 04076542ed..e2f470c4d7 100644 --- a/packages/fuselage/src/components/MultiSelect/MultiSelect.stories.tsx +++ b/packages/fuselage/src/components/MultiSelect/MultiSelect.stories.tsx @@ -3,6 +3,7 @@ import type { StoryFn, Meta } from '@storybook/react'; import type { ComponentType } from 'react'; import type { SelectOption } from '../Select'; + import { MultiSelect } from './MultiSelect'; import { MultiSelectFiltered } from './MultiSelectFiltered'; diff --git a/packages/fuselage/src/components/MultiSelect/MultiSelect.tsx b/packages/fuselage/src/components/MultiSelect/MultiSelect.tsx index d77b718f9a..85c5d75d26 100644 --- a/packages/fuselage/src/components/MultiSelect/MultiSelect.tsx +++ b/packages/fuselage/src/components/MultiSelect/MultiSelect.tsx @@ -25,6 +25,7 @@ import { CheckOption } from '../Option'; import { Options, useCursor } from '../Options'; import Position from '../Position'; import SelectAddon from '../Select/SelectAddon'; + import MultiSelectAnchor from './MultiSelectAnchor'; import type { MultiSelectAnchorParams } from './MultiSelectAnchorParams'; import { SelectedOptions } from './SelectedOptions'; diff --git a/packages/fuselage/src/components/MultiSelect/MultiSelectFiltered.tsx b/packages/fuselage/src/components/MultiSelect/MultiSelectFiltered.tsx index 5a5335fd49..cf4023114b 100644 --- a/packages/fuselage/src/components/MultiSelect/MultiSelectFiltered.tsx +++ b/packages/fuselage/src/components/MultiSelect/MultiSelectFiltered.tsx @@ -2,6 +2,7 @@ import type { ComponentProps, Dispatch, SetStateAction } from 'react'; import { useState } from 'react'; import type { Icon } from '..'; + import { MultiSelect } from './MultiSelect'; import type { MultiSelectAnchorParams } from './MultiSelectAnchorParams'; import MultiSelectFilteredAnchor from './MultiSelectFilteredAnchor'; diff --git a/packages/fuselage/src/components/NavBar/NavBar.spec.tsx b/packages/fuselage/src/components/NavBar/NavBar.spec.tsx index a9f5ba1644..a5d1e89ca5 100644 --- a/packages/fuselage/src/components/NavBar/NavBar.spec.tsx +++ b/packages/fuselage/src/components/NavBar/NavBar.spec.tsx @@ -3,6 +3,7 @@ import { axe } from 'jest-axe'; import { SSRProvider } from 'react-aria'; import { render } from '../../testing'; + import * as stories from './NavBar.stories'; const testCases = Object.values(composeStories(stories)).map((Story) => [ diff --git a/packages/fuselage/src/components/NavBar/NavBar.stories.tsx b/packages/fuselage/src/components/NavBar/NavBar.stories.tsx index 92f8979168..8baaba7746 100644 --- a/packages/fuselage/src/components/NavBar/NavBar.stories.tsx +++ b/packages/fuselage/src/components/NavBar/NavBar.stories.tsx @@ -6,6 +6,7 @@ import Box from '../Box'; import { MenuV2 as Menu, MenuItem, MenuSection } from '../Menu'; import { MenuDisplayExample } from '../Menu/V2/Menu.stories'; import { avatarUrl } from '../Message/helpers'; + import { NavBar } from './NavBar'; import { NavBarDivider } from './NavBarDivider'; import { NavBarGroup } from './NavBarGroup'; diff --git a/packages/fuselage/src/components/NumberInput/NumberInput.spec.tsx b/packages/fuselage/src/components/NumberInput/NumberInput.spec.tsx index 103953fc42..e5bcd7329e 100644 --- a/packages/fuselage/src/components/NumberInput/NumberInput.spec.tsx +++ b/packages/fuselage/src/components/NumberInput/NumberInput.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { axe } from 'jest-axe'; import { render } from '../../testing'; + import * as stories from './NumberInput.stories'; const { Default } = composeStories(stories); diff --git a/packages/fuselage/src/components/NumberInput/NumberInput.stories.tsx b/packages/fuselage/src/components/NumberInput/NumberInput.stories.tsx index ac7913a92e..37a6605739 100644 --- a/packages/fuselage/src/components/NumberInput/NumberInput.stories.tsx +++ b/packages/fuselage/src/components/NumberInput/NumberInput.stories.tsx @@ -2,6 +2,7 @@ import type { StoryFn, Meta } from '@storybook/react'; import { PropsVariationSection } from '../../../.storybook/helpers'; import { Icon } from '../Icon'; + import { NumberInput } from './NumberInput'; export default { diff --git a/packages/fuselage/src/components/Option/CheckOption.tsx b/packages/fuselage/src/components/Option/CheckOption.tsx index a237df0954..6230bfbb83 100644 --- a/packages/fuselage/src/components/Option/CheckOption.tsx +++ b/packages/fuselage/src/components/Option/CheckOption.tsx @@ -2,6 +2,7 @@ import type { ComponentProps } from 'react'; import { memo } from 'react'; import { CheckBox } from '../CheckBox'; + import Option from './Option'; type CheckOptionProps = ComponentProps; diff --git a/packages/fuselage/src/components/Option/Option.spec.tsx b/packages/fuselage/src/components/Option/Option.spec.tsx index 612ec2a7a8..4310ec76b3 100644 --- a/packages/fuselage/src/components/Option/Option.spec.tsx +++ b/packages/fuselage/src/components/Option/Option.spec.tsx @@ -1,7 +1,8 @@ -import Option, { OptionContent } from '.'; import { prevent } from '../../helpers/prevent'; import { render } from '../../testing'; +import Option, { OptionContent } from '.'; + jest.mock('../../helpers/prevent'); describe('Option', () => { diff --git a/packages/fuselage/src/components/Option/Option.stories.tsx b/packages/fuselage/src/components/Option/Option.stories.tsx index 10beb37fe6..3c1bc58a51 100644 --- a/packages/fuselage/src/components/Option/Option.stories.tsx +++ b/packages/fuselage/src/components/Option/Option.stories.tsx @@ -7,6 +7,7 @@ import Box from '../Box'; import { Menu } from '../Menu'; import { StatusBullet } from '../StatusBullet'; import Tile from '../Tile'; + import Option from './Option'; import OptionAvatar from './OptionAvatar'; import OptionColumn from './OptionColumn'; diff --git a/packages/fuselage/src/components/Option/Option.tsx b/packages/fuselage/src/components/Option/Option.tsx index eb4209dd7d..4b05aa9bff 100644 --- a/packages/fuselage/src/components/Option/Option.tsx +++ b/packages/fuselage/src/components/Option/Option.tsx @@ -11,6 +11,7 @@ import type { Icon } from '../..'; import { OptionColumn } from '../..'; import { prevent } from '../../helpers/prevent'; import type Box from '../Box'; + import OptionAvatar from './OptionAvatar'; import OptionContent from './OptionContent'; import OptionIcon from './OptionIcon'; diff --git a/packages/fuselage/src/components/Option/OptionIcon.tsx b/packages/fuselage/src/components/Option/OptionIcon.tsx index a09a6164d1..7495642e2d 100644 --- a/packages/fuselage/src/components/Option/OptionIcon.tsx +++ b/packages/fuselage/src/components/Option/OptionIcon.tsx @@ -1,6 +1,7 @@ import type { ComponentProps } from 'react'; import { Icon } from '../Icon'; + import OptionColumn from './OptionColumn'; type OptionIconProps = { diff --git a/packages/fuselage/src/components/Option/OptionSkeleton.tsx b/packages/fuselage/src/components/Option/OptionSkeleton.tsx index 1186bef6d7..86602ed916 100644 --- a/packages/fuselage/src/components/Option/OptionSkeleton.tsx +++ b/packages/fuselage/src/components/Option/OptionSkeleton.tsx @@ -1,4 +1,5 @@ import { Skeleton } from '../Skeleton'; + import Option from './Option'; const OptionSkeleton = () => ( diff --git a/packages/fuselage/src/components/Options/Options.spec.tsx b/packages/fuselage/src/components/Options/Options.spec.tsx index ea2951ec7f..076ab21cd0 100644 --- a/packages/fuselage/src/components/Options/Options.spec.tsx +++ b/packages/fuselage/src/components/Options/Options.spec.tsx @@ -1,6 +1,7 @@ import { composeStories } from '@storybook/react'; import { render } from '../../testing'; + import * as stories from './Options.stories'; const { Default } = composeStories(stories); diff --git a/packages/fuselage/src/components/Options/Options.stories.tsx b/packages/fuselage/src/components/Options/Options.stories.tsx index 29b5140c2c..9ce2df9675 100644 --- a/packages/fuselage/src/components/Options/Options.stories.tsx +++ b/packages/fuselage/src/components/Options/Options.stories.tsx @@ -4,6 +4,7 @@ import { createRef } from 'react'; import Box from '../Box'; import Option from '../Option'; import { CheckOption } from '../Option/CheckOption'; + import type { OptionType } from './Options'; import { Options } from './Options'; diff --git a/packages/fuselage/src/components/Options/Options.tsx b/packages/fuselage/src/components/Options/Options.tsx index 1bdd40a080..eb81e363b5 100644 --- a/packages/fuselage/src/components/Options/Options.tsx +++ b/packages/fuselage/src/components/Options/Options.tsx @@ -12,6 +12,7 @@ import Box from '../Box'; import Option, { OptionHeader, OptionDivider } from '../Option'; import Scrollable from '../Scrollable'; import Tile from '../Tile'; + import { useCursor } from './useCursor'; export { useCursor }; diff --git a/packages/fuselage/src/components/Options/index.ts b/packages/fuselage/src/components/Options/index.ts index 88ffc73fe8..e38cd25ae0 100644 --- a/packages/fuselage/src/components/Options/index.ts +++ b/packages/fuselage/src/components/Options/index.ts @@ -1,4 +1,5 @@ import type { AvatarProps } from '../Avatar'; + import { Options } from './Options'; export * from './Options'; diff --git a/packages/fuselage/src/components/Options/useCursor.ts b/packages/fuselage/src/components/Options/useCursor.ts index 5842e172a2..4340e38bc7 100644 --- a/packages/fuselage/src/components/Options/useCursor.ts +++ b/packages/fuselage/src/components/Options/useCursor.ts @@ -3,6 +3,7 @@ import type { KeyboardEvent } from 'react'; import { useState } from 'react'; import AnimatedVisibility from '../AnimatedVisibility'; + import type { OptionType } from './Options'; import { useVisible } from './useVisible'; diff --git a/packages/fuselage/src/components/OptionsPaginated/OptionsPaginated.stories.tsx b/packages/fuselage/src/components/OptionsPaginated/OptionsPaginated.stories.tsx index 07a16016e0..3fdb455411 100644 --- a/packages/fuselage/src/components/OptionsPaginated/OptionsPaginated.stories.tsx +++ b/packages/fuselage/src/components/OptionsPaginated/OptionsPaginated.stories.tsx @@ -4,6 +4,7 @@ import { createRef } from 'react'; import Box from '../Box'; import Option from '../Option'; + import { CheckOption, OptionsPaginated } from './OptionsPaginated'; export default { diff --git a/packages/fuselage/src/components/PaginatedSelect/PaginatedMultiSelectFiltered.tsx b/packages/fuselage/src/components/PaginatedSelect/PaginatedMultiSelectFiltered.tsx index 31567810bd..3bfb1e29c4 100644 --- a/packages/fuselage/src/components/PaginatedSelect/PaginatedMultiSelectFiltered.tsx +++ b/packages/fuselage/src/components/PaginatedSelect/PaginatedMultiSelectFiltered.tsx @@ -3,6 +3,7 @@ import { useCallback, forwardRef } from 'react'; import Flex from '../Flex'; import { InputBox } from '../InputBox'; + import PaginatedMultiSelect from './PaginatedMultiSelect'; type PaginatedMultiSelectFilteredProps = { diff --git a/packages/fuselage/src/components/PaginatedSelect/PaginatedSelect.tsx b/packages/fuselage/src/components/PaginatedSelect/PaginatedSelect.tsx index 19ad4309cb..c2cf23286a 100644 --- a/packages/fuselage/src/components/PaginatedSelect/PaginatedSelect.tsx +++ b/packages/fuselage/src/components/PaginatedSelect/PaginatedSelect.tsx @@ -13,6 +13,7 @@ import { OptionsPaginated } from '../OptionsPaginated'; import PositionAnimated from '../PositionAnimated'; import SelectAddon from '../Select/SelectAddon'; import SelectFocus from '../Select/SelectFocus'; + import PaginatedSelectWrapper from './PaginatedSelectWrapper'; type PaginatedOptionType = { diff --git a/packages/fuselage/src/components/PaginatedSelect/PaginatedSelectFiltered.tsx b/packages/fuselage/src/components/PaginatedSelect/PaginatedSelectFiltered.tsx index a29c981f2e..29c2dd9f7f 100644 --- a/packages/fuselage/src/components/PaginatedSelect/PaginatedSelectFiltered.tsx +++ b/packages/fuselage/src/components/PaginatedSelect/PaginatedSelectFiltered.tsx @@ -3,6 +3,7 @@ import type { FormEvent, Ref } from 'react'; import { useMemo, forwardRef } from 'react'; import { InputBox } from '../InputBox'; + import type { PaginatedSelectProps } from './PaginatedSelect'; import { PaginatedSelect } from './PaginatedSelect'; diff --git a/packages/fuselage/src/components/Pagination/Pagination.spec.tsx b/packages/fuselage/src/components/Pagination/Pagination.spec.tsx index cb68035aab..52453e9e70 100644 --- a/packages/fuselage/src/components/Pagination/Pagination.spec.tsx +++ b/packages/fuselage/src/components/Pagination/Pagination.spec.tsx @@ -1,4 +1,5 @@ import { render } from '../../testing'; + import { Pagination } from './Pagination'; describe('[Pagination Component]', () => { diff --git a/packages/fuselage/src/components/PaletteStyleTag/PaletteStyleTag.spec.tsx b/packages/fuselage/src/components/PaletteStyleTag/PaletteStyleTag.spec.tsx index b0730da1b9..0486a6c697 100644 --- a/packages/fuselage/src/components/PaletteStyleTag/PaletteStyleTag.spec.tsx +++ b/packages/fuselage/src/components/PaletteStyleTag/PaletteStyleTag.spec.tsx @@ -1,4 +1,5 @@ import { render } from '../../testing'; + import PaletteStyleTag from './PaletteStyleTag'; import { dark, light } from './lib/themePalettes'; diff --git a/packages/fuselage/src/components/PaletteStyleTag/PaletteStyleTag.stories.tsx b/packages/fuselage/src/components/PaletteStyleTag/PaletteStyleTag.stories.tsx index e65f68dbfa..827af357ee 100644 --- a/packages/fuselage/src/components/PaletteStyleTag/PaletteStyleTag.stories.tsx +++ b/packages/fuselage/src/components/PaletteStyleTag/PaletteStyleTag.stories.tsx @@ -13,6 +13,7 @@ import { import { Divider } from '../Divider'; import { FramedIcon } from '../FramedIcon'; import { ProgressBar } from '../ProgressBar'; + import PaletteStyleTag from './PaletteStyleTag'; export default { diff --git a/packages/fuselage/src/components/PasswordInput/PasswordInput.spec.tsx b/packages/fuselage/src/components/PasswordInput/PasswordInput.spec.tsx index 3adc8365f3..dc5fd7e9b8 100644 --- a/packages/fuselage/src/components/PasswordInput/PasswordInput.spec.tsx +++ b/packages/fuselage/src/components/PasswordInput/PasswordInput.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { axe } from 'jest-axe'; import { render } from '../../testing'; + import * as stories from './PasswordInput.stories'; const { Default } = composeStories(stories); diff --git a/packages/fuselage/src/components/PasswordInput/PasswordInput.stories.tsx b/packages/fuselage/src/components/PasswordInput/PasswordInput.stories.tsx index e65bd81198..1a9e21cc29 100644 --- a/packages/fuselage/src/components/PasswordInput/PasswordInput.stories.tsx +++ b/packages/fuselage/src/components/PasswordInput/PasswordInput.stories.tsx @@ -2,6 +2,7 @@ import type { Meta, StoryFn } from '@storybook/react'; import { PropsVariationSection } from '../../../.storybook/helpers'; import { Icon } from '../Icon'; + import PasswordInput from './PasswordInput'; export default { diff --git a/packages/fuselage/src/components/Popover/Popover.spec.tsx b/packages/fuselage/src/components/Popover/Popover.spec.tsx index e4bcf514dc..13dd594944 100644 --- a/packages/fuselage/src/components/Popover/Popover.spec.tsx +++ b/packages/fuselage/src/components/Popover/Popover.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { axe } from 'jest-axe'; import { render } from '../../testing'; + import * as stories from './Popover.stories'; const testCases = Object.values(composeStories(stories)).map((Story) => [ diff --git a/packages/fuselage/src/components/Popover/Popover.stories.tsx b/packages/fuselage/src/components/Popover/Popover.stories.tsx index d53f700269..ab7713fee5 100644 --- a/packages/fuselage/src/components/Popover/Popover.stories.tsx +++ b/packages/fuselage/src/components/Popover/Popover.stories.tsx @@ -5,6 +5,7 @@ import { useOverlayTriggerState } from 'react-stately'; import Button from '../Button'; import Tile from '../Tile'; + import { Popover } from './Popover'; export default { diff --git a/packages/fuselage/src/components/Position/Position.stories.tsx b/packages/fuselage/src/components/Position/Position.stories.tsx index c92fb1b5d6..2df7e2829d 100644 --- a/packages/fuselage/src/components/Position/Position.stories.tsx +++ b/packages/fuselage/src/components/Position/Position.stories.tsx @@ -2,6 +2,7 @@ import type { StoryFn, Meta } from '@storybook/react'; import { useRef } from 'react'; import Tile from '../Tile'; + import Position from './Position'; export default { diff --git a/packages/fuselage/src/components/PositionAnimated/PositionAnimated.stories.tsx b/packages/fuselage/src/components/PositionAnimated/PositionAnimated.stories.tsx index 7be47372ed..2b5e71d582 100644 --- a/packages/fuselage/src/components/PositionAnimated/PositionAnimated.stories.tsx +++ b/packages/fuselage/src/components/PositionAnimated/PositionAnimated.stories.tsx @@ -3,6 +3,7 @@ import { useRef } from 'react'; import AnimatedVisibility from '../AnimatedVisibility'; import Tile from '../Tile'; + import PositionAnimated from './PositionAnimated'; export default { diff --git a/packages/fuselage/src/components/ProgressBar/ProgressBar.spec.tsx b/packages/fuselage/src/components/ProgressBar/ProgressBar.spec.tsx index 9720cde92f..8dc0009583 100644 --- a/packages/fuselage/src/components/ProgressBar/ProgressBar.spec.tsx +++ b/packages/fuselage/src/components/ProgressBar/ProgressBar.spec.tsx @@ -1,4 +1,5 @@ import { render } from '../../testing'; + import { ProgressBar } from './ProgressBar'; describe('[ProgressBar Component]', () => { diff --git a/packages/fuselage/src/components/RadioButton/RadioButton.spec.tsx b/packages/fuselage/src/components/RadioButton/RadioButton.spec.tsx index 99912baa5b..e5f8ed7c85 100644 --- a/packages/fuselage/src/components/RadioButton/RadioButton.spec.tsx +++ b/packages/fuselage/src/components/RadioButton/RadioButton.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { axe } from 'jest-axe'; import { render } from '../../testing'; + import * as stories from './RadioButton.stories'; const testCases = Object.values(composeStories(stories)).map((Story) => [ diff --git a/packages/fuselage/src/components/RadioButton/RadioButton.stories.tsx b/packages/fuselage/src/components/RadioButton/RadioButton.stories.tsx index df23699534..e2650c1785 100644 --- a/packages/fuselage/src/components/RadioButton/RadioButton.stories.tsx +++ b/packages/fuselage/src/components/RadioButton/RadioButton.stories.tsx @@ -5,6 +5,7 @@ import { PropsVariationSection, DECORATOR_LABEL, } from '../../../.storybook/helpers'; + import { RadioButton } from './RadioButton'; export default { diff --git a/packages/fuselage/src/components/Scrollable/Scrollable.spec.tsx b/packages/fuselage/src/components/Scrollable/Scrollable.spec.tsx index 06644c8def..3f7462f2af 100644 --- a/packages/fuselage/src/components/Scrollable/Scrollable.spec.tsx +++ b/packages/fuselage/src/components/Scrollable/Scrollable.spec.tsx @@ -1,4 +1,5 @@ import { render } from '../../testing'; + import { Scrollable } from './Scrollable'; describe('Scrollabe Component', () => { diff --git a/packages/fuselage/src/components/Scrollable/Scrollable.stories.tsx b/packages/fuselage/src/components/Scrollable/Scrollable.stories.tsx index 4a318ddc80..a356b6c15a 100644 --- a/packages/fuselage/src/components/Scrollable/Scrollable.stories.tsx +++ b/packages/fuselage/src/components/Scrollable/Scrollable.stories.tsx @@ -3,6 +3,7 @@ import type { Meta } from '@storybook/react'; import Box from '../Box'; import Tile from '../Tile'; + import { Scrollable } from './Scrollable'; export default { diff --git a/packages/fuselage/src/components/SearchInput/SearchInput.spec.tsx b/packages/fuselage/src/components/SearchInput/SearchInput.spec.tsx index 0cad14e3d5..c8fa23e69a 100644 --- a/packages/fuselage/src/components/SearchInput/SearchInput.spec.tsx +++ b/packages/fuselage/src/components/SearchInput/SearchInput.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { axe } from 'jest-axe'; import { render } from '../../testing'; + import * as stories from './SearchInput.stories'; const { Default } = composeStories(stories); diff --git a/packages/fuselage/src/components/SearchInput/SearchInput.stories.tsx b/packages/fuselage/src/components/SearchInput/SearchInput.stories.tsx index 1f79ab4217..b1c7414bbb 100644 --- a/packages/fuselage/src/components/SearchInput/SearchInput.stories.tsx +++ b/packages/fuselage/src/components/SearchInput/SearchInput.stories.tsx @@ -2,6 +2,7 @@ import type { StoryFn, Meta } from '@storybook/react'; import { PropsVariationSection } from '../../../.storybook/helpers'; import { Icon } from '../Icon'; + import { SearchInput } from './SearchInput'; export default { diff --git a/packages/fuselage/src/components/Select/Select.spec.tsx b/packages/fuselage/src/components/Select/Select.spec.tsx index 82ce7b1d6b..29c3536687 100644 --- a/packages/fuselage/src/components/Select/Select.spec.tsx +++ b/packages/fuselage/src/components/Select/Select.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { withResizeObserverMock } from 'testing-utils/mocks/withResizeObserverMock'; import { render } from '../../testing'; + import * as stories from './Select.stories'; const { Default } = composeStories(stories); diff --git a/packages/fuselage/src/components/Select/Select.stories.tsx b/packages/fuselage/src/components/Select/Select.stories.tsx index d95c2a8db9..3424b96f11 100644 --- a/packages/fuselage/src/components/Select/Select.stories.tsx +++ b/packages/fuselage/src/components/Select/Select.stories.tsx @@ -3,6 +3,7 @@ import type { Key } from 'react'; import { useState } from 'react'; import PropsVariationSection from '../../../.storybook/PropsVariation'; + import { Select } from './Select'; import type { SelectOption } from './SelectLegacy'; diff --git a/packages/fuselage/src/components/Select/SelectAria.tsx b/packages/fuselage/src/components/Select/SelectAria.tsx index 8defc6a293..bb42dc0a5b 100644 --- a/packages/fuselage/src/components/Select/SelectAria.tsx +++ b/packages/fuselage/src/components/Select/SelectAria.tsx @@ -15,6 +15,7 @@ import Box from '../Box/Box'; import { Icon } from '../Icon'; import { OptionContainer } from '../Options'; import { Popover } from '../Popover'; + import { ListBox } from './Listbox'; export { Item } from 'react-stately'; diff --git a/packages/fuselage/src/components/Select/SelectFiltered.tsx b/packages/fuselage/src/components/Select/SelectFiltered.tsx index 441ed94f00..32573a9b1d 100644 --- a/packages/fuselage/src/components/Select/SelectFiltered.tsx +++ b/packages/fuselage/src/components/Select/SelectFiltered.tsx @@ -1,8 +1,9 @@ import type { ComponentProps, Dispatch, Ref, SetStateAction } from 'react'; import { forwardRef, useState } from 'react'; -import { SelectLegacy } from '.'; import type { Icon } from '..'; + +import { SelectLegacy } from '.'; import type { SelectAnchorParams } from './SelectAnchorParams'; import SelectFilteredAnchor from './SelectFilteredAnchor'; diff --git a/packages/fuselage/src/components/Select/SelectLegacy.tsx b/packages/fuselage/src/components/Select/SelectLegacy.tsx index 0ad62ec527..2f1e8b3c92 100644 --- a/packages/fuselage/src/components/Select/SelectLegacy.tsx +++ b/packages/fuselage/src/components/Select/SelectLegacy.tsx @@ -21,6 +21,7 @@ import Margins from '../Margins'; import type { OptionType } from '../Options'; import { Options, useCursor } from '../Options'; import PositionAnimated from '../PositionAnimated'; + import SelectAddon from './SelectAddon'; import type { SelectAnchorParams } from './SelectAnchorParams'; import SelectFocus from './SelectFocus'; diff --git a/packages/fuselage/src/components/SelectInput/SelectInput.spec.tsx b/packages/fuselage/src/components/SelectInput/SelectInput.spec.tsx index c1cb152b2b..d1373ce353 100644 --- a/packages/fuselage/src/components/SelectInput/SelectInput.spec.tsx +++ b/packages/fuselage/src/components/SelectInput/SelectInput.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { axe } from 'jest-axe'; import { render } from '../../testing'; + import * as stories from './SelectInput.stories'; const { Default } = composeStories(stories); diff --git a/packages/fuselage/src/components/SelectInput/SelectInput.stories.tsx b/packages/fuselage/src/components/SelectInput/SelectInput.stories.tsx index d1125dcea0..5cddc43c0e 100644 --- a/packages/fuselage/src/components/SelectInput/SelectInput.stories.tsx +++ b/packages/fuselage/src/components/SelectInput/SelectInput.stories.tsx @@ -1,8 +1,9 @@ import type { StoryFn, Meta } from '@storybook/react'; -import { SelectInputOption } from '.'; import { PropsVariationSection } from '../../../.storybook/helpers'; import { Icon } from '../Icon'; + +import { SelectInputOption } from '.'; import { SelectInput } from './SelectInput'; export default { diff --git a/packages/fuselage/src/components/Sidebar/Item.stories.tsx b/packages/fuselage/src/components/Sidebar/Item.stories.tsx index fac05ff563..e6e8a657f3 100644 --- a/packages/fuselage/src/components/Sidebar/Item.stories.tsx +++ b/packages/fuselage/src/components/Sidebar/Item.stories.tsx @@ -2,6 +2,7 @@ import type { StoryFn, Meta } from '@storybook/react'; import type { ComponentType } from 'react'; import { Avatar } from '../Avatar'; + import { SidebarItem, SidebarItemAvatar, diff --git a/packages/fuselage/src/components/Sidebar/Item.tsx b/packages/fuselage/src/components/Sidebar/Item.tsx index adae663dab..7f3fc11c96 100644 --- a/packages/fuselage/src/components/Sidebar/Item.tsx +++ b/packages/fuselage/src/components/Sidebar/Item.tsx @@ -2,6 +2,7 @@ import type { AllHTMLAttributes, ComponentProps, ReactNode } from 'react'; import type Box from '../Box'; import { Icon as FuselageIcon } from '../Icon'; + import { SidebarAction, SidebarActions } from './SidebarActions'; type SidebarItemProps = { diff --git a/packages/fuselage/src/components/Sidebar/Sidebar.spec.tsx b/packages/fuselage/src/components/Sidebar/Sidebar.spec.tsx index b34eeb8d56..12641c27f3 100644 --- a/packages/fuselage/src/components/Sidebar/Sidebar.spec.tsx +++ b/packages/fuselage/src/components/Sidebar/Sidebar.spec.tsx @@ -1,6 +1,7 @@ import { composeStories } from '@storybook/react'; import { render } from '../../testing'; + import * as stories from './Sidebar.stories'; const { Default } = composeStories(stories); diff --git a/packages/fuselage/src/components/Sidebar/Sidebar.stories.tsx b/packages/fuselage/src/components/Sidebar/Sidebar.stories.tsx index 6d604a342d..dead2598f1 100644 --- a/packages/fuselage/src/components/Sidebar/Sidebar.stories.tsx +++ b/packages/fuselage/src/components/Sidebar/Sidebar.stories.tsx @@ -2,6 +2,8 @@ import { action } from '@storybook/addon-actions'; import type { StoryFn, Meta } from '@storybook/react'; import type { ComponentType } from 'react'; +import { Avatar, Icon, Box, Tag, Divider, SidebarBanner } from '../..'; + import Sidebar, { SidebarItemContainer, SidebarItemActions, @@ -19,7 +21,6 @@ import Sidebar, { SidebarFooterHighlight, SidebarItemIcon, } from '.'; -import { Avatar, Icon, Box, Tag, Divider, SidebarBanner } from '../..'; export default { title: 'Sidebar/Sidebar', diff --git a/packages/fuselage/src/components/Sidebar/TopBar/TopBar.spec.tsx b/packages/fuselage/src/components/Sidebar/TopBar/TopBar.spec.tsx index 7a06c691e2..8b4460d3a7 100644 --- a/packages/fuselage/src/components/Sidebar/TopBar/TopBar.spec.tsx +++ b/packages/fuselage/src/components/Sidebar/TopBar/TopBar.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { axe } from 'jest-axe'; import { render } from '../../../testing'; + import * as stories from './TopBar.stories'; const testCases = Object.values(composeStories(stories)).map((Story) => [ diff --git a/packages/fuselage/src/components/Sidebar/TopBar/TopBar.stories.tsx b/packages/fuselage/src/components/Sidebar/TopBar/TopBar.stories.tsx index 1a0b8d2011..493cf1b351 100644 --- a/packages/fuselage/src/components/Sidebar/TopBar/TopBar.stories.tsx +++ b/packages/fuselage/src/components/Sidebar/TopBar/TopBar.stories.tsx @@ -1,6 +1,9 @@ import type { StoryFn, Meta } from '@storybook/react'; import type { ComponentType } from 'react'; +import { Avatar } from '../../Avatar'; +import { SidebarSection } from '../Section'; + import { TopBar, TopBarAction, @@ -9,8 +12,6 @@ import { TopBarTitle, TopBarToolBox, } from '.'; -import { Avatar } from '../../Avatar'; -import { SidebarSection } from '../Section'; export default { title: 'Sidebar/TopBar', diff --git a/packages/fuselage/src/components/Sidebar/TopBar/TopBarSection.tsx b/packages/fuselage/src/components/Sidebar/TopBar/TopBarSection.tsx index d06aefbe6c..e11ef34af6 100644 --- a/packages/fuselage/src/components/Sidebar/TopBar/TopBarSection.tsx +++ b/packages/fuselage/src/components/Sidebar/TopBar/TopBarSection.tsx @@ -1,6 +1,7 @@ import type { ReactNode } from 'react'; import { SidebarDivider } from '../SidebarDivider'; + import { TopBar } from './TopBar'; import { TopBarWrapper } from './TopBarWrapper'; diff --git a/packages/fuselage/src/components/Sidebar/TopBar/TopBarToolBox.tsx b/packages/fuselage/src/components/Sidebar/TopBar/TopBarToolBox.tsx index 7e2046dabc..4642c06f60 100644 --- a/packages/fuselage/src/components/Sidebar/TopBar/TopBarToolBox.tsx +++ b/packages/fuselage/src/components/Sidebar/TopBar/TopBarToolBox.tsx @@ -1,6 +1,7 @@ import type { ReactNode } from 'react'; import { SidebarDivider } from '../SidebarDivider'; + import { TopBar } from './TopBar'; import { TopBarWrapper } from './TopBarWrapper'; diff --git a/packages/fuselage/src/components/Sidebar/TopBar/index.ts b/packages/fuselage/src/components/Sidebar/TopBar/index.ts index 04062d8ee5..0c1912346e 100644 --- a/packages/fuselage/src/components/Sidebar/TopBar/index.ts +++ b/packages/fuselage/src/components/Sidebar/TopBar/index.ts @@ -1,4 +1,5 @@ import { SidebarDivider as TopBarDivider } from '../SidebarDivider'; + import { TopBar } from './TopBar'; import { TopBarAction } from './TopBarAction'; import { TopBarActions } from './TopBarActions'; diff --git a/packages/fuselage/src/components/Sidebar/index.tsx b/packages/fuselage/src/components/Sidebar/index.tsx index c26f7be73c..d871ec491b 100644 --- a/packages/fuselage/src/components/Sidebar/index.tsx +++ b/packages/fuselage/src/components/Sidebar/index.tsx @@ -1,6 +1,7 @@ import type { ComponentProps } from 'react'; import Box from '../Box'; + import SidebarItem from './Item'; import SidebarSection from './Section'; import { SidebarBanner } from './SidebarBanner'; diff --git a/packages/fuselage/src/components/SidebarV2/Sidebar.spec.tsx b/packages/fuselage/src/components/SidebarV2/Sidebar.spec.tsx index 4126f6e3ba..066259fa8d 100644 --- a/packages/fuselage/src/components/SidebarV2/Sidebar.spec.tsx +++ b/packages/fuselage/src/components/SidebarV2/Sidebar.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { axe } from 'jest-axe'; import { render } from '../../testing'; + import * as stories from './Sidebar.stories'; const { Default } = composeStories(stories); diff --git a/packages/fuselage/src/components/SidebarV2/Sidebar.stories.tsx b/packages/fuselage/src/components/SidebarV2/Sidebar.stories.tsx index dbbf2fae31..c76bc8508b 100644 --- a/packages/fuselage/src/components/SidebarV2/Sidebar.stories.tsx +++ b/packages/fuselage/src/components/SidebarV2/Sidebar.stories.tsx @@ -1,6 +1,8 @@ import { action } from '@storybook/addon-actions'; import type { Meta, StoryFn } from '@storybook/react'; +import { IconButton, TextInput, Icon, Box } from '../..'; + import { SidebarV2 as Sidebar, SidebarV2Accordion as SidebarAccordion, @@ -18,7 +20,6 @@ import { SidebarV2Section as SidebarSection, SidebarV2Footer as SidebarFooter, } from '.'; -import { IconButton, TextInput, Icon, Box } from '../..'; import { Condensed } from './SidebarItem/SidebarItem.stories'; import { GenericNoAvatarItem, MenuTemplate } from './helpers'; diff --git a/packages/fuselage/src/components/SidebarV2/SidebarAccordionItem.tsx b/packages/fuselage/src/components/SidebarV2/SidebarAccordionItem.tsx index a9fed45680..202bd40dd3 100644 --- a/packages/fuselage/src/components/SidebarV2/SidebarAccordionItem.tsx +++ b/packages/fuselage/src/components/SidebarV2/SidebarAccordionItem.tsx @@ -1,6 +1,7 @@ import type { HTMLAttributes, ReactNode } from 'react'; import { Chevron } from '../Chevron'; + import { useCollapse } from './hooks/useCollapse'; type SidebarAccordionItemProps = { diff --git a/packages/fuselage/src/components/SidebarV2/helpers.tsx b/packages/fuselage/src/components/SidebarV2/helpers.tsx index da1643a36a..2c8930a6c1 100644 --- a/packages/fuselage/src/components/SidebarV2/helpers.tsx +++ b/packages/fuselage/src/components/SidebarV2/helpers.tsx @@ -1,6 +1,8 @@ import type { Decorator } from '@storybook/react'; import type { ComponentProps, ReactElement } from 'react'; +import { Avatar, Box, IconButton, MenuV2 as Menu, MenuItem } from '../..'; + import { SidebarV2, SidebarV2Accordion, @@ -23,7 +25,6 @@ import { SidebarV2ItemTitle, SidebarV2ListItem, } from '.'; -import { Avatar, Box, IconButton, MenuV2 as Menu, MenuItem } from '../..'; export const leterAvatarUrls = [ "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3e%3crect width='100%25' height='100%25' fill='%2310529E'/%3e%3ctext x='50%25' y='50%25' dy='0.36em' text-anchor='middle' pointer-events='none' fill='white' font-size='125' font-family='Helvetica%2c sans-serif'%3eB%3c/text%3e%3c/svg%3e", diff --git a/packages/fuselage/src/components/Sidepanel/Sidepanel.spec.tsx b/packages/fuselage/src/components/Sidepanel/Sidepanel.spec.tsx index 13f26cdaee..21eb3ff5a3 100644 --- a/packages/fuselage/src/components/Sidepanel/Sidepanel.spec.tsx +++ b/packages/fuselage/src/components/Sidepanel/Sidepanel.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { axe } from 'jest-axe'; import { render } from '../../testing'; + import * as stories from './Sidepanel.stories'; const { Default } = composeStories(stories); diff --git a/packages/fuselage/src/components/Sidepanel/Sidepanel.stories.tsx b/packages/fuselage/src/components/Sidepanel/Sidepanel.stories.tsx index 4790068305..bef51439f1 100644 --- a/packages/fuselage/src/components/Sidepanel/Sidepanel.stories.tsx +++ b/packages/fuselage/src/components/Sidepanel/Sidepanel.stories.tsx @@ -1,13 +1,5 @@ import type { Meta, StoryFn } from '@storybook/react'; -import { - Sidepanel, - SidepanelSection, - SidepanelHeader, - SidepanelHeaderTitle, - SidepanelList, - SidepanelListItem, -} from '.'; import { Avatar, Box, @@ -23,6 +15,15 @@ import { import { SidebarItemAvatarWrapper } from '../SidebarV2/SidebarItem/SidebarItemAvatarWrapper'; import { MenuTemplate, leterAvatarUrls, names } from '../SidebarV2/helpers'; +import { + Sidepanel, + SidepanelSection, + SidepanelHeader, + SidepanelHeaderTitle, + SidepanelList, + SidepanelListItem, +} from '.'; + export default { title: 'Navigation/Sidepanel', component: Sidepanel, diff --git a/packages/fuselage/src/components/Skeleton/Skeleton.spec.tsx b/packages/fuselage/src/components/Skeleton/Skeleton.spec.tsx index 39c0559169..249c23f6b8 100644 --- a/packages/fuselage/src/components/Skeleton/Skeleton.spec.tsx +++ b/packages/fuselage/src/components/Skeleton/Skeleton.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { axe } from 'jest-axe'; import { render } from '../../testing'; + import * as stories from './Skeleton.stories'; const testCases = Object.values(composeStories(stories)).map((Story) => [ diff --git a/packages/fuselage/src/components/Slider/Slider.spec.tsx b/packages/fuselage/src/components/Slider/Slider.spec.tsx index abf531974c..b06bb74812 100644 --- a/packages/fuselage/src/components/Slider/Slider.spec.tsx +++ b/packages/fuselage/src/components/Slider/Slider.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { fireEvent, screen } from '@testing-library/react'; import { render } from '../../testing'; + import * as stories from './Slider.stories'; const { Default, WithLabel, MultiThumb, WithDefaultValue } = diff --git a/packages/fuselage/src/components/Slider/Slider.stories.tsx b/packages/fuselage/src/components/Slider/Slider.stories.tsx index 11ef1a3bf3..e09a6ef55a 100644 --- a/packages/fuselage/src/components/Slider/Slider.stories.tsx +++ b/packages/fuselage/src/components/Slider/Slider.stories.tsx @@ -3,6 +3,7 @@ import { screen, userEvent } from '@storybook/test'; import { useState } from 'react'; import Box from '../Box'; + import { Slider } from './Slider'; export default { diff --git a/packages/fuselage/src/components/Slider/Slider.tsx b/packages/fuselage/src/components/Slider/Slider.tsx index 75b880819a..73f9b2495d 100644 --- a/packages/fuselage/src/components/Slider/Slider.tsx +++ b/packages/fuselage/src/components/Slider/Slider.tsx @@ -6,6 +6,7 @@ import { useNumberFormatter, useSlider } from 'react-aria'; import { useSliderState } from 'react-stately'; import { useStyle } from '../../hooks/useStyle'; + import { SliderHead } from './SliderHead'; import { SliderThumb } from './SliderThumb'; import { SliderTrack } from './SliderTrack'; diff --git a/packages/fuselage/src/components/States/States.spec.tsx b/packages/fuselage/src/components/States/States.spec.tsx index d96e68c03b..cc1b4dec78 100644 --- a/packages/fuselage/src/components/States/States.spec.tsx +++ b/packages/fuselage/src/components/States/States.spec.tsx @@ -1,4 +1,5 @@ import { render } from '../../testing'; + import States from './States'; describe('[States Component]', () => { diff --git a/packages/fuselage/src/components/States/States.stories.tsx b/packages/fuselage/src/components/States/States.stories.tsx index de951e17e6..99970d47a0 100644 --- a/packages/fuselage/src/components/States/States.stories.tsx +++ b/packages/fuselage/src/components/States/States.stories.tsx @@ -1,6 +1,9 @@ import type { Meta } from '@storybook/react'; import type { ComponentType } from 'react'; +import Box from '../Box'; +import { Icon } from '../Icon'; + import { States, StatesSubtitle, @@ -14,8 +17,6 @@ import { StatesAction, StatesLink, } from '.'; -import Box from '../Box'; -import { Icon } from '../Icon'; export default { title: 'Feedback/States', diff --git a/packages/fuselage/src/components/StatusBullet/StatusBullet.spec.tsx b/packages/fuselage/src/components/StatusBullet/StatusBullet.spec.tsx index be75abf420..f91fee7c0f 100644 --- a/packages/fuselage/src/components/StatusBullet/StatusBullet.spec.tsx +++ b/packages/fuselage/src/components/StatusBullet/StatusBullet.spec.tsx @@ -1,4 +1,5 @@ import { render } from '../../testing'; + import { StatusBullet } from './StatusBullet'; describe('[StatusBullet Component]', () => { diff --git a/packages/fuselage/src/components/StatusBullet/StatusBullet.stories.tsx b/packages/fuselage/src/components/StatusBullet/StatusBullet.stories.tsx index df4e1c3303..cb12ecf049 100644 --- a/packages/fuselage/src/components/StatusBullet/StatusBullet.stories.tsx +++ b/packages/fuselage/src/components/StatusBullet/StatusBullet.stories.tsx @@ -1,6 +1,7 @@ import type { StoryFn, Meta } from '@storybook/react'; import Box from '../Box'; + import { StatusBullet } from './StatusBullet'; export default { diff --git a/packages/fuselage/src/components/Table/Table.spec.tsx b/packages/fuselage/src/components/Table/Table.spec.tsx index 21f6ffaf74..460f906759 100644 --- a/packages/fuselage/src/components/Table/Table.spec.tsx +++ b/packages/fuselage/src/components/Table/Table.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { axe } from 'jest-axe'; import { render } from '../../testing'; + import * as stories from './Table.stories'; const testCases = Object.values(composeStories(stories)).map((Story) => [ diff --git a/packages/fuselage/src/components/Table/Table.stories.tsx b/packages/fuselage/src/components/Table/Table.stories.tsx index 084f7760aa..9e57ab14d6 100644 --- a/packages/fuselage/src/components/Table/Table.stories.tsx +++ b/packages/fuselage/src/components/Table/Table.stories.tsx @@ -1,6 +1,7 @@ import type { Meta, StoryFn } from '@storybook/react'; import { CheckBox } from '../CheckBox'; + import { Table } from './Table'; import { TableBody } from './TableBody'; import { TableCell } from './TableCell'; diff --git a/packages/fuselage/src/components/Table/TableBody.tsx b/packages/fuselage/src/components/Table/TableBody.tsx index 89ca764799..c8e77e32e2 100644 --- a/packages/fuselage/src/components/Table/TableBody.tsx +++ b/packages/fuselage/src/components/Table/TableBody.tsx @@ -1,4 +1,5 @@ import Box from '../Box'; + import type { TableProps } from './Table'; type TableBodyProps = TableProps; diff --git a/packages/fuselage/src/components/Table/TableCell.tsx b/packages/fuselage/src/components/Table/TableCell.tsx index 98145ba44c..a7bc681a32 100644 --- a/packages/fuselage/src/components/Table/TableCell.tsx +++ b/packages/fuselage/src/components/Table/TableCell.tsx @@ -1,6 +1,7 @@ import { useContext } from 'react'; import Box from '../Box'; + import type { TableProps } from './Table'; import { TableHeadContext } from './TableHead'; diff --git a/packages/fuselage/src/components/Table/TableFoot.tsx b/packages/fuselage/src/components/Table/TableFoot.tsx index 70493e90fd..4b030ddeba 100644 --- a/packages/fuselage/src/components/Table/TableFoot.tsx +++ b/packages/fuselage/src/components/Table/TableFoot.tsx @@ -1,4 +1,5 @@ import Box from '../Box'; + import type { TableProps } from './Table'; type TableFootProps = TableProps; diff --git a/packages/fuselage/src/components/Table/TableHead.tsx b/packages/fuselage/src/components/Table/TableHead.tsx index a52437e3d5..c5b18b5bd7 100644 --- a/packages/fuselage/src/components/Table/TableHead.tsx +++ b/packages/fuselage/src/components/Table/TableHead.tsx @@ -1,6 +1,7 @@ import { createContext } from 'react'; import Box from '../Box'; + import type { TableProps } from './Table'; export const TableHeadContext = createContext(false); diff --git a/packages/fuselage/src/components/Tabs/Tabs.spec.tsx b/packages/fuselage/src/components/Tabs/Tabs.spec.tsx index 0c2b355f7e..a9b85fc934 100644 --- a/packages/fuselage/src/components/Tabs/Tabs.spec.tsx +++ b/packages/fuselage/src/components/Tabs/Tabs.spec.tsx @@ -1,4 +1,5 @@ import { render } from '../../testing'; + import { Tabs } from './Tabs'; describe('[Tabs Component]', () => { diff --git a/packages/fuselage/src/components/Tabs/Tabs.tsx b/packages/fuselage/src/components/Tabs/Tabs.tsx index b0c0c8c004..82f537bd41 100644 --- a/packages/fuselage/src/components/Tabs/Tabs.tsx +++ b/packages/fuselage/src/components/Tabs/Tabs.tsx @@ -1,6 +1,7 @@ import type { ComponentProps } from 'react'; import Box from '../Box'; + import { TabsItem } from './TabsItem'; type TabsProps = ComponentProps & { divider?: boolean }; diff --git a/packages/fuselage/src/components/Tag/Tag.spec.tsx b/packages/fuselage/src/components/Tag/Tag.spec.tsx index d644063381..4ac738d0e6 100644 --- a/packages/fuselage/src/components/Tag/Tag.spec.tsx +++ b/packages/fuselage/src/components/Tag/Tag.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { axe } from 'jest-axe'; import { render } from '../../testing'; + import * as stories from './Tag.stories'; const testCases = Object.values(composeStories(stories)).map((Story) => [ diff --git a/packages/fuselage/src/components/Tag/Tag.stories.tsx b/packages/fuselage/src/components/Tag/Tag.stories.tsx index f4469d4430..1466a3f8e0 100644 --- a/packages/fuselage/src/components/Tag/Tag.stories.tsx +++ b/packages/fuselage/src/components/Tag/Tag.stories.tsx @@ -4,6 +4,7 @@ import type { StoryFn, Meta } from '@storybook/react'; import Box from '../Box'; import { ButtonGroup } from '../ButtonGroup'; import { Icon } from '../Icon'; + import { Tag } from './Tag'; export default { diff --git a/packages/fuselage/src/components/TelephoneInput/TelephoneInput.spec.tsx b/packages/fuselage/src/components/TelephoneInput/TelephoneInput.spec.tsx index 5fc6441dee..9b72cb845c 100644 --- a/packages/fuselage/src/components/TelephoneInput/TelephoneInput.spec.tsx +++ b/packages/fuselage/src/components/TelephoneInput/TelephoneInput.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { axe } from 'jest-axe'; import { render } from '../../testing'; + import * as stories from './TelephoneInput.stories'; const { Default } = composeStories(stories); diff --git a/packages/fuselage/src/components/TelephoneInput/TelephoneInput.stories.tsx b/packages/fuselage/src/components/TelephoneInput/TelephoneInput.stories.tsx index a13565c98d..c022bada42 100644 --- a/packages/fuselage/src/components/TelephoneInput/TelephoneInput.stories.tsx +++ b/packages/fuselage/src/components/TelephoneInput/TelephoneInput.stories.tsx @@ -2,6 +2,7 @@ import type { StoryFn, Meta } from '@storybook/react'; import { PropsVariationSection } from '../../../.storybook/helpers'; import { Icon } from '../Icon'; + import { TelephoneInput } from './TelephoneInput'; export default { diff --git a/packages/fuselage/src/components/TextAreaInput/TextAreaInput.spec.tsx b/packages/fuselage/src/components/TextAreaInput/TextAreaInput.spec.tsx index 8706821687..cd9c8a9468 100644 --- a/packages/fuselage/src/components/TextAreaInput/TextAreaInput.spec.tsx +++ b/packages/fuselage/src/components/TextAreaInput/TextAreaInput.spec.tsx @@ -1,4 +1,5 @@ import { render } from '../../testing'; + import { TextAreaInput } from './TextAreaInput'; describe('[TextAreaInput]', () => { diff --git a/packages/fuselage/src/components/TextAreaInput/TextAreaInput.stories.tsx b/packages/fuselage/src/components/TextAreaInput/TextAreaInput.stories.tsx index 4f6c9b4a52..44acf162d3 100644 --- a/packages/fuselage/src/components/TextAreaInput/TextAreaInput.stories.tsx +++ b/packages/fuselage/src/components/TextAreaInput/TextAreaInput.stories.tsx @@ -2,6 +2,7 @@ import type { StoryFn, Meta } from '@storybook/react'; import { PropsVariationSection } from '../../../.storybook/helpers'; import { Icon } from '../Icon'; + import { TextAreaInput } from './TextAreaInput'; export default { diff --git a/packages/fuselage/src/components/TextInput/TextInput.spec.tsx b/packages/fuselage/src/components/TextInput/TextInput.spec.tsx index c315873f90..d4ccae483e 100644 --- a/packages/fuselage/src/components/TextInput/TextInput.spec.tsx +++ b/packages/fuselage/src/components/TextInput/TextInput.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { axe } from 'jest-axe'; import { render } from '../../testing'; + import * as stories from './TextInput.stories'; const { Default } = composeStories(stories); diff --git a/packages/fuselage/src/components/TextInput/TextInput.stories.tsx b/packages/fuselage/src/components/TextInput/TextInput.stories.tsx index 2117d92bf0..865399986a 100644 --- a/packages/fuselage/src/components/TextInput/TextInput.stories.tsx +++ b/packages/fuselage/src/components/TextInput/TextInput.stories.tsx @@ -2,6 +2,7 @@ import type { StoryFn, Meta } from '@storybook/react'; import { PropsVariationSection } from '../../../.storybook/helpers'; import { Icon } from '../Icon'; + import { TextInput } from './TextInput'; export default { diff --git a/packages/fuselage/src/components/Throbber/Throbber.spec.tsx b/packages/fuselage/src/components/Throbber/Throbber.spec.tsx index b8744855ff..bcea661e93 100644 --- a/packages/fuselage/src/components/Throbber/Throbber.spec.tsx +++ b/packages/fuselage/src/components/Throbber/Throbber.spec.tsx @@ -1,6 +1,7 @@ import { composeStories } from '@storybook/react'; import { render } from '../../testing'; + import * as stories from './Throbber.stories'; const { Default } = composeStories(stories); diff --git a/packages/fuselage/src/components/Throbber/Throbber.stories.tsx b/packages/fuselage/src/components/Throbber/Throbber.stories.tsx index d557d328be..f5c819048e 100644 --- a/packages/fuselage/src/components/Throbber/Throbber.stories.tsx +++ b/packages/fuselage/src/components/Throbber/Throbber.stories.tsx @@ -4,6 +4,7 @@ import type { StoryFn, Meta } from '@storybook/react'; import { PropsVariationSection } from '../../../.storybook/helpers'; import Box from '../Box'; import Button from '../Button'; + import { Throbber } from './Throbber'; export default { diff --git a/packages/fuselage/src/components/Tile/Tile.spec.tsx b/packages/fuselage/src/components/Tile/Tile.spec.tsx index 8495a67d2c..d2a7d82ca2 100644 --- a/packages/fuselage/src/components/Tile/Tile.spec.tsx +++ b/packages/fuselage/src/components/Tile/Tile.spec.tsx @@ -1,4 +1,5 @@ import { render } from '../../testing'; + import Tile from './Tile'; describe('[Tile Component]', () => { diff --git a/packages/fuselage/src/components/ToastBar/ToastBar.spec.tsx b/packages/fuselage/src/components/ToastBar/ToastBar.spec.tsx index 36f15140ad..f820341cce 100644 --- a/packages/fuselage/src/components/ToastBar/ToastBar.spec.tsx +++ b/packages/fuselage/src/components/ToastBar/ToastBar.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { axe } from 'jest-axe'; import { render } from '../../testing'; + import * as stories from './ToastBar.stories'; const testCases = Object.values(composeStories(stories)).map((Story) => [ diff --git a/packages/fuselage/src/components/ToggleSwitch/ToggleSwitch.spec.tsx b/packages/fuselage/src/components/ToggleSwitch/ToggleSwitch.spec.tsx index bee7f7b4b3..429c0475f6 100644 --- a/packages/fuselage/src/components/ToggleSwitch/ToggleSwitch.spec.tsx +++ b/packages/fuselage/src/components/ToggleSwitch/ToggleSwitch.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { axe, toHaveNoViolations } from 'jest-axe'; import { render } from '../../testing'; + import * as stories from './ToggleSwitch.stories'; expect.extend(toHaveNoViolations); diff --git a/packages/fuselage/src/components/ToggleSwitch/ToggleSwitch.stories.tsx b/packages/fuselage/src/components/ToggleSwitch/ToggleSwitch.stories.tsx index 22d6d2b486..03a4fffaaf 100644 --- a/packages/fuselage/src/components/ToggleSwitch/ToggleSwitch.stories.tsx +++ b/packages/fuselage/src/components/ToggleSwitch/ToggleSwitch.stories.tsx @@ -5,6 +5,7 @@ import { DECORATOR_LABEL, PropsVariationSection, } from '../../../.storybook/helpers'; + import { ToggleSwitch } from './ToggleSwitch'; export default { diff --git a/packages/fuselage/src/components/Tooltip/Tooltip.spec.tsx b/packages/fuselage/src/components/Tooltip/Tooltip.spec.tsx index 1aeba7cd73..8854c5384c 100644 --- a/packages/fuselage/src/components/Tooltip/Tooltip.spec.tsx +++ b/packages/fuselage/src/components/Tooltip/Tooltip.spec.tsx @@ -1,4 +1,5 @@ import { render } from '../../testing'; + import * as stories from './Tooltip.stories'; const { Default, LightTooltip } = stories; diff --git a/packages/fuselage/src/components/Tooltip/Tooltip.stories.tsx b/packages/fuselage/src/components/Tooltip/Tooltip.stories.tsx index d0804586b5..4bb9538425 100644 --- a/packages/fuselage/src/components/Tooltip/Tooltip.stories.tsx +++ b/packages/fuselage/src/components/Tooltip/Tooltip.stories.tsx @@ -2,6 +2,7 @@ import type { StoryFn, Meta } from '@storybook/react'; import Box from '../Box'; import Margins from '../Margins'; + import Tooltip from './Tooltip'; export default { diff --git a/packages/fuselage/src/components/UrlInput/UrlInput.spec.tsx b/packages/fuselage/src/components/UrlInput/UrlInput.spec.tsx index 6d78644cb0..a97b106b3d 100644 --- a/packages/fuselage/src/components/UrlInput/UrlInput.spec.tsx +++ b/packages/fuselage/src/components/UrlInput/UrlInput.spec.tsx @@ -2,6 +2,7 @@ import { composeStories } from '@storybook/react'; import { axe } from 'jest-axe'; import { render } from '../../testing'; + import * as stories from './UrlInput.stories'; const { Default } = composeStories(stories); diff --git a/packages/fuselage/src/components/UrlInput/UrlInput.stories.tsx b/packages/fuselage/src/components/UrlInput/UrlInput.stories.tsx index a2ab7d75a9..00b4a3280e 100644 --- a/packages/fuselage/src/components/UrlInput/UrlInput.stories.tsx +++ b/packages/fuselage/src/components/UrlInput/UrlInput.stories.tsx @@ -2,6 +2,7 @@ import type { Meta, StoryFn } from '@storybook/react'; import { PropsVariationSection } from '../../../.storybook/helpers'; import { Icon } from '../Icon'; + import UrlInput from './UrlInput'; export default { diff --git a/packages/fuselage/src/helpers/composeClassNames.ts b/packages/fuselage/src/helpers/composeClassNames.ts index 8ac964b71c..53c2c4accd 100644 --- a/packages/fuselage/src/helpers/composeClassNames.ts +++ b/packages/fuselage/src/helpers/composeClassNames.ts @@ -1,4 +1,5 @@ import { Falsy } from '../types/Falsy'; + import { exhaustiveCheck } from './exhaustiveCheck'; const withPrefix = (prefix?: string) => (modifier: string) => diff --git a/packages/fuselage/src/hooks/useArrayLikeClassNameProp.ts b/packages/fuselage/src/hooks/useArrayLikeClassNameProp.ts index 33d2c8a80f..b75185c788 100644 --- a/packages/fuselage/src/hooks/useArrayLikeClassNameProp.ts +++ b/packages/fuselage/src/hooks/useArrayLikeClassNameProp.ts @@ -3,6 +3,7 @@ import { css } from '@rocket.chat/css-in-js'; import { appendClassName } from '../helpers/appendClassName'; import type { Falsy } from '../types/Falsy'; + import { useStyle } from './useStyle'; export const useArrayLikeClassNameProp = < diff --git a/packages/layout/.storybook/preview.tsx b/packages/layout/.storybook/preview.tsx index ff7c305e16..23afe88153 100644 --- a/packages/layout/.storybook/preview.tsx +++ b/packages/layout/.storybook/preview.tsx @@ -6,6 +6,7 @@ import { useDarkMode } from 'storybook-dark-mode'; import manifest from '../package.json'; import DarkModeProvider from '../src/DarkModeProvider'; + import DocsContainer from './DocsContainer'; import logo from './logo.svg'; diff --git a/packages/layout/src/BackgroundLayer/BackgroundLayer.tsx b/packages/layout/src/BackgroundLayer/BackgroundLayer.tsx index 032c7e9978..ee1dc6d801 100644 --- a/packages/layout/src/BackgroundLayer/BackgroundLayer.tsx +++ b/packages/layout/src/BackgroundLayer/BackgroundLayer.tsx @@ -5,6 +5,7 @@ import { renderToStaticMarkup } from 'react-dom/server'; import { useDarkMode } from '../DarkModeProvider'; import { useLayoutContext } from '../contexts/LayoutContext'; + import BackgroundImage from './BackgroundImage'; import { Wrapper } from './BackgroundLayer.styles'; diff --git a/packages/layout/src/HorizontalWizardLayout/HorizontalWizardLayout.stories.tsx b/packages/layout/src/HorizontalWizardLayout/HorizontalWizardLayout.stories.tsx index af36190c1d..06e3a82b00 100644 --- a/packages/layout/src/HorizontalWizardLayout/HorizontalWizardLayout.stories.tsx +++ b/packages/layout/src/HorizontalWizardLayout/HorizontalWizardLayout.stories.tsx @@ -11,6 +11,7 @@ import type { Meta, StoryFn } from '@storybook/react'; import ActionLink from '../ActionLink'; import Form from '../FormPageLayout'; + import { HorizontalWizardLayout, HorizontalWizardLayoutAside, diff --git a/packages/layout/src/VerticalWizardLayout/VerticalWizardLayout.stories.tsx b/packages/layout/src/VerticalWizardLayout/VerticalWizardLayout.stories.tsx index 4be0bc70c2..529b454651 100644 --- a/packages/layout/src/VerticalWizardLayout/VerticalWizardLayout.stories.tsx +++ b/packages/layout/src/VerticalWizardLayout/VerticalWizardLayout.stories.tsx @@ -10,6 +10,7 @@ import { import type { Meta, StoryFn } from '@storybook/react'; import Form from '../FormPageLayout'; + import { VerticalWizardLayout, VerticalWizardLayoutTitle, diff --git a/packages/logo/src/TaggedRocketChatLogo/TaggedRocketChatLogo.tsx b/packages/logo/src/TaggedRocketChatLogo/TaggedRocketChatLogo.tsx index 8b3a5275ce..db06dd9b51 100644 --- a/packages/logo/src/TaggedRocketChatLogo/TaggedRocketChatLogo.tsx +++ b/packages/logo/src/TaggedRocketChatLogo/TaggedRocketChatLogo.tsx @@ -2,6 +2,7 @@ import colors from '@rocket.chat/fuselage-tokens/colors.json'; import type { ReactElement } from 'react'; import RocketChatLogo from '../RocketChatLogo'; + import { LogoContainer, LogoTag } from './TaggedRocketChatLogo.styles'; type TaggedRocketChatLogoProps = { diff --git a/packages/onboarding-ui/.storybook/preview.tsx b/packages/onboarding-ui/.storybook/preview.tsx index dfd16aff53..368582bb97 100644 --- a/packages/onboarding-ui/.storybook/preview.tsx +++ b/packages/onboarding-ui/.storybook/preview.tsx @@ -8,6 +8,7 @@ import { I18nextProvider, initReactI18next } from 'react-i18next'; import { useDarkMode } from 'storybook-dark-mode'; import manifest from '../package.json'; + import DocsContainer from './DocsContainer'; import logo from './logo.svg'; diff --git a/packages/onboarding-ui/src/flows/SelfHostedRegistration/SelfHostedRegistration.stories.tsx b/packages/onboarding-ui/src/flows/SelfHostedRegistration/SelfHostedRegistration.stories.tsx index 3bda4ae294..7c1abe6114 100644 --- a/packages/onboarding-ui/src/flows/SelfHostedRegistration/SelfHostedRegistration.stories.tsx +++ b/packages/onboarding-ui/src/flows/SelfHostedRegistration/SelfHostedRegistration.stories.tsx @@ -13,6 +13,7 @@ import EmailConfirmedPage from '../../pages/EmailConfirmedPage'; import OrganizationInfoPage from '../../pages/OrganizationInfoPage'; import RegisterOfflinePage from '../../pages/RegisterOfflinePage'; import RegisteredServerPage from '../../pages/RegisterServerPage'; + import { countryOptions, logSubmit, diff --git a/packages/onboarding-ui/src/forms/CreateCloudWorkspaceForm/CreateCloudWorkspaceForm.tsx b/packages/onboarding-ui/src/forms/CreateCloudWorkspaceForm/CreateCloudWorkspaceForm.tsx index 90b57bbcbf..f7fc41b95d 100644 --- a/packages/onboarding-ui/src/forms/CreateCloudWorkspaceForm/CreateCloudWorkspaceForm.tsx +++ b/packages/onboarding-ui/src/forms/CreateCloudWorkspaceForm/CreateCloudWorkspaceForm.tsx @@ -22,6 +22,7 @@ import { useForm, Controller } from 'react-hook-form'; import { useTranslation, Trans } from 'react-i18next'; import Tooltip from '../../common/InformationTooltipTrigger'; + import WorkspaceUrlInput from './WorkspaceUrlInput'; type CreateCloudWorkspaceFormPayload = { diff --git a/packages/onboarding-ui/src/pages/CreateCloudWorkspacePage/CreateCloudWorkspacePage.tsx b/packages/onboarding-ui/src/pages/CreateCloudWorkspacePage/CreateCloudWorkspacePage.tsx index 6204a9b1f8..32ebe834bd 100644 --- a/packages/onboarding-ui/src/pages/CreateCloudWorkspacePage/CreateCloudWorkspacePage.tsx +++ b/packages/onboarding-ui/src/pages/CreateCloudWorkspacePage/CreateCloudWorkspacePage.tsx @@ -5,6 +5,7 @@ import { useTranslation, Trans } from 'react-i18next'; import FormPageLayout from '../../common/FormPageLayout'; import CreateCloudWorkspaceForm from '../../forms/CreateCloudWorkspaceForm'; + import Description from './Description'; import TitleCreateCloudPage from './TitleCreateCloudPage'; diff --git a/packages/onboarding-ui/src/pages/CreateFirstMemberPage/CreateFirstMemberPage.tsx b/packages/onboarding-ui/src/pages/CreateFirstMemberPage/CreateFirstMemberPage.tsx index 0fd5bf7d2c..20d7199181 100644 --- a/packages/onboarding-ui/src/pages/CreateFirstMemberPage/CreateFirstMemberPage.tsx +++ b/packages/onboarding-ui/src/pages/CreateFirstMemberPage/CreateFirstMemberPage.tsx @@ -4,6 +4,7 @@ import type { ComponentProps, ReactElement } from 'react'; import type { FormPageLayoutStyleProps } from '../../Types'; import FormPageLayout from '../../common/FormPageLayout'; import CreateFirstMemberForm from '../../forms/CreateFirstMemberForm'; + import TitleCreateFirstMemberPage from './TitleCreateFirstMemberPage'; type CreateCloudWorkspacePageProps = ComponentProps< diff --git a/packages/onboarding-ui/src/pages/RequestTrialPage/RequestTrialPage.tsx b/packages/onboarding-ui/src/pages/RequestTrialPage/RequestTrialPage.tsx index 3e81bf3929..7531487547 100644 --- a/packages/onboarding-ui/src/pages/RequestTrialPage/RequestTrialPage.tsx +++ b/packages/onboarding-ui/src/pages/RequestTrialPage/RequestTrialPage.tsx @@ -7,6 +7,7 @@ import { useTranslation, Trans } from 'react-i18next'; import FormPageLayout from '../../common/FormPageLayout'; import RequestTrialForm from '../../forms/RequestTrialForm'; + import Description from './Description'; type RequestTrialPageProps = ComponentProps; diff --git a/tools/build-icons/svg.mjs b/tools/build-icons/svg.mjs index 4cc25bd2ae..f1d67bd4f1 100644 --- a/tools/build-icons/svg.mjs +++ b/tools/build-icons/svg.mjs @@ -1,7 +1,7 @@ import { promisify } from 'util'; -import { parseString, Builder } from 'xml2js'; import { readSource } from 'tools-utils/files'; +import { parseString, Builder } from 'xml2js'; const xmlBuilder = new Builder({ headless: true }); diff --git a/tools/tools-utils/files.mjs b/tools/tools-utils/files.mjs index 6842193151..7cec35e001 100644 --- a/tools/tools-utils/files.mjs +++ b/tools/tools-utils/files.mjs @@ -2,8 +2,8 @@ import { lstat, readlink, readFile, writeFile, mkdir } from 'fs/promises'; import { dirname, join } from 'path'; import { promisify } from 'util'; -import rimraf from 'rimraf'; import fg from 'fast-glob'; +import rimraf from 'rimraf'; import { encodeJson, decodeJson } from './json.mjs'; import { encodeJson5, decodeJson5 } from './json5.mjs'; diff --git a/tools/update-readme/templates/section/header.mjs b/tools/update-readme/templates/section/header.mjs index df94d2a761..7a202cac6b 100644 --- a/tools/update-readme/templates/section/header.mjs +++ b/tools/update-readme/templates/section/header.mjs @@ -1,6 +1,5 @@ import outdent from 'outdent'; -import { badges } from '../badges.mjs'; import { bundleSizeBadge } from '../badges/bundleSizeBadge.mjs'; import { depsBadge } from '../badges/depsBadge.mjs'; import { licenseBadge } from '../badges/licenseBadge.mjs'; @@ -8,6 +7,7 @@ import { npmDownloadsBadge } from '../badges/npmDownloadsBadge.mjs'; import { npmPeerDepVersionBadge } from '../badges/npmPeerDepVersionBadge.mjs'; import { npmVersionBadge } from '../badges/npmVersionBadge.mjs'; import { storybookBadge } from '../badges/storybookBadge.mjs'; +import { badges } from '../badges.mjs'; import { rocketChatLogo } from '../rocketChatLogo.mjs'; export const header = (pkg) => From b5b6d6557a63cb99409b09b6e2c8cff95e465607 Mon Sep 17 00:00:00 2001 From: Tasso Date: Wed, 6 Nov 2024 12:31:34 -0300 Subject: [PATCH 07/11] Ignore `storybook-static` --- eslint.config.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index 84e5908135..5432418886 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -11,7 +11,7 @@ import tseslint from 'typescript-eslint'; export default tseslint.config( { - ignores: ['**/dist/**', '.yarn/**'], + ignores: ['**/dist/**', '.yarn/**', '**/storybook-static/**'], }, { rules: { From 8248e897da22e1f441a197cdfb386c335b089b7a Mon Sep 17 00:00:00 2001 From: Tasso Date: Wed, 6 Nov 2024 23:37:30 -0300 Subject: [PATCH 08/11] Re-spread .prettierignore files --- packages/css-in-js/.prettierignore | 1 + packages/fuselage-tokens/.prettierignore | 1 + packages/icons/.prettierignore | 1 + 3 files changed, 3 insertions(+) create mode 100644 packages/css-in-js/.prettierignore create mode 100644 packages/fuselage-tokens/.prettierignore diff --git a/packages/css-in-js/.prettierignore b/packages/css-in-js/.prettierignore new file mode 100644 index 0000000000..9b1c8b133c --- /dev/null +++ b/packages/css-in-js/.prettierignore @@ -0,0 +1 @@ +/dist diff --git a/packages/fuselage-tokens/.prettierignore b/packages/fuselage-tokens/.prettierignore new file mode 100644 index 0000000000..9b1c8b133c --- /dev/null +++ b/packages/fuselage-tokens/.prettierignore @@ -0,0 +1 @@ +/dist diff --git a/packages/icons/.prettierignore b/packages/icons/.prettierignore index 960591e4fa..68229df656 100644 --- a/packages/icons/.prettierignore +++ b/packages/icons/.prettierignore @@ -1 +1,2 @@ +/dist /glyphsMapping.json From 300dc5fd248e0583e4054298d23b869fef2bb679 Mon Sep 17 00:00:00 2001 From: Tasso Date: Thu, 7 Nov 2024 16:16:23 -0300 Subject: [PATCH 09/11] Remove (probably) unused `@babel/eslint-parser` --- packages/fuselage/package.json | 1 - yarn.lock | 31 ------------------------------- 2 files changed, 32 deletions(-) diff --git a/packages/fuselage/package.json b/packages/fuselage/package.json index 17b384669b..ed13be04e3 100644 --- a/packages/fuselage/package.json +++ b/packages/fuselage/package.json @@ -64,7 +64,6 @@ }, "devDependencies": { "@babel/core": "~7.21.4", - "@babel/eslint-parser": "~7.21.3", "@babel/plugin-transform-runtime": "~7.21.4", "@babel/preset-env": "~7.21.4", "@babel/preset-react": "~7.18.6", diff --git a/yarn.lock b/yarn.lock index 774ae38254..b7fd4db60f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -85,20 +85,6 @@ __metadata: languageName: node linkType: hard -"@babel/eslint-parser@npm:~7.21.3": - version: 7.21.3 - resolution: "@babel/eslint-parser@npm:7.21.3" - dependencies: - "@nicolo-ribaudo/eslint-scope-5-internals": "npm:5.1.1-v1" - eslint-visitor-keys: "npm:^2.1.0" - semver: "npm:^6.3.0" - peerDependencies: - "@babel/core": ">=7.11.0" - eslint: ^7.5.0 || ^8.0.0 - checksum: 10/770d0947249bf409ec7725b641c9f66a7e2518f4e99fd6334586fcc9766f81de05412b89dee32e7b04793c1bf8fe0ea32072751a2a6e4f13d7a83c13dc2e867d - languageName: node - linkType: hard - "@babel/generator@npm:^7.21.4, @babel/generator@npm:^7.25.0, @babel/generator@npm:^7.7.2": version: 7.25.0 resolution: "@babel/generator@npm:7.25.0" @@ -2603,15 +2589,6 @@ __metadata: languageName: node linkType: hard -"@nicolo-ribaudo/eslint-scope-5-internals@npm:5.1.1-v1": - version: 5.1.1-v1 - resolution: "@nicolo-ribaudo/eslint-scope-5-internals@npm:5.1.1-v1" - dependencies: - eslint-scope: "npm:5.1.1" - checksum: 10/f2e3b2d6a6e2d9f163ca22105910c9f850dc4897af0aea3ef0a5886b63d8e1ba6505b71c99cb78a3bba24a09557d601eb21c8dede3f3213753fcfef364eb0e57 - languageName: node - linkType: hard - "@nodelib/fs.scandir@npm:2.1.5": version: 2.1.5 resolution: "@nodelib/fs.scandir@npm:2.1.5" @@ -4354,7 +4331,6 @@ __metadata: resolution: "@rocket.chat/fuselage@workspace:packages/fuselage" dependencies: "@babel/core": "npm:~7.21.4" - "@babel/eslint-parser": "npm:~7.21.3" "@babel/plugin-transform-runtime": "npm:~7.21.4" "@babel/preset-env": "npm:~7.21.4" "@babel/preset-react": "npm:~7.18.6" @@ -10036,13 +10012,6 @@ __metadata: languageName: node linkType: hard -"eslint-visitor-keys@npm:^2.1.0": - version: 2.1.0 - resolution: "eslint-visitor-keys@npm:2.1.0" - checksum: 10/db4547eef5039122d518fa307e938ceb8589da5f6e8f5222efaf14dd62f748ce82e2d2becd3ff9412a50350b726bda95dbea8515a471074547daefa58aee8735 - languageName: node - linkType: hard - "eslint-visitor-keys@npm:^3.3.0, eslint-visitor-keys@npm:^3.4.1, eslint-visitor-keys@npm:^3.4.3": version: 3.4.3 resolution: "eslint-visitor-keys@npm:3.4.3" From b2c315bff1d3c16cc70385ed590619ae23679de6 Mon Sep 17 00:00:00 2001 From: Tasso Date: Thu, 7 Nov 2024 16:43:16 -0300 Subject: [PATCH 10/11] Update workflows --- .github/workflows/cd.yml | 2 +- .github/workflows/ci-pr.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index ac5040554c..374e0942d1 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -29,7 +29,7 @@ jobs: **/node_modules .yarn/cache key: ${{ runner.os }}-modules-${{ hashFiles('yarn.lock') }} - - run: yarn install + - run: yarn if: steps.yarn-cache.outputs.cache-hit != 'true' - run: yarn run ci - run: yarn run docs diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml index 1fff290d26..2c3c68ffdb 100644 --- a/.github/workflows/ci-pr.yml +++ b/.github/workflows/ci-pr.yml @@ -39,7 +39,7 @@ jobs: key: turbo-${{ runner.os }}-${{ github.job }} restore-keys: | turbo-${{ runner.os }}- - - run: yarn install + - run: yarn if: steps.yarn-cache.outputs.cache-hit != 'true' - run: yarn run ci - uses: actions/upload-artifact@v3 From 631f19804a541cb8cf34e7f05a72e1267f5a774f Mon Sep 17 00:00:00 2001 From: Tasso Date: Thu, 7 Nov 2024 17:19:30 -0300 Subject: [PATCH 11/11] Dedupe --- yarn.lock | 806 ++++-------------------------------------------------- 1 file changed, 58 insertions(+), 748 deletions(-) diff --git a/yarn.lock b/yarn.lock index b7fd4db60f..8f9ad6fd69 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1983,14 +1983,7 @@ __metadata: languageName: node linkType: hard -"@eslint-community/regexpp@npm:^4.10.0": - version: 4.11.1 - resolution: "@eslint-community/regexpp@npm:4.11.1" - checksum: 10/934b6d3588c7f16b18d41efec4fdb89616c440b7e3256b8cb92cfd31ae12908600f2b986d6c1e61a84cbc10256b1dd3448cd1eec79904bd67ac365d0f1aba2e2 - languageName: node - linkType: hard - -"@eslint-community/regexpp@npm:^4.12.1": +"@eslint-community/regexpp@npm:^4.10.0, @eslint-community/regexpp@npm:^4.12.1": version: 4.12.1 resolution: "@eslint-community/regexpp@npm:4.12.1" checksum: 10/c08f1dd7dd18fbb60bdd0d85820656d1374dd898af9be7f82cb00451313402a22d5e30569c150315b4385907cdbca78c22389b2a72ab78883b3173be317620cc @@ -5136,7 +5129,7 @@ __metadata: languageName: node linkType: hard -"@storybook/components@npm:8.4.1": +"@storybook/components@npm:8.4.1, @storybook/components@npm:^8.0.0": version: 8.4.1 resolution: "@storybook/components@npm:8.4.1" peerDependencies: @@ -5145,15 +5138,6 @@ __metadata: languageName: node linkType: hard -"@storybook/components@npm:^8.0.0": - version: 8.2.7 - resolution: "@storybook/components@npm:8.2.7" - peerDependencies: - storybook: ^8.2.7 - checksum: 10/1a4023cb8442abbdc69bf32ae14b2441d56fbd9083cd5e0b8e4cc5e40f1e1e61edbca19b22acb20d006c9af5b39debfe20d93df0f0a921c0c26050b5ae220ec2 - languageName: node - linkType: hard - "@storybook/core-events@npm:^8.0.0": version: 8.2.7 resolution: "@storybook/core-events@npm:8.2.7" @@ -5226,7 +5210,7 @@ __metadata: languageName: node linkType: hard -"@storybook/icons@npm:^1.2.12": +"@storybook/icons@npm:^1.2.12, @storybook/icons@npm:^1.2.5": version: 1.2.12 resolution: "@storybook/icons@npm:1.2.12" peerDependencies: @@ -5236,16 +5220,6 @@ __metadata: languageName: node linkType: hard -"@storybook/icons@npm:^1.2.5": - version: 1.2.10 - resolution: "@storybook/icons@npm:1.2.10" - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 10/fad929a7e3c7a1a0fbf6b924b0be73f557b1bba9519faa15422482f89513ceb4b649444c224ee3d1dfbdce3616e684063cff23da08f6b1dd96f1aff4381388a6 - languageName: node - linkType: hard - "@storybook/instrumenter@npm:8.4.1": version: 8.4.1 resolution: "@storybook/instrumenter@npm:8.4.1" @@ -5258,7 +5232,7 @@ __metadata: languageName: node linkType: hard -"@storybook/manager-api@npm:8.4.1": +"@storybook/manager-api@npm:8.4.1, @storybook/manager-api@npm:^8.0.0": version: 8.4.1 resolution: "@storybook/manager-api@npm:8.4.1" peerDependencies: @@ -5267,15 +5241,6 @@ __metadata: languageName: node linkType: hard -"@storybook/manager-api@npm:^8.0.0": - version: 8.2.7 - resolution: "@storybook/manager-api@npm:8.2.7" - peerDependencies: - storybook: ^8.2.7 - checksum: 10/c3886a0b3088bbdac111de1e55bc6837a7b56e8dedb5c9ba7288bc416b9bfe5cce0358be389baaa2037e81ba9318036a3634d64690b2731aac7a7c139a84355d - languageName: node - linkType: hard - "@storybook/node-logger@npm:^8.0.0-alpha.10": version: 8.2.7 resolution: "@storybook/node-logger@npm:8.2.7" @@ -5413,7 +5378,7 @@ __metadata: languageName: node linkType: hard -"@storybook/theming@npm:8.4.1, @storybook/theming@npm:~8.4.1": +"@storybook/theming@npm:8.4.1, @storybook/theming@npm:^8.0.0, @storybook/theming@npm:~8.4.1": version: 8.4.1 resolution: "@storybook/theming@npm:8.4.1" peerDependencies: @@ -5422,15 +5387,6 @@ __metadata: languageName: node linkType: hard -"@storybook/theming@npm:^8.0.0": - version: 8.2.7 - resolution: "@storybook/theming@npm:8.2.7" - peerDependencies: - storybook: ^8.2.7 - checksum: 10/774d435d37b9dc8573696f71e6f8df35239e4e44b6a6f1ed639743d0b908b7e48d47ef85ee8aeebe715cd9de844953aadf2b0ef7a3d8852851c35341b7e0ff7f - languageName: node - linkType: hard - "@swc/core-darwin-arm64@npm:1.7.5": version: 1.7.5 resolution: "@swc/core-darwin-arm64@npm:1.7.5" @@ -5830,10 +5786,10 @@ __metadata: languageName: node linkType: hard -"@types/estree@npm:*, @types/estree@npm:^1.0.0, @types/estree@npm:^1.0.5": - version: 1.0.5 - resolution: "@types/estree@npm:1.0.5" - checksum: 10/7de6d928dd4010b0e20c6919e1a6c27b61f8d4567befa89252055fad503d587ecb9a1e3eab1b1901f923964d7019796db810b7fd6430acb26c32866d126fd408 +"@types/estree@npm:*, @types/estree@npm:^1.0.0, @types/estree@npm:^1.0.6": + version: 1.0.6 + resolution: "@types/estree@npm:1.0.6" + checksum: 10/9d35d475095199c23e05b431bcdd1f6fec7380612aed068b14b2a08aa70494de8a9026765a5a91b1073f636fb0368f6d8973f518a31391d519e20c59388ed88d languageName: node linkType: hard @@ -5844,13 +5800,6 @@ __metadata: languageName: node linkType: hard -"@types/estree@npm:^1.0.6": - version: 1.0.6 - resolution: "@types/estree@npm:1.0.6" - checksum: 10/9d35d475095199c23e05b431bcdd1f6fec7380612aed068b14b2a08aa70494de8a9026765a5a91b1073f636fb0368f6d8973f518a31391d519e20c59388ed88d - languageName: node - linkType: hard - "@types/fs-extra@npm:>=11": version: 11.0.4 resolution: "@types/fs-extra@npm:11.0.4" @@ -5956,20 +5905,13 @@ __metadata: languageName: node linkType: hard -"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.15": +"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.15, @types/json-schema@npm:^7.0.8, @types/json-schema@npm:^7.0.9": version: 7.0.15 resolution: "@types/json-schema@npm:7.0.15" checksum: 10/1a3c3e06236e4c4aab89499c428d585527ce50c24fe8259e8b3926d3df4cfbbbcf306cfc73ddfb66cbafc973116efd15967020b0f738f63e09e64c7d260519e7 languageName: node linkType: hard -"@types/json-schema@npm:^7.0.8, @types/json-schema@npm:^7.0.9": - version: 7.0.9 - resolution: "@types/json-schema@npm:7.0.9" - checksum: 10/7ceb41e396240aa69ae15c02ffbb6548ea2bb2f845a7378c711c7c908a9a8438a0330f3135f1ccb6e82e334b9e2ec5b94fb57a1435f2b15362d38e9d5109e5ea - languageName: node - linkType: hard - "@types/json5@npm:^0.0.29": version: 0.0.29 resolution: "@types/json5@npm:0.0.29" @@ -6018,12 +5960,12 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:*, @types/node@npm:>=20": - version: 22.7.5 - resolution: "@types/node@npm:22.7.5" +"@types/node@npm:*, @types/node@npm:>=20, @types/node@npm:^22.0.0": + version: 22.7.6 + resolution: "@types/node@npm:22.7.6" dependencies: undici-types: "npm:~6.19.2" - checksum: 10/e8ba102f8c1aa7623787d625389be68d64e54fcbb76d41f6c2c64e8cf4c9f4a2370e7ef5e5f1732f3c57529d3d26afdcb2edc0101c5e413a79081449825c57ac + checksum: 10/46a8d6bcd61098ece36f790c4bd500537cf78fe075dbfe48f1e07a29efa6cba18cff3b2564aed80fb183244f5d9a95a63b09e27c9f5181ed927ac16ef493bd95 languageName: node linkType: hard @@ -6041,15 +5983,6 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^22.0.0": - version: 22.7.6 - resolution: "@types/node@npm:22.7.6" - dependencies: - undici-types: "npm:~6.19.2" - checksum: 10/46a8d6bcd61098ece36f790c4bd500537cf78fe075dbfe48f1e07a29efa6cba18cff3b2564aed80fb183244f5d9a95a63b09e27c9f5181ed927ac16ef493bd95 - languageName: node - linkType: hard - "@types/node@npm:~14.18.42": version: 14.18.42 resolution: "@types/node@npm:14.18.42" @@ -6716,15 +6649,6 @@ __metadata: languageName: node linkType: hard -"acorn-import-attributes@npm:^1.9.5": - version: 1.9.5 - resolution: "acorn-import-attributes@npm:1.9.5" - peerDependencies: - acorn: ^8 - checksum: 10/8bfbfbb6e2467b9b47abb4d095df717ab64fce2525da65eabee073e85e7975fb3a176b6c8bba17c99a7d8ede283a10a590272304eb54a93c4aa1af9790d47a8b - languageName: node - linkType: hard - "acorn-jsx@npm:^5.0.0, acorn-jsx@npm:^5.3.2": version: 5.3.2 resolution: "acorn-jsx@npm:5.3.2" @@ -6752,16 +6676,7 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^8.0.0, acorn@npm:^8.0.4, acorn@npm:^8.11.0, acorn@npm:^8.12.1, acorn@npm:^8.4.1, acorn@npm:^8.7.1, acorn@npm:^8.8.2, acorn@npm:^8.9.0": - version: 8.12.1 - resolution: "acorn@npm:8.12.1" - bin: - acorn: bin/acorn - checksum: 10/d08c2d122bba32d0861e0aa840b2ee25946c286d5dc5990abca991baf8cdbfbe199b05aacb221b979411a2fea36f83e26b5ac4f6b4e0ce49038c62316c1848f0 - languageName: node - linkType: hard - -"acorn@npm:^8.11.3, acorn@npm:^8.14.0": +"acorn@npm:^8.0.0, acorn@npm:^8.0.4, acorn@npm:^8.11.0, acorn@npm:^8.11.3, acorn@npm:^8.12.1, acorn@npm:^8.14.0, acorn@npm:^8.4.1, acorn@npm:^8.8.2, acorn@npm:^8.9.0": version: 8.14.0 resolution: "acorn@npm:8.14.0" bin: @@ -7038,16 +6953,6 @@ __metadata: languageName: node linkType: hard -"array-buffer-byte-length@npm:^1.0.0": - version: 1.0.0 - resolution: "array-buffer-byte-length@npm:1.0.0" - dependencies: - call-bind: "npm:^1.0.2" - is-array-buffer: "npm:^3.0.1" - checksum: 10/044e101ce150f4804ad19c51d6c4d4cfa505c5b2577bd179256e4aa3f3f6a0a5e9874c78cd428ee566ac574c8a04d7ce21af9fe52e844abfdccb82b33035a7c3 - languageName: node - linkType: hard - "array-buffer-byte-length@npm:^1.0.1": version: 1.0.1 resolution: "array-buffer-byte-length@npm:1.0.1" @@ -7058,20 +6963,7 @@ __metadata: languageName: node linkType: hard -"array-includes@npm:^3.1.5": - version: 3.1.6 - resolution: "array-includes@npm:3.1.6" - dependencies: - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.1.4" - es-abstract: "npm:^1.20.4" - get-intrinsic: "npm:^1.1.3" - is-string: "npm:^1.0.7" - checksum: 10/a7168bd16821ec76b95a8f50f73076577a7cbd6c762452043d2b978c8a5fa4afe4f98a025d6f1d5c971b8d0b440b4ee73f6a57fc45382c858b8e17c275015428 - languageName: node - linkType: hard - -"array-includes@npm:^3.1.8": +"array-includes@npm:^3.1.5, array-includes@npm:^3.1.8": version: 3.1.8 resolution: "array-includes@npm:3.1.8" dependencies: @@ -7157,21 +7049,6 @@ __metadata: languageName: node linkType: hard -"arraybuffer.prototype.slice@npm:^1.0.1": - version: 1.0.2 - resolution: "arraybuffer.prototype.slice@npm:1.0.2" - dependencies: - array-buffer-byte-length: "npm:^1.0.0" - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.2.0" - es-abstract: "npm:^1.22.1" - get-intrinsic: "npm:^1.2.1" - is-array-buffer: "npm:^3.0.2" - is-shared-array-buffer: "npm:^1.0.2" - checksum: 10/c200faf437786f5b2c80d4564ff5481c886a16dee642ef02abdc7306c7edd523d1f01d1dd12b769c7eb42ac9bc53874510db19a92a2c035c0f6696172aafa5d3 - languageName: node - linkType: hard - "arraybuffer.prototype.slice@npm:^1.0.3": version: 1.0.3 resolution: "arraybuffer.prototype.slice@npm:1.0.3" @@ -7279,7 +7156,7 @@ __metadata: languageName: node linkType: hard -"available-typed-arrays@npm:^1.0.5, available-typed-arrays@npm:^1.0.7": +"available-typed-arrays@npm:^1.0.7": version: 1.0.7 resolution: "available-typed-arrays@npm:1.0.7" dependencies: @@ -7579,21 +7456,7 @@ __metadata: languageName: node linkType: hard -"browserslist@npm:^4.0.0, browserslist@npm:^4.16.6, browserslist@npm:^4.20.3, browserslist@npm:^4.21.10, browserslist@npm:^4.21.5, browserslist@npm:^4.23.0, browserslist@npm:^4.23.1": - version: 4.23.3 - resolution: "browserslist@npm:4.23.3" - dependencies: - caniuse-lite: "npm:^1.0.30001646" - electron-to-chromium: "npm:^1.5.4" - node-releases: "npm:^2.0.18" - update-browserslist-db: "npm:^1.1.0" - bin: - browserslist: cli.js - checksum: 10/e266d18c6c6c5becf9a1a7aa264477677b9796387972e8fce34854bb33dc1666194dc28389780e5dc6566e68a95e87ece2ce222e1c4ca93c2b75b61dfebd5f1c - languageName: node - linkType: hard - -"browserslist@npm:^4.24.0": +"browserslist@npm:^4.0.0, browserslist@npm:^4.16.6, browserslist@npm:^4.20.3, browserslist@npm:^4.21.5, browserslist@npm:^4.23.0, browserslist@npm:^4.23.1, browserslist@npm:^4.24.0": version: 4.24.2 resolution: "browserslist@npm:4.24.2" dependencies: @@ -7813,14 +7676,7 @@ __metadata: languageName: node linkType: hard -"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001464, caniuse-lite@npm:^1.0.30001646, caniuse-lite@npm:~1.0.30001477": - version: 1.0.30001646 - resolution: "caniuse-lite@npm:1.0.30001646" - checksum: 10/6c66a5677b58988c2ee86905b05705b00be552a3e4f768bd0d9a10098cc4ec471de5b204e2c2ab534f34b5f216c059321a9e5cb1395928cf29ded0a4aae4535f - languageName: node - linkType: hard - -"caniuse-lite@npm:^1.0.30001669": +"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001464, caniuse-lite@npm:^1.0.30001669, caniuse-lite@npm:~1.0.30001477": version: 1.0.30001677 resolution: "caniuse-lite@npm:1.0.30001677" checksum: 10/e07439bdeade5ffdd974691f44f8549ae0730fcf510acaa32d0b657c10370cd5aad09eeca37248966205fb37fce5f464dbce73ce177b4a1fdc3a34adbcfd7192 @@ -8285,14 +8141,14 @@ __metadata: languageName: node linkType: hard -"commander@npm:10.0.0, commander@npm:^10.0.0": +"commander@npm:10.0.0": version: 10.0.0 resolution: "commander@npm:10.0.0" checksum: 10/a4fc6d79b44fd87f6c5fbbdfc8d10fa8b33e1676ae170356419b9e06faf802899fae03a3b151c2e6a18047885ca42d2b70e0a94d4e5042edb948100848d43f91 languageName: node linkType: hard -"commander@npm:^10.0.1": +"commander@npm:^10.0.0, commander@npm:^10.0.1": version: 10.0.1 resolution: "commander@npm:10.0.1" checksum: 10/8799faa84a30da985802e661cc9856adfaee324d4b138413013ef7f087e8d7924b144c30a1f1405475f0909f467665cd9e1ce13270a2f41b141dab0b7a58f3fb @@ -8857,15 +8713,15 @@ __metadata: languageName: node linkType: hard -"debug@npm:4, debug@npm:^4.0.0, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.3, debug@npm:^4.3.4": - version: 4.3.6 - resolution: "debug@npm:4.3.6" +"debug@npm:4, debug@npm:^4.0.0, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.3, debug@npm:^4.3.4, debug@npm:^4.3.5, debug@npm:^4.3.7": + version: 4.3.7 + resolution: "debug@npm:4.3.7" dependencies: - ms: "npm:2.1.2" + ms: "npm:^2.1.3" peerDependenciesMeta: supports-color: optional: true - checksum: 10/d3adb9af7d57a9e809a68f404490cf776122acca16e6359a2702c0f462e510e91f9765c07f707b8ab0d91e03bad57328f3256f5082631cefb5393d0394d50fb7 + checksum: 10/71168908b9a78227ab29d5d25fe03c5867750e31ce24bf2c44a86efc5af041758bb56569b0a3d48a9b5344c00a24a777e6f4100ed6dfd9534a42c1dde285125a languageName: node linkType: hard @@ -8878,18 +8734,6 @@ __metadata: languageName: node linkType: hard -"debug@npm:^4.3.5, debug@npm:^4.3.7": - version: 4.3.7 - resolution: "debug@npm:4.3.7" - dependencies: - ms: "npm:^2.1.3" - peerDependenciesMeta: - supports-color: - optional: true - checksum: 10/71168908b9a78227ab29d5d25fe03c5867750e31ce24bf2c44a86efc5af041758bb56569b0a3d48a9b5344c00a24a777e6f4100ed6dfd9534a42c1dde285125a - languageName: node - linkType: hard - "decimal.js@npm:^10.4.3": version: 10.4.3 resolution: "decimal.js@npm:10.4.3" @@ -8955,14 +8799,7 @@ __metadata: languageName: node linkType: hard -"deepmerge@npm:^4.2.2": - version: 4.2.2 - resolution: "deepmerge@npm:4.2.2" - checksum: 10/0e58ed14f530d08f9b996cfc3a41b0801691620235bc5e1883260e3ed1c1b4a1dfb59f865770e45d5dfb1d7ee108c4fc10c2f85e822989d4123490ea90be2545 - languageName: node - linkType: hard - -"deepmerge@npm:^4.3.1": +"deepmerge@npm:^4.2.2, deepmerge@npm:^4.3.1": version: 4.3.1 resolution: "deepmerge@npm:4.3.1" checksum: 10/058d9e1b0ff1a154468bf3837aea436abcfea1ba1d165ddaaf48ca93765fdd01a30d33c36173da8fbbed951dd0a267602bc782fe288b0fc4b7e1e7091afc4529 @@ -8996,7 +8833,7 @@ __metadata: languageName: node linkType: hard -"define-properties@npm:^1.1.3, define-properties@npm:^1.1.4, define-properties@npm:^1.2.0, define-properties@npm:^1.2.1": +"define-properties@npm:^1.1.3, define-properties@npm:^1.2.0, define-properties@npm:^1.2.1": version: 1.2.1 resolution: "define-properties@npm:1.2.1" dependencies: @@ -9271,13 +9108,6 @@ __metadata: languageName: node linkType: hard -"electron-to-chromium@npm:^1.5.4": - version: 1.5.4 - resolution: "electron-to-chromium@npm:1.5.4" - checksum: 10/ce64db25c399d33830e74e58bbc5ab7c06948669e204b6508e98c278ddaead1da1cbb356d15b55eb659f89d4d7bcf00944f08f96e886f1d3d065ba11744c5633 - languageName: node - linkType: hard - "electron-to-chromium@npm:^1.5.41": version: 1.5.50 resolution: "electron-to-chromium@npm:1.5.50" @@ -9390,21 +9220,14 @@ __metadata: languageName: node linkType: hard -"entities@npm:^4.4.0, entities@npm:^4.5.0": +"entities@npm:^4.5.0": version: 4.5.0 resolution: "entities@npm:4.5.0" checksum: 10/ede2a35c9bce1aeccd055a1b445d41c75a14a2bb1cd22e242f20cf04d236cdcd7f9c859eb83f76885327bfae0c25bf03303665ee1ce3d47c5927b98b0e3e3d48 languageName: node linkType: hard -"env-paths@npm:^2.2.0": - version: 2.2.0 - resolution: "env-paths@npm:2.2.0" - checksum: 10/ba2aea38301aafd69086be1f8cb453b92946e4840cb0de9d1c88a67e6f43a6174dcddb60b218ec36db8720b12de46b0d93c2f97ad9bbec6a267b479ab37debb6 - languageName: node - linkType: hard - -"env-paths@npm:^2.2.1": +"env-paths@npm:^2.2.0, env-paths@npm:^2.2.1": version: 2.2.1 resolution: "env-paths@npm:2.2.1" checksum: 10/65b5df55a8bab92229ab2b40dad3b387fad24613263d103a97f91c9fe43ceb21965cd3392b1ccb5d77088021e525c4e0481adb309625d0cb94ade1d1fb8dc17e @@ -9436,54 +9259,7 @@ __metadata: languageName: node linkType: hard -"es-abstract@npm:^1.17.2, es-abstract@npm:^1.18.0-next.1, es-abstract@npm:^1.19.0, es-abstract@npm:^1.20.4, es-abstract@npm:^1.22.1": - version: 1.22.1 - resolution: "es-abstract@npm:1.22.1" - dependencies: - array-buffer-byte-length: "npm:^1.0.0" - arraybuffer.prototype.slice: "npm:^1.0.1" - available-typed-arrays: "npm:^1.0.5" - call-bind: "npm:^1.0.2" - es-set-tostringtag: "npm:^2.0.1" - es-to-primitive: "npm:^1.2.1" - function.prototype.name: "npm:^1.1.5" - get-intrinsic: "npm:^1.2.1" - get-symbol-description: "npm:^1.0.0" - globalthis: "npm:^1.0.3" - gopd: "npm:^1.0.1" - has: "npm:^1.0.3" - has-property-descriptors: "npm:^1.0.0" - has-proto: "npm:^1.0.1" - has-symbols: "npm:^1.0.3" - internal-slot: "npm:^1.0.5" - is-array-buffer: "npm:^3.0.2" - is-callable: "npm:^1.2.7" - is-negative-zero: "npm:^2.0.2" - is-regex: "npm:^1.1.4" - is-shared-array-buffer: "npm:^1.0.2" - is-string: "npm:^1.0.7" - is-typed-array: "npm:^1.1.10" - is-weakref: "npm:^1.0.2" - object-inspect: "npm:^1.12.3" - object-keys: "npm:^1.1.1" - object.assign: "npm:^4.1.4" - regexp.prototype.flags: "npm:^1.5.0" - safe-array-concat: "npm:^1.0.0" - safe-regex-test: "npm:^1.0.0" - string.prototype.trim: "npm:^1.2.7" - string.prototype.trimend: "npm:^1.0.6" - string.prototype.trimstart: "npm:^1.0.6" - typed-array-buffer: "npm:^1.0.0" - typed-array-byte-length: "npm:^1.0.0" - typed-array-byte-offset: "npm:^1.0.0" - typed-array-length: "npm:^1.0.4" - unbox-primitive: "npm:^1.0.2" - which-typed-array: "npm:^1.1.10" - checksum: 10/bd6c243a128ea1cb97cdd11c433a1f712b607b66bb2d40b42e4a4e4c746e679d3c168b59614fefed4bc3b0d7abc106ad202e8f417739371a151b9189d75af72a - languageName: node - linkType: hard - -"es-abstract@npm:^1.17.5, es-abstract@npm:^1.22.3, es-abstract@npm:^1.23.0, es-abstract@npm:^1.23.1, es-abstract@npm:^1.23.2, es-abstract@npm:^1.23.3": +"es-abstract@npm:^1.17.2, es-abstract@npm:^1.17.5, es-abstract@npm:^1.18.0-next.1, es-abstract@npm:^1.22.1, es-abstract@npm:^1.22.3, es-abstract@npm:^1.23.0, es-abstract@npm:^1.23.1, es-abstract@npm:^1.23.2, es-abstract@npm:^1.23.3": version: 1.23.3 resolution: "es-abstract@npm:1.23.3" dependencies: @@ -9607,17 +9383,6 @@ __metadata: languageName: node linkType: hard -"es-set-tostringtag@npm:^2.0.1": - version: 2.0.1 - resolution: "es-set-tostringtag@npm:2.0.1" - dependencies: - get-intrinsic: "npm:^1.1.3" - has: "npm:^1.0.3" - has-tostringtag: "npm:^1.0.0" - checksum: 10/ec416a12948cefb4b2a5932e62093a7cf36ddc3efd58d6c58ca7ae7064475ace556434b869b0bbeb0c365f1032a8ccd577211101234b69837ad83ad204fff884 - languageName: node - linkType: hard - "es-set-tostringtag@npm:^2.0.3": version: 2.0.3 resolution: "es-set-tostringtag@npm:2.0.3" @@ -9629,16 +9394,7 @@ __metadata: languageName: node linkType: hard -"es-shim-unscopables@npm:^1.0.0": - version: 1.0.0 - resolution: "es-shim-unscopables@npm:1.0.0" - dependencies: - has: "npm:^1.0.3" - checksum: 10/ac2db2c70d253cf83bebcdc974d185239e205ca18af743efd3b656bac00cabfee2358a050b18b63b46972dab5cfa10ef3f2597eb3a8d4d6d9417689793665da6 - languageName: node - linkType: hard - -"es-shim-unscopables@npm:^1.0.2": +"es-shim-unscopables@npm:^1.0.0, es-shim-unscopables@npm:^1.0.2": version: 1.0.2 resolution: "es-shim-unscopables@npm:1.0.2" dependencies: @@ -9752,14 +9508,7 @@ __metadata: languageName: node linkType: hard -"escalade@npm:^3.1.1, escalade@npm:^3.1.2": - version: 3.1.2 - resolution: "escalade@npm:3.1.2" - checksum: 10/a1e07fea2f15663c30e40b9193d658397846ffe28ce0a3e4da0d8e485fedfeca228ab846aee101a05015829adf39f9934ff45b2a3fca47bed37a29646bd05cd3 - languageName: node - linkType: hard - -"escalade@npm:^3.2.0": +"escalade@npm:^3.1.1, escalade@npm:^3.2.0": version: 3.2.0 resolution: "escalade@npm:3.2.0" checksum: 10/9d7169e3965b2f9ae46971afa392f6e5a25545ea30f2e2dd99c9b0a95a3f52b5653681a84f5b2911a413ddad2d7a93d3514165072f349b5ffc59c75a899970d6 @@ -10187,14 +9936,7 @@ __metadata: languageName: node linkType: hard -"events@npm:^3.2.0": - version: 3.2.0 - resolution: "events@npm:3.2.0" - checksum: 10/c34693eb24378adb4a56746c5552b4d27bbce7576e65b3269dab7a4d12b3cb94fdeb9f5a0f446c1c8be2026d7876b6e1ef1d0c840d1170c98d7744993ff8d67c - languageName: node - linkType: hard - -"events@npm:^3.3.0": +"events@npm:^3.2.0, events@npm:^3.3.0": version: 3.3.0 resolution: "events@npm:3.3.0" checksum: 10/a3d47e285e28d324d7180f1e493961a2bbb4cad6412090e4dec114f4db1f5b560c7696ee8e758f55e23913ede856e3689cd3aa9ae13c56b5d8314cd3b3ddd1be @@ -10497,14 +10239,7 @@ __metadata: languageName: node linkType: hard -"flatted@npm:^3.1.0": - version: 3.1.0 - resolution: "flatted@npm:3.1.0" - checksum: 10/0b0446e8d16dafbb7f51f3e3706683b83d803ad7673c30454649f5f4b023aae4f23536df1cb2e7173a4cc4e04a248f6035dfe20c97b2ab070e2ea25d530c1b9f - languageName: node - linkType: hard - -"flatted@npm:^3.2.9, flatted@npm:^3.3.1": +"flatted@npm:^3.1.0, flatted@npm:^3.2.9, flatted@npm:^3.3.1": version: 3.3.1 resolution: "flatted@npm:3.3.1" checksum: 10/7b8376061d5be6e0d3658bbab8bde587647f68797cf6bfeae9dea0e5137d9f27547ab92aaff3512dd9d1299086a6d61be98e9d48a56d17531b634f77faadbc49 @@ -10720,25 +10455,13 @@ __metadata: languageName: node linkType: hard -"function-bind@npm:^1.1.1, function-bind@npm:^1.1.2": +"function-bind@npm:^1.1.2": version: 1.1.2 resolution: "function-bind@npm:1.1.2" checksum: 10/185e20d20f10c8d661d59aac0f3b63b31132d492e1b11fcc2a93cb2c47257ebaee7407c38513efd2b35cafdf972d9beb2ea4593c1e0f3bf8f2744836928d7454 languageName: node linkType: hard -"function.prototype.name@npm:^1.1.5": - version: 1.1.5 - resolution: "function.prototype.name@npm:1.1.5" - dependencies: - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.1.3" - es-abstract: "npm:^1.19.0" - functions-have-names: "npm:^1.2.2" - checksum: 10/5d426e5a38ac41747bcfce6191e0ec818ed18678c16cfc36b5d1ca87f56ff98c4ce958ee2c1ea2a18dc3da989844a37b1065311e2d2ae4cf12da8f82418b686b - languageName: node - linkType: hard - "function.prototype.name@npm:^1.1.6": version: 1.1.6 resolution: "function.prototype.name@npm:1.1.6" @@ -10751,7 +10474,7 @@ __metadata: languageName: node linkType: hard -"functions-have-names@npm:^1.2.2, functions-have-names@npm:^1.2.3": +"functions-have-names@npm:^1.2.3": version: 1.2.3 resolution: "functions-have-names@npm:1.2.3" checksum: 10/0ddfd3ed1066a55984aaecebf5419fbd9344a5c38dd120ffb0739fac4496758dcf371297440528b115e4367fc46e3abc86a2cc0ff44612181b175ae967a11a05 @@ -10811,7 +10534,7 @@ __metadata: languageName: node linkType: hard -"get-intrinsic@npm:^1.0.2, get-intrinsic@npm:^1.1.1, get-intrinsic@npm:^1.1.3, get-intrinsic@npm:^1.2.0, get-intrinsic@npm:^1.2.1, get-intrinsic@npm:^1.2.3, get-intrinsic@npm:^1.2.4": +"get-intrinsic@npm:^1.1.3, get-intrinsic@npm:^1.2.1, get-intrinsic@npm:^1.2.3, get-intrinsic@npm:^1.2.4": version: 1.2.4 resolution: "get-intrinsic@npm:1.2.4" dependencies: @@ -10838,16 +10561,6 @@ __metadata: languageName: node linkType: hard -"get-symbol-description@npm:^1.0.0": - version: 1.0.0 - resolution: "get-symbol-description@npm:1.0.0" - dependencies: - call-bind: "npm:^1.0.2" - get-intrinsic: "npm:^1.1.1" - checksum: 10/7e5f298afe0f0872747dce4a949ce490ebc5d6dd6aefbbe5044543711c9b19a4dfaebdbc627aee99e1299d58a435b2fbfa083458c1d58be6dc03a3bada24d359 - languageName: node - linkType: hard - "get-symbol-description@npm:^1.0.2": version: 1.0.2 resolution: "get-symbol-description@npm:1.0.2" @@ -10909,19 +10622,7 @@ __metadata: languageName: node linkType: hard -"glob@npm:^10.0.0": - version: 10.0.0 - resolution: "glob@npm:10.0.0" - dependencies: - fs.realpath: "npm:^1.0.0" - minimatch: "npm:^9.0.0" - minipass: "npm:^5.0.0" - path-scurry: "npm:^1.6.4" - checksum: 10/5c25609d5e618677a1d8ebb290764710bd1a0e363e9b7d2251743e127f27cfbfb0927e351547c84887f7ccb678a61ea1e18d799274d4b74fbe65705a75862b14 - languageName: node - linkType: hard - -"glob@npm:^10.2.2, glob@npm:^10.4.2": +"glob@npm:^10.0.0, glob@npm:^10.2.2, glob@npm:^10.4.2": version: 10.4.5 resolution: "glob@npm:10.4.5" dependencies: @@ -11005,16 +10706,7 @@ __metadata: languageName: node linkType: hard -"globalthis@npm:^1.0.3": - version: 1.0.3 - resolution: "globalthis@npm:1.0.3" - dependencies: - define-properties: "npm:^1.1.3" - checksum: 10/45ae2f3b40a186600d0368f2a880ae257e8278b4c7704f0417d6024105ad7f7a393661c5c2fa1334669cd485ea44bc883a08fdd4516df2428aec40c99f52aa89 - languageName: node - linkType: hard - -"globalthis@npm:^1.0.4": +"globalthis@npm:^1.0.3, globalthis@npm:^1.0.4": version: 1.0.4 resolution: "globalthis@npm:1.0.4" dependencies: @@ -11124,14 +10816,7 @@ __metadata: languageName: node linkType: hard -"has-proto@npm:^1.0.1": - version: 1.0.1 - resolution: "has-proto@npm:1.0.1" - checksum: 10/eab2ab0ed1eae6d058b9bbc4c1d99d2751b29717be80d02fd03ead8b62675488de0c7359bc1fdd4b87ef6fd11e796a9631ad4d7452d9324fdada70158c2e5be7 - languageName: node - linkType: hard - -"has-proto@npm:^1.0.3": +"has-proto@npm:^1.0.1, has-proto@npm:^1.0.3": version: 1.0.3 resolution: "has-proto@npm:1.0.3" checksum: 10/0b67c2c94e3bea37db3e412e3c41f79d59259875e636ba471e94c009cdfb1fa82bf045deeffafc7dbb9c148e36cae6b467055aaa5d9fad4316e11b41e3ba551a @@ -11161,15 +10846,6 @@ __metadata: languageName: node linkType: hard -"has@npm:^1.0.3": - version: 1.0.3 - resolution: "has@npm:1.0.3" - dependencies: - function-bind: "npm:^1.1.1" - checksum: 10/a449f3185b1d165026e8d25f6a8c3390bd25c201ff4b8c1aaf948fc6a5fcfd6507310b8c00c13a3325795ea9791fcc3d79d61eafa313b5750438fc19183df57b - languageName: node - linkType: hard - "hasown@npm:^2.0.0, hasown@npm:^2.0.1, hasown@npm:^2.0.2": version: 2.0.2 resolution: "hasown@npm:2.0.2" @@ -11600,17 +11276,6 @@ __metadata: languageName: node linkType: hard -"internal-slot@npm:^1.0.5": - version: 1.0.5 - resolution: "internal-slot@npm:1.0.5" - dependencies: - get-intrinsic: "npm:^1.2.0" - has: "npm:^1.0.3" - side-channel: "npm:^1.0.4" - checksum: 10/e2eb5b348e427957dd4092cb57b9374a2cbcabbf61e5e5b4d99cb68eeaae29394e8efd79f23dc2b1831253346f3c16b82010737b84841225e934d80d04d68643 - languageName: node - linkType: hard - "internal-slot@npm:^1.0.7": version: 1.0.7 resolution: "internal-slot@npm:1.0.7" @@ -11700,17 +11365,6 @@ __metadata: languageName: node linkType: hard -"is-array-buffer@npm:^3.0.1, is-array-buffer@npm:^3.0.2": - version: 3.0.2 - resolution: "is-array-buffer@npm:3.0.2" - dependencies: - call-bind: "npm:^1.0.2" - get-intrinsic: "npm:^1.2.0" - is-typed-array: "npm:^1.1.10" - checksum: 10/dcac9dda66ff17df9cabdc58214172bf41082f956eab30bb0d86bc0fab1e44b690fc8e1f855cf2481245caf4e8a5a006a982a71ddccec84032ed41f9d8da8c14 - languageName: node - linkType: hard - "is-array-buffer@npm:^3.0.4": version: 3.0.4 resolution: "is-array-buffer@npm:3.0.4" @@ -11794,16 +11448,7 @@ __metadata: languageName: node linkType: hard -"is-core-module@npm:^2.13.0": - version: 2.15.0 - resolution: "is-core-module@npm:2.15.0" - dependencies: - hasown: "npm:^2.0.2" - checksum: 10/70e962543e5d3a97c07cb29144a86792d545a21f28e67da5401d85878a0193d46fbab8d97bc3ca680e2778705dca66e7b6ca840c493497a27ca0e8c5f3ac3d1d - languageName: node - linkType: hard - -"is-core-module@npm:^2.15.1": +"is-core-module@npm:^2.13.0, is-core-module@npm:^2.15.1": version: 2.15.1 resolution: "is-core-module@npm:2.15.1" dependencies: @@ -11821,14 +11466,7 @@ __metadata: languageName: node linkType: hard -"is-date-object@npm:^1.0.1": - version: 1.0.2 - resolution: "is-date-object@npm:1.0.2" - checksum: 10/96c56c04631f866b3a3aea4b889eac6120c13d8a06dc7e105479ffd6f57e5ea3668f1d779ef30063d4b27aa8e9b235ea7d15bbdab54b056affc678c4769ff143 - languageName: node - linkType: hard - -"is-date-object@npm:^1.0.5": +"is-date-object@npm:^1.0.1, is-date-object@npm:^1.0.5": version: 1.0.5 resolution: "is-date-object@npm:1.0.5" dependencies: @@ -11985,13 +11623,6 @@ __metadata: languageName: node linkType: hard -"is-negative-zero@npm:^2.0.2": - version: 2.0.2 - resolution: "is-negative-zero@npm:2.0.2" - checksum: 10/edbec1a9e6454d68bf595a114c3a72343d2d0be7761d8173dae46c0b73d05bb8fe9398c85d121e7794a66467d2f40b4a610b0be84cd804262d234fc634c86131 - languageName: node - linkType: hard - "is-negative-zero@npm:^2.0.3": version: 2.0.3 resolution: "is-negative-zero@npm:2.0.3" @@ -12069,16 +11700,7 @@ __metadata: languageName: node linkType: hard -"is-shared-array-buffer@npm:^1.0.2": - version: 1.0.2 - resolution: "is-shared-array-buffer@npm:1.0.2" - dependencies: - call-bind: "npm:^1.0.2" - checksum: 10/23d82259d6cd6dbb7c4ff3e4efeff0c30dbc6b7f88698498c17f9821cb3278d17d2b6303a5341cbd638ab925a28f3f086a6c79b3df70ac986cc526c725d43b4f - languageName: node - linkType: hard - -"is-shared-array-buffer@npm:^1.0.3": +"is-shared-array-buffer@npm:^1.0.2, is-shared-array-buffer@npm:^1.0.3": version: 1.0.3 resolution: "is-shared-array-buffer@npm:1.0.3" dependencies: @@ -12121,7 +11743,7 @@ __metadata: languageName: node linkType: hard -"is-typed-array@npm:^1.1.10, is-typed-array@npm:^1.1.13, is-typed-array@npm:^1.1.3, is-typed-array@npm:^1.1.9": +"is-typed-array@npm:^1.1.13, is-typed-array@npm:^1.1.3": version: 1.1.13 resolution: "is-typed-array@npm:1.1.13" dependencies: @@ -13433,13 +13055,6 @@ __metadata: languageName: node linkType: hard -"lru-cache@npm:^9.0.0": - version: 9.0.1 - resolution: "lru-cache@npm:9.0.1" - checksum: 10/fd8b6ca391fa0cbaf9d41aadc34a72b6e5cef9c018365ce5f6c8a2aa1ffeac0d4635bbf0e94f8b548a650108619a817a3d7064eef3c2dbd69fc756767237e06a - languageName: node - linkType: hard - "lunr@npm:^2.3.9": version: 2.3.9 resolution: "lunr@npm:2.3.9" @@ -14546,13 +14161,6 @@ __metadata: languageName: node linkType: hard -"ms@npm:2.1.2": - version: 2.1.2 - resolution: "ms@npm:2.1.2" - checksum: 10/673cdb2c3133eb050c745908d8ce632ed2c02d85640e2edb3ace856a2266a813b30c613569bf3354fdf4ea7d1a1494add3bfa95e2713baa27d0c2c71fc44f58f - languageName: node - linkType: hard - "ms@npm:^2.0.0, ms@npm:^2.1.1, ms@npm:^2.1.3": version: 2.1.3 resolution: "ms@npm:2.1.3" @@ -14965,13 +14573,6 @@ __metadata: languageName: node linkType: hard -"object-inspect@npm:^1.12.3, object-inspect@npm:^1.9.0": - version: 1.12.3 - resolution: "object-inspect@npm:1.12.3" - checksum: 10/532b0036f0472f561180fac0d04fe328ee01f57637624c83fb054f81b5bfe966cdf4200612a499ed391a7ca3c46b20a0bc3a55fc8241d944abe687c556a32b39 - languageName: node - linkType: hard - "object-inspect@npm:^1.13.1": version: 1.13.2 resolution: "object-inspect@npm:1.13.2" @@ -14996,19 +14597,7 @@ __metadata: languageName: node linkType: hard -"object.assign@npm:^4.1.2, object.assign@npm:^4.1.4": - version: 4.1.4 - resolution: "object.assign@npm:4.1.4" - dependencies: - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.1.4" - has-symbols: "npm:^1.0.3" - object-keys: "npm:^1.1.1" - checksum: 10/fd82d45289df0a952d772817622ecbaeb4ec933d3abb53267aede083ee38f6a395af8fadfbc569ee575115b0b7c9b286e7cfb2b7a2557b1055f7acbce513bc29 - languageName: node - linkType: hard - -"object.assign@npm:^4.1.5": +"object.assign@npm:^4.1.2, object.assign@npm:^4.1.4, object.assign@npm:^4.1.5": version: 4.1.5 resolution: "object.assign@npm:4.1.5" dependencies: @@ -15065,18 +14654,7 @@ __metadata: languageName: node linkType: hard -"object.values@npm:^1.1.0": - version: 1.1.6 - resolution: "object.values@npm:1.1.6" - dependencies: - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.1.4" - es-abstract: "npm:^1.20.4" - checksum: 10/adea807c90951df34eb2f5c6a90ab5624e15c71f0b3a3e422db16933c9f4e19551d10649fffcb4adcac01d86d7c14a64bfb500d8f058db5a52976150a917f6eb - languageName: node - linkType: hard - -"object.values@npm:^1.2.0": +"object.values@npm:^1.1.0, object.values@npm:^1.2.0": version: 1.2.0 resolution: "object.values@npm:1.2.0" dependencies: @@ -15385,16 +14963,7 @@ __metadata: languageName: node linkType: hard -"parse5@npm:^7.0.0": - version: 7.1.2 - resolution: "parse5@npm:7.1.2" - dependencies: - entities: "npm:^4.4.0" - checksum: 10/3c86806bb0fb1e9a999ff3a4c883b1ca243d99f45a619a0898dbf021a95a0189ed955c31b07fe49d342b54e814f33f2c9d7489198e8630dacd5477d413ec5782 - languageName: node - linkType: hard - -"parse5@npm:^7.1.2": +"parse5@npm:^7.0.0, parse5@npm:^7.1.2": version: 7.2.0 resolution: "parse5@npm:7.2.0" dependencies: @@ -15509,16 +15078,6 @@ __metadata: languageName: node linkType: hard -"path-scurry@npm:^1.6.4": - version: 1.6.4 - resolution: "path-scurry@npm:1.6.4" - dependencies: - lru-cache: "npm:^9.0.0" - minipass: "npm:^5.0.0" - checksum: 10/c74f21dc8481ff4ad8efc29a3d5a94ab46952e32489dd1815c6ebab042f17f7f861b2141da05818c6a69d0252610d108a95f9b065e97f65e1ef3140e7971faef - languageName: node - linkType: hard - "path-type@npm:^3.0.0": version: 3.0.0 resolution: "path-type@npm:3.0.0" @@ -16074,17 +15633,7 @@ __metadata: languageName: node linkType: hard -"postcss-selector-parser@npm:^6.0.10, postcss-selector-parser@npm:^6.0.2, postcss-selector-parser@npm:^6.0.4, postcss-selector-parser@npm:^6.0.5, postcss-selector-parser@npm:^6.0.9": - version: 6.0.11 - resolution: "postcss-selector-parser@npm:6.0.11" - dependencies: - cssesc: "npm:^3.0.0" - util-deprecate: "npm:^1.0.2" - checksum: 10/14d2c77e533a7b0688f35c909c07f74a9f3cc8d7aea19fd4042093c2df96d6d1ca0d41fcf0ecea28e8560e09913e8a58e5d95a6504cea31c71e23acb80927bab - languageName: node - linkType: hard - -"postcss-selector-parser@npm:^6.1.2": +"postcss-selector-parser@npm:^6.0.10, postcss-selector-parser@npm:^6.0.2, postcss-selector-parser@npm:^6.0.4, postcss-selector-parser@npm:^6.0.5, postcss-selector-parser@npm:^6.0.9, postcss-selector-parser@npm:^6.1.2": version: 6.1.2 resolution: "postcss-selector-parser@npm:6.1.2" dependencies: @@ -16166,18 +15715,7 @@ __metadata: languageName: node linkType: hard -"postcss@npm:^8.2.14, postcss@npm:^8.4.19, postcss@npm:^8.4.33, postcss@npm:~8.4.31": - version: 8.4.40 - resolution: "postcss@npm:8.4.40" - dependencies: - nanoid: "npm:^3.3.7" - picocolors: "npm:^1.0.1" - source-map-js: "npm:^1.2.0" - checksum: 10/bdd01b55152e4be7b4a82b03dd22876e33ff6a038680d1b80a50405a5eccc10aff0f466a0e5e574bc476943b0ba120fbd5de7cde9f219bbf8efc011898f5f631 - languageName: node - linkType: hard - -"postcss@npm:^8.4.32, postcss@npm:^8.4.47": +"postcss@npm:^8.2.14, postcss@npm:^8.4.19, postcss@npm:^8.4.32, postcss@npm:^8.4.33, postcss@npm:^8.4.47, postcss@npm:~8.4.31": version: 8.4.47 resolution: "postcss@npm:8.4.47" dependencies: @@ -16359,13 +15897,6 @@ __metadata: languageName: node linkType: hard -"punycode@npm:1.3.2": - version: 1.3.2 - resolution: "punycode@npm:1.3.2" - checksum: 10/5c57d588c60679fd1b9400c75de06e327723f2b38e21e195027ba7a59006725f7b817dce5b26d47c7f8c1c842d28275aa59955a06d2e467cffeba70b7e0576bb - languageName: node - linkType: hard - "punycode@npm:^1.4.1": version: 1.4.1 resolution: "punycode@npm:1.4.1" @@ -16373,14 +15904,7 @@ __metadata: languageName: node linkType: hard -"punycode@npm:^2.1.0, punycode@npm:^2.1.1": - version: 2.1.1 - resolution: "punycode@npm:2.1.1" - checksum: 10/939daa010c2cacebdb060c40ecb52fef0a739324a66f7fffe0f94353a1ee83e3b455e9032054c4a0c4977b0a28e27086f2171c392832b59a01bd948fd8e20914 - languageName: node - linkType: hard - -"punycode@npm:^2.3.1": +"punycode@npm:^2.1.0, punycode@npm:^2.1.1, punycode@npm:^2.3.1": version: 2.3.1 resolution: "punycode@npm:2.3.1" checksum: 10/febdc4362bead22f9e2608ff0171713230b57aff9dddc1c273aa2a651fbd366f94b7d6a71d78342a7c0819906750351ca7f2edd26ea41b626d87d6a13d1bd059 @@ -16417,7 +15941,7 @@ __metadata: languageName: node linkType: hard -"querystring@npm:0.2.0, querystring@npm:^0.2.0": +"querystring@npm:^0.2.0": version: 0.2.0 resolution: "querystring@npm:0.2.0" checksum: 10/37b91720be8c8de87b49d1a68f0ceafbbeda6efe6334ce7aad080b0b4111f933a40650b8a6669c1bc629cd8bb37c67cb7b5a42ec0758662efbce44b8faa1766d @@ -16863,17 +16387,6 @@ __metadata: languageName: node linkType: hard -"regexp.prototype.flags@npm:^1.5.0": - version: 1.5.1 - resolution: "regexp.prototype.flags@npm:1.5.1" - dependencies: - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.2.0" - set-function-name: "npm:^2.0.0" - checksum: 10/3fa5610b8e411bbc3a43ddfd13162f3a817beb43155fbd8caa24d4fd0ce2f431a8197541808772a5a06e5946cebfb68464c827827115bde0d11720a92fe2981a - languageName: node - linkType: hard - "regexp.prototype.flags@npm:^1.5.2": version: 1.5.3 resolution: "regexp.prototype.flags@npm:1.5.3" @@ -17244,18 +16757,6 @@ __metadata: languageName: node linkType: hard -"safe-array-concat@npm:^1.0.0": - version: 1.0.1 - resolution: "safe-array-concat@npm:1.0.1" - dependencies: - call-bind: "npm:^1.0.2" - get-intrinsic: "npm:^1.2.1" - has-symbols: "npm:^1.0.3" - isarray: "npm:^2.0.5" - checksum: 10/44f073d85ca12458138e6eff103ac63cec619c8261b6579bd2fa3ae7b6516cf153f02596d68e40c5bbe322a29c930017800efff652734ddcb8c0f33b2a71f89c - languageName: node - linkType: hard - "safe-array-concat@npm:^1.1.2": version: 1.1.2 resolution: "safe-array-concat@npm:1.1.2" @@ -17282,17 +16783,6 @@ __metadata: languageName: node linkType: hard -"safe-regex-test@npm:^1.0.0": - version: 1.0.0 - resolution: "safe-regex-test@npm:1.0.0" - dependencies: - call-bind: "npm:^1.0.2" - get-intrinsic: "npm:^1.1.3" - is-regex: "npm:^1.1.4" - checksum: 10/c7248dfa07891aa634c8b9c55da696e246f8589ca50e7fd14b22b154a106e83209ddf061baf2fa45ebfbd485b094dc7297325acfc50724de6afe7138451b42a9 - languageName: node - linkType: hard - "safe-regex-test@npm:^1.0.3": version: 1.0.3 resolution: "safe-regex-test@npm:1.0.3" @@ -17507,17 +16997,6 @@ __metadata: languageName: node linkType: hard -"set-function-name@npm:^2.0.0": - version: 2.0.1 - resolution: "set-function-name@npm:2.0.1" - dependencies: - define-data-property: "npm:^1.0.1" - functions-have-names: "npm:^1.2.3" - has-property-descriptors: "npm:^1.0.0" - checksum: 10/4975d17d90c40168eee2c7c9c59d023429f0a1690a89d75656306481ece0c3c1fb1ebcc0150ea546d1913e35fbd037bace91372c69e543e51fc5d1f31a9fa126 - languageName: node - linkType: hard - "set-function-name@npm:^2.0.1, set-function-name@npm:^2.0.2": version: 2.0.2 resolution: "set-function-name@npm:2.0.2" @@ -17607,18 +17086,7 @@ __metadata: languageName: node linkType: hard -"side-channel@npm:^1.0.4": - version: 1.0.4 - resolution: "side-channel@npm:1.0.4" - dependencies: - call-bind: "npm:^1.0.0" - get-intrinsic: "npm:^1.0.2" - object-inspect: "npm:^1.9.0" - checksum: 10/c4998d9fc530b0e75a7fd791ad868fdc42846f072734f9080ff55cc8dc7d3899abcda24fd896aa6648c3ab7021b4bb478073eb4f44dfd55bce9714bc1a7c5d45 - languageName: node - linkType: hard - -"side-channel@npm:^1.0.6": +"side-channel@npm:^1.0.4, side-channel@npm:^1.0.6": version: 1.0.6 resolution: "side-channel@npm:1.0.6" dependencies: @@ -17758,14 +17226,7 @@ __metadata: languageName: node linkType: hard -"source-map-js@npm:>=0.6.2 <2.0.0, source-map-js@npm:^1.0.1, source-map-js@npm:^1.2.0": - version: 1.2.0 - resolution: "source-map-js@npm:1.2.0" - checksum: 10/74f331cfd2d121c50790c8dd6d3c9de6be21926de80583b23b37029b0f37aefc3e019fa91f9a10a5e120c08135297e1ecf312d561459c45908cb1e0e365f49e5 - languageName: node - linkType: hard - -"source-map-js@npm:^1.2.1": +"source-map-js@npm:>=0.6.2 <2.0.0, source-map-js@npm:^1.0.1, source-map-js@npm:^1.2.1": version: 1.2.1 resolution: "source-map-js@npm:1.2.1" checksum: 10/ff9d8c8bf096d534a5b7707e0382ef827b4dd360a577d3f34d2b9f48e12c9d230b5747974ee7c607f0df65113732711bb701fe9ece3c7edbd43cb2294d707df3 @@ -18058,17 +17519,6 @@ __metadata: languageName: node linkType: hard -"string.prototype.trim@npm:^1.2.7": - version: 1.2.8 - resolution: "string.prototype.trim@npm:1.2.8" - dependencies: - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.2.0" - es-abstract: "npm:^1.22.1" - checksum: 10/9301f6cb2b6c44f069adde1b50f4048915985170a20a1d64cf7cb2dc53c5cd6b9525b92431f1257f894f94892d6c4ae19b5aa7f577c3589e7e51772dffc9d5a4 - languageName: node - linkType: hard - "string.prototype.trim@npm:^1.2.9": version: 1.2.9 resolution: "string.prototype.trim@npm:1.2.9" @@ -18081,17 +17531,6 @@ __metadata: languageName: node linkType: hard -"string.prototype.trimend@npm:^1.0.6": - version: 1.0.6 - resolution: "string.prototype.trimend@npm:1.0.6" - dependencies: - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.1.4" - es-abstract: "npm:^1.20.4" - checksum: 10/3893db9267e0b8a16658c3947738536e90c400a9b7282de96925d4e210174cfe66c59d6b7eb5b4a9aaa78ef7f5e46afb117e842d93112fbd105c8d19206d8092 - languageName: node - linkType: hard - "string.prototype.trimend@npm:^1.0.8": version: 1.0.8 resolution: "string.prototype.trimend@npm:1.0.8" @@ -18103,17 +17542,6 @@ __metadata: languageName: node linkType: hard -"string.prototype.trimstart@npm:^1.0.6": - version: 1.0.6 - resolution: "string.prototype.trimstart@npm:1.0.6" - dependencies: - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.1.4" - es-abstract: "npm:^1.20.4" - checksum: 10/05e2cd06fa5311b17f5b2c7af0a60239fa210f4bb07bbcfce4995215dce330e2b1dd2d8030d371f46252ab637522e14b6e9a78384e8515945b72654c14261d54 - languageName: node - linkType: hard - "string.prototype.trimstart@npm:^1.0.8": version: 1.0.8 resolution: "string.prototype.trimstart@npm:1.0.8" @@ -19214,17 +18642,6 @@ __metadata: languageName: node linkType: hard -"typed-array-buffer@npm:^1.0.0": - version: 1.0.0 - resolution: "typed-array-buffer@npm:1.0.0" - dependencies: - call-bind: "npm:^1.0.2" - get-intrinsic: "npm:^1.2.1" - is-typed-array: "npm:^1.1.10" - checksum: 10/3e0281c79b2a40cd97fe715db803884301993f4e8c18e8d79d75fd18f796e8cd203310fec8c7fdb5e6c09bedf0af4f6ab8b75eb3d3a85da69328f28a80456bd3 - languageName: node - linkType: hard - "typed-array-buffer@npm:^1.0.2": version: 1.0.2 resolution: "typed-array-buffer@npm:1.0.2" @@ -19236,18 +18653,6 @@ __metadata: languageName: node linkType: hard -"typed-array-byte-length@npm:^1.0.0": - version: 1.0.0 - resolution: "typed-array-byte-length@npm:1.0.0" - dependencies: - call-bind: "npm:^1.0.2" - for-each: "npm:^0.3.3" - has-proto: "npm:^1.0.1" - is-typed-array: "npm:^1.1.10" - checksum: 10/6f376bf5d988f00f98ccee41fd551cafc389095a2a307c18fab30f29da7d1464fc3697139cf254cda98b4128bbcb114f4b557bbabdc6d9c2e5039c515b31decf - languageName: node - linkType: hard - "typed-array-byte-length@npm:^1.0.1": version: 1.0.1 resolution: "typed-array-byte-length@npm:1.0.1" @@ -19261,19 +18666,6 @@ __metadata: languageName: node linkType: hard -"typed-array-byte-offset@npm:^1.0.0": - version: 1.0.0 - resolution: "typed-array-byte-offset@npm:1.0.0" - dependencies: - available-typed-arrays: "npm:^1.0.5" - call-bind: "npm:^1.0.2" - for-each: "npm:^0.3.3" - has-proto: "npm:^1.0.1" - is-typed-array: "npm:^1.1.10" - checksum: 10/2d81747faae31ca79f6c597dc18e15ae3d5b7e97f7aaebce3b31f46feeb2a6c1d6c92b9a634d901c83731ffb7ec0b74d05c6ff56076f5ae39db0cd19b16a3f92 - languageName: node - linkType: hard - "typed-array-byte-offset@npm:^1.0.2": version: 1.0.2 resolution: "typed-array-byte-offset@npm:1.0.2" @@ -19288,17 +18680,6 @@ __metadata: languageName: node linkType: hard -"typed-array-length@npm:^1.0.4": - version: 1.0.4 - resolution: "typed-array-length@npm:1.0.4" - dependencies: - call-bind: "npm:^1.0.2" - for-each: "npm:^0.3.3" - is-typed-array: "npm:^1.1.9" - checksum: 10/0444658acc110b233176cb0b7689dcb828b0cfa099ab1d377da430e8553b6fdcdce882360b7ffe9ae085b6330e1d39383d7b2c61574d6cd8eef651d3e4a87822 - languageName: node - linkType: hard - "typed-array-length@npm:^1.0.6": version: 1.0.6 resolution: "typed-array-length@npm:1.0.6" @@ -19602,20 +18983,6 @@ __metadata: languageName: node linkType: hard -"update-browserslist-db@npm:^1.1.0": - version: 1.1.0 - resolution: "update-browserslist-db@npm:1.1.0" - dependencies: - escalade: "npm:^3.1.2" - picocolors: "npm:^1.0.1" - peerDependencies: - browserslist: ">= 4.21.0" - bin: - update-browserslist-db: cli.js - checksum: 10/d70b9efeaf4601aadb1a4f6456a7a5d9118e0063d995866b8e0c5e0cf559482671dab6ce7b079f9536b06758a344fbd83f974b965211e1c6e8d1958540b0c24c - languageName: node - linkType: hard - "update-browserslist-db@npm:^1.1.1": version: 1.1.1 resolution: "update-browserslist-db@npm:1.1.1" @@ -19669,17 +19036,7 @@ __metadata: languageName: node linkType: hard -"url@npm:^0.11.0": - version: 0.11.0 - resolution: "url@npm:0.11.0" - dependencies: - punycode: "npm:1.3.2" - querystring: "npm:0.2.0" - checksum: 10/beec744c7ade6ef178fd631e2fe70110c5c53f9e7caea5852703214bfcbf03fd136b98b3b6f4a08bd2420a76f569cbc10c2a86ade7f836ac7d9ff27ed62d8d2d - languageName: node - linkType: hard - -"url@npm:^0.11.3": +"url@npm:^0.11.0, url@npm:^0.11.3": version: 0.11.4 resolution: "url@npm:0.11.4" dependencies: @@ -19882,18 +19239,7 @@ __metadata: languageName: node linkType: hard -"vfile@npm:^6.0.0": - version: 6.0.2 - resolution: "vfile@npm:6.0.2" - dependencies: - "@types/unist": "npm:^3.0.0" - unist-util-stringify-position: "npm:^4.0.0" - vfile-message: "npm:^4.0.0" - checksum: 10/8c36b4887b071aa9215a16c96916e96e75f3f3516cb87fa7ba1ec79fda3a1d87b66068e56b73f01c249b8fefa897dc52e3a6c736fd1053133ad3920f33482756 - languageName: node - linkType: hard - -"vfile@npm:^6.0.1": +"vfile@npm:^6.0.0, vfile@npm:^6.0.1": version: 6.0.3 resolution: "vfile@npm:6.0.3" dependencies: @@ -20090,43 +19436,7 @@ __metadata: languageName: node linkType: hard -"webpack@npm:5": - version: 5.94.0 - resolution: "webpack@npm:5.94.0" - dependencies: - "@types/estree": "npm:^1.0.5" - "@webassemblyjs/ast": "npm:^1.12.1" - "@webassemblyjs/wasm-edit": "npm:^1.12.1" - "@webassemblyjs/wasm-parser": "npm:^1.12.1" - acorn: "npm:^8.7.1" - acorn-import-attributes: "npm:^1.9.5" - browserslist: "npm:^4.21.10" - chrome-trace-event: "npm:^1.0.2" - enhanced-resolve: "npm:^5.17.1" - es-module-lexer: "npm:^1.2.1" - eslint-scope: "npm:5.1.1" - events: "npm:^3.2.0" - glob-to-regexp: "npm:^0.4.1" - graceful-fs: "npm:^4.2.11" - json-parse-even-better-errors: "npm:^2.3.1" - loader-runner: "npm:^4.2.0" - mime-types: "npm:^2.1.27" - neo-async: "npm:^2.6.2" - schema-utils: "npm:^3.2.0" - tapable: "npm:^2.1.1" - terser-webpack-plugin: "npm:^5.3.10" - watchpack: "npm:^2.4.1" - webpack-sources: "npm:^3.2.3" - peerDependenciesMeta: - webpack-cli: - optional: true - bin: - webpack: bin/webpack.js - checksum: 10/648449c5fbbb0839814116e3b2b044ac6c75a7ba272435155ddeb1e64dfaa2f8079be3adfbb691f648b69900756ce0f6fb73beab0ced3cf5e0fd46868b4593a6 - languageName: node - linkType: hard - -"webpack@npm:~5.96.1": +"webpack@npm:5, webpack@npm:~5.96.1": version: 5.96.1 resolution: "webpack@npm:5.96.1" dependencies: @@ -20243,7 +19553,7 @@ __metadata: languageName: node linkType: hard -"which-typed-array@npm:^1.1.10, which-typed-array@npm:^1.1.14, which-typed-array@npm:^1.1.15, which-typed-array@npm:^1.1.2": +"which-typed-array@npm:^1.1.14, which-typed-array@npm:^1.1.15, which-typed-array@npm:^1.1.2": version: 1.1.15 resolution: "which-typed-array@npm:1.1.15" dependencies: