This commit is contained in:
oekazuma 2024-12-12 19:29:11 +09:00
parent d5284ff3c7
commit 904135783f
4 changed files with 67 additions and 53 deletions

1
docs/src/env.d.ts vendored
View File

@ -1,2 +1,3 @@
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
/// <reference path="../.astro/types.d.ts" />
/// <reference types="astro/client" />

View File

@ -31,6 +31,6 @@ export default [
}
},
{
ignores: ['**/build/', '**/.svelte-kit/', '**/dist/']
ignores: ['**/build/', '**/.svelte-kit/', '**/.astro/', '**/dist/']
}
];

View File

@ -43,7 +43,7 @@
"tslib": "^2.8.1",
"typescript": "^5.7.2",
"vite": "^6.0.1",
"vitest": "^2.1.6"
"vitest": "2.1.6"
},
"peerDependencies": {
"svelte": "^5.0.0"

115
pnpm-lock.yaml generated
View File

@ -124,8 +124,8 @@ importers:
specifier: ^6.0.1
version: 6.0.3(yaml@2.6.1)
vitest:
specifier: ^2.1.6
version: 2.1.8
specifier: 2.1.6
version: 2.1.6(yaml@2.6.1)
tests/svelte-5:
devDependencies:
@ -1184,34 +1184,37 @@ packages:
'@ungap/structured-clone@1.2.1':
resolution: {integrity: sha512-fEzPV3hSkSMltkw152tJKNARhOupqbH96MZWyRjNaYZOMIzbrTeQDG+MTc6Mr2pgzFQzFxAfmhGDNP5QK++2ZA==}
'@vitest/expect@2.1.8':
resolution: {integrity: sha512-8ytZ/fFHq2g4PJVAtDX57mayemKgDR6X3Oa2Foro+EygiOJHUXhCqBAAKQYYajZpFoIfvBCF1j6R6IYRSIUFuw==}
'@vitest/expect@2.1.6':
resolution: {integrity: sha512-9M1UR9CAmrhJOMoSwVnPh2rELPKhYo0m/CSgqw9PyStpxtkwhmdM6XYlXGKeYyERY1N6EIuzkQ7e3Lm1WKCoUg==}
'@vitest/mocker@2.1.8':
resolution: {integrity: sha512-7guJ/47I6uqfttp33mgo6ga5Gr1VnL58rcqYKyShoRK9ebu8T5Rs6HN3s1NABiBeVTdWNrwUMcHH54uXZBN4zA==}
'@vitest/mocker@2.1.6':
resolution: {integrity: sha512-MHZp2Z+Q/A3am5oD4WSH04f9B0T7UvwEb+v5W0kCYMhtXGYbdyl2NUk1wdSMqGthmhpiThPDp/hEoVwu16+u1A==}
peerDependencies:
msw: ^2.4.9
vite: ^5.0.0
vite: ^5.0.0 || ^6.0.0
peerDependenciesMeta:
msw:
optional: true
vite:
optional: true
'@vitest/pretty-format@2.1.6':
resolution: {integrity: sha512-exZyLcEnHgDMKc54TtHca4McV4sKT+NKAe9ix/yhd/qkYb/TP8HTyXRFDijV19qKqTZM0hPL4753zU/U8L/gAA==}
'@vitest/pretty-format@2.1.8':
resolution: {integrity: sha512-9HiSZ9zpqNLKlbIDRWOnAWqgcA7xu+8YxXSekhr0Ykab7PAYFkhkwoqVArPOtJhPmYeE2YHgKZlj3CP36z2AJQ==}
'@vitest/runner@2.1.8':
resolution: {integrity: sha512-17ub8vQstRnRlIU5k50bG+QOMLHRhYPAna5tw8tYbj+jzjcspnwnwtPtiOlkuKC4+ixDPTuLZiqiWWQ2PSXHVg==}
'@vitest/runner@2.1.6':
resolution: {integrity: sha512-SjkRGSFyrA82m5nz7To4CkRSEVWn/rwQISHoia/DB8c6IHIhaE/UNAo+7UfeaeJRE979XceGl00LNkIz09RFsA==}
'@vitest/snapshot@2.1.8':
resolution: {integrity: sha512-20T7xRFbmnkfcmgVEz+z3AU/3b0cEzZOt/zmnvZEctg64/QZbSDJEVm9fLnnlSi74KibmRsO9/Qabi+t0vCRPg==}
'@vitest/snapshot@2.1.6':
resolution: {integrity: sha512-5JTWHw8iS9l3v4/VSuthCndw1lN/hpPB+mlgn1BUhFbobeIUj1J1V/Bj2t2ovGEmkXLTckFjQddsxS5T6LuVWw==}
'@vitest/spy@2.1.8':
resolution: {integrity: sha512-5swjf2q95gXeYPevtW0BLk6H8+bPlMb4Vw/9Em4hFxDcaOxS+e0LOX4yqNxoHzMR2akEB2xfpnWUzkZokmgWDg==}
'@vitest/spy@2.1.6':
resolution: {integrity: sha512-oTFObV8bd4SDdRka5O+mSh5w9irgx5IetrD5i+OsUUsk/shsBoHifwCzy45SAORzAhtNiprUVaK3hSCCzZh1jQ==}
'@vitest/utils@2.1.8':
resolution: {integrity: sha512-dwSoui6djdwbfFmIgbIjX2ZhIoG7Ex/+xpxyiEgIGzjliY8xGkcpITKTlp6B4MgtGkF2ilvm97cPM96XZaAgcA==}
'@vitest/utils@2.1.6':
resolution: {integrity: sha512-ixNkFy3k4vokOUTU2blIUvOgKq/N2PW8vKIjZZYsGJCMX69MRa9J2sKqX5hY/k5O5Gty3YJChepkqZ3KM9LyIQ==}
'@volar/kit@2.4.10':
resolution: {integrity: sha512-ul+rLeO9RlFDgkY/FhPWMnpFqAsjvjkKz8VZeOY5YCJMwTblmmSBlNJtFNxSBx9t/k1q80nEthLyxiJ50ZbIAg==}
@ -3120,9 +3123,9 @@ packages:
vfile@6.0.3:
resolution: {integrity: sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==}
vite-node@2.1.8:
resolution: {integrity: sha512-uPAwSr57kYjAUux+8E2j0q0Fxpn8M9VoyfGiRI8Kfktz9NcYMCenwY5RnZxnF1WTu3TGiYipirIzacLL3VVGFg==}
engines: {node: ^18.0.0 || >=20.0.0}
vite-node@2.1.6:
resolution: {integrity: sha512-DBfJY0n9JUwnyLxPSSUmEePT21j8JZp/sR9n+/gBwQU6DcQOioPdb8/pibWfXForbirSagZCilseYIwaL3f95A==}
engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0}
hasBin: true
vite@5.4.11:
@ -3204,15 +3207,15 @@ packages:
vite:
optional: true
vitest@2.1.8:
resolution: {integrity: sha512-1vBKTZskHw/aosXqQUlVWWlGUxSJR8YtiyZDJAFeW2kPAeX6S3Sool0mjspO+kXLuxVWlEDDowBAeqeAQefqLQ==}
engines: {node: ^18.0.0 || >=20.0.0}
vitest@2.1.6:
resolution: {integrity: sha512-isUCkvPL30J4c5O5hgONeFRsDmlw6kzFEdLQHLezmDdKQHy8Ke/B/dgdTMEgU0vm+iZ0TjW8GuK83DiahBoKWQ==}
engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0}
hasBin: true
peerDependencies:
'@edge-runtime/vm': '*'
'@types/node': ^18.0.0 || >=20.0.0
'@vitest/browser': 2.1.8
'@vitest/ui': 2.1.8
'@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0
'@vitest/browser': 2.1.6
'@vitest/ui': 2.1.6
happy-dom: '*'
jsdom: '*'
peerDependenciesMeta:
@ -4573,43 +4576,47 @@ snapshots:
'@ungap/structured-clone@1.2.1': {}
'@vitest/expect@2.1.8':
'@vitest/expect@2.1.6':
dependencies:
'@vitest/spy': 2.1.8
'@vitest/utils': 2.1.8
'@vitest/spy': 2.1.6
'@vitest/utils': 2.1.6
chai: 5.1.2
tinyrainbow: 1.2.0
'@vitest/mocker@2.1.8(vite@5.4.11)':
'@vitest/mocker@2.1.6(vite@6.0.3(yaml@2.6.1))':
dependencies:
'@vitest/spy': 2.1.8
'@vitest/spy': 2.1.6
estree-walker: 3.0.3
magic-string: 0.30.14
magic-string: 0.30.15
optionalDependencies:
vite: 5.4.11
vite: 6.0.3(yaml@2.6.1)
'@vitest/pretty-format@2.1.6':
dependencies:
tinyrainbow: 1.2.0
'@vitest/pretty-format@2.1.8':
dependencies:
tinyrainbow: 1.2.0
'@vitest/runner@2.1.8':
'@vitest/runner@2.1.6':
dependencies:
'@vitest/utils': 2.1.8
'@vitest/utils': 2.1.6
pathe: 1.1.2
'@vitest/snapshot@2.1.8':
'@vitest/snapshot@2.1.6':
dependencies:
'@vitest/pretty-format': 2.1.8
magic-string: 0.30.14
'@vitest/pretty-format': 2.1.6
magic-string: 0.30.15
pathe: 1.1.2
'@vitest/spy@2.1.8':
'@vitest/spy@2.1.6':
dependencies:
tinyspy: 3.0.2
'@vitest/utils@2.1.8':
'@vitest/utils@2.1.6':
dependencies:
'@vitest/pretty-format': 2.1.8
'@vitest/pretty-format': 2.1.6
loupe: 3.1.2
tinyrainbow: 1.2.0
@ -7115,15 +7122,16 @@ snapshots:
'@types/unist': 3.0.3
vfile-message: 4.0.2
vite-node@2.1.8:
vite-node@2.1.6(yaml@2.6.1):
dependencies:
cac: 6.7.14
debug: 4.4.0
es-module-lexer: 1.5.4
pathe: 1.1.2
vite: 5.4.11
vite: 6.0.3(yaml@2.6.1)
transitivePeerDependencies:
- '@types/node'
- jiti
- less
- lightningcss
- sass
@ -7132,6 +7140,8 @@ snapshots:
- sugarss
- supports-color
- terser
- tsx
- yaml
vite@5.4.11:
dependencies:
@ -7158,29 +7168,30 @@ snapshots:
optionalDependencies:
vite: 6.0.3(yaml@2.6.1)
vitest@2.1.8:
vitest@2.1.6(yaml@2.6.1):
dependencies:
'@vitest/expect': 2.1.8
'@vitest/mocker': 2.1.8(vite@5.4.11)
'@vitest/expect': 2.1.6
'@vitest/mocker': 2.1.6(vite@6.0.3(yaml@2.6.1))
'@vitest/pretty-format': 2.1.8
'@vitest/runner': 2.1.8
'@vitest/snapshot': 2.1.8
'@vitest/spy': 2.1.8
'@vitest/utils': 2.1.8
'@vitest/runner': 2.1.6
'@vitest/snapshot': 2.1.6
'@vitest/spy': 2.1.6
'@vitest/utils': 2.1.6
chai: 5.1.2
debug: 4.4.0
expect-type: 1.1.0
magic-string: 0.30.14
magic-string: 0.30.15
pathe: 1.1.2
std-env: 3.8.0
tinybench: 2.9.0
tinyexec: 0.3.1
tinypool: 1.0.2
tinyrainbow: 1.2.0
vite: 5.4.11
vite-node: 2.1.8
vite: 6.0.3(yaml@2.6.1)
vite-node: 2.1.6(yaml@2.6.1)
why-is-node-running: 2.3.0
transitivePeerDependencies:
- jiti
- less
- lightningcss
- msw
@ -7190,6 +7201,8 @@ snapshots:
- sugarss
- supports-color
- terser
- tsx
- yaml
volar-service-css@0.0.62(@volar/language-service@2.4.10):
dependencies: