File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree File renamed without changes.
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " api-extractor-04-preview" ,
3+ "description" : " Simulates consuming the \" beta\" typings generated by API Extractor for api-extractor-04" ,
4+ "version" : " 1.0.0" ,
5+ "private" : true
6+ }
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ const child_process = require('child_process');
33const path = require ( 'path' ) ;
44const process = require ( 'process' ) ;
55
6- console . log ( `==> Invoking tsc in the "preview -consumer" folder` ) ;
6+ console . log ( `==> Invoking tsc in the "beta -consumer" folder` ) ;
77
88function executeCommand ( command , cwd ) {
99 console . log ( '---> ' + command ) ;
@@ -26,11 +26,11 @@ if (process.argv.indexOf('--production') >= 0) {
2626 executeCommand ( 'node node_modules/@microsoft/api-extractor/lib/start run --local' ) ;
2727}
2828
29- // Run the TypeScript compiler in the preview -consumer folder
30- console . log ( `==> Invoking tsc in the "preview -consumer" folder` ) ;
29+ // Run the TypeScript compiler in the beta -consumer folder
30+ console . log ( `==> Invoking tsc in the "beta -consumer" folder` ) ;
3131
32- fsx . emptyDirSync ( 'preview -consumer/lib' ) ;
32+ fsx . emptyDirSync ( 'beta -consumer/lib' ) ;
3333const tscPath = path . resolve ( 'node_modules/typescript/lib/tsc' ) ;
34- executeCommand ( `node ${ tscPath } ` , 'preview -consumer' ) ;
34+ executeCommand ( `node ${ tscPath } ` , 'beta -consumer' ) ;
3535
3636console . log ( `==> Finished build.js for ${ path . basename ( process . cwd ( ) ) } ` ) ;
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments