@ui5/builder 3.7.0 → 3.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.reuse/dep5 +1 -1
- package/CHANGELOG.md +9 -2
- package/CONTRIBUTING.md +2 -2
- package/LICENSE.txt +1 -1
- package/README.md +7 -7
- package/jsdoc.json +6 -6
- package/lib/lbt/analyzer/ComponentAnalyzer.js +1 -1
- package/lib/lbt/bundle/Builder.js +1 -1
- package/lib/processors/jsdoc/lib/transformApiJson.cjs +1 -1
- package/lib/processors/minifier.js +1 -1
- package/lib/tasks/jsdoc/generateJsdoc.js +1 -1
- package/lib/tasks/taskRepository.js +2 -2
- package/package.json +9 -9
package/.reuse/dep5
CHANGED
|
@@ -25,7 +25,7 @@ Disclaimer: The code in this project may include calls to APIs (“API Calls”)
|
|
|
25
25
|
parties the right to use of access any SAP External Product, through API Calls.
|
|
26
26
|
|
|
27
27
|
Files: *
|
|
28
|
-
Copyright: 2018-2024 SAP SE or an SAP affiliate company and UI5
|
|
28
|
+
Copyright: 2018-2024 SAP SE or an SAP affiliate company and UI5 CLI contributors
|
|
29
29
|
License: Apache-2.0
|
|
30
30
|
|
|
31
31
|
Files: lib/processors/jsdoc/lib/*
|
package/CHANGELOG.md
CHANGED
|
@@ -2,10 +2,16 @@
|
|
|
2
2
|
All notable changes to this project will be documented in this file.
|
|
3
3
|
This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
|
4
4
|
|
|
5
|
-
A list of unreleased changes can be found [here](https://github.com/SAP/ui5-builder/compare/v3.7.
|
|
5
|
+
A list of unreleased changes can be found [here](https://github.com/SAP/ui5-builder/compare/v3.7.1...HEAD).
|
|
6
|
+
|
|
7
|
+
<a name="v3.7.1"></a>
|
|
8
|
+
## [v3.7.1] - 2025-09-12
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
- Rename project to UI5 CLI [`7c6bdb4`](https://github.com/SAP/ui5-builder/commit/7c6bdb440fc1f19b06e5ff97c20a1a671570f74c)
|
|
11
|
+
|
|
6
12
|
|
|
7
13
|
<a name="v3.7.0"></a>
|
|
8
|
-
## [v3.7.0] - 2025-06-
|
|
14
|
+
## [v3.7.0] - 2025-06-10
|
|
9
15
|
|
|
10
16
|
<a name="v3.6.0"></a>
|
|
11
17
|
## [v3.6.0] - 2025-06-06
|
|
@@ -893,6 +899,7 @@ to load the custom bundle file instead.
|
|
|
893
899
|
|
|
894
900
|
### Features
|
|
895
901
|
- Add ability to configure component preloads and custom bundles [`2241e5f`](https://github.com/SAP/ui5-builder/commit/2241e5ff98fd95f1f80cc74959655ae7a9c660e7)
|
|
902
|
+
[v3.7.1]: https://github.com/SAP/ui5-builder/compare/v3.7.0...v3.7.1
|
|
896
903
|
[v3.7.0]: https://github.com/SAP/ui5-builder/compare/v3.6.0...v3.7.0
|
|
897
904
|
[v3.6.0]: https://github.com/SAP/ui5-builder/compare/v3.5.1...v3.6.0
|
|
898
905
|
[v3.5.1]: https://github.com/SAP/ui5-builder/compare/v3.5.0...v3.5.1
|
package/CONTRIBUTING.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# Contributing to the UI5
|
|
1
|
+
# Contributing to the UI5 CLI
|
|
2
2
|
|
|
3
|
-
See CONTRIBUTING.md in the [
|
|
3
|
+
See CONTRIBUTING.md in the [UI5/cli](https://github.com/UI5/cli/blob/v3/CONTRIBUTING.md) repository.
|
package/LICENSE.txt
CHANGED
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
same "printed page" as the copyright notice for easier
|
|
187
187
|
identification within third-party archives.
|
|
188
188
|
|
|
189
|
-
Copyright 2018-2024 SAP SE or an SAP affiliate company and UI5
|
|
189
|
+
Copyright 2018-2024 SAP SE or an SAP affiliate company and UI5 CLI contributors
|
|
190
190
|
|
|
191
191
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
192
|
you may not use this file except in compliance with the License.
|
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-

|
|
2
2
|
|
|
3
3
|
# ui5-builder
|
|
4
4
|
> Modules for building UI5 projects
|
|
5
|
-
> Part of the [UI5
|
|
5
|
+
> Part of the [UI5 CLI](https://github.com/UI5/cli)
|
|
6
6
|
|
|
7
7
|
[](https://api.reuse.software/info/github.com/SAP/ui5-builder)
|
|
8
8
|
[](https://dev.azure.com/sap/opensource/_build/latest?definitionId=26&branchName=v3)
|
|
@@ -10,17 +10,17 @@
|
|
|
10
10
|
[](https://coveralls.io/github/SAP/ui5-builder)
|
|
11
11
|
|
|
12
12
|
## Documentation
|
|
13
|
-
UI5 Builder documentation can be found here: [
|
|
13
|
+
UI5 Builder documentation can be found here: [ui5.github.io/cli](https://ui5.github.io/cli/v3/pages/Builder/)
|
|
14
14
|
|
|
15
|
-
The UI5 Builder API Reference can be found here: [`@ui5/builder`](https://
|
|
15
|
+
The UI5 Builder API Reference can be found here: [`@ui5/builder`](https://ui5.github.io/cli/v3/api/)
|
|
16
16
|
|
|
17
17
|
## Contributing
|
|
18
|
-
Please check our [Contribution Guidelines](https://github.com/
|
|
18
|
+
Please check our [Contribution Guidelines](https://github.com/UI5/cli/blob/v3/CONTRIBUTING.md).
|
|
19
19
|
|
|
20
20
|
## Support
|
|
21
|
-
Please follow our [Contribution Guidelines](https://github.com/
|
|
21
|
+
Please follow our [Contribution Guidelines](https://github.com/UI5/cli/blob/v3/CONTRIBUTING.md#report-an-issue) on how to report an issue.
|
|
22
22
|
|
|
23
|
-
Please report issues in the main [UI5
|
|
23
|
+
Please report issues in the main [UI5 CLI](https://github.com/UI5/cli) repository.
|
|
24
24
|
|
|
25
25
|
## Release History
|
|
26
26
|
See [CHANGELOG.md](CHANGELOG.md).
|
package/jsdoc.json
CHANGED
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"openGraph": {
|
|
29
|
-
"title": "UI5
|
|
29
|
+
"title": "UI5 CLI - API Reference",
|
|
30
30
|
"type": "website",
|
|
31
|
-
"image": "https://
|
|
32
|
-
"site_name": "UI5
|
|
33
|
-
"url": "https://
|
|
31
|
+
"image": "https://ui5.github.io/cli/v3/images/UI5_logo_wide.png",
|
|
32
|
+
"site_name": "UI5 CLI - API Reference",
|
|
33
|
+
"url": "https://ui5.github.io/cli/"
|
|
34
34
|
},
|
|
35
35
|
"docdash": {
|
|
36
36
|
"sectionOrder": [
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"Interfaces"
|
|
45
45
|
],
|
|
46
46
|
"meta": {
|
|
47
|
-
"title": "UI5
|
|
48
|
-
"description": "UI5
|
|
47
|
+
"title": "UI5 CLI - API Reference - UI5 Builder",
|
|
48
|
+
"description": "UI5 CLI - API Reference - UI5 Builder",
|
|
49
49
|
"keyword": "openui5 sapui5 ui5 build development tool api reference"
|
|
50
50
|
},
|
|
51
51
|
"search": true,
|
|
@@ -182,7 +182,7 @@ class ComponentAnalyzer {
|
|
|
182
182
|
} else {
|
|
183
183
|
log.warn(`Provided OData version "${odataVersion}" in ` +
|
|
184
184
|
`dataSource "${options.dataSource}" for model "${model}" is unknown. ` +
|
|
185
|
-
`You might be using an outdated version of the UI5
|
|
185
|
+
`You might be using an outdated version of the UI5 CLI.`);
|
|
186
186
|
return;
|
|
187
187
|
}
|
|
188
188
|
break;
|
|
@@ -121,7 +121,7 @@ class BundleBuilder {
|
|
|
121
121
|
this.options.sourceMap = true;
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
// Since UI5
|
|
124
|
+
// Since UI5 CLI 3.0: Always use modern API
|
|
125
125
|
this.targetBundleFormat = EVOBundleFormat;
|
|
126
126
|
|
|
127
127
|
// when decorateBootstrapModule is false,
|
|
@@ -910,7 +910,7 @@ function transformer(sInputFile, sOutputFile, sLibraryFile, vDependencyAPIFiles,
|
|
|
910
910
|
*/
|
|
911
911
|
function createApiRefApiJson(oChainObject) {
|
|
912
912
|
if (returnOutputFiles) {
|
|
913
|
-
// If requested, return data instead of writing to FS (required by UI5
|
|
913
|
+
// If requested, return data instead of writing to FS (required by UI5 CLI/UI5 Builder)
|
|
914
914
|
return JSON.stringify(oChainObject.parsedData);
|
|
915
915
|
}
|
|
916
916
|
let sOutputDir = path.dirname(oChainObject.outputFile);
|
|
@@ -224,7 +224,7 @@ export default async function({
|
|
|
224
224
|
if (sourceMapJson.sections) {
|
|
225
225
|
// TODO 4.0
|
|
226
226
|
// Module "@jridgewell/trace-mapping" (used by Terser) can't handle index map sections lacking
|
|
227
|
-
// a "names" array. Since this is a common occurrence for UI5
|
|
227
|
+
// a "names" array. Since this is a common occurrence for UI5 CLI bundles, we search for
|
|
228
228
|
// such cases here and fix them until https://github.com/jridgewell/trace-mapping/pull/29 is
|
|
229
229
|
// resolved and Terser upgraded the dependency
|
|
230
230
|
|
|
@@ -131,7 +131,7 @@ const utils = {
|
|
|
131
131
|
createTmpDir: async function(projectName) {
|
|
132
132
|
const sanitizedProjectName = projectName.replace(/[^A-Za-z0-9]/g, "");
|
|
133
133
|
|
|
134
|
-
const tmpRootPath = path.join(os.tmpdir(), "ui5-
|
|
134
|
+
const tmpRootPath = path.join(os.tmpdir(), "ui5-cli");
|
|
135
135
|
await mkdir(tmpRootPath, {recursive: true});
|
|
136
136
|
|
|
137
137
|
// Appending minus sign also because node docs advise to "avoid trailing X characters in prefix"
|
|
@@ -60,8 +60,8 @@ export async function getTask(taskName) {
|
|
|
60
60
|
if (!taskInfo) {
|
|
61
61
|
if (getRemovedTaskNames().includes(taskName)) {
|
|
62
62
|
throw new Error(
|
|
63
|
-
`Standard task ${taskName} has been removed in UI5
|
|
64
|
-
`Please see the migration guide at https://
|
|
63
|
+
`Standard task ${taskName} has been removed in UI5 CLI 3.0. ` +
|
|
64
|
+
`Please see the migration guide at https://ui5.github.io/cli/updates/migrate-v3/`);
|
|
65
65
|
}
|
|
66
66
|
throw new Error(`taskRepository: Unknown Task ${taskName}`);
|
|
67
67
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ui5/builder",
|
|
3
|
-
"version": "3.7.
|
|
4
|
-
"description": "UI5
|
|
3
|
+
"version": "3.7.1",
|
|
4
|
+
"description": "UI5 CLI - Builder",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "SAP SE",
|
|
7
7
|
"email": "openui5@sap.com",
|
|
@@ -119,9 +119,9 @@
|
|
|
119
119
|
"url": "git@github.com:SAP/ui5-builder.git"
|
|
120
120
|
},
|
|
121
121
|
"dependencies": {
|
|
122
|
-
"@jridgewell/sourcemap-codec": "^1.5.
|
|
123
|
-
"@ui5/fs": "^3.0.
|
|
124
|
-
"@ui5/logger": "^3.0.
|
|
122
|
+
"@jridgewell/sourcemap-codec": "^1.5.5",
|
|
123
|
+
"@ui5/fs": "^3.0.6",
|
|
124
|
+
"@ui5/logger": "^3.0.1",
|
|
125
125
|
"cheerio": "1.0.0-rc.12",
|
|
126
126
|
"escape-unicode": "^0.2.0",
|
|
127
127
|
"escope": "^4.0.0",
|
|
@@ -132,14 +132,14 @@
|
|
|
132
132
|
"pretty-data": "^0.40.0",
|
|
133
133
|
"rimraf": "^5.0.10",
|
|
134
134
|
"semver": "^7.7.2",
|
|
135
|
-
"terser": "^5.
|
|
135
|
+
"terser": "^5.44.0",
|
|
136
136
|
"workerpool": "^6.5.1",
|
|
137
137
|
"xml2js": "^0.6.2"
|
|
138
138
|
},
|
|
139
139
|
"devDependencies": {
|
|
140
140
|
"@istanbuljs/esm-loader-hook": "^0.2.0",
|
|
141
|
-
"@jridgewell/trace-mapping": "^0.3.
|
|
142
|
-
"@ui5/project": "^3.9.
|
|
141
|
+
"@jridgewell/trace-mapping": "^0.3.31",
|
|
142
|
+
"@ui5/project": "^3.9.4",
|
|
143
143
|
"ava": "^5.3.1",
|
|
144
144
|
"chai": "^4.5.0",
|
|
145
145
|
"chai-fs": "^2.0.0",
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
"eslint-config-google": "^0.14.0",
|
|
152
152
|
"eslint-plugin-ava": "^14.0.0",
|
|
153
153
|
"eslint-plugin-jsdoc": "^46.10.1",
|
|
154
|
-
"esmock": "^2.7.
|
|
154
|
+
"esmock": "^2.7.3",
|
|
155
155
|
"line-column": "^1.0.2",
|
|
156
156
|
"nyc": "^15.1.0",
|
|
157
157
|
"open-cli": "^7.2.0",
|