File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 " html" ,
99 " text"
1010 ],
11- "lines" : 100 ,
11+ "lines" : 99 ,
1212 "branches" : " 96" ,
1313 "statements" : " 100"
1414}
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ export default {
3030 process . emitWarning ( warning , type ) ,
3131 execPath : ( ) => process . execPath ,
3232 exit : ( code : number ) => {
33- // eslint-disable-next-line no-process-exit
33+ // eslint-disable-next-line n/ no-process-exit
3434 process . exit ( code ) ;
3535 } ,
3636 nextTick : process . nextTick ,
Original file line number Diff line number Diff line change 6363 },
6464 "devDependencies" : {
6565 "@rollup/plugin-terser" : " ^0.4.4" ,
66+ "@rollup/plugin-typescript" : " ^12.1.2" ,
6667 "@types/chai" : " ^4.2.11" ,
6768 "@types/mocha" : " ^9.0.0" ,
6869 "@types/node" : " ^20.0.0" ,
6970 "browserslist-generator" : " ^2.0.1" ,
70- "c8" : " ^9.0 .0" ,
71+ "c8" : " ^9.1 .0" ,
7172 "chai" : " ^4.2.0" ,
7273 "chalk" : " ^4.0.0" ,
7374 "concurrently" : " ^7.6.0" ,
8283 "rimraf" : " ^3.0.2" ,
8384 "rollup" : " ^3.29.4" ,
8485 "rollup-plugin-cleanup" : " ^3.2.1" ,
85- "rollup-plugin-ts" : " ^3.4.5" ,
86- "typescript" : " ^5.3.3" ,
86+ "typescript" : " ^5.7.2" ,
8787 "which" : " ^2.0.0" ,
8888 "yargs-test-extends" : " ^1.0.1"
8989 },
Original file line number Diff line number Diff line change 11const cleanup = require ( 'rollup-plugin-cleanup' ) ;
2- const ts = require ( 'rollup- plugin-ts ' ) ;
2+ const ts = require ( '@ rollup/ plugin-typescript ' ) ;
33const terser = require ( '@rollup/plugin-terser' ) ;
44
55const output = {
@@ -18,7 +18,9 @@ const plugins = [
1818if ( process . env . NODE_ENV === 'test' ) {
1919 // During development include a source map. We don't ship this to npm,
2020 // because it significantly increases the module size:
21- output . sourcemap = true ;
21+ // TODO: figure out why sourcemaps no longer work properly with the new
22+ // rollup config (better still, stop using rollup).
23+ // output.sourcemap = true;
2224} else {
2325 // Minify code when publishing, this significantly decreases the module
2426 // size increased introduced by shipping both ESM and CJS:
Original file line number Diff line number Diff line change 1414 " lib/**/*.ts"
1515 ],
1616 "exclude" : [
17- " lib/cjs.ts" ,
1817 " lib/platform-shims/*.ts"
1918 ]
2019}
You can’t perform that action at this time.
0 commit comments