Skip to content

Commit 383acc2

Browse files
RandomBytematz3
andauthored
[builder][BREAKING] Remove build execution (SAP/ui5-builder#740)
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 <[email protected]>
1 parent af750da commit 383acc2

File tree

161 files changed

+5052
-9730
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

161 files changed

+5052
-9730
lines changed

packages/builder/index.js

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
* @public
44
*/
55
module.exports = {
6-
/**
7-
* @type {import('./lib/builder/builder')}
8-
*/
9-
builder: "./lib/builder/builder",
106
/**
117
* @public
128
* @alias module:@ui5/builder.processors
@@ -160,41 +156,6 @@ module.exports = {
160156
* @type {import('./lib/tasks/TaskUtil')}
161157
*/
162158
TaskUtil: "./lib/tasks/TaskUtil"
163-
},
164-
/**
165-
* @private
166-
* @alias module:@ui5/builder.types
167-
* @namespace
168-
*/
169-
types: {
170-
/**
171-
* @type {typeof import('./lib/types/AbstractBuilder')}
172-
*/
173-
AbstractBuilder: "./lib/types/AbstractBuilder",
174-
/**
175-
* @type {typeof import('./lib/types/AbstractFormatter')}
176-
*/
177-
AbstractFormatter: "./lib/types/AbstractFormatter",
178-
/**
179-
* @type {import('./lib/types/application/applicationType')}
180-
*/
181-
application: "./lib/types/application/applicationType",
182-
/**
183-
* @type {import('./lib/types/library/libraryType')}
184-
*/
185-
library: "./lib/types/library/libraryType",
186-
/**
187-
* @type {import('./lib/types/themeLibrary/themeLibraryType')}
188-
*/
189-
themeLibrary: "./lib/types/themeLibrary/themeLibraryType",
190-
/**
191-
* @type {import('./lib/types/module/moduleType')}
192-
*/
193-
module: "./lib/types/module/moduleType",
194-
/**
195-
* @type {import('./lib/types/typeRepository')}
196-
*/
197-
typeRepository: "./lib/types/typeRepository"
198159
}
199160
};
200161

packages/builder/lib/builder/BuildContext.js

Lines changed: 0 additions & 60 deletions
This file was deleted.

packages/builder/lib/builder/ProjectBuildContext.js

Lines changed: 0 additions & 61 deletions
This file was deleted.

0 commit comments

Comments
 (0)