0
0
mirror of https://github.com/honojs/hono.git synced 2024-12-01 11:51:01 +01:00

chore(vitest/tsconfig): bump vitest and update tsconfig.build.json (#1851)

* update vitest

* vitest typecheck

* ignore vitest setting in build

* Revert "vitest typecheck"
This commit is contained in:
watany 2023-12-25 11:46:37 +09:00 committed by GitHub
parent a8fb2377c9
commit 7f0e51a389
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 47 additions and 44 deletions

View File

@ -450,7 +450,7 @@
"@types/node": "^20.8.2",
"@types/node-fetch": "^2.6.2",
"@types/supertest": "^2.0.12",
"@vitest/coverage-v8": "^1.0.4",
"@vitest/coverage-v8": "^1.1.0",
"arg": "^5.0.2",
"crypto-js": "^4.1.1",
"denoify": "^1.6.6",
@ -469,7 +469,7 @@
"tsx": "^3.11.0",
"typescript": "^5.3.3",
"vite-plugin-fastly-js-compute": "^0.4.2",
"vitest": "^1.0.4",
"vitest": "^1.1.0",
"wrangler": "3.17.1",
"zod": "^3.20.2"
},

View File

@ -13,8 +13,11 @@
],
"exclude": [
"src/mod.ts",
"src/helper.ts",
"src/middleware.ts",
"src/deno/**/*.ts",
"src/**/*.test.ts"
"src/test-utils/*.ts",
"src/**/*.test.ts",
"src/**/*.test.tsx"
]
}

View File

