File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 strategy :
1414 matrix :
1515 os : [ubuntu-latest, windows-latest]
16- node-version : [14 .x, 16 .x]
16+ node-version : [16 .x, 18 .x]
1717
1818 runs-on : ${{ matrix.os }}
1919
Original file line number Diff line number Diff line change 8888 }
8989 },
9090 "engines" : {
91- "node" : " >=14.18 "
91+ "node" : " >=16.14 "
9292 }
9393}
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ const normalizeOptions = async (
122122 }
123123
124124 if ( ! options . target ) {
125- options . target = 'node14 '
125+ options . target = 'node16 '
126126 }
127127
128128 return options as NormalizedOptions
@@ -238,12 +238,9 @@ export async function build(_options: Options) {
238238 // .d.ts files are removed in the `dtsTask` instead
239239 // `dtsTask` is a separate process, which might start before `mainTasks`
240240 if ( options . dts ) {
241- extraPatterns . unshift ( '!**/*.d.ts' ) ;
241+ extraPatterns . unshift ( '!**/*.d.ts' )
242242 }
243- await removeFiles (
244- [ '**/*' , ...extraPatterns ] ,
245- options . outDir
246- )
243+ await removeFiles ( [ '**/*' , ...extraPatterns ] , options . outDir )
247244 logger . info ( 'CLI' , 'Cleaning output folder' )
248245 }
249246
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ export type Options = {
9797 /**
9898 * Compile target
9999 *
100- * default to `node14 `
100+ * default to `node16 `
101101 */
102102 target ?: Target | Target [ ]
103103 minify ?: boolean | 'terser'
You can’t perform that action at this time.
0 commit comments