File tree Expand file tree Collapse file tree 4 files changed +6
-9
lines changed Expand file tree Collapse file tree 4 files changed +6
-9
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, 16 .x]
16
+ node-version : [16 .x, 18 .x]
17
17
18
18
runs-on : ${{ matrix.os }}
19
19
Original file line number Diff line number Diff line change 88
88
}
89
89
},
90
90
"engines" : {
91
- "node" : " >=14.18 "
91
+ "node" : " >=16.14 "
92
92
}
93
93
}
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ const normalizeOptions = async (
122
122
}
123
123
124
124
if ( ! options . target ) {
125
- options . target = 'node14 '
125
+ options . target = 'node16 '
126
126
}
127
127
128
128
return options as NormalizedOptions
@@ -238,12 +238,9 @@ export async function build(_options: Options) {
238
238
// .d.ts files are removed in the `dtsTask` instead
239
239
// `dtsTask` is a separate process, which might start before `mainTasks`
240
240
if ( options . dts ) {
241
- extraPatterns . unshift ( '!**/*.d.ts' ) ;
241
+ extraPatterns . unshift ( '!**/*.d.ts' )
242
242
}
243
- await removeFiles (
244
- [ '**/*' , ...extraPatterns ] ,
245
- options . outDir
246
- )
243
+ await removeFiles ( [ '**/*' , ...extraPatterns ] , options . outDir )
247
244
logger . info ( 'CLI' , 'Cleaning output folder' )
248
245
}
249
246
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ export type Options = {
97
97
/**
98
98
* Compile target
99
99
*
100
- * default to `node14 `
100
+ * default to `node16 `
101
101
*/
102
102
target ?: Target | Target [ ]
103
103
minify ?: boolean | 'terser'
You can’t perform that action at this time.
0 commit comments