Skip to content

Commit 7603ece

Browse files
authored
[FEATURE] Versioninfo enrich with manifest infos (#554)
Enrich task generateVersionInfo, such that the created version-info.json file contains new sections in the json structure: manifestHints: for each library (in each library's json structure) The manifestHints section contains the libraries dependencies (fully resolved). The resolved dependencies are lazy - if parent dependencies are also lazy non-lazy - if lazy is not defined for this dependency and it has no lazy parent - if there is the same dependency defined lazy but the current one isn't (non-lazy wins on the same level) components: global (top level in the json structure) The components section contains all components which are embedded by the libraries. Each component has: - the including library - manifestHints - hasOwnPreload. It indicates that embeds points to subcomponents and embeddedBy points to parent components
1 parent 4421bbb commit 7603ece

File tree

5 files changed

+1846
-39
lines changed

5 files changed

+1846
-39
lines changed

lib/builder/builder.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ function composeTaskList({dev, selfContained, jsdoc, includedTasks, excludedTask
7575
selectedTasks.generateLibraryPreload = false;
7676
}
7777

78+
// TODO 3.0: exclude generateVersionInfo if not --all is used
79+
7880
if (jsdoc) {
7981
// Include JSDoc tasks
8082
selectedTasks.generateJsdoc = true;

0 commit comments

Comments
 (0)