0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

chore: add test coverage pacakge

This commit is contained in:
Gao Sun 2024-03-28 14:04:15 +08:00
parent f549841b67
commit 02833b0c39
No known key found for this signature in database
GPG key ID: 13EBE123E4773688
6 changed files with 31 additions and 79 deletions

View file

@ -39,6 +39,7 @@
"@silverhand/ts-config-react": "5.0.0",
"@types/node": "^20.9.5",
"@types/react": "^18.0.31",
"@vitest/coverage-v8": "^1.4.0",
"eslint": "^8.44.0",
"history": "^5.3.0",
"lint-staged": "^15.0.0",

View file

@ -79,6 +79,7 @@
"@types/sinon": "^17.0.0",
"@types/tar": "^6.1.2",
"@types/yargs": "^17.0.13",
"@vitest/coverage-v8": "^1.4.0",
"@withtyped/server": "^0.13.3",
"eslint": "^8.44.0",
"lint-staged": "^15.0.0",

View file

@ -46,6 +46,7 @@
"@silverhand/eslint-config": "5.0.0",
"@silverhand/ts-config": "5.0.0",
"@types/node": "^20.9.5",
"@vitest/coverage-v8": "^1.4.0",
"eslint": "^8.44.0",
"lint-staged": "^15.0.0",
"prettier": "^3.0.0",

View file

@ -56,6 +56,7 @@
"@types/color": "^3.0.3",
"@types/node": "^20.9.5",
"@types/react": "^18.0.31",
"@vitest/coverage-v8": "^1.4.0",
"eslint": "^8.44.0",
"lint-staged": "^15.0.0",
"postcss": "^8.4.31",

View file

@ -39,6 +39,7 @@
"@silverhand/eslint-config": "5.0.0",
"@silverhand/ts-config": "5.0.0",
"@types/node": "^20.9.5",
"@vitest/coverage-v8": "^1.4.0",
"eslint": "^8.44.0",
"lint-staged": "^15.0.0",
"prettier": "^3.0.0",

View file

