@immense/vue-pom-generator 1.0.71 → 1.0.73
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 +85 -18
- package/dist/index.cjs +2 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +2 -4
- package/dist/index.mjs.map +1 -1
- package/dist/plugin/internal/dev-plugin.d.ts.map +1 -1
- package/dist/plugin/runtime/annotator/client.d.ts +1 -1
- package/dist/plugin/runtime/annotator/client.d.ts.map +1 -1
- package/package.json +1 -1
- package/plugin/runtime/annotator/client.ts +1 -1
package/RELEASE_NOTES.md
CHANGED
|
@@ -1,26 +1,51 @@
|
|
|
1
|
-
●
|
|
2
|
-
notes.
|
|
1
|
+
● ## Highlights
|
|
3
2
|
|
|
4
|
-
|
|
3
|
+
- **Windows compatibility fix**: File watcher now correctly handles glob patterns on Windows
|
|
4
|
+
- **Accessibility audit metadata**: Automatically detect and warn about common accessibility
|
|
5
|
+
issues
|
|
6
|
+
- **Runtime annotator export**: `mountAnnotatorClient` now available from main entry point
|
|
7
|
+
- **Zero runtime dependencies**: All runtime dependencies eliminated for smaller bundle size
|
|
8
|
+
- **Split Playwright POM output**: New discoverability-focused organization for generated test
|
|
9
|
+
objects
|
|
10
|
+
- **Relaxed peer dependencies**: More flexible Playwright and Vite version requirements
|
|
5
11
|
|
|
6
|
-
|
|
12
|
+
## Changes
|
|
7
13
|
|
|
8
|
-
|
|
14
|
+
### Platform & Compatibility
|
|
15
|
+
- Fix Windows file watcher by stopping glob path passthrough to `server.watcher.add()` (#32)
|
|
16
|
+
- Resolve Nuxt app-root dev POM clobber issue (#15)
|
|
17
|
+
- Normalize file scope path checks for cross-platform consistency (#29)
|
|
18
|
+
- Harden local app integration (#19)
|
|
19
|
+
- Relax Playwright peer dependency pinning (#30)
|
|
20
|
+
- Relax Vite peer dependency range (#13)
|
|
9
21
|
|
|
10
|
-
|
|
11
|
-
-
|
|
12
|
-
-
|
|
13
|
-
|
|
22
|
+
### New Features
|
|
23
|
+
- Add accessibility audit metadata and warnings (#25)
|
|
24
|
+
- Add manifest and locator descriptions (#24)
|
|
25
|
+
- Add runtime annotator metadata (#27)
|
|
26
|
+
- Export `mountAnnotatorClient` from main entry point (#31)
|
|
27
|
+
- Add split Playwright POM output for improved discoverability (#12)
|
|
14
28
|
|
|
15
|
-
|
|
29
|
+
### Parser & Code Generation
|
|
30
|
+
- Parse TypeScript template expressions + allow submit-button fallback (#20)
|
|
31
|
+
- Support awaited handler wrappers (#17)
|
|
32
|
+
- Avoid reparsing generated test IDs (#21)
|
|
33
|
+
- Fail fast on unnameable wrapper handlers (#11)
|
|
34
|
+
|
|
35
|
+
### Developer Experience
|
|
36
|
+
- Eliminate all runtime dependencies (#9)
|
|
37
|
+
- Add build–serve parity regression tests (#7)
|
|
38
|
+
- Fail fast on dev snapshot generation errors (#6)
|
|
39
|
+
- Fix dev-mode POM generation parity with build mode (#5)
|
|
40
|
+
- Update GitHub Actions for Node 24 (#28)
|
|
41
|
+
- Guard manual releases (#16)
|
|
16
42
|
|
|
17
|
-
|
|
18
|
-
-
|
|
43
|
+
### Bug Fixes
|
|
44
|
+
- Restore router DOM globals after introspection (#18)
|
|
45
|
+
- Fix keyed POM dedupe and C# navigation returns (#4)
|
|
19
46
|
|
|
20
|
-
|
|
21
|
-
-
|
|
22
|
-
- Relax Playwright peer dependency from `>=1.59.1 <2` to `>=1.61.0 <2`
|
|
23
|
-
- Update `@playwright/test` to 1.61.0
|
|
47
|
+
### CI/CD
|
|
48
|
+
- Add PR release-notes preview comments (#1)
|
|
24
49
|
|
|
25
50
|
## Breaking Changes
|
|
26
51
|
|
|
@@ -28,10 +53,52 @@
|
|
|
28
53
|
|
|
29
54
|
## Pull Requests Included
|
|
30
55
|
|
|
56
|
+
- #32 fix: stop passing glob paths to server.watcher.add()
|
|
57
|
+
(https://github.com/immense/vue-pom-generator/pull/32)
|
|
31
58
|
- #31 feat: export mountAnnotatorClient from main entry point
|
|
32
|
-
(https://github.com/immense/vue-pom-generator/pull/31)
|
|
59
|
+
(https://github.com/immense/vue-pom-generator/pull/31)
|
|
60
|
+
- #30 fix: relax Playwright peer pinning (https://github.com/immense/vue-pom-generator/pull/30)
|
|
61
|
+
- #29 fix: normalize file scope path checks
|
|
62
|
+
(https://github.com/immense/vue-pom-generator/pull/29)
|
|
63
|
+
- #28 ci: update GitHub actions for Node 24
|
|
64
|
+
(https://github.com/immense/vue-pom-generator/pull/28)
|
|
65
|
+
- #27 feat: add runtime annotator metadata
|
|
66
|
+
(https://github.com/immense/vue-pom-generator/pull/27)
|
|
67
|
+
- #25 feat: add accessibility audit metadata and warnings
|
|
68
|
+
(https://github.com/immense/vue-pom-generator/pull/25)
|
|
69
|
+
- #24 feat: add manifest and locator descriptions
|
|
70
|
+
(https://github.com/immense/vue-pom-generator/pull/24)
|
|
71
|
+
- #21 fix: avoid reparsing generated test ids
|
|
72
|
+
(https://github.com/immense/vue-pom-generator/pull/21)
|
|
73
|
+
- #20 fix: parse TypeScript template expressions + allow submit-button fallback
|
|
74
|
+
(https://github.com/immense/vue-pom-generator/pull/20)
|
|
75
|
+
- #19 fix: harden local app integration (https://github.com/immense/vue-pom-generator/pull/19)
|
|
76
|
+
- #18 fix: restore router DOM globals after introspection
|
|
77
|
+
(https://github.com/immense/vue-pom-generator/pull/18)
|
|
78
|
+
- #17 fix: support awaited handler wrappers
|
|
79
|
+
(https://github.com/immense/vue-pom-generator/pull/17)
|
|
80
|
+
- #16 fix: guard manual releases (https://github.com/immense/vue-pom-generator/pull/16)
|
|
81
|
+
- #15 fix: resolve Nuxt app-root dev POM clobber
|
|
82
|
+
(https://github.com/immense/vue-pom-generator/pull/15)
|
|
83
|
+
- #13 Relax Vite peer dependency range (https://github.com/immense/vue-pom-generator/pull/13)
|
|
84
|
+
- #12 feat: add split Playwright POM output for discoverability
|
|
85
|
+
(https://github.com/immense/vue-pom-generator/pull/12)
|
|
86
|
+
- #11 feat: fail fast on unnameable wrapper handlers
|
|
87
|
+
(https://github.com/immense/vue-pom-generator/pull/11)
|
|
88
|
+
- #9 refactor(deps): eliminate all runtime dependencies
|
|
89
|
+
(https://github.com/immense/vue-pom-generator/pull/9)
|
|
90
|
+
- #7 test: add build–serve parity regression tests
|
|
91
|
+
(https://github.com/immense/vue-pom-generator/pull/7)
|
|
92
|
+
- #6 fix: fail fast on dev snapshot generation errors
|
|
93
|
+
(https://github.com/immense/vue-pom-generator/pull/6)
|
|
94
|
+
- #5 fix: dev-mode POM generation parity with build mode
|
|
95
|
+
(https://github.com/immense/vue-pom-generator/pull/5)
|
|
96
|
+
- #4 Fix keyed POM dedupe and C# navigation returns
|
|
97
|
+
(https://github.com/immense/vue-pom-generator/pull/4)
|
|
98
|
+
- #1 Add PR release-notes preview comments (https://github.com/immense/vue-pom-generator/pull/1)
|
|
33
99
|
|
|
34
100
|
## Testing
|
|
35
101
|
|
|
36
|
-
|
|
102
|
+
Build–serve parity regression tests added (#7). Multiple parser and integration edge cases
|
|
103
|
+
covered through fixes.
|
|
37
104
|
|
package/dist/index.cjs
CHANGED
|
@@ -8335,12 +8335,10 @@ function createDevProcessorPlugin(options) {
|
|
|
8335
8335
|
regenerationSequence = currentRun.then(() => void 0, () => void 0);
|
|
8336
8336
|
return currentRun;
|
|
8337
8337
|
};
|
|
8338
|
-
const watchedVueGlobs = getSourceDirRoots().map((scanDirAbs) => path.resolve(scanDirAbs, "**", "*.vue"));
|
|
8339
|
-
const watchedPluginGlob = path.resolve(projectRootRef.current, "vite-plugins", "vue-pom-generator", "**", "*.ts");
|
|
8340
8338
|
const runtimeDir = path.dirname(basePageClassPath);
|
|
8339
|
+
const localPluginDir = path.resolve(projectRootRef.current, "vite-plugins", "vue-pom-generator");
|
|
8341
8340
|
server.watcher.add([
|
|
8342
|
-
...
|
|
8343
|
-
watchedPluginGlob,
|
|
8341
|
+
...fs.existsSync(localPluginDir) ? [localPluginDir] : [],
|
|
8344
8342
|
basePageClassPath,
|
|
8345
8343
|
path.resolve(runtimeDir, "pointer.ts"),
|
|
8346
8344
|
path.resolve(runtimeDir, "callout.ts"),
|