@ui5/webcomponents-tools 2.22.0-rc.4 → 2.22.0-rc.5
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 +11 -0
- package/components-package/nps.js +14 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [2.22.0-rc.5](https://github.com/UI5/webcomponents/compare/v2.22.0-rc.4...v2.22.0-rc.5) (2026-05-14)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **CEM:** generation for 3rd party packages ([#13477](https://github.com/UI5/webcomponents/issues/13477)) ([c714873](https://github.com/UI5/webcomponents/commit/c714873bea5fe6b84a227429ac36d73f1c4e8360))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [2.22.0-rc.4](https://github.com/UI5/webcomponents/compare/v2.22.0-rc.3...v2.22.0-rc.4) (2026-05-07)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @ui5/webcomponents-tools
|
|
@@ -36,7 +36,7 @@ const getScripts = (options) => {
|
|
|
36
36
|
createIllustrationsLoadersScript[`generate-${illustrations.set}-${illustrations.collection}`] = `ui5nps-script ${LIB}generate-js-imports/illustrations.js ${illustrations.path} ${illustrations.dynamicImports.outputFile} ${illustrations.set} ${illustrations.collection} ${illustrations.dynamicImports.location} ${illustrations.dynamicImports.filterOut.join(",")}`
|
|
37
37
|
});
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
const standalone = options.standalone ?? true;
|
|
40
40
|
const tsOption = !!(!options.legacy || options.jsx);
|
|
41
41
|
const tsCommandOld = tsOption ? "tsc" : "";
|
|
42
42
|
let tsWatchCommandStandalone = tsOption ? "tsc --watch" : "";
|
|
@@ -66,6 +66,17 @@ const getScripts = (options) => {
|
|
|
66
66
|
viteConfig = `-c "${require.resolve("@ui5/webcomponents-tools/components-package/vite.config.js")}"`;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
+
|
|
70
|
+
const getPrepareDefault = () => {
|
|
71
|
+
let result = `ui5nps clean prepare.all copy copyProps prepare.typescript`
|
|
72
|
+
|
|
73
|
+
if (standalone) {
|
|
74
|
+
result = `${result} generateAPI`;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return result;
|
|
78
|
+
}
|
|
79
|
+
|
|
69
80
|
const scripts = {
|
|
70
81
|
__ui5envs: {
|
|
71
82
|
UI5_CEM_MODE: typeof options.dev === "boolean" ? (options.dev ? "dev" : undefined) : options.dev,
|
|
@@ -86,7 +97,7 @@ const getScripts = (options) => {
|
|
|
86
97
|
styleRelated: "ui5nps build.styles build.jsonImports build.jsImports",
|
|
87
98
|
},
|
|
88
99
|
prepare: {
|
|
89
|
-
default:
|
|
100
|
+
default: getPrepareDefault(),
|
|
90
101
|
all: `ui5nps-p build.templates build.i18n prepare.styleRelated build.illustrations`, // concurently
|
|
91
102
|
styleRelated: "ui5nps build.styles build.jsonImports build.jsImports",
|
|
92
103
|
typescript: tsCommandOld,
|
|
@@ -165,6 +176,7 @@ const getScripts = (options) => {
|
|
|
165
176
|
bundle: `ui5nps-script ${LIB}dev-server/dev-server.mjs ${viteConfig}`,
|
|
166
177
|
},
|
|
167
178
|
generateAPI: {
|
|
179
|
+
"default": tsOption ? "ui5nps generateAPI.generateCEM generateAPI.validateCEM generateAPI.mergeCEM" : "",
|
|
168
180
|
generateCEM: `ui5nps-script "${LIB}cem/cem.js" analyze --config "${LIB}cem/custom-elements-manifest.config.mjs"`,
|
|
169
181
|
validateCEM: `ui5nps-script "${LIB}cem/validate.js"`,
|
|
170
182
|
mergeCEM: `ui5nps-script "${LIB}cem/merge.mjs"`,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ui5/webcomponents-tools",
|
|
3
|
-
"version": "2.22.0-rc.
|
|
3
|
+
"version": "2.22.0-rc.5",
|
|
4
4
|
"description": "UI5 Web Components: webcomponents.tools",
|
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"esbuild": "^0.25.0",
|
|
83
83
|
"yargs": "^17.5.1"
|
|
84
84
|
},
|
|
85
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "f42d27cb7d91aad64df6bf51b3b4cc02d5972b2f"
|
|
86
86
|
}
|