@@ -120,7 +120,7 @@ const injectRequire = fs.readFileSync(
120120
121121let foundPackages : string [ ] = [ ] ;
122122
123- interface CepOptions {
123+ export interface CepOptions {
124124 cepConfig : CEP_Config ;
125125 dir : string ;
126126 isProduction : boolean ;
@@ -306,7 +306,8 @@ export const cep = (opts: CepOptions) => {
306306 } ;
307307 fs . writeFileSync ( destPath , panelHtmlFile . source ) ;
308308 console . log (
309- `${ conColors . white } > ${ path . dirname ( relativePath ) } : ${ conColors . cyan
309+ `${ conColors . white } > ${ path . dirname ( relativePath ) } : ${
310+ conColors . cyan
310311 } http://localhost:${ cepConfig . port } /${ posix (
311312 path . dirname ( relativePath ) ,
312313 ) } /`,
@@ -335,8 +336,8 @@ export const cep = (opts: CepOptions) => {
335336 if ( isPackage ) {
336337 const zxpPath = await signZXP ( cepConfig , input , zxpOutput , tmpDir ) ;
337338 if ( isMetaPackage ) {
338- const zipName = path . basename ( opts . zipOutput )
339- const zipDir = path . dirname ( opts . zipOutput )
339+ const zipName = path . basename ( opts . zipOutput ) ;
340+ const zipDir = path . dirname ( opts . zipOutput ) ;
340341 const zxpDir = path . dirname ( zxpPath ) ;
341342 await zipPackage (
342343 zipName ,
@@ -350,7 +351,8 @@ export const cep = (opts: CepOptions) => {
350351 } ,
351352 async generateBundle ( output : any , bundle : any ) {
352353 console . log (
353- `${ conColors . green } cep process: ${ ( isPackage && "zxp package" ) || ( isProduction && "build" ) || "dev"
354+ `${ conColors . green } cep process: ${
355+ ( isPackage && "zxp package" ) || ( isProduction && "build" ) || "dev"
354356 } `,
355357 ) ;
356358
@@ -656,7 +658,10 @@ export const jsxBin = (jsxBinMode?: JSXBIN_MODE) => {
656658 const jsxbin = require ( "jsxbin" ) ;
657659 await jsxbin ( srcFilePathTmp , dstFilePathTmp ) ;
658660 if ( fs . existsSync ( dstFilePathTmp ) === false ) {
659- console . warn ( "JSXBIN generation failed. File not found:" , dstFilePathTmp ) ;
661+ console . warn (
662+ "JSXBIN generation failed. File not found:" ,
663+ dstFilePathTmp ,
664+ ) ;
660665 }
661666 const output = fs . readFileSync ( dstFilePathTmp , { encoding : "utf-8" } ) ;
662667 const jsxBinFile = {
0 commit comments