@immense/vue-pom-generator 1.0.111 → 1.0.112
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,37 @@
|
|
|
1
|
+
GitHub access is unavailable, so I'm relying on the provided data: the v1.0.111..HEAD range contains
|
|
2
|
+
a single commit — PR #77 — so that's the only PR included in this release.
|
|
3
|
+
|
|
4
|
+
v1.0.112
|
|
5
|
+
|
|
1
6
|
Highlights
|
|
2
7
|
|
|
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)
|
|
8
|
+
- Test-suite deduplication (wave 2): extracted shared helpers for POM entry points and temporary
|
|
9
|
+
projects.
|
|
10
|
+
- Net reduction of ~341 lines across 9 test files (587 insertions, 928 deletions).
|
|
11
|
+
- Test-only release — no product or runtime behavior changes.
|
|
9
12
|
|
|
10
13
|
Changes
|
|
11
14
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
15
|
+
Tests
|
|
16
|
+
|
|
17
|
+
- Added shared test helpers: tests/helpers/pom-entry.ts and tests/helpers/tmp-project.ts.
|
|
18
|
+
- Deduplicated scaffolding across the wave 2 test files: metadata-collector-ts, build-serve-parity,
|
|
19
|
+
class-generation-coverage, generated-tsc, options, pointer, transform, and utils-coverage tests.
|
|
20
|
+
|
|
21
|
+
Chore
|
|
22
|
+
|
|
23
|
+
- Updated .deslop.toml duplication-gate configuration for the wave 2 files.
|
|
24
|
+
|
|
25
|
+
Breaking Changes
|
|
26
|
+
|
|
27
|
+
None.
|
|
25
28
|
|
|
26
29
|
Pull Requests Included
|
|
27
30
|
|
|
28
|
-
- ]8;id=md-
|
|
29
|
-
(@steve-price-immybot)
|
|
31
|
+
- ]8;id=md-bu9yk0;https://github.com/immense/vue-pom-generator/pull/77#77]8;;]8;; — test: deduplicate wave 2 test scaffolding (@dkattan)]8;;
|
|
30
32
|
|
|
31
33
|
Testing
|
|
32
34
|
|
|
33
|
-
-
|
|
34
|
-
|
|
35
|
-
semantic-component-instances, and vue-test-utils-pom suites; vendor-specific naming dropped from
|
|
36
|
-
fixtures.
|
|
35
|
+
- Existing test suite validates the refactor; helper extraction preserves per-file coverage with no
|
|
36
|
+
expected behavior change.
|
|
37
37
|
|
|
@@ -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