@ -76,6 +76,9 @@ importers:
'@types/react':
specifier: ^18.0.31
version: 18.0.31
'@vitest/coverage-v8':
specifier: ^1.4.0
version: 1.4.0(vitest@1.4.0)
eslint:
specifier: ^8.44.0
version: 8.44.0
@ -206,6 +209,9 @@ importers:
'@types/yargs':
specifier: ^17.0.13
version: 17.0.13
'@vitest/coverage-v8':
specifier: ^1.4.0
version: 1.4.0(vitest@1.4.0)
'@withtyped/server':
specifier: ^0.13.3
version: 0.13.3(zod@3.22.4)
@ -3922,6 +3928,9 @@ importers:
'@types/node':
specifier: ^20.9.5
version: 20.10.4
'@vitest/coverage-v8':
specifier: ^1.4.0
version: 1.4.0(vitest@1.4.0)
eslint:
specifier: ^8.44.0
version: 8.44.0
@ -3975,6 +3984,9 @@ importers:
'@types/react':
specifier: ^18.0.31
version: 18.0.31
'@vitest/coverage-v8':
specifier: ^1.4.0
version: 1.4.0(vitest@1.4.0)
eslint:
specifier: ^8.44.0
version: 8.44.0
@ -4012,6 +4024,9 @@ importers:
'@types/node':
specifier: ^20.9.5
version: 20.10.4
'@vitest/coverage-v8':
specifier: ^1.4.0
version: 1.4.0(vitest@1.4.0)
eslint:
specifier: ^8.44.0
version: 8.44.0
@ -4035,14 +4050,6 @@ packages:
engines: {node: '>=0.10.0'}
dev: true
/@ampproject/remapping@2.2.0:
resolution: {integrity: sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w==}
engines: {node: '>=6.0.0'}
dependencies:
'@jridgewell/gen-mapping': 0.1.1
'@jridgewell/trace-mapping': 0.3.18
dev: true
/@ampproject/remapping@2.3.0:
resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==}
engines: {node: '>=6.0.0'}
@ -5929,7 +5936,7 @@ packages:
resolution: {integrity: sha512-w7DbG8DtMrJcFOi4VrLm+8QM4az8Mo+PuLBKLp2zrYRCow8W/f9xiXm5sN53C8HksCyDQwCKha9JiDoIyPjT2g==}
engines: {node: '>=6.9.0'}
dependencies:
'@ampproject/remapping': 2.2.0
'@ampproject/remapping': 2.3.0
'@babel/code-frame': 7.22.5
'@babel/generator': 7.20.4
'@babel/helper-compilation-targets': 7.20.0(@babel/core@7.20.2)
@ -5953,7 +5960,7 @@ packages:
engines: {node: '>=6.9.0'}
dependencies:
'@babel/types': 7.20.2
'@jridgewell/gen-mapping': 0.3.2
'@jridgewell/gen-mapping': 0.3.5
jsesc: 2.5.2
dev: true
@ -7329,18 +7336,18 @@ packages:
exit: 0.1.2
glob: 7.2.3
graceful-fs: 4.2.11
istanbul-lib-coverage: 3.2.0
istanbul-lib-coverage: 3.2.2
istanbul-lib-instrument: 6.0.1
istanbul-lib-report: 3.0.0
istanbul-lib-report: 3.0.1
istanbul-lib-source-maps: 4.0.1
istanbul-reports: 3.1.5
istanbul-reports: 3.1.7
jest-message-util: 29.7.0
jest-util: 29.7.0
jest-worker: 29.7.0
slash: 3.0.0
string-length: 4.0.2
strip-ansi: 6.0.1
v8-to-istanbul: 9.0.1
v8-to-istanbul: 9.2.0
transitivePeerDependencies:
- supports-color
dev: true
@ -7485,23 +7492,6 @@ packages:
chalk: 4.1.2
dev: true
/@jridgewell/gen-mapping@0.1.1:
resolution: {integrity: sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w==}
engines: {node: '>=6.0.0'}
dependencies:
'@jridgewell/set-array': 1.1.2
'@jridgewell/sourcemap-codec': 1.4.15
dev: true
/@jridgewell/gen-mapping@0.3.2:
resolution: {integrity: sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==}
engines: {node: '>=6.0.0'}
dependencies:
'@jridgewell/set-array': 1.1.2
'@jridgewell/sourcemap-codec': 1.4.15
'@jridgewell/trace-mapping': 0.3.18
dev: true
/@jridgewell/gen-mapping@0.3.5:
resolution: {integrity: sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==}
engines: {node: '>=6.0.0'}
@ -7516,11 +7506,6 @@ packages:
engines: {node: '>=6.0.0'}
dev: true
/@jridgewell/set-array@1.1.2:
resolution: {integrity: sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==}
engines: {node: '>=6.0.0'}
dev: true
/@jridgewell/set-array@1.2.1:
resolution: {integrity: sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==}
engines: {node: '>=6.0.0'}
@ -10599,7 +10584,7 @@ packages:
strip-literal: 2.0.0
test-exclude: 6.0.0
v8-to-istanbul: 9.2.0
vitest: 1.4.0(@types/node@20.11.20)
vitest: 1.4.0(@types/node@20.10.4)
transitivePeerDependencies:
- supports-color
dev: true
@ -15061,11 +15046,6 @@ packages:
/iso8601-duration@2.1.2:
resolution: {integrity: sha512-yXteYUiKv6x8seaDzyBwnZtPpmx766KfvQuaVNyPifYOjmPdOo3ajd4phDNa7Y5mTQGnXsNEcXFtVun1FjYXxQ==}
/istanbul-lib-coverage@3.2.0:
resolution: {integrity: sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==}
engines: {node: '>=8'}
dev: true
/istanbul-lib-coverage@3.2.2:
resolution: {integrity: sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==}
engines: {node: '>=8'}
@ -15076,9 +15056,9 @@ packages:
engines: {node: '>=8'}
dependencies:
'@babel/core': 7.20.2
'@babel/parser': 7.20.3
'@babel/parser': 7.24.0
'@istanbuljs/schema': 0.1.3
istanbul-lib-coverage: 3.2.0
istanbul-lib-coverage: 3.2.2
semver: 6.3.1
transitivePeerDependencies:
- supports-color
@ -15091,21 +15071,12 @@ packages:
'@babel/core': 7.20.2
'@babel/parser': 7.20.3
'@istanbuljs/schema': 0.1.3
istanbul-lib-coverage: 3.2.0
istanbul-lib-coverage: 3.2.2
semver: 7.6.0
transitivePeerDependencies:
- supports-color
dev: true
/istanbul-lib-report@3.0.0:
resolution: {integrity: sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==}
engines: {node: '>=8'}
dependencies:
istanbul-lib-coverage: 3.2.0
make-dir: 3.1.0
supports-color: 7.2.0
dev: true
/istanbul-lib-report@3.0.1:
resolution: {integrity: sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==}
engines: {node: '>=10'}
@ -15120,7 +15091,7 @@ packages:
engines: {node: '>=10'}
dependencies:
debug: 4.3.4
istanbul-lib-coverage: 3.2.0
istanbul-lib-coverage: 3.2.2
source-map: 0.6.1
transitivePeerDependencies:
- supports-color
@ -15137,14 +15108,6 @@ packages:
- supports-color
dev: true
/istanbul-reports@3.1.5:
resolution: {integrity: sha512-nUsEMa9pBt/NOHqbcbeJEgqIlY/K7rVWUX6Lql2orY5e9roQOthbR3vtY4zzf2orPELg80fnxxk9zUyPlgwD1w==}
engines: {node: '>=8'}
dependencies:
html-escaper: 2.0.2
istanbul-lib-report: 3.0.0
dev: true
/istanbul-reports@3.1.7:
resolution: {integrity: sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g==}
engines: {node: '>=8'}
@ -16730,13 +16693,6 @@ packages:
source-map-js: 1.0.2
dev: true
/make-dir@3.1.0:
resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==}
engines: {node: '>=8'}
dependencies:
semver: 6.3.1
dev: true
/make-dir@4.0.0:
resolution: {integrity: sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==}
engines: {node: '>=10'}
@ -21342,15 +21298,6 @@ packages:
resolution: {integrity: sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==}
dev: true
/v8-to-istanbul@9.0.1:
resolution: {integrity: sha512-74Y4LqY74kLE6IFyIjPtkSTWzUZmj8tdHT9Ii/26dvQ6K9Dl2NbEfj0XgU2sHCtKgt5VupqhlO/5aWuqS+IY1w==}
engines: {node: '>=10.12.0'}
dependencies:
'@jridgewell/trace-mapping': 0.3.18
'@types/istanbul-lib-coverage': 2.0.4
convert-source-map: 1.9.0
dev: true
/v8-to-istanbul@9.2.0:
resolution: {integrity: sha512-/EH/sDgxU2eGxajKdwLCDmQ4FWq+kpi3uCmBGpw1xJtnAxEjlD8j8PEiGWpCIMIs3ciNAgH0d3TTJiUkYzyZjA==}
engines: {node: '>=10.12.0'}