@immense/vue-pom-generator 1.0.72 → 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 CHANGED
@@ -1,64 +1,60 @@
1
- # Release Notes - v1.0.72
1
+ ## Highlights
2
2
 
3
- ## Highlights
4
-
5
- - **Runtime annotator enhancements**: Exported `mountAnnotatorClient` and
6
- `AnnotatorClientOptions` from main entry point for easier integration
7
- - **Accessibility audit metadata**: Added accessibility audit warnings and metadata to generated
8
- POMs
9
- - **Zero runtime dependencies**: Eliminated all runtime dependencies for lighter installation
10
- footprint
11
- - **Improved type handling**: Enhanced TypeScript template expression parsing and test ID
12
- generation
13
- - **Split POM output**: Added separate Playwright POM files for better discoverability
14
- - **Relaxed peer dependencies**: More flexible Vite and Playwright version requirements
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
15
11
 
16
12
  ## Changes
17
13
 
18
- **Runtime & API**
19
- - Export `AnnotatorClientOptions` type from main entry point
20
- - Export `mountAnnotatorClient` from main entry point (#31)
21
- - Add runtime annotator metadata (#27)
22
- - Add manifest and locator descriptions (#24)
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)
23
21
 
24
- **Accessibility**
22
+ ### New Features
25
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)
26
28
 
27
- **Code Generation**
28
- - Add split Playwright POM output for discoverability (#12)
29
- - Avoid reparsing generated test ids (#21)
30
- - Parse TypeScript template expressions and allow submit-button fallback (#20)
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)
31
33
  - Fail fast on unnameable wrapper handlers (#11)
32
34
 
33
- **Build & Integration**
35
+ ### Developer Experience
34
36
  - Eliminate all runtime dependencies (#9)
35
- - Normalize file scope path checks (#29)
36
- - Harden local app integration (#19)
37
- - Resolve Nuxt app-root dev POM clobber (#15)
38
- - Dev-mode POM generation parity with build mode (#5)
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)
39
42
 
40
- **Bug Fixes**
43
+ ### Bug Fixes
41
44
  - Restore router DOM globals after introspection (#18)
42
- - Support awaited handler wrappers (#17)
43
45
  - Fix keyed POM dedupe and C# navigation returns (#4)
44
- - Fail fast on dev snapshot generation errors (#6)
45
-
46
- **Dependencies & CI**
47
- - Relax Playwright peer pinning (#30)
48
- - Relax Vite peer dependency range (#13)
49
- - Update GitHub actions for Node 24 (#28)
50
46
 
51
- **Developer Experience**
47
+ ### CI/CD
52
48
  - Add PR release-notes preview comments (#1)
53
- - Guard manual releases (#16)
54
49
 
55
50
  ## Breaking Changes
56
51
 
57
- - **Zero runtime dependencies** (#9): All runtime dependencies have been eliminated. If your
58
- project was relying on transitive dependencies, you may need to install them directly.
52
+ None
59
53
 
60
54
  ## Pull Requests Included
61
55
 
56
+ - #32 fix: stop passing glob paths to server.watcher.add()
57
+ (https://github.com/immense/vue-pom-generator/pull/32)
62
58
  - #31 feat: export mountAnnotatorClient from main entry point
63
59
  (https://github.com/immense/vue-pom-generator/pull/31)
64
60
  - #30 fix: relax Playwright peer pinning (https://github.com/immense/vue-pom-generator/pull/30)
@@ -91,7 +87,6 @@
91
87
  (https://github.com/immense/vue-pom-generator/pull/11)
92
88
  - #9 refactor(deps): eliminate all runtime dependencies
93
89
  (https://github.com/immense/vue-pom-generator/pull/9)
94
- - #8 chore: bump version to 1.0.43 (https://github.com/immense/vue-pom-generator/pull/8)
95
90
  - #7 test: add build–serve parity regression tests
96
91
  (https://github.com/immense/vue-pom-generator/pull/7)
97
92
  - #6 fix: fail fast on dev snapshot generation errors
@@ -104,6 +99,6 @@
104
99
 
105
100
  ## Testing
106
101
 
107
- Added build–serve parity regression tests (#7) to ensure consistent behavior across development
108
- and production modes.
102
+ Build–serve parity regression tests added (#7). Multiple parser and integration edge cases
103
+ covered through fixes.
109
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
- ...watchedVueGlobs,
8343
- watchedPluginGlob,
8341
+ ...fs.existsSync(localPluginDir) ? [localPluginDir] : [],
8344
8342
  basePageClassPath,
8345
8343
  path.resolve(runtimeDir, "pointer.ts"),
8346
8344
  path.resolve(runtimeDir, "callout.ts"),