@ui5/webcomponents-tools 2.22.1-rc.0 → 2.22.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/CHANGELOG.md CHANGED
@@ -3,7 +3,7 @@
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.1-rc.0](https://github.com/UI5/webcomponents/compare/v2.22.0-rc.6...v2.22.1-rc.0) (2026-05-21)
6
+ ## [2.22.1](https://github.com/UI5/webcomponents/compare/v2.22.0...v2.22.1) (2026-06-19)
7
7
 
8
8
  **Note:** Version bump only for package @ui5/webcomponents-tools
9
9
 
@@ -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
- const standalone = options.standalone ?? true;
39
+
40
40
  const tsOption = !!(!options.legacy || options.jsx);
41
41
  const tsCommandOld = tsOption ? "tsc" : "";
42
42
  let tsWatchCommandStandalone = tsOption ? "tsc --watch" : "";
@@ -66,17 +66,6 @@ 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
-
80
69
  const scripts = {
81
70
  __ui5envs: {
82
71
  UI5_CEM_MODE: typeof options.dev === "boolean" ? (options.dev ? "dev" : undefined) : options.dev,
@@ -97,7 +86,7 @@ const getScripts = (options) => {
97
86
  styleRelated: "ui5nps build.styles build.jsonImports build.jsImports",
98
87
  },
99
88
  prepare: {
100
- default: getPrepareDefault(),
89
+ default: `ui5nps clean prepare.all copy copyProps prepare.typescript`,
101
90
  all: `ui5nps-p build.templates build.i18n prepare.styleRelated build.illustrations`, // concurently
102
91
  styleRelated: "ui5nps build.styles build.jsonImports build.jsImports",
103
92
  typescript: tsCommandOld,
@@ -176,7 +165,6 @@ const getScripts = (options) => {
176
165
  bundle: `ui5nps-script ${LIB}dev-server/dev-server.mjs ${viteConfig}`,
177
166
  },
178
167
  generateAPI: {
179
- "default": tsOption ? "ui5nps generateAPI.generateCEM generateAPI.validateCEM generateAPI.mergeCEM" : "",
180
168
  generateCEM: `ui5nps-script "${LIB}cem/cem.js" analyze --config "${LIB}cem/custom-elements-manifest.config.mjs"`,
181
169
  validateCEM: `ui5nps-script "${LIB}cem/validate.js"`,
182
170
  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.1-rc.0",
3
+ "version": "2.22.1",
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": "9e6891583a3a6f14d19812a700c86495a46ee276"
85
+ "gitHead": "7b22831115168bb68b34d53d31a5bf5fe5b976f8"
86
86
  }