@ui5/webcomponents-tools 1.22.0-rc.3 → 1.22.1-rc.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,22 @@
|
|
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.1-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v1.22.0...v1.22.1-rc.0) (2024-02-08)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @ui5/webcomponents-tools
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
# [1.22.0](https://github.com/SAP/ui5-webcomponents/compare/v1.22.0-rc.3...v1.22.0) (2024-02-05)
|
15
|
+
|
16
|
+
**Note:** Version bump only for package @ui5/webcomponents-tools
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
|
6
22
|
# [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
23
|
|
8
24
|
**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
|
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) {
|
@@ -307,16 +307,15 @@ export interface Attribute {
|
|
307
307
|
deprecated?: boolean | string;
|
308
308
|
}
|
309
309
|
|
310
|
-
export interface EnumDeclaration extends
|
310
|
+
export interface EnumDeclaration extends ClassLike {
|
311
311
|
kind: "enum"
|
312
|
-
}
|
312
|
+
}
|
313
313
|
|
314
|
-
export interface InterfaceDeclaration extends
|
314
|
+
export interface InterfaceDeclaration extends ClassLike {
|
315
315
|
kind: "interface"
|
316
316
|
}
|
317
317
|
|
318
318
|
export interface Event {
|
319
|
-
_ui5package?: string;
|
320
319
|
_ui5parameters?: Parameter[]
|
321
320
|
_ui5privacy?: Privacy
|
322
321
|
/**
|
@@ -485,7 +484,6 @@ export interface TypeReference extends Reference {
|
|
485
484
|
* The common interface of classes and mixins.
|
486
485
|
*/
|
487
486
|
export interface ClassLike {
|
488
|
-
_ui5package?: string
|
489
487
|
_ui5implements?: Reference[]
|
490
488
|
_ui5privacy?: Privacy
|
491
489
|
/**
|
@@ -562,7 +560,6 @@ export interface ClassLike {
|
|
562
560
|
}
|
563
561
|
|
564
562
|
export interface ClassDeclaration extends ClassLike {
|
565
|
-
_ui5package?: string;
|
566
563
|
kind: 'class';
|
567
564
|
}
|
568
565
|
|
@@ -702,7 +699,6 @@ export interface ClassMethod extends FunctionLike {
|
|
702
699
|
* ```
|
703
700
|
*/
|
704
701
|
export interface MixinDeclaration extends ClassLike, FunctionLike {
|
705
|
-
_ui5package?: string;
|
706
702
|
kind: 'mixin';
|
707
703
|
}
|
708
704
|
|
@@ -716,13 +712,11 @@ export interface CustomElementMixinDeclaration
|
|
716
712
|
CustomElement { }
|
717
713
|
|
718
714
|
export interface VariableDeclaration extends PropertyLike {
|
719
|
-
_ui5package?: string;
|
720
715
|
kind: 'variable';
|
721
716
|
source?: SourceReference;
|
722
717
|
}
|
723
718
|
|
724
719
|
export interface FunctionDeclaration extends FunctionLike {
|
725
|
-
_ui5package?: string;
|
726
720
|
/**
|
727
721
|
* Marks when the field was introduced
|
728
722
|
*/
|
package/lib/cem/validate.js
CHANGED
@@ -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.
|
3
|
+
"version": "1.22.1-rc.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": "
|
82
|
+
"gitHead": "573f831d114960ad9bc0c7a15ac39c3ec256172b"
|
83
83
|
}
|