File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
src/bundler/loader/templates Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " typescript-bundle" ,
3- "version" : " 1.0.17 " ,
3+ "version" : " 1.0.18 " ,
44 "description" : " A zero configuration bundling tool for TypeScript." ,
55 "scripts" : {
66 "clean" : " smoke-task clean" ,
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ interface Instance {
6969
7070 const defines : { [ name : string ] : Define } = { }
7171
72- const entry = [ null ]
72+ const entry : ( string | null ) [ ] = [ null ]
7373
7474 function define ( name : string , dependencies : string [ ] , factory : Factory ) {
7575
Original file line number Diff line number Diff line change @@ -68,8 +68,8 @@ export async function spec(target = 'target') {
6868
6969export async function install_cli ( target = 'target' ) {
7070 await pack ( target )
71- const package = JSON . parse ( await file ( `package.json` ) . read ( 'utf-8' ) )
72- const packfile = `typescript-bundle-${ package . version } .tgz`
71+ const packageJson = JSON . parse ( await file ( `package.json` ) . read ( 'utf-8' ) )
72+ const packfile = `typescript-bundle-${ packageJson . version } .tgz`
7373 await shell ( `cd ${ target } /pack && npm install ${ packfile } -g` ) . exec ( )
7474}
7575
You can’t perform that action at this time.
0 commit comments