@@ -92,26 +92,30 @@ function main() {
9292
9393 const normalized = moduleName . replace ( '@' , '' ) . replace ( / [ \/ ] / g, '_' ) ;
9494
95- const output = JSON . stringify ( {
96- repo,
97- moduleLabel : moduleLabel || moduleName ,
98- moduleName : moduleName ,
99- normalizedModuleName : normalized ,
100- entries : combinedEntries ,
101- symbols : [
102- // Symbols referenced, originating from other packages
103- ...apiDoc . symbols . entries ( ) ,
104-
105- // Exported symbols from the current package
106- ...apiDoc . entries . map ( entry => [ entry . name , moduleName ] ) ,
107-
108- // Also doing it for every member of classes/interfaces
109- ...apiDoc . entries . flatMap ( entry => [
110- [ entry . name , moduleName ] ,
111- ...getEntriesFromMembers ( entry ) . map ( member => [ member , moduleName ] ) ,
112- ] ) ,
113- ] ,
114- } as EntryCollection ) ;
95+ const output = JSON . stringify (
96+ {
97+ repo,
98+ moduleLabel : moduleLabel || moduleName ,
99+ moduleName : moduleName ,
100+ normalizedModuleName : normalized ,
101+ entries : combinedEntries ,
102+ symbols : [
103+ // Symbols referenced, originating from other packages
104+ ...apiDoc . symbols . entries ( ) ,
105+
106+ // Exported symbols from the current package
107+ ...apiDoc . entries . map ( entry => [ entry . name , moduleName ] ) ,
108+
109+ // Also doing it for every member of classes/interfaces
110+ ...apiDoc . entries . flatMap ( entry => [
111+ [ entry . name , moduleName ] ,
112+ ...getEntriesFromMembers ( entry ) . map ( member => [ member , moduleName ] ) ,
113+ ] ) ,
114+ ] ,
115+ } as EntryCollection ,
116+ null ,
117+ 2 ,
118+ ) ;
115119
116120 writeFileSync ( outputFilenameExecRootRelativePath , output , { encoding : 'utf8' } ) ;
117121}
0 commit comments