@ui5/webcomponents-tools 1.22.0-rc.3 → 1.22.0

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,6 +3,14 @@
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
+ # [1.22.0](https://github.com/SAP/ui5-webcomponents/compare/v1.22.0-rc.3...v1.22.0) (2024-02-05)
7
+
8
+ **Note:** Version bump only for package @ui5/webcomponents-tools
9
+
10
+
11
+
12
+
13
+
6
14
  # [1.22.0-rc.3](https://github.com/SAP/ui5-webcomponents/compare/v1.22.0-rc.2...v1.22.0-rc.3) (2024-02-01)
7
15
 
8
16
  **Note:** Version bump only for package @ui5/webcomponents-tools
@@ -166,7 +166,7 @@ function processClass(ts, classNode, moduleDoc) {
166
166
 
167
167
  if (propertyDecorator) {
168
168
  member._ui5validator = propertyDecorator?.expression?.arguments[0]?.properties?.find(property => ["validator", "type"].includes(property.name.text))?.initializer?.text || "String";
169
- member._ui5noAttribute = propertyDecorator?.expression?.arguments[0]?.properties?.find(property => property.name.text === "noAttribute")?.initializer?.kind === ts.SyntaxKind.TrueKeyword || undefined;
169
+ member._ui5noAttribute = propertyDecorator?.expression?.arguments[0]?.properties?.find(property => property.name.text === "noAttribute")?.initializer?.kind === ts.SyntaxKind.TrueKeyword || undefined;
170
170
  }
171
171
 
172
172
  if (hasTag(memberParsedJsDoc, "formProperty")) {
@@ -468,9 +468,6 @@ export default {
468
468
  }
469
469
  }
470
470
  })
471
-
472
- moduleDoc.exports = moduleDoc.exports.
473
- filter(e => moduleDoc.declarations.find(d => d.name === e.declaration.name && ["class", "function", "variable", "enum"].includes(d.kind)) || e.name === "default");
474
471
  },
475
472
  packageLinkPhase({ context }) {
476
473
  if (context.dev) {
@@ -15,6 +15,11 @@ const inputFilePath = path.join(process.cwd(), "dist/custom-elements.json"); //
15
15
  const customManifest = fs.readFileSync(inputFilePath, 'utf8');
16
16
  const inputDataInternal = JSON.parse(customManifest);
17
17
 
18
+ inputDataInternal.modules.forEach(moduleDoc => {
19
+ moduleDoc.exports = moduleDoc.exports.
20
+ filter(e => moduleDoc.declarations.find(d => d.name === e.declaration.name && ["class", "function", "variable", "enum"].includes(d.kind)) || e.name === "default");
21
+ })
22
+
18
23
  const clearProps = (data) => {
19
24
  if (Array.isArray(data)) {
20
25
  for (let i = 0; i < data.length; i++) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ui5/webcomponents-tools",
3
- "version": "1.22.0-rc.3",
3
+ "version": "1.22.0",
4
4
  "description": "UI5 Web Components: webcomponents.tools",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -79,5 +79,5 @@
79
79
  "esbuild": "^0.19.9",
80
80
  "yargs": "^17.5.1"
81
81
  },
82
- "gitHead": "7ff123775e38dc646e3a1c70311e33b0c6d7105a"
82
+ "gitHead": "34db17e2bd84915eca435fd68d9ccebddafedcae"
83
83
  }