@immense/vue-pom-generator 1.0.34 → 1.0.35
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/RELEASE_NOTES.md +12 -23
- package/dist/index.cjs +12 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +12 -3
- package/dist/index.mjs.map +1 -1
- package/dist/transform.d.ts.map +1 -1
- package/package.json +1 -1
package/RELEASE_NOTES.md
CHANGED
|
@@ -1,39 +1,28 @@
|
|
|
1
|
-
● # v1.0.
|
|
1
|
+
● # Release Notes: v1.0.35
|
|
2
2
|
|
|
3
3
|
## Highlights
|
|
4
|
-
|
|
5
|
-
-
|
|
6
|
-
- Improved
|
|
7
|
-
- Enhanced router introspection with significant improvements to route handling
|
|
8
|
-
- Added comprehensive test coverage for class generation and router introspection
|
|
4
|
+
- Fixed wrapper collision fallbacks in transform logic
|
|
5
|
+
- Added comprehensive test coverage for wrapper collision scenarios
|
|
6
|
+
- Improved PR workflow with release-notes preview comments
|
|
9
7
|
|
|
10
8
|
## Changes
|
|
11
9
|
|
|
12
|
-
|
|
13
|
-
-
|
|
14
|
-
- Corrected lazy route component naming in class generation
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
- Resolved issues with wrapper collision fallback behavior in transform module
|
|
15
12
|
|
|
16
|
-
|
|
17
|
-
- Added
|
|
18
|
-
- Added 64+ lines of new tests for router introspection
|
|
19
|
-
- Added 37+ lines of new tests for transform logic
|
|
13
|
+
### Testing
|
|
14
|
+
- Added 41 lines of new tests for wrapper collision scenarios in `transform.test.ts`
|
|
20
15
|
|
|
21
|
-
|
|
22
|
-
-
|
|
23
|
-
- Updated plugin path utilities with better handling
|
|
24
|
-
- Improved support plugins for both build and dev modes
|
|
16
|
+
### Developer Experience
|
|
17
|
+
- Integrated automated release-notes preview comments on pull requests
|
|
25
18
|
|
|
26
19
|
## Breaking Changes
|
|
27
|
-
|
|
28
|
-
None.
|
|
20
|
+
None
|
|
29
21
|
|
|
30
22
|
## Pull Requests Included
|
|
31
|
-
|
|
32
23
|
- #1 Add PR release-notes preview comments (https://github.com/immense/vue-pom-generator/pull/1)
|
|
33
24
|
by @dkattan
|
|
34
25
|
|
|
35
26
|
## Testing
|
|
36
|
-
|
|
37
|
-
Comprehensive test coverage added across class generation, router introspection, and transform
|
|
38
|
-
modules. All tests passing.
|
|
27
|
+
New test cases added to validate wrapper collision fallback fixes. All tests passing.
|
|
39
28
|
|
package/dist/index.cjs
CHANGED
|
@@ -5642,14 +5642,23 @@ Fix: remove the explicit ${attrLabel}, or change existingIdBehavior to "overwrit
|
|
|
5642
5642
|
upsertAttribute(element, "option-data-testid-prefix", optionDataTestIdPrefixValue);
|
|
5643
5643
|
}
|
|
5644
5644
|
const nativeRole = nativeWrappers[element.tag]?.role ?? element.tag;
|
|
5645
|
-
const
|
|
5646
|
-
|
|
5645
|
+
const wrapperHintCandidates = [
|
|
5646
|
+
semanticNameHint,
|
|
5647
|
+
getStaticAttributeContent(element, "title"),
|
|
5648
|
+
getStaticAttributeContent(element, "label"),
|
|
5649
|
+
getStaticAttributeContent(element, "okTitle"),
|
|
5650
|
+
getStaticAttributeContent(element, "cancelTitle"),
|
|
5651
|
+
getStaticAttributeContent(element, "id") || getStaticAttributeContent(element, "name"),
|
|
5652
|
+
getInnerText(element) || null,
|
|
5653
|
+
nameCollisionBehavior === "error" && semanticNameHint && conditionalHint ? `${semanticNameHint} ${conditionalHint}` : conditionalHint
|
|
5654
|
+
].map((value) => (value ?? "").trim()).filter(Boolean).filter((value, index, values) => values.indexOf(value) === index);
|
|
5655
|
+
const [primarySemanticHint, ...alternates] = wrapperHintCandidates;
|
|
5647
5656
|
const pomMergeKey = semanticNameHint && conditionalMergeGroupKey ? `wrapper:ifgroup:${conditionalMergeGroupKey}:model:${semanticNameHint}` : void 0;
|
|
5648
5657
|
applyResolvedDataTestIdForElement({
|
|
5649
5658
|
preferredGeneratedValue: nativeWrappersValue,
|
|
5650
5659
|
nativeRoleOverride: nativeRole,
|
|
5651
5660
|
semanticNameHint: primarySemanticHint,
|
|
5652
|
-
semanticNameHintAlternates: alternates,
|
|
5661
|
+
semanticNameHintAlternates: alternates.length ? alternates : void 0,
|
|
5653
5662
|
pomMergeKey
|
|
5654
5663
|
});
|
|
5655
5664
|
return;
|