File tree 7 files changed +28
-13
lines changed
7 files changed +28
-13
lines changed Original file line number Diff line number Diff line change
1
+ import Ava from "./index.js" ;
2
+ export = Ava ;
Original file line number Diff line number Diff line change 1
- import type { TestFn } from './types/test-fn' ;
1
+ import type { TestFn } from './types/test-fn.js ' ;
2
2
3
- export * from './types/assertions' ;
4
- export * from './types/try-fn' ;
5
- export * from './types/test-fn' ;
6
- export * from './types/subscribable' ;
3
+ export * from './types/assertions.js ' ;
4
+ export * from './types/try-fn.js ' ;
5
+ export * from './types/test-fn.js ' ;
6
+ export * from './types/subscribable.js ' ;
7
7
8
8
/** Call to declare a test, or chain to declare hooks or test modifiers */
9
9
declare const test : TestFn ;
Original file line number Diff line number Diff line change 10
10
},
11
11
"exports" : {
12
12
"." : {
13
- "import" : " ./entrypoints/main.mjs" ,
14
- "require" : " ./entrypoints/main.cjs"
13
+ "import" : {
14
+ "types" : " ./index.d.ts" ,
15
+ "default" : " ./entrypoints/main.mjs"
16
+ },
17
+ "require" : {
18
+ "types" : " ./index.d.cts" ,
19
+ "default" : " ./entrypoints/main.cjs"
20
+ }
15
21
},
16
22
"./eslint-plugin-helper" : " ./entrypoints/eslint-plugin-helper.cjs" ,
17
23
"./plugin" : {
18
- "import" : " ./entrypoints/plugin.mjs" ,
19
- "require" : " ./entrypoints/plugin.cjs"
24
+ "import" : {
25
+ "types" : " ./plugin.d.ts" ,
26
+ "default" : " ./entrypoints/plugin.mjs"
27
+ },
28
+ "require" : {
29
+ "types" : " ./plugin.d.cts" ,
30
+ "default" : " ./entrypoints/plugin.cjs"
31
+ }
20
32
}
21
33
},
22
34
"type" : " module" ,
Original file line number Diff line number Diff line change
1
+ export * from "./plugin.js" ;
File renamed without changes.
Original file line number Diff line number Diff line change 1
- import type { Assertions } from './assertions' ;
2
- import type { Subscribable } from './subscribable' ;
3
- import type { TryFn } from './try-fn' ;
1
+ import type { Assertions } from './assertions.js ' ;
2
+ import type { Subscribable } from './subscribable.js ' ;
3
+ import type { TryFn } from './try-fn.js ' ;
4
4
5
5
/** The `t` value passed to test & hook implementations. */
6
6
export interface ExecutionContext < Context = unknown > extends Assertions {
Original file line number Diff line number Diff line change 1
- import type { Implementation } from './test-fn' ;
1
+ import type { Implementation } from './test-fn.js ' ;
2
2
3
3
export type CommitDiscardOptions = {
4
4
/**
You can’t perform that action at this time.
0 commit comments