@ -1127,10 +1127,10 @@
resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406"
integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==
"@vitest/coverage-v8@^1.0.4":
version "1.0.4"
resolved "https://registry.yarnpkg.com/@vitest/coverage-v8/-/coverage-v8-1.0.4.tgz#49193139399c37ddf16c23d96892ef32cd67a69a"
integrity sha512-xD6Yuql6RW0Ir/JJIs6rVrmnG2/KOWJF+IRX1oJQk5wGKGxbtdrYPbl+WTUn/4ICCQ2G20zbE1e8/nPNyAG5Vg==
"@vitest/coverage-v8@^1.1.0":
version "1.1.0"
resolved "https://registry.yarnpkg.com/@vitest/coverage-v8/-/coverage-v8-1.1.0.tgz#bc0bbb99fcb608f72794701a86302ff3aabbc125"
integrity sha512-kHQRk70vTdXAyQY2C0vKOHPyQD/R6IUzcGdO4vCuyr4alE5Yg1+Sk2jSdjlIrTTXdcNEs+ReWVM09mmSFJpzyQ==
dependencies:
"@ampproject/remapping" "^2.2.1"
"@bcoe/v8-coverage" "^0.2.3"
@ -1146,44 +1146,44 @@
test-exclude "^6.0.0"
v8-to-istanbul "^9.2.0"
"@vitest/expect@1.0.4":
version "1.0.4"
resolved "https://registry.yarnpkg.com/@vitest/expect/-/expect-1.0.4.tgz#2751018b6e527841043e046ff424304453a0a024"
integrity sha512-/NRN9N88qjg3dkhmFcCBwhn/Ie4h064pY3iv7WLRsDJW7dXnEgeoa8W9zy7gIPluhz6CkgqiB3HmpIXgmEY5dQ==
"@vitest/expect@1.1.0":
version "1.1.0"
resolved "https://registry.yarnpkg.com/@vitest/expect/-/expect-1.1.0.tgz#f58eef7de090ad65f30bb93ec54fa9f94c9d1d5d"
integrity sha512-9IE2WWkcJo2BR9eqtY5MIo3TPmS50Pnwpm66A6neb2hvk/QSLfPXBz2qdiwUOQkwyFuuXEUj5380CbwfzW4+/w==
dependencies:
"@vitest/spy" "1.0.4"
"@vitest/utils" "1.0.4"
"@vitest/spy" "1.1.0"
"@vitest/utils" "1.1.0"
chai "^4.3.10"
"@vitest/runner@1.0.4":
version "1.0.4"
resolved "https://registry.yarnpkg.com/@vitest/runner/-/runner-1.0.4.tgz#c4dcb88c07f40b91293ff1331747ee58fad6d5e4"
integrity sha512-rhOQ9FZTEkV41JWXozFM8YgOqaG9zA7QXbhg5gy6mFOVqh4PcupirIJ+wN7QjeJt8S8nJRYuZH1OjJjsbxAXTQ==
"@vitest/runner@1.1.0":
version "1.1.0"
resolved "https://registry.yarnpkg.com/@vitest/runner/-/runner-1.1.0.tgz#b3bf60f4a78f4324ca09811dd0f87b721a96b534"
integrity sha512-zdNLJ00pm5z/uhbWF6aeIJCGMSyTyWImy3Fcp9piRGvueERFlQFbUwCpzVce79OLm2UHk9iwaMSOaU9jVHgNVw==
dependencies:
"@vitest/utils" "1.0.4"
"@vitest/utils" "1.1.0"
p-limit "^5.0.0"
pathe "^1.1.1"
"@vitest/snapshot@1.0.4":
version "1.0.4"
resolved "https://registry.yarnpkg.com/@vitest/snapshot/-/snapshot-1.0.4.tgz#7020983b3963b473237fea08d347ea83b266b9bb"
integrity sha512-vkfXUrNyNRA/Gzsp2lpyJxh94vU2OHT1amoD6WuvUAA12n32xeVZQ0KjjQIf8F6u7bcq2A2k969fMVxEsxeKYA==
"@vitest/snapshot@1.1.0":
version "1.1.0"
resolved "https://registry.yarnpkg.com/@vitest/snapshot/-/snapshot-1.1.0.tgz#b9924e4303382b43bb2c31061b173e69a6fb3437"
integrity sha512-5O/wyZg09V5qmNmAlUgCBqflvn2ylgsWJRRuPrnHEfDNT6tQpQ8O1isNGgo+VxofISHqz961SG3iVvt3SPK/QQ==
dependencies:
magic-string "^0.30.5"
pathe "^1.1.1"
pretty-format "^29.7.0"
"@vitest/spy@1.0.4":
version "1.0.4"
resolved "https://registry.yarnpkg.com/@vitest/spy/-/spy-1.0.4.tgz#e182c78fb9b1178ff789ad7eb4560ba6750e6e9b"
integrity sha512-9ojTFRL1AJVh0hvfzAQpm0QS6xIS+1HFIw94kl/1ucTfGCaj1LV/iuJU4Y6cdR03EzPDygxTHwE1JOm+5RCcvA==
"@vitest/spy@1.1.0":
version "1.1.0"
resolved "https://registry.yarnpkg.com/@vitest/spy/-/spy-1.1.0.tgz#7f40697e4fc217ac8c3cc89a865d1751b263f561"
integrity sha512-sNOVSU/GE+7+P76qYo+VXdXhXffzWZcYIPQfmkiRxaNCSPiLANvQx5Mx6ZURJ/ndtEkUJEpvKLXqAYTKEY+lTg==
dependencies:
tinyspy "^2.2.0"
"@vitest/utils@1.0.4":
version "1.0.4"
resolved "https://registry.yarnpkg.com/@vitest/utils/-/utils-1.0.4.tgz#6e673eaf87a2ff28a12688d17bdbb62cc22bf773"
integrity sha512-gsswWDXxtt0QvtK/y/LWukN7sGMYmnCcv1qv05CsY6cU/Y1zpGX1QuvLs+GO1inczpE6Owixeel3ShkjhYtGfA==
"@vitest/utils@1.1.0":
version "1.1.0"
resolved "https://registry.yarnpkg.com/@vitest/utils/-/utils-1.1.0.tgz#d177a5f41bdb484bbb43c8d73a77ca782df068b5"
integrity sha512-z+s510fKmYz4Y41XhNs3vcuFTFhcij2YF7F8VQfMEYAAUfqQh0Zfg7+w9xdgFGhPf3tX3TicAe+8BDITk6ampQ==
dependencies:
diff-sequences "^29.6.3"
loupe "^2.3.7"
@ -6539,10 +6539,10 @@ validate-npm-package-name@^3.0.0:
dependencies:
builtins "^1.0.3"
vite-node@1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/vite-node/-/vite-node-1.0.4.tgz#36d6c49e3b5015967d883845561ed67abe6553cc"
integrity sha512-9xQQtHdsz5Qn8hqbV7UKqkm8YkJhzT/zr41Dmt5N7AlD8hJXw/Z7y0QiD5I8lnTthV9Rvcvi0QW7PI0Fq83ZPg==
vite-node@1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/vite-node/-/vite-node-1.1.0.tgz#0ebcb7398692e378954786dfba28e905e28a76b4"
integrity sha512-jV48DDUxGLEBdHCQvxL1mEh7+naVy+nhUUUaPAZLd3FJgXuxQiewHcfeZebbJ6onDqNGkP4r3MhQ342PRlG81Q==
dependencies:
cac "^6.7.14"
debug "^4.3.4"
@ -6570,16 +6570,16 @@ vite@^5.0.0, vite@^5.0.10:
optionalDependencies:
fsevents "~2.3.3"
vitest@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/vitest/-/vitest-1.0.4.tgz#c4b39ba4fcba674499c90e28f4d8dd16fa1d4eb3"
integrity sha512-s1GQHp/UOeWEo4+aXDOeFBJwFzL6mjycbQwwKWX2QcYfh/7tIerS59hWQ20mxzupTJluA2SdwiBuWwQHH67ckg==
vitest@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/vitest/-/vitest-1.1.0.tgz#47ba67c564aa137b53b0197d2a992908e7f5b04d"
integrity sha512-oDFiCrw7dd3Jf06HoMtSRARivvyjHJaTxikFxuqJjO76U436PqlVw1uLn7a8OSPrhSfMGVaRakKpA2lePdw79A==
dependencies:
"@vitest/expect" "1.0.4"
"@vitest/runner" "1.0.4"
"@vitest/snapshot" "1.0.4"
"@vitest/spy" "1.0.4"
"@vitest/utils" "1.0.4"
"@vitest/expect" "1.1.0"
"@vitest/runner" "1.1.0"
"@vitest/snapshot" "1.1.0"
"@vitest/spy" "1.1.0"
"@vitest/utils" "1.1.0"
acorn-walk "^8.3.0"
cac "^6.7.14"
chai "^4.3.10"
@ -6594,7 +6594,7 @@ vitest@^1.0.4:
tinybench "^2.5.1"
tinypool "^0.8.1"
vite "^5.0.0"
vite-node "1.0.4"
vite-node "1.1.0"
why-is-node-running "^2.2.2"
w3c-xmlserializer@^4.0.0: