@ui5/builder 2.11.2 → 2.11.3
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/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,13 @@
|
|
|
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/v2.11.
|
|
5
|
+
A list of unreleased changes can be found [here](https://github.com/SAP/ui5-builder/compare/v2.11.3...HEAD).
|
|
6
|
+
|
|
7
|
+
<a name="v2.11.3"></a>
|
|
8
|
+
## [v2.11.3] - 2021-12-12
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
- Enable buildThemes for libraries without .library [`7b941a7`](https://github.com/SAP/ui5-builder/commit/7b941a797210463a9fa8ca50753662c5db373aa6)
|
|
11
|
+
|
|
6
12
|
|
|
7
13
|
<a name="v2.11.2"></a>
|
|
8
14
|
## [v2.11.2] - 2021-11-17
|
|
@@ -633,6 +639,7 @@ to load the custom bundle file instead.
|
|
|
633
639
|
- Add ability to configure component preloads and custom bundles [`2241e5f`](https://github.com/SAP/ui5-builder/commit/2241e5ff98fd95f1f80cc74959655ae7a9c660e7)
|
|
634
640
|
|
|
635
641
|
|
|
642
|
+
[v2.11.3]: https://github.com/SAP/ui5-builder/compare/v2.11.2...v2.11.3
|
|
636
643
|
[v2.11.2]: https://github.com/SAP/ui5-builder/compare/v2.11.1...v2.11.2
|
|
637
644
|
[v2.11.1]: https://github.com/SAP/ui5-builder/compare/v2.11.0...v2.11.1
|
|
638
645
|
[v2.11.0]: https://github.com/SAP/ui5-builder/compare/v2.10.0...v2.11.0
|
package/lib/tasks/buildThemes.js
CHANGED
|
@@ -54,8 +54,12 @@ module.exports = async function({
|
|
|
54
54
|
*/
|
|
55
55
|
let availableLibraries;
|
|
56
56
|
if (pAvailableLibraries) {
|
|
57
|
-
availableLibraries =
|
|
58
|
-
|
|
57
|
+
availableLibraries = [];
|
|
58
|
+
(await pAvailableLibraries).forEach((resource) => {
|
|
59
|
+
const library = path.dirname(resource.getPath());
|
|
60
|
+
if (!availableLibraries.includes(library)) {
|
|
61
|
+
availableLibraries.push(library);
|
|
62
|
+
}
|
|
59
63
|
});
|
|
60
64
|
}
|
|
61
65
|
let availableThemes;
|
|
@@ -176,7 +176,7 @@ class LibraryBuilder extends AbstractBuilder {
|
|
|
176
176
|
dependencies: resourceCollections.dependencies,
|
|
177
177
|
options: {
|
|
178
178
|
projectName: project.metadata.name,
|
|
179
|
-
librariesPattern: !taskUtil.isRootProject() ? "/resources
|
|
179
|
+
librariesPattern: !taskUtil.isRootProject() ? "/resources/**/(*.library|library.js)" : undefined,
|
|
180
180
|
themesPattern: !taskUtil.isRootProject() ? "/resources/sap/ui/core/themes/*" : undefined,
|
|
181
181
|
inputPattern
|
|
182
182
|
}
|
|
@@ -29,7 +29,7 @@ class ThemeLibraryBuilder extends AbstractBuilder {
|
|
|
29
29
|
dependencies: resourceCollections.dependencies,
|
|
30
30
|
options: {
|
|
31
31
|
projectName: project.metadata.name,
|
|
32
|
-
librariesPattern: !taskUtil.isRootProject() ? "/resources
|
|
32
|
+
librariesPattern: !taskUtil.isRootProject() ? "/resources/**/(*.library|library.js)" : undefined,
|
|
33
33
|
themesPattern: !taskUtil.isRootProject() ? "/resources/sap/ui/core/themes/*" : undefined,
|
|
34
34
|
inputPattern: "/resources/**/themes/*/library.source.less"
|
|
35
35
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ui5/builder",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.3",
|
|
4
4
|
"description": "UI5 Tooling - Builder",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "SAP SE",
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
"replacestream": "^4.0.3",
|
|
121
121
|
"rimraf": "^3.0.2",
|
|
122
122
|
"semver": "^7.3.5",
|
|
123
|
-
"terser": "^5.
|
|
123
|
+
"terser": "^5.10.0",
|
|
124
124
|
"xml2js": "^0.4.23",
|
|
125
125
|
"yazl": "^2.5.1"
|
|
126
126
|
},
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
"docdash": "^1.2.0",
|
|
135
135
|
"eslint": "^7.32.0",
|
|
136
136
|
"eslint-config-google": "^0.14.0",
|
|
137
|
-
"eslint-plugin-jsdoc": "^37.0
|
|
137
|
+
"eslint-plugin-jsdoc": "^37.2.0",
|
|
138
138
|
"extract-zip": "^2.0.1",
|
|
139
139
|
"mock-require": "^3.0.3",
|
|
140
140
|
"nyc": "^15.1.0",
|