diff --git a/website/package.json b/website/package.json index 82d34762..8323f336 100644 --- a/website/package.json +++ b/website/package.json @@ -44,7 +44,7 @@ "moment": "2.29.4" }, "devDependencies": { - "@antfu/eslint-config": "^1.1.1", + "@antfu/eslint-config": "^2.0.0", "@eslint/eslintrc": "^2.1.3", "@mdit/plugin-attrs": "0.6.5", "@mdit/plugin-figure": "0.6.5", diff --git a/website/pnpm-lock.yaml b/website/pnpm-lock.yaml index 61d3687f..75220ae8 100644 --- a/website/pnpm-lock.yaml +++ b/website/pnpm-lock.yaml @@ -41,8 +41,8 @@ dependencies: devDependencies: '@antfu/eslint-config': - specifier: ^1.1.1 - version: 1.1.1(eslint@8.54.0)(typescript@5.2.2) + specifier: ^2.0.0 + version: 2.0.0(eslint@8.54.0)(typescript@5.2.2) '@eslint/eslintrc': specifier: ^2.1.3 version: 2.1.3 @@ -285,19 +285,22 @@ packages: '@algolia/requester-common': 4.20.0 dev: true - /@antfu/eslint-config@1.1.1(eslint@8.54.0)(typescript@5.2.2): - resolution: {integrity: sha512-/0N4JSxmiTQKbHHRxUh+MoYKcmXuBEzTsSYgIN2gzI8Rc9iXCU0Q5VI0YMS2inq6bQYUwqrnzFFwZbs4ZpHtkw==} + /@antfu/eslint-config@2.0.0(eslint@8.54.0)(typescript@5.2.2): + resolution: {integrity: sha512-kAhbg7loDbT7g3rkLkgZ1R7C5v43wzAOjLMAcdT1xFMGEhAtG8MhBMUXrRCwdaV8ebvLYjO+mqUVCdgrHaFPOA==} hasBin: true peerDependencies: eslint: '>=8.0.0' dependencies: '@antfu/eslint-define-config': 1.23.0-2 - '@stylistic/eslint-plugin': 1.1.0(eslint@8.54.0)(typescript@5.2.2) + '@eslint-types/jsdoc': 46.8.2-1 + '@eslint-types/typescript-eslint': 6.11.0 + '@eslint-types/unicorn': 49.0.0 + '@stylistic/eslint-plugin': 1.4.0(eslint@8.54.0)(typescript@5.2.2) '@typescript-eslint/eslint-plugin': 6.11.0(@typescript-eslint/parser@6.11.0)(eslint@8.54.0)(typescript@5.2.2) '@typescript-eslint/parser': 6.11.0(eslint@8.54.0)(typescript@5.2.2) eslint: 8.54.0 eslint-config-flat-gitignore: 0.1.1 - eslint-plugin-antfu: 1.0.2(eslint@8.54.0) + eslint-plugin-antfu: 1.0.10(eslint@8.54.0) eslint-plugin-eslint-comments: 3.2.0(eslint@8.54.0) eslint-plugin-i: 2.29.0(@typescript-eslint/parser@6.11.0)(eslint@8.54.0) eslint-plugin-jsdoc: 46.9.0(eslint@8.54.0) @@ -305,7 +308,7 @@ packages: eslint-plugin-markdown: 3.0.1(eslint@8.54.0) eslint-plugin-n: 16.3.1(eslint@8.54.0) eslint-plugin-no-only-tests: 3.1.0 - eslint-plugin-perfectionist: 2.2.0(eslint@8.54.0)(typescript@5.2.2)(vue-eslint-parser@9.3.2) + eslint-plugin-perfectionist: 2.4.0(eslint@8.54.0)(typescript@5.2.2)(vue-eslint-parser@9.3.2) eslint-plugin-unicorn: 49.0.0(eslint@8.54.0) eslint-plugin-unused-imports: 3.0.0(@typescript-eslint/eslint-plugin@6.11.0)(eslint@8.54.0) eslint-plugin-vitest: 0.3.9(@typescript-eslint/eslint-plugin@6.11.0)(eslint@8.54.0)(typescript@5.2.2) @@ -689,6 +692,18 @@ packages: engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} dev: true + /@eslint-types/jsdoc@46.8.2-1: + resolution: {integrity: sha512-FwD7V0xX0jyaqj8Ul5ZY+TAAPohDfVqtbuXJNHb+OIv1aTIqZi5+Zn3F2UwQ5O3BnQd2mTduyK0+HjGx3/AMFg==} + dev: true + + /@eslint-types/typescript-eslint@6.11.0: + resolution: {integrity: sha512-6IpcTD2brrOtSvvjmHvLHqubrmqj1wFhGWda+lA5fPlPIqhJYccL/mz2yONKQfQdh9kV7xd2tuVq7O2ylZd3iA==} + dev: true + + /@eslint-types/unicorn@49.0.0: + resolution: {integrity: sha512-NfXSZIsPFRD2fwTDZQj8SaXqS/rXjB5foxMraLovyrYGXiQK2y0780drDKYYSVbqvco29QIYoZNmnKTUkzZMvQ==} + dev: true + /@eslint/eslintrc@2.1.3: resolution: {integrity: sha512-yZzuIG+jnVu6hNSzFEN07e8BxF3uAzYtQb6uDkaYZLo6oYZDCq454c5kB8zxnzfCYyP4MIuyBn10L0DqwujTmA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -1245,8 +1260,8 @@ packages: string.prototype.codepointat: 0.2.1 dev: true - /@stylistic/eslint-plugin-js@1.1.0: - resolution: {integrity: sha512-7yDOvKQvtTXIJMVcKNGfpYSJJhwTbOrDcMDgYqWbtS9LyHmuzxvnR748bQ21pQyi6aZR2E7edwKsdKmZlXc9Rg==} + /@stylistic/eslint-plugin-js@1.4.0: + resolution: {integrity: sha512-cANyn4ECWu8kxPmBM4K/Q4WocD3JbA0POmGbA2lJ4tynPE8jGyKpfP8SZj6BIidXV0pkyqvxEfaKppB4D16UsA==} dependencies: acorn: 8.11.2 escape-string-regexp: 4.0.0 @@ -1255,20 +1270,20 @@ packages: graphemer: 1.4.0 dev: true - /@stylistic/eslint-plugin-jsx@1.1.0: - resolution: {integrity: sha512-XMTAYQ9t7ZoWjqciqOy99O0sRCHh/6x/Q4Dm8sCVKzKlsnPzVlXzAD0htNqHG+Fu7qyGblDqb0/7PNJXBdQc5Q==} + /@stylistic/eslint-plugin-jsx@1.4.0: + resolution: {integrity: sha512-MB5MW8HnRm0nAeUpgVzr4NOzLtxWYBIBtW9iDXopykl1ZJOm/0LlSFlsw9wsXd4Zqarkow6IrV18HcZ0Hc06yQ==} dependencies: - '@stylistic/eslint-plugin-js': 1.1.0 + '@stylistic/eslint-plugin-js': 1.4.0 estraverse: 5.3.0 dev: true - /@stylistic/eslint-plugin-ts@1.1.0(eslint@8.54.0)(typescript@5.2.2): - resolution: {integrity: sha512-vqlinwzTNSKoFaVcVKE2iVGKX62NKIJfkhEI+5uuufYcAhfjfOK3KQY0zhdUeshEUkBVR0uRrJzH1/Cj/2Unfg==} + /@stylistic/eslint-plugin-ts@1.4.0(eslint@8.54.0)(typescript@5.2.2): + resolution: {integrity: sha512-eNEC0MufXfe2v9fW+g5yDzMMcws80cn1gKIt9CaLVjUuWnwCdY4SG1hUtDfEpBCTNBZgG/LKKls15dSa1x++0g==} peerDependencies: eslint: '*' dependencies: - '@stylistic/eslint-plugin-js': 1.1.0 - '@typescript-eslint/utils': 6.10.0(eslint@8.54.0)(typescript@5.2.2) + '@stylistic/eslint-plugin-js': 1.4.0 + '@typescript-eslint/utils': 6.11.0(eslint@8.54.0)(typescript@5.2.2) eslint: 8.54.0 graphemer: 1.4.0 transitivePeerDependencies: @@ -1276,14 +1291,14 @@ packages: - typescript dev: true - /@stylistic/eslint-plugin@1.1.0(eslint@8.54.0)(typescript@5.2.2): - resolution: {integrity: sha512-PcJgMTNiIZ1d+aQt7OM50hRkeOIB7FyfRofNEe1PykG7NvSjjwQ7fS2XN+eN/SmoPN4ocZkacZHOv5cDNrFEqQ==} + /@stylistic/eslint-plugin@1.4.0(eslint@8.54.0)(typescript@5.2.2): + resolution: {integrity: sha512-DtPiS4jr7m+A2nlcn8Ls4LEsOj1KC8x+KvAmoUI+nTcnin4Hkb8/I9Vteuu2CFLyVmlnKIQhrL5JC/xUEMyE9w==} peerDependencies: eslint: '*' dependencies: - '@stylistic/eslint-plugin-js': 1.1.0 - '@stylistic/eslint-plugin-jsx': 1.1.0 - '@stylistic/eslint-plugin-ts': 1.1.0(eslint@8.54.0)(typescript@5.2.2) + '@stylistic/eslint-plugin-js': 1.4.0 + '@stylistic/eslint-plugin-jsx': 1.4.0 + '@stylistic/eslint-plugin-ts': 1.4.0(eslint@8.54.0)(typescript@5.2.2) eslint: 8.54.0 transitivePeerDependencies: - supports-color @@ -1459,14 +1474,6 @@ packages: - supports-color dev: true - /@typescript-eslint/scope-manager@6.10.0: - resolution: {integrity: sha512-TN/plV7dzqqC2iPNf1KrxozDgZs53Gfgg5ZHyw8erd6jd5Ta/JIEcdCheXFt9b1NYb93a1wmIIVW/2gLkombDg==} - engines: {node: ^16.0.0 || >=18.0.0} - dependencies: - '@typescript-eslint/types': 6.10.0 - '@typescript-eslint/visitor-keys': 6.10.0 - dev: true - /@typescript-eslint/scope-manager@6.11.0: resolution: {integrity: sha512-0A8KoVvIURG4uhxAdjSaxy8RdRE//HztaZdG8KiHLP8WOXSk0vlF7Pvogv+vlJA5Rnjj/wDcFENvDaHb+gKd1A==} engines: {node: ^16.0.0 || >=18.0.0} @@ -1495,37 +1502,11 @@ packages: - supports-color dev: true - /@typescript-eslint/types@6.10.0: - resolution: {integrity: sha512-36Fq1PWh9dusgo3vH7qmQAj5/AZqARky1Wi6WpINxB6SkQdY5vQoT2/7rW7uBIsPDcvvGCLi4r10p0OJ7ITAeg==} - engines: {node: ^16.0.0 || >=18.0.0} - dev: true - /@typescript-eslint/types@6.11.0: resolution: {integrity: sha512-ZbEzuD4DwEJxwPqhv3QULlRj8KYTAnNsXxmfuUXFCxZmO6CF2gM/y+ugBSAQhrqaJL3M+oe4owdWunaHM6beqA==} engines: {node: ^16.0.0 || >=18.0.0} dev: true - /@typescript-eslint/typescript-estree@6.10.0(typescript@5.2.2): - resolution: {integrity: sha512-ek0Eyuy6P15LJVeghbWhSrBCj/vJpPXXR+EpaRZqou7achUWL8IdYnMSC5WHAeTWswYQuP2hAZgij/bC9fanBg==} - engines: {node: ^16.0.0 || >=18.0.0} - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@typescript-eslint/types': 6.10.0 - '@typescript-eslint/visitor-keys': 6.10.0 - debug: 4.3.4 - globby: 11.1.0 - is-glob: 4.0.3 - semver: 7.5.4 - ts-api-utils: 1.0.3(typescript@5.2.2) - typescript: 5.2.2 - transitivePeerDependencies: - - supports-color - dev: true - /@typescript-eslint/typescript-estree@6.11.0(typescript@5.2.2): resolution: {integrity: sha512-Aezzv1o2tWJwvZhedzvD5Yv7+Lpu1by/U1LZ5gLc4tCx8jUmuSCMioPFRjliN/6SJIvY6HpTtJIWubKuYYYesQ==} engines: {node: ^16.0.0 || >=18.0.0} @@ -1547,25 +1528,6 @@ packages: - supports-color dev: true - /@typescript-eslint/utils@6.10.0(eslint@8.54.0)(typescript@5.2.2): - resolution: {integrity: sha512-v+pJ1/RcVyRc0o4wAGux9x42RHmAjIGzPRo538Z8M1tVx6HOnoQBCX/NoadHQlZeC+QO2yr4nNSFWOoraZCAyg==} - engines: {node: ^16.0.0 || >=18.0.0} - peerDependencies: - eslint: ^7.0.0 || ^8.0.0 - dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.54.0) - '@types/json-schema': 7.0.13 - '@types/semver': 7.5.2 - '@typescript-eslint/scope-manager': 6.10.0 - '@typescript-eslint/types': 6.10.0 - '@typescript-eslint/typescript-estree': 6.10.0(typescript@5.2.2) - eslint: 8.54.0 - semver: 7.5.4 - transitivePeerDependencies: - - supports-color - - typescript - dev: true - /@typescript-eslint/utils@6.11.0(eslint@8.54.0)(typescript@5.2.2): resolution: {integrity: sha512-p23ibf68fxoZy605dc0dQAEoUsoiNoP3MD9WQGiHLDuTSOuqoTsa4oAy+h3KDkTcxbbfOtUjb9h3Ta0gT4ug2g==} engines: {node: ^16.0.0 || >=18.0.0} @@ -1585,14 +1547,6 @@ packages: - typescript dev: true - /@typescript-eslint/visitor-keys@6.10.0: - resolution: {integrity: sha512-xMGluxQIEtOM7bqFCo+rCMh5fqI+ZxV5RUUOa29iVPz1OgCZrtc7rFnz5cLUazlkPKYqX+75iuDq7m0HQ48nCg==} - engines: {node: ^16.0.0 || >=18.0.0} - dependencies: - '@typescript-eslint/types': 6.10.0 - eslint-visitor-keys: 3.4.3 - dev: true - /@typescript-eslint/visitor-keys@6.11.0: resolution: {integrity: sha512-+SUN/W7WjBr05uRxPggJPSzyB8zUpaYo2hByKasWbqr3PM8AXfZt8UHdNpBS1v9SA62qnSSMF3380SwDqqprgQ==} engines: {node: ^16.0.0 || >=18.0.0} @@ -2787,8 +2741,8 @@ packages: - supports-color dev: true - /eslint-plugin-antfu@1.0.2(eslint@8.54.0): - resolution: {integrity: sha512-elv/LVq+4h9oi7xza9EK93akujmTAGnL3e7aMVVWELjvIJuHcKj0GT6HjdgPDtuBdMnyyKN7fVKIpSNSqZnaIA==} + /eslint-plugin-antfu@1.0.10(eslint@8.54.0): + resolution: {integrity: sha512-zwEdi6DJM+Di2CZNBDyJAU3zwCPyPd/j2zKONmXfzvDQKeMLGje7qYPWeIChlEuy3bFYX52UFJlPKZ0qyLDuqA==} peerDependencies: eslint: '*' dependencies: @@ -2944,8 +2898,8 @@ packages: engines: {node: '>=5.0.0'} dev: true - /eslint-plugin-perfectionist@2.2.0(eslint@8.54.0)(typescript@5.2.2)(vue-eslint-parser@9.3.2): - resolution: {integrity: sha512-/nG2Uurd6AY7CI6zlgjHPOoiPY8B7EYMUWdNb5w+EzyauYiQjjD5lQwAI1FlkBbCCFFZw/CdZIPQhXumYoiyaw==} + /eslint-plugin-perfectionist@2.4.0(eslint@8.54.0)(typescript@5.2.2)(vue-eslint-parser@9.3.2): + resolution: {integrity: sha512-til+vyf56wAUgFv5guBA1Zo5lTw9xj2kCeK/g+9NBtsRy1rkGrlqnvxYNuFExcK3VsPhUUtx5UdScEDz9ahQ5Q==} peerDependencies: astro-eslint-parser: ^0.16.0 eslint: '>=8.0.0' @@ -2962,7 +2916,7 @@ packages: vue-eslint-parser: optional: true dependencies: - '@typescript-eslint/utils': 6.10.0(eslint@8.54.0)(typescript@5.2.2) + '@typescript-eslint/utils': 6.11.0(eslint@8.54.0)(typescript@5.2.2) eslint: 8.54.0 minimatch: 9.0.3 natural-compare-lite: 1.4.0 @@ -3033,7 +2987,7 @@ packages: optional: true dependencies: '@typescript-eslint/eslint-plugin': 6.11.0(@typescript-eslint/parser@6.11.0)(eslint@8.54.0)(typescript@5.2.2) - '@typescript-eslint/utils': 6.10.0(eslint@8.54.0)(typescript@5.2.2) + '@typescript-eslint/utils': 6.11.0(eslint@8.54.0)(typescript@5.2.2) eslint: 8.54.0 transitivePeerDependencies: - supports-color @@ -3984,7 +3938,7 @@ packages: resolution: {integrity: sha512-WYDyuc/uFcGp6YtM2H0uKmUwieOuzeE/5YocFJLnLfclZ4inf3mRn8ZVy1s7Hxji7Jxm6Ss8gqpexD/GlKoGgg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - acorn: 8.10.0 + acorn: 8.11.2 eslint-visitor-keys: 3.4.3 espree: 9.6.1 semver: 7.5.4 @@ -4426,7 +4380,7 @@ packages: /mlly@1.4.2: resolution: {integrity: sha512-i/Ykufi2t1EZ6NaPLdfnZk2AX8cs0d+mTzVKuPfqPKPatxLApaBoxJQ9x1/uckXtrS/U5oisPMDkNs0yQTaBRg==} dependencies: - acorn: 8.10.0 + acorn: 8.11.2 pathe: 1.1.1 pkg-types: 1.0.3 ufo: 1.3.1 @@ -6085,12 +6039,7 @@ packages: dependencies: eslint-visitor-keys: 3.4.3 lodash: 4.17.21 - yaml: 2.3.3 - dev: true - - /yaml@2.3.3: - resolution: {integrity: sha512-zw0VAJxgeZ6+++/su5AFoqBbZbrEakwu+X0M5HmcwUiBL7AzcuPKjj5we4xfQLp78LkEMpD0cOnUhmgOVy3KdQ==} - engines: {node: '>= 14'} + yaml: 2.3.4 dev: true /yaml@2.3.4: diff --git a/website/src/.vitepress/theme/components/Contributors.vue b/website/src/.vitepress/theme/components/Contributors.vue index 65204af5..e94c4d83 100644 --- a/website/src/.vitepress/theme/components/Contributors.vue +++ b/website/src/.vitepress/theme/components/Contributors.vue @@ -1,7 +1,7 @@ diff --git a/website/src/.vitepress/theme/components/Extensions/ExtensionGroup.vue b/website/src/.vitepress/theme/components/Extensions/ExtensionGroup.vue index f7dda537..709cd0a7 100644 --- a/website/src/.vitepress/theme/components/Extensions/ExtensionGroup.vue +++ b/website/src/.vitepress/theme/components/Extensions/ExtensionGroup.vue @@ -4,7 +4,7 @@ import { langName, simpleLangName } from '../../../config/scripts/languages' import type { Extension } from '../../queries/useExtensionsRepositoryQuery' import ExtensionItem from './ExtensionItem.vue' -const props = defineProps<{ list: Extension[]; totalCount: number }>() +const props = defineProps<{ list: Extension[], totalCount: number }>() const { list } = toRefs(props) const groupName = computed(() => { diff --git a/website/src/.vitepress/theme/components/OgImageTemplate.vue b/website/src/.vitepress/theme/components/OgImageTemplate.vue index caafef82..75d9c03e 100644 --- a/website/src/.vitepress/theme/components/OgImageTemplate.vue +++ b/website/src/.vitepress/theme/components/OgImageTemplate.vue @@ -1,5 +1,5 @@