@immense/vue-pom-generator 1.0.111 → 1.0.113
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
CHANGED
|
@@ -1,37 +1,22 @@
|
|
|
1
1
|
Highlights
|
|
2
2
|
|
|
3
|
-
-
|
|
4
|
-
|
|
5
|
-
-
|
|
6
|
-
|
|
7
|
-
- Matching uses Vue's own camelize on normalized prop names, so any spelling the Vue runtime maps
|
|
8
|
-
to the prop (:loadAction, :load-action, legacy :handler) works (#75)
|
|
3
|
+
- Test-suite deslop continues: POM collision tests now reuse a shared setup harness instead of
|
|
4
|
+
duplicated inline setup (#78)
|
|
5
|
+
- Net −73 lines in tests/utils-coverage.test.ts (12 insertions, 85 deletions)
|
|
6
|
+
- No runtime, API, or generator behavior changes — test-only release
|
|
9
7
|
|
|
10
8
|
Changes
|
|
11
9
|
|
|
12
|
-
-
|
|
13
|
-
-
|
|
14
|
-
(#
|
|
15
|
-
- Fail fast when a wrapper declaring actionProp is used without that binding or a static @click;
|
|
16
|
-
@change/@mousedown and dynamic event/argument bindings don't count as proof (#75)
|
|
17
|
-
- Echo the matched directive argument in the unnameable-handler error so legacy :handler consumers
|
|
18
|
-
get valid advice (#75)
|
|
19
|
-
- Keep the handler:expr: merge-key prefix — generated POM identity is unchanged (#75)
|
|
20
|
-
- Dependencies
|
|
21
|
-
- @vue/shared moves to peerDependencies (>=3.5), matching how the compiler packages are declared
|
|
22
|
-
(#75)
|
|
23
|
-
- Docs
|
|
24
|
-
- README and sequence-diagram updated for the action-prop contract (#75)
|
|
10
|
+
- Tests
|
|
11
|
+
- Refactored tests/utils-coverage.test.ts to reuse the existing collision setup harness, removing
|
|
12
|
+
duplicated test scaffolding across collision test cases (#78)
|
|
25
13
|
|
|
26
14
|
Pull Requests Included
|
|
27
15
|
|
|
28
|
-
- ]8;id=md-
|
|
29
|
-
(@steve-price-immybot)
|
|
16
|
+
- ]8;id=md-g03zyl;https://github.com/immense/vue-pom-generator/pull/78#78 — test: deduplicate POM collision setup]8;;]8;; (@dkattan)]8;;
|
|
30
17
|
|
|
31
18
|
Testing
|
|
32
19
|
|
|
33
|
-
-
|
|
34
|
-
|
|
35
|
-
semantic-component-instances, and vue-test-utils-pom suites; vendor-specific naming dropped from
|
|
36
|
-
fixtures.
|
|
20
|
+
- Test-only refactor: collision coverage is preserved through the shared harness; no new tests or
|
|
21
|
+
runtime validation required.
|
|
37
22
|
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { IDataTestId, NativeRole } from '../../utils';
|
|
2
|
+
import { type PomParameterSpec } from '../../pom-params';
|
|
3
|
+
import { type PomPatternKind } from '../../pom-patterns';
|
|
4
|
+
export interface MakeTestIdEntryOptions {
|
|
5
|
+
/** The test-id pattern text, e.g. `MyComp-Save-button` or `items-check-${key}`. */
|
|
6
|
+
selector: string;
|
|
7
|
+
patternKind?: PomPatternKind;
|
|
8
|
+
patternParams?: readonly string[];
|
|
9
|
+
methodName?: string;
|
|
10
|
+
nativeRole?: NativeRole;
|
|
11
|
+
parameters?: Array<PomParameterSpec | readonly [string, string]>;
|
|
12
|
+
generatedActionName?: string;
|
|
13
|
+
generatedPropertyName?: string;
|
|
14
|
+
targetPageObjectModelClass?: string;
|
|
15
|
+
}
|
|
16
|
+
export declare function makeTestIdEntry(options: MakeTestIdEntryOptions): IDataTestId;
|
|
17
|
+
//# sourceMappingURL=pom-entry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pom-entry.d.ts","sourceRoot":"","sources":["../../../tests/helpers/pom-entry.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAkB,MAAM,aAAa,CAAA;AAC1E,OAAO,EAAuB,KAAK,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AAC7E,OAAO,EAA0B,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAA;AAEhF,MAAM,WAAW,sBAAsB;IACrC,mFAAmF;IACnF,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE,cAAc,CAAA;IAC5B,aAAa,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;IACjC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,UAAU,CAAA;IACvB,UAAU,CAAC,EAAE,KAAK,CAAC,gBAAgB,GAAG,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;IAChE,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,qBAAqB,CAAC,EAAE,MAAM,CAAA;IAC9B,0BAA0B,CAAC,EAAE,MAAM,CAAA;CACpC;AAED,wBAAgB,eAAe,CAAC,OAAO,EAAE,sBAAsB,GAAG,WAAW,CAqB5E"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare function makeTempRoot(prefix: string): string;
|
|
2
|
+
/**
|
|
3
|
+
* Write `content` to `filePath`, normalizing `.ts`-family files through
|
|
4
|
+
* renderTypeScriptLines (strips the formatting variance the generator handles
|
|
5
|
+
* for us) and creating parent directories.
|
|
6
|
+
*/
|
|
7
|
+
export declare function writeFile(filePath: string, content: string): void;
|
|
8
|
+
/** Extract the generated source block for one class (up to the next class or EOF). */
|
|
9
|
+
export declare function extractClassBlock(content: string, className: string): string;
|
|
10
|
+
//# sourceMappingURL=tmp-project.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tmp-project.d.ts","sourceRoot":"","sources":["../../../tests/helpers/tmp-project.ts"],"names":[],"mappings":"AAQA,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAEnD;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,QAM1D;AAED,sFAAsF;AACtF,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAS5E"}
|
package/package.json
CHANGED