diff --git a/app/components/RuleStateItem.vue b/app/components/RuleStateItem.vue index 0a15a0c..0d5575b 100644 --- a/app/components/RuleStateItem.vue +++ b/app/components/RuleStateItem.vue @@ -37,11 +37,15 @@ function goto() { Set to {{ state.level }}
diff --git a/app/pages/rules.vue b/app/pages/rules.vue index f179b61..7f1e769 100644 --- a/app/pages/rules.vue +++ b/app/pages/rules.vue @@ -6,7 +6,7 @@ import { filtersRules as filters } from '~/composables/state' import { payload } from '~/composables/payload' const rules = computed(() => Object.values(payload.value.rules)) -const pluginNames = computed(() => Array.from(new Set(rules.value.map(i => i.plugin)))) +const pluginNames = computed(() => Array.from(new Set(rules.value.map(i => i.plugin))).filter(Boolean)) const conditionalFiltered = computed(() => { let conditional = rules.value diff --git a/app/styles/global.css b/app/styles/global.css index 5992284..cbb0438 100644 --- a/app/styles/global.css +++ b/app/styles/global.css @@ -27,14 +27,14 @@ html.dark .shiki span { /* Overrides Floating Vue */ .v-popper--theme-dropdown .v-popper__inner, .v-popper--theme-tooltip .v-popper__inner { - --at-apply: bg-base color-base font-sans rounded border border-base shadow; + --at-apply: bg-tooltip color-base font-sans rounded border border-base shadow dark:shadow-2xl; box-shadow: 0 6px 30px #0000001a; } .v-popper--theme-tooltip .v-popper__arrow-inner, .v-popper--theme-dropdown .v-popper__arrow-inner { visibility: visible; - --at-apply: border-white dark:border-hex-121212; + --at-apply: border-white dark:border-neutral-900; } .v-popper--theme-tooltip .v-popper__arrow-outer, diff --git a/package.json b/package.json index 0221b80..2765f8e 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "@iconify-json/carbon": "^1.1.31", "@iconify-json/ph": "^1.1.11", "@iconify-json/twemoji": "^1.1.15", - "@nuxt/eslint": "0.3.0-beta.6", + "@nuxt/eslint": "0.3.0-beta.9", "@types/connect": "^3.4.38", "@types/ws": "^8.5.10", "@typescript-eslint/utils": "^7.5.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bf2ac0b..7acad3a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -56,8 +56,8 @@ devDependencies: specifier: ^1.1.15 version: 1.1.15 '@nuxt/eslint': - specifier: 0.3.0-beta.6 - version: 0.3.0-beta.6(eslint@9.0.0-rc.0)(nuxt@3.11.1)(rollup@3.29.4)(typescript@5.4.3)(vite@5.2.2) + specifier: 0.3.0-beta.9 + version: 0.3.0-beta.9(eslint@9.0.0-rc.0)(nuxt@3.11.1)(rollup@3.29.4)(typescript@5.4.3)(vite@5.2.2) '@types/connect': specifier: ^3.4.38 version: 3.4.38 @@ -1028,6 +1028,30 @@ packages: engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} dev: true + /@eslint/config-inspector@0.3.1(eslint@9.0.0-rc.0): + resolution: {integrity: sha512-F/i5XMgPcbcQFl5N7hFONeSvC96ObgRLQ+EVx0XqUpNmbWk9uZ12+Ha9Tivb/BU5Yzbq1IwQQVuNtj0Y/MmwdQ==} + hasBin: true + peerDependencies: + eslint: ^8.50.0 + dependencies: + bundle-require: 4.0.2(esbuild@0.20.2) + cac: 6.7.14 + chokidar: 3.6.0 + connect: 3.7.0 + esbuild: 0.20.2 + eslint: 9.0.0-rc.0 + fast-glob: 3.3.2 + get-port-please: 3.1.2 + minimatch: 9.0.4 + open: 10.1.0 + sirv: 2.0.4 + ws: 8.16.0 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + dev: true + /@eslint/eslintrc@2.1.4: resolution: {integrity: sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -1469,19 +1493,19 @@ packages: - vue dev: true - /@nuxt/eslint-config@0.3.0-beta.6(eslint@9.0.0-rc.0)(typescript@5.4.3): - resolution: {integrity: sha512-vQh2lp1YjdKm5oC498KcUluoUhimne0glHBifhLh/c2BVbSihkfzrranXe1MpsWHcCsiVIIVJkXezwwRq/89kQ==} + /@nuxt/eslint-config@0.3.0-beta.9(eslint@9.0.0-rc.0)(typescript@5.4.3): + resolution: {integrity: sha512-jRhsoGG7fOumI1KlgmKl1r3GqnnjSco4RayDny0kabx32QDeD0cLZ2UDSmvpliS4of8P8kWKBkYPGPXZg+5Ayw==} peerDependencies: eslint: ^8.57.0 dependencies: '@eslint/js': 8.57.0 - '@nuxt/eslint-plugin': 0.3.0-beta.6(eslint@9.0.0-rc.0)(typescript@5.4.3) - '@rushstack/eslint-patch': 1.10.0 + '@nuxt/eslint-plugin': 0.3.0-beta.9(eslint@9.0.0-rc.0)(typescript@5.4.3) + '@rushstack/eslint-patch': 1.10.1 '@stylistic/eslint-plugin': 1.7.0(eslint@9.0.0-rc.0)(typescript@5.4.3) - '@typescript-eslint/eslint-plugin': 7.4.0(@typescript-eslint/parser@7.4.0)(eslint@9.0.0-rc.0)(typescript@5.4.3) - '@typescript-eslint/parser': 7.4.0(eslint@9.0.0-rc.0)(typescript@5.4.3) + '@typescript-eslint/eslint-plugin': 7.5.0(@typescript-eslint/parser@7.5.0)(eslint@9.0.0-rc.0)(typescript@5.4.3) + '@typescript-eslint/parser': 7.5.0(eslint@9.0.0-rc.0)(typescript@5.4.3) eslint: 9.0.0-rc.0 - eslint-flat-config-utils: 0.1.2 + eslint-flat-config-utils: 0.2.0 eslint-plugin-vue: 9.24.0(eslint@9.0.0-rc.0) globals: 15.0.0 pathe: 1.1.2 @@ -1491,12 +1515,12 @@ packages: - typescript dev: true - /@nuxt/eslint-plugin@0.3.0-beta.6(eslint@9.0.0-rc.0)(typescript@5.4.3): - resolution: {integrity: sha512-vSdYVJHiIVr8uA/wYhgYYB3Zy7vDW9u1TqEOV312yBG/WMYkjSOzLybo2iulTiNYCj2ZuIowkGf1lVKkTxupGg==} + /@nuxt/eslint-plugin@0.3.0-beta.9(eslint@9.0.0-rc.0)(typescript@5.4.3): + resolution: {integrity: sha512-DRaMhEStKWWxiS54xzd6KK5zyIFVT9ORkyuPHh4o7eyhAk9G/gX/ateyzA9G3Si/oTC3fToo68RXmTO+dg3maA==} peerDependencies: eslint: ^8.57.0 dependencies: - '@typescript-eslint/types': 7.4.0 + '@typescript-eslint/types': 7.5.0 '@typescript-eslint/utils': 7.5.0(eslint@9.0.0-rc.0)(typescript@5.4.3) eslint: 9.0.0-rc.0 transitivePeerDependencies: @@ -1504,8 +1528,8 @@ packages: - typescript dev: true - /@nuxt/eslint@0.3.0-beta.6(eslint@9.0.0-rc.0)(nuxt@3.11.1)(rollup@3.29.4)(typescript@5.4.3)(vite@5.2.2): - resolution: {integrity: sha512-Zhv/XWebVvTBKonMyTJtkQt2xSkK8+gg1/HedCYdtEIamQucPh2RV9ROAHiMoOGfw0bkvZlIE/JWj5BmWgrRmA==} + /@nuxt/eslint@0.3.0-beta.9(eslint@9.0.0-rc.0)(nuxt@3.11.1)(rollup@3.29.4)(typescript@5.4.3)(vite@5.2.2): + resolution: {integrity: sha512-ovBC74h7qEIkvnfopVgkx8F2TklT9LzG0QD2asTDdwmuNaJbnhsGPCdlJ8V5w/o037qXmyhT5oM3z34pPIA3Og==} peerDependencies: eslint: ^8.57.0 eslint-webpack-plugin: ^4.1.0 @@ -1516,16 +1540,17 @@ packages: vite-plugin-eslint2: optional: true dependencies: + '@eslint/config-inspector': 0.3.1(eslint@9.0.0-rc.0) '@nuxt/devtools-kit': 1.1.5(nuxt@3.11.1)(rollup@3.29.4)(vite@5.2.2) - '@nuxt/eslint-config': 0.3.0-beta.6(eslint@9.0.0-rc.0)(typescript@5.4.3) - '@nuxt/eslint-plugin': 0.3.0-beta.6(eslint@9.0.0-rc.0)(typescript@5.4.3) + '@nuxt/eslint-config': 0.3.0-beta.9(eslint@9.0.0-rc.0)(typescript@5.4.3) + '@nuxt/eslint-plugin': 0.3.0-beta.9(eslint@9.0.0-rc.0)(typescript@5.4.3) '@nuxt/kit': 3.11.1(rollup@3.29.4) chokidar: 3.6.0 eslint: 9.0.0-rc.0 - eslint-flat-config-utils: 0.1.2 - eslint-flat-config-viewer: 0.1.16(eslint@9.0.0-rc.0)(typescript@5.4.3) - eslint-typegen: 0.1.6 + eslint-flat-config-utils: 0.2.0 + eslint-typegen: 0.2.0 get-port-please: 3.1.2 + mlly: 1.6.1 pathe: 1.1.2 unimport: 3.7.1(rollup@3.29.4) transitivePeerDependencies: @@ -2157,8 +2182,8 @@ packages: dev: true optional: true - /@rushstack/eslint-patch@1.10.0: - resolution: {integrity: sha512-ih6xH1dOGBTP/RNc/QbnVLLa/s80SkXydI7tnyq+a2eIdd7gDsmSpD1Jz7T1oCa+GIsVTyQCR3cW0tlYB97iFg==} + /@rushstack/eslint-patch@1.10.1: + resolution: {integrity: sha512-S3Kq8e7LqxkA9s7HKLqXGTGck1uwis5vAXan3FnU5yw1Ec5hsSGnq4s/UCaSqABPOnOTg7zASLyst7+ohgWexg==} dev: true /@shikijs/core@1.2.4: @@ -2385,35 +2410,6 @@ packages: '@types/node': 20.4.6 dev: true - /@typescript-eslint/eslint-plugin@7.4.0(@typescript-eslint/parser@7.4.0)(eslint@9.0.0-rc.0)(typescript@5.4.3): - resolution: {integrity: sha512-yHMQ/oFaM7HZdVrVm/M2WHaNPgyuJH4WelkSVEWSSsir34kxW2kDJCxlXRhhGWEsMN0WAW/vLpKfKVcm8k+MPw==} - engines: {node: ^18.18.0 || >=20.0.0} - peerDependencies: - '@typescript-eslint/parser': ^7.0.0 - eslint: ^8.56.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@eslint-community/regexpp': 4.6.2 - '@typescript-eslint/parser': 7.4.0(eslint@9.0.0-rc.0)(typescript@5.4.3) - '@typescript-eslint/scope-manager': 7.4.0 - '@typescript-eslint/type-utils': 7.4.0(eslint@9.0.0-rc.0)(typescript@5.4.3) - '@typescript-eslint/utils': 7.4.0(eslint@9.0.0-rc.0)(typescript@5.4.3) - '@typescript-eslint/visitor-keys': 7.4.0 - debug: 4.3.4 - eslint: 9.0.0-rc.0 - graphemer: 1.4.0 - ignore: 5.3.1 - natural-compare: 1.4.0 - semver: 7.6.0 - ts-api-utils: 1.0.1(typescript@5.4.3) - typescript: 5.4.3 - transitivePeerDependencies: - - supports-color - dev: true - /@typescript-eslint/eslint-plugin@7.5.0(@typescript-eslint/parser@7.5.0)(eslint@9.0.0-rc.0)(typescript@5.4.3): resolution: {integrity: sha512-HpqNTH8Du34nLxbKgVMGljZMG0rJd2O9ecvr2QLYp+7512ty1j42KnsFwspPXg1Vh8an9YImf6CokUBltisZFQ==} engines: {node: ^18.18.0 || >=20.0.0} @@ -2443,27 +2439,6 @@ packages: - supports-color dev: true - /@typescript-eslint/parser@7.4.0(eslint@9.0.0-rc.0)(typescript@5.4.3): - resolution: {integrity: sha512-ZvKHxHLusweEUVwrGRXXUVzFgnWhigo4JurEj0dGF1tbcGh6buL+ejDdjxOQxv6ytcY1uhun1p2sm8iWStlgLQ==} - engines: {node: ^18.18.0 || >=20.0.0} - peerDependencies: - eslint: ^8.56.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@typescript-eslint/scope-manager': 7.4.0 - '@typescript-eslint/types': 7.4.0 - '@typescript-eslint/typescript-estree': 7.4.0(typescript@5.4.3) - '@typescript-eslint/visitor-keys': 7.4.0 - debug: 4.3.4 - eslint: 9.0.0-rc.0 - typescript: 5.4.3 - transitivePeerDependencies: - - supports-color - dev: true - /@typescript-eslint/parser@7.5.0(eslint@9.0.0-rc.0)(typescript@5.4.3): resolution: {integrity: sha512-cj+XGhNujfD2/wzR1tabNsidnYRaFfEkcULdcIyVBYcXjBvBKOes+mpMBP7hMpOyk+gBcfXsrg4NBGAStQyxjQ==} engines: {node: ^18.18.0 || >=20.0.0} @@ -2509,26 +2484,6 @@ packages: '@typescript-eslint/visitor-keys': 7.5.0 dev: true - /@typescript-eslint/type-utils@7.4.0(eslint@9.0.0-rc.0)(typescript@5.4.3): - resolution: {integrity: sha512-247ETeHgr9WTRMqHbbQdzwzhuyaJ8dPTuyuUEMANqzMRB1rj/9qFIuIXK7l0FX9i9FXbHeBQl/4uz6mYuCE7Aw==} - engines: {node: ^18.18.0 || >=20.0.0} - peerDependencies: - eslint: ^8.56.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@typescript-eslint/typescript-estree': 7.4.0(typescript@5.4.3) - '@typescript-eslint/utils': 7.4.0(eslint@9.0.0-rc.0)(typescript@5.4.3) - debug: 4.3.4 - eslint: 9.0.0-rc.0 - ts-api-utils: 1.0.1(typescript@5.4.3) - typescript: 5.4.3 - transitivePeerDependencies: - - supports-color - dev: true - /@typescript-eslint/type-utils@7.5.0(eslint@9.0.0-rc.0)(typescript@5.4.3): resolution: {integrity: sha512-A021Rj33+G8mx2Dqh0nMO9GyjjIBK3MqgVgZ2qlKf6CJy51wY/lkkFqq3TqqnH34XyAHUkq27IjlUkWlQRpLHw==} engines: {node: ^18.18.0 || >=20.0.0} @@ -2586,28 +2541,6 @@ packages: - supports-color dev: true - /@typescript-eslint/typescript-estree@7.4.0(typescript@5.4.3): - resolution: {integrity: sha512-A99j5AYoME/UBQ1ucEbbMEmGkN7SE0BvZFreSnTd1luq7yulcHdyGamZKizU7canpGDWGJ+Q6ZA9SyQobipePg==} - engines: {node: ^18.18.0 || >=20.0.0} - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@typescript-eslint/types': 7.4.0 - '@typescript-eslint/visitor-keys': 7.4.0 - debug: 4.3.4 - globby: 11.1.0 - is-glob: 4.0.3 - minimatch: 9.0.3 - semver: 7.6.0 - ts-api-utils: 1.0.1(typescript@5.4.3) - typescript: 5.4.3 - transitivePeerDependencies: - - supports-color - dev: true - /@typescript-eslint/typescript-estree@7.5.0(typescript@5.4.3): resolution: {integrity: sha512-YklQQfe0Rv2PZEueLTUffiQGKQneiIEKKnfIqPIOxgM9lKSZFCjT5Ad4VqRKj/U4+kQE3fa8YQpskViL7WjdPQ==} engines: {node: ^18.18.0 || >=20.0.0} @@ -2649,25 +2582,6 @@ packages: - typescript dev: true - /@typescript-eslint/utils@7.4.0(eslint@9.0.0-rc.0)(typescript@5.4.3): - resolution: {integrity: sha512-NQt9QLM4Tt8qrlBVY9lkMYzfYtNz8/6qwZg8pI3cMGlPnj6mOpRxxAm7BMJN9K0AiY+1BwJ5lVC650YJqYOuNg==} - engines: {node: ^18.18.0 || >=20.0.0} - peerDependencies: - eslint: ^8.56.0 - dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.0.0-rc.0) - '@types/json-schema': 7.0.15 - '@types/semver': 7.5.0 - '@typescript-eslint/scope-manager': 7.4.0 - '@typescript-eslint/types': 7.4.0 - '@typescript-eslint/typescript-estree': 7.4.0(typescript@5.4.3) - eslint: 9.0.0-rc.0 - semver: 7.6.0 - transitivePeerDependencies: - - supports-color - - typescript - dev: true - /@typescript-eslint/utils@7.5.0(eslint@9.0.0-rc.0)(typescript@5.4.3): resolution: {integrity: sha512-3vZl9u0R+/FLQcpy2EHyRGNqAS/ofJ3Ji8aebilfJe+fobK8+LbIFmrHciLVDxjDoONmufDcnVSF38KwMEOjzw==} engines: {node: ^18.18.0 || >=20.0.0} @@ -2725,13 +2639,6 @@ packages: '@unhead/shared': 1.9.2 dev: true - /@unhead/dom@1.9.4: - resolution: {integrity: sha512-nEaHOcCL0u56g4XOV5XGwRMFZ05eEINfp8nxVrPiIGLrS9BoFrZS7/6IYSkalkNRTmw8M5xqxt6BalBr594SaA==} - dependencies: - '@unhead/schema': 1.9.4 - '@unhead/shared': 1.9.4 - dev: true - /@unhead/schema@1.8.20: resolution: {integrity: sha512-n0e5jsKino8JTHc4wpr4l8MXXIrj0muYYAEVa0WSYkIVnMiBr1Ik3l6elhCr4fdSyJ3M2DQQleea/oZCr11XCw==} dependencies: @@ -3945,7 +3852,6 @@ packages: dependencies: esbuild: 0.20.2 load-tsconfig: 0.2.5 - dev: false /c12@1.10.0: resolution: {integrity: sha512-0SsG7UDhoRWcuSvKWHaXmu5uNjDCDN3nkQLRL4Q42IlFy+ze58FcCoI3uPwINXinkz7ZinbhEgyzYFw9u9ZV8g==} @@ -4228,7 +4134,6 @@ packages: utils-merge: 1.0.1 transitivePeerDependencies: - supports-color - dev: false /consola@3.2.3: resolution: {integrity: sha512-I5qxpzLv+sJhTVEoLYNcTW+bThDCPsit0vLNKShZx6rLtpilNpmmeTPaeqJb9ZE9dV3DGaeby6Vuhrw38WjeyQ==} @@ -4781,12 +4686,6 @@ packages: parse-gitignore: 2.0.0 dev: true - /eslint-flat-config-utils@0.1.2: - resolution: {integrity: sha512-NfeUJrbARSHGux2no/zz+YOjfMuPXpedcxRTqov3mlx9PJV2CYAJEj2EjbNSEyHMXQwNCfTtQVZXMSiktQTcpA==} - dependencies: - '@types/eslint': 8.56.6 - dev: true - /eslint-flat-config-utils@0.2.0: resolution: {integrity: sha512-8jLkFKKBAzWPBEjygdH/P9Y/c+K9AcuMAig9u/4/x7mtsDRHj8EdgEJHX1IEvOTAbZiWXEUoZqiKZUIx/1FWKg==} dependencies: @@ -4794,33 +4693,6 @@ packages: pathe: 1.1.2 dev: true - /eslint-flat-config-viewer@0.1.16(eslint@9.0.0-rc.0)(typescript@5.4.3): - resolution: {integrity: sha512-kJ6YmlFbxO/naS2QJb9g5ZHaw5GLCB6/cQaukhHd36d4n6u3sNOlcM9Nmd5UfWxDgr4jpJkrNIyYjj8qZitoHw==} - hasBin: true - peerDependencies: - eslint: ^8.50.0 - dependencies: - '@unhead/shared': 1.9.4 - '@unhead/ssr': 1.9.4 - chokidar: 3.6.0 - consola: 3.2.3 - devalue: 4.3.2 - eslint: 9.0.0-rc.0 - get-port-please: 3.1.2 - jiti: 1.21.0 - minimatch: 9.0.4 - ofetch: 1.3.4 - open: 10.1.0 - unhead: 1.9.4 - vue: 3.4.21(typescript@5.4.3) - vue-bundle-renderer: 2.0.0 - ws: 8.16.0 - transitivePeerDependencies: - - bufferutil - - typescript - - utf-8-validate - dev: true - /eslint-import-resolver-node@0.3.9: resolution: {integrity: sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==} dependencies: @@ -5160,8 +5032,8 @@ packages: estraverse: 5.3.0 dev: true - /eslint-typegen@0.1.6: - resolution: {integrity: sha512-M6a9l3ifdZvZIJahUQmf1c1gVxoNu9e8E1Uwzu3bg2jKH1dfSkO8KSViNio54vEQCvyVPfJky5U246hZf4j1RA==} + /eslint-typegen@0.2.0: + resolution: {integrity: sha512-zaAQemIb3RfMjxCMv+sgoXAAhrMZDlx8rZ35zaIUS7ebZHvj1QjjspQnHnZ8UA/7U00u9tI+Lv1pjX1A73HHPQ==} dependencies: '@types/eslint': 8.56.6 json-schema-to-typescript-lite: 14.0.0 @@ -5412,7 +5284,6 @@ packages: unpipe: 1.0.0 transitivePeerDependencies: - supports-color - dev: false /find-up@4.1.0: resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==} @@ -6365,7 +6236,6 @@ packages: /load-tsconfig@0.2.5: resolution: {integrity: sha512-IXO6OCs9yg8tMKzfPZ1YmheJbZCiEsnBdcB03l0OcfK9prKnJb96siuHCr5Fl37/yo9DnKU+TLpxzTUspw9shg==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - dev: false /loader-runner@4.3.0: resolution: {integrity: sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==} @@ -7297,7 +7167,6 @@ packages: engines: {node: '>= 0.8'} dependencies: ee-first: 1.1.1 - dev: false /on-finished@2.4.1: resolution: {integrity: sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==} @@ -8516,7 +8385,6 @@ packages: /statuses@1.5.0: resolution: {integrity: sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA==} engines: {node: '>= 0.6'} - dev: false /statuses@2.0.1: resolution: {integrity: sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==} @@ -8954,15 +8822,6 @@ packages: hookable: 5.5.3 dev: true - /unhead@1.9.4: - resolution: {integrity: sha512-QVU0y3KowRu2cLjXxfemTKNohK4vdEwyahoszlEnRz0E5BTNRZQSs8AnommorGmVM7DvB2t4dwWadB51wDlPzw==} - dependencies: - '@unhead/dom': 1.9.4 - '@unhead/schema': 1.9.4 - '@unhead/shared': 1.9.4 - hookable: 5.5.3 - dev: true - /unicorn-magic@0.1.0: resolution: {integrity: sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==} engines: {node: '>=18'} @@ -8983,7 +8842,7 @@ packages: pkg-types: 1.0.3 scule: 1.3.0 strip-literal: 1.3.0 - unplugin: 1.10.0 + unplugin: 1.10.1 transitivePeerDependencies: - rollup dev: true @@ -9003,7 +8862,7 @@ packages: pkg-types: 1.0.3 scule: 1.3.0 strip-literal: 1.3.0 - unplugin: 1.10.0 + unplugin: 1.10.1 transitivePeerDependencies: - rollup dev: true @@ -9076,7 +8935,6 @@ packages: /unpipe@1.0.0: resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==} engines: {node: '>= 0.8'} - dev: false /unplugin-vue-router@0.7.0(rollup@3.29.4)(vue-router@4.3.0)(vue@3.4.21): resolution: {integrity: sha512-ddRreGq0t5vlSB7OMy4e4cfU1w2AwBQCwmvW3oP/0IHQiokzbx4hd3TpwBu3eIAFVuhX2cwNQwp1U32UybTVCw==} @@ -9262,7 +9120,6 @@ packages: /utils-merge@1.0.1: resolution: {integrity: sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==} engines: {node: '>= 0.4.0'} - dev: false /validate-npm-package-license@3.0.4: resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==} diff --git a/src/configs.ts b/src/configs.ts index 4ff543a..44bfecc 100644 --- a/src/configs.ts +++ b/src/configs.ts @@ -59,7 +59,7 @@ export async function readConfig( return { ...c, plugins: c.plugins - ? Object.fromEntries(Object.entries(c.plugins ?? {}).map(([prefix]) => [prefix, {}])) + ? Object.fromEntries(Object.entries(c.plugins ?? {}).map(([prefix]) => [prefix, {}]).filter(i => i[0])) : undefined, languageOptions: c.languageOptions ? { ...c.languageOptions, parser: c.languageOptions.parser?.meta?.name as any } diff --git a/uno.config.ts b/uno.config.ts index c4115be..528d47a 100644 --- a/uno.config.ts +++ b/uno.config.ts @@ -13,6 +13,7 @@ export default defineConfig({ shortcuts: { 'color-base': 'color-neutral-500 dark:color-neutral-300', 'bg-base': 'bg-white dark:bg-neutral-900', + 'bg-tooltip': 'bg-white:75 dark:bg-neutral-900:75 backdrop-blur-8', 'bg-glass': 'bg-white:75 dark:bg-neutral-900:75 backdrop-blur-5', 'bg-code': 'bg-gray5:5', 'bg-hover': 'bg-gray:5',