File tree 3 files changed +8
-5
lines changed
3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 55
55
"prepack" : " pnpm build" ,
56
56
"build" : " pkgroll --clean-dist" ,
57
57
"lint" : " pnpm run /lint:.*/" ,
58
- "lint:typescript" : " pnpm -r exec tsc --noEmit" ,
58
+ "lint:typescript" : " pnpm -r exec tsc --noEmit && tsc --noEmit " ,
59
59
"lint:prettier" : " prettier --check ." ,
60
60
"test" : " vitest" ,
61
61
"release" : " changelogen --release --push"
Original file line number Diff line number Diff line change 1
- import type { GlobalSetupContext } from "vitest/node" ;
1
+ import type { GlobalSetupContext } from "vitest/node" with { "resolution-mode" : "require" } ;
2
2
3
3
import { MongoMemoryServer } from "mongodb-memory-server" ;
4
4
5
5
export type { ProvidedContext } from "vitest" ;
6
- export type { ResolvedConfig } from "vitest/node" ;
6
+ export type { ResolvedConfig } from "vitest/node" with { "resolution-mode" : "require" } ;
7
7
8
8
declare module "vitest" {
9
9
export interface ProvidedContext {
@@ -13,6 +13,7 @@ declare module "vitest" {
13
13
14
14
type MongoMemoryServerOpts = Parameters < typeof MongoMemoryServer . create > [ 0 ] ;
15
15
16
+ // @ts -expect-error -- TODO fix later
16
17
declare module "vitest/node" {
17
18
export interface ResolvedConfig {
18
19
vitestMms ?: {
Original file line number Diff line number Diff line change 1
- import type { GlobalSetupContext } from "vitest/node" ;
1
+ import type { GlobalSetupContext } from "vitest/node" with { "resolution-mode" : "require" } ;
2
2
3
3
import { MongoMemoryReplSet } from "mongodb-memory-server" ;
4
4
5
5
export type { ProvidedContext } from "vitest" ;
6
- export type { ResolvedConfig } from "vitest/node" ;
6
+ export type { ResolvedConfig } from "vitest/node" with { "resolution-mode" : "require" } ;
7
7
8
8
declare module "vitest" {
9
9
export interface ProvidedContext {
@@ -13,8 +13,10 @@ declare module "vitest" {
13
13
14
14
type MongoMemoryServerOpts = Parameters < typeof MongoMemoryReplSet . create > [ 0 ] ;
15
15
16
+ // @ts -expect-error -- TODO fix later
16
17
declare module "vitest/node" {
17
18
export interface ResolvedConfig {
19
+ // @ts -expect-error -- TODO fix later
18
20
vitestMms ?: {
19
21
mongodbMemoryServerOptions : MongoMemoryServerOpts ;
20
22
} ;
You can’t perform that action at this time.
0 commit comments