File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 13
13
strategy :
14
14
matrix :
15
15
os : [ubuntu-latest, windows-latest]
16
- node-version : [14.x, 12.20.0 ]
16
+ node-version : [14.x, 16.x ]
17
17
18
18
runs-on : ${{ matrix.os }}
19
19
Original file line number Diff line number Diff line change @@ -36,8 +36,8 @@ export async function loadTsupConfig(
36
36
cwd : string
37
37
) : Promise < { path ?: string ; data ?: ReturnType < typeof defineConfig > } > {
38
38
const configJoycon = new JoyCon ( )
39
- const configPath = await configJoycon . resolve (
40
- [
39
+ const configPath = await configJoycon . resolve ( {
40
+ files : [
41
41
'tsup.config.ts' ,
42
42
'tsup.config.js' ,
43
43
'tsup.config.cjs' ,
@@ -46,8 +46,9 @@ export async function loadTsupConfig(
46
46
'package.json' ,
47
47
] ,
48
48
cwd,
49
- path . parse ( cwd ) . root
50
- )
49
+ stopDir : path . parse ( cwd ) . root ,
50
+ packageKey : 'tsup' ,
51
+ } )
51
52
52
53
if ( configPath ) {
53
54
if ( configPath . endsWith ( '.json' ) ) {
Original file line number Diff line number Diff line change 5
5
"graphql" : " ^15.3.0" ,
6
6
"graphql-tools" : " ^5.0.0" ,
7
7
"vue" : " 3.0.5"
8
- }
8
+ },
9
+ "tsup" : {}
9
10
}
You can’t perform that action at this time.
0 commit comments