[RFC] 0011 Reuse Build Results by RandomByte · Pull Request #612 · UI5/cli
RandomByte added a commit to SAP/ui5-project that referenced this pull request
Jun 13, 2022* Replace the JSON-object based dependency tree handling with a graph
representation
* Projects are now represented by classes with documented APIs
* Projects can be accessed by extensions defining specVersion >=2.7
* Speed up resolution of package.json dependencies
* Make "ui5.dependencies" package.json configuration obsolete
* Move build execution from ui5-builder to ui5-project
* ui5-builder scope reduced top provides task implementations only
* Build: Determine automatically whether a project-build requires
dependencies to be built and build them
* Build: Add new option 'createBuildManifest'. This will create a
manifest file in the target directory that allows reuse of the
build result of library and theme-library projects in other project
builds (RFC0011)
This PR will need additional follow-up to add more test cases,
cleanup JSDoc and possibly add more features described in the RFCs.
This is a nicer version of
#394
Implements RFC0009: UI5/cli#501
Implements RFC0011: UI5/cli#612
BREAKING CHANGE:
* normalizer and projectTree APIs have been removed. Use
generateProjectGraph instead
* Going forward only specification versions 2.0 and higher are supported
* In case a legacy specification version is detected, an automatic,
transparent migration is attempted.
* Build:
* The "dev" build mode has been removed
* The task "generateVersionInfo" is no longer executed for
application projects by default. You may enable it again using the
includedTasks parameter
RandomByte added a commit to SAP/ui5-project that referenced this pull request
Jun 13, 2022* Replace the JSON-object based dependency tree handling with a graph
representation
* Projects are now represented by classes with documented APIs
* Projects can be accessed by extensions defining specVersion >=2.7
* Speed up resolution of package.json dependencies
* Make "ui5.dependencies" package.json configuration obsolete
* Move build execution from ui5-builder to ui5-project
* ui5-builder scope reduced top provides task implementations only
* Build: Determine automatically whether a project-build requires
dependencies to be built and build them
* Build: Add new option 'createBuildManifest'. This will create a
manifest file in the target directory that allows reuse of the
build result of library and theme-library projects in other project
builds (RFC0011)
This PR will need additional follow-up to add more test cases,
cleanup JSDoc and possibly add more features described in the RFCs.
This is a nicer version of
#394
Implements RFC0009: UI5/cli#501
Implements RFC0011: UI5/cli#612
BREAKING CHANGE:
* normalizer and projectTree APIs have been removed. Use
generateProjectGraph instead
* Going forward only specification versions 2.0 and higher are supported
* In case a legacy specification version is detected, an automatic,
transparent migration is attempted.
* Build:
* The "dev" build mode has been removed
* The task "generateVersionInfo" is no longer executed for
application projects by default. You may enable it again using the
includedTasks parameter
RandomByte added a commit to SAP/ui5-project that referenced this pull request
Jun 13, 2022* Replace the JSON-object based dependency tree handling with a graph
representation
* Projects are now represented by classes with documented APIs
* Projects can be accessed by extensions defining specVersion >=2.7
* Speed up resolution of package.json dependencies
* Make "ui5.dependencies" package.json configuration obsolete
* Move build execution from ui5-builder to ui5-project
* ui5-builder scope reduced top provides task implementations only
* Build: Determine automatically whether a project-build requires
dependencies to be built and build them
* Build: Add new option 'createBuildManifest'. This will create a
manifest file in the target directory that allows reuse of the
build result of library and theme-library projects in other project
builds (RFC0011)
This PR will need additional follow-up to add more test cases,
cleanup JSDoc and possibly add more features described in the RFCs.
This is a nicer version of
#394
Implements RFC0009: UI5/cli#501
Implements RFC0011: UI5/cli#612
BREAKING CHANGE:
* normalizer and projectTree APIs have been removed. Use
generateProjectGraph instead
* Going forward only specification versions 2.0 and higher are supported
* In case a legacy specification version is detected, an automatic,
transparent migration is attempted.
* Build:
* The "dev" build mode has been removed
* The task "generateVersionInfo" is no longer executed for
application projects by default. You may enable it again using the
includedTasks parameter
flovogt
changed the base branch from
master
to
main
d3xter666 pushed a commit that referenced this pull request
Sep 24, 2025* Replace the JSON-object based dependency tree handling with a graph
representation
* Projects are now represented by classes with documented APIs
* Projects can be accessed by extensions defining specVersion >=2.7
* Speed up resolution of package.json dependencies
* Make "ui5.dependencies" package.json configuration obsolete
* Move build execution from ui5-builder to ui5-project
* ui5-builder scope reduced top provides task implementations only
* Build: Determine automatically whether a project-build requires
dependencies to be built and build them
* Build: Add new option 'createBuildManifest'. This will create a
manifest file in the target directory that allows reuse of the
build result of library and theme-library projects in other project
builds (RFC0011)
This PR will need additional follow-up to add more test cases,
cleanup JSDoc and possibly add more features described in the RFCs.
This is a nicer version of
SAP/ui5-project#394
Implements RFC0009: #501
Implements RFC0011: #612
BREAKING CHANGE:
* normalizer and projectTree APIs have been removed. Use
generateProjectGraph instead
* Going forward only specification versions 2.0 and higher are supported
* In case a legacy specification version is detected, an automatic,
transparent migration is attempted.
* Build:
* The "dev" build mode has been removed
* The task "generateVersionInfo" is no longer executed for
application projects by default. You may enable it again using the
includedTasks parameter
d3xter666 added a commit that referenced this pull request
Sep 24, 2025…#612) If a visited module did not resolve to any specification (project or extensions), try recreating the module when visiting it again from a different parent. Resolves #807 This is an alternative to SAP/ui5-project#611 This change might have a greater impact on performance since er might recreate modules that are not relevant to UI5 Tooling more than once if they are listed multiple times in the dependency tree. Before this change, such modules where only visited once. --------- Co-authored-by: Yavor Ivanov <yavor.ivanov@sap.com>
d3xter666 pushed a commit that referenced this pull request
Sep 25, 2025* Replace the JSON-object based dependency tree handling with a graph
representation
* Projects are now represented by classes with documented APIs
* Projects can be accessed by extensions defining specVersion >=2.7
* Speed up resolution of package.json dependencies
* Make "ui5.dependencies" package.json configuration obsolete
* Move build execution from ui5-builder to ui5-project
* ui5-builder scope reduced top provides task implementations only
* Build: Determine automatically whether a project-build requires
dependencies to be built and build them
* Build: Add new option 'createBuildManifest'. This will create a
manifest file in the target directory that allows reuse of the
build result of library and theme-library projects in other project
builds (RFC0011)
This PR will need additional follow-up to add more test cases,
cleanup JSDoc and possibly add more features described in the RFCs.
This is a nicer version of
SAP/ui5-project#394
Implements RFC0009: #501
Implements RFC0011: #612
BREAKING CHANGE:
* normalizer and projectTree APIs have been removed. Use
generateProjectGraph instead
* Going forward only specification versions 2.0 and higher are supported
* In case a legacy specification version is detected, an automatic,
transparent migration is attempted.
* Build:
* The "dev" build mode has been removed
* The task "generateVersionInfo" is no longer executed for
application projects by default. You may enable it again using the
includedTasks parameter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters