Skip to content

Commit

Permalink
[BREAKING] Remove build execution (#740)
Browse files Browse the repository at this point in the history
Build execution is moved to ui5-project (see SAP/ui5-project#457).
Going forward, ui5-builder shall only provide task implementations and selected helper
modules like TaskUtil.

TaskUtil will provide a new `getProject()` function to custom tasks defining specVersion 2.7 and above.

BREAKING CHANGE:
* builder.js has been removed. Use ui5-project builder instead
* Tasks now rely on Project instances being available on Resources (see SAP/ui5-fs#381)
* TaskRepository#addTask has been removed. Custom tasks need to be added to the project graph instead
* TaskUtil#get/set/clearTag now requires a Project instance to be provided. Path strings are no longer sufficient
  and will cause an exception to be thrown

Co-authored-by: Matthias Osswald <mat.osswald@sap.com>
  • Loading branch information
2 people authored and flovogt committed Jun 14, 2022
1 parent eb47e5f commit 7b581af
Show file tree
Hide file tree
Showing 161 changed files with 5,052 additions and 9,730 deletions.
39 changes: 0 additions & 39 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
* @public
*/
module.exports = {
/**
* @type {import('./lib/builder/builder')}
*/
builder: "./lib/builder/builder",
/**
* @public
* @alias module:@ui5/builder.processors
Expand Down Expand Up @@ -160,41 +156,6 @@ module.exports = {
* @type {import('./lib/tasks/TaskUtil')}
*/
TaskUtil: "./lib/tasks/TaskUtil"
},
/**
* @private
* @alias module:@ui5/builder.types
* @namespace
*/
types: {
/**
* @type {typeof import('./lib/types/AbstractBuilder')}
*/
AbstractBuilder: "./lib/types/AbstractBuilder",
/**
* @type {typeof import('./lib/types/AbstractFormatter')}
*/
AbstractFormatter: "./lib/types/AbstractFormatter",
/**
* @type {import('./lib/types/application/applicationType')}
*/
application: "./lib/types/application/applicationType",
/**
* @type {import('./lib/types/library/libraryType')}
*/
library: "./lib/types/library/libraryType",
/**
* @type {import('./lib/types/themeLibrary/themeLibraryType')}
*/
themeLibrary: "./lib/types/themeLibrary/themeLibraryType",
/**
* @type {import('./lib/types/module/moduleType')}
*/
module: "./lib/types/module/moduleType",
/**
* @type {import('./lib/types/typeRepository')}
*/
typeRepository: "./lib/types/typeRepository"
}
};

Expand Down
60 changes: 0 additions & 60 deletions lib/builder/BuildContext.js

This file was deleted.

61 changes: 0 additions & 61 deletions lib/builder/ProjectBuildContext.js

This file was deleted.

Loading

0 comments on commit 7b581af

Please sign in to comment.