@auto-engineer/generate-react-client 1.38.0 → 1.40.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,42 @@
1
1
  # @auto-engineer/generate-react-client
2
2
 
3
+ ## 1.40.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`f50a03d`](https://github.com/BeOnAuto/auto-engineer/commit/f50a03d46f818382d595c3c066eea40a32238b9f) Thanks [@github-actions[bot]](https://github.com/github-actions%5Bbot%5D)! - - **packages/generate-react-client**: adds vitest to starter
8
+ - **global**: version packages
9
+
10
+ - [`6d5da03`](https://github.com/BeOnAuto/auto-engineer/commit/6d5da03d69afc8bdf9152884e9d7b63ca50e028c) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - Added HMR stability settings to the React client generator to prevent rebuild loops during development
11
+
12
+ ### Patch Changes
13
+
14
+ - [`15938a6`](https://github.com/BeOnAuto/auto-engineer/commit/15938a654785be13c1f7349a1bdb8be1203d93fe) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - enforce Biome as sole formatter in VSCode
15
+
16
+ - [`8564620`](https://github.com/BeOnAuto/auto-engineer/commit/8564620b2d54b6048551ef246c3f7a1323e554e6) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - Fixed pipeline crash when child processes exit unexpectedly
17
+
18
+ - [`79f3806`](https://github.com/BeOnAuto/auto-engineer/commit/79f380644d7d57f2228a03be07e9cbd4c682d6ce) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - Added convenience dev script for the typical example project
19
+
20
+ - Updated dependencies [[`15938a6`](https://github.com/BeOnAuto/auto-engineer/commit/15938a654785be13c1f7349a1bdb8be1203d93fe), [`8564620`](https://github.com/BeOnAuto/auto-engineer/commit/8564620b2d54b6048551ef246c3f7a1323e554e6), [`79f3806`](https://github.com/BeOnAuto/auto-engineer/commit/79f380644d7d57f2228a03be07e9cbd4c682d6ce), [`f50a03d`](https://github.com/BeOnAuto/auto-engineer/commit/f50a03d46f818382d595c3c066eea40a32238b9f), [`6d5da03`](https://github.com/BeOnAuto/auto-engineer/commit/6d5da03d69afc8bdf9152884e9d7b63ca50e028c)]:
21
+ - @auto-engineer/message-bus@1.40.0
22
+
23
+ ## 1.39.0
24
+
25
+ ### Minor Changes
26
+
27
+ - [`72300f5`](https://github.com/BeOnAuto/auto-engineer/commit/72300f5bddb195dc5033cc3fda837ecb53e2fbe5) Thanks [@github-actions[bot]](https://github.com/github-actions%5Bbot%5D)! - - **examples/typical**: integrates graphql
28
+ - **app-implementer**: pass GraphQL schema, queries & mutations into app generation prompt
29
+ - **react-component-implementer**: enforce no hardcoded data in components, MSW-only mocking
30
+ - **react-component-implementer**: pass GraphQL schema, queries & mutations into generation prompt
31
+ - **examples/typical**: updates auto config
32
+
33
+ - [`d814587`](https://github.com/BeOnAuto/auto-engineer/commit/d814587381c7f291333e4e329ed7ce201bec60eb) Thanks [@osamanar](https://github.com/osamanar)! - - Added Vitest testing framework to the React client starter template
34
+
35
+ ### Patch Changes
36
+
37
+ - Updated dependencies [[`72300f5`](https://github.com/BeOnAuto/auto-engineer/commit/72300f5bddb195dc5033cc3fda837ecb53e2fbe5), [`d814587`](https://github.com/BeOnAuto/auto-engineer/commit/d814587381c7f291333e4e329ed7ce201bec60eb)]:
38
+ - @auto-engineer/message-bus@1.39.0
39
+
3
40
  ## 1.38.0
4
41
 
5
42
  ### Minor Changes
@@ -49,6 +49,14 @@ const config: StorybookConfig = {
49
49
  config.server = {
50
50
  ...config.server,
51
51
  allowedHosts: [".worker.on.auto", ".worker-dev.on.auto"],
52
+ watch: {
53
+ // Wait for files to stop being written before triggering HMR
54
+ // This prevents continuous rebuild loops when multiple agents write files
55
+ awaitWriteFinish: {
56
+ stabilityThreshold: 3000, // Wait 1.5s of no changes before rebuild
57
+ pollInterval: 1000,
58
+ },
59
+ },
52
60
  };
53
61
  config.define = {
54
62
  ...config.define,
@@ -6,6 +6,10 @@
6
6
  "scripts": {
7
7
  "dev": "vite",
8
8
  "build": "tsc -b && vite build",
9
+ "test": "vitest run",
10
+ "test:watch": "vitest",
11
+ "test:ui": "vitest --ui",
12
+ "test:coverage": "vitest run --coverage",
9
13
  "preview": "vite preview",
10
14
  "type-check": "tsc --noEmit -p tsconfig.app.json",
11
15
  "storybook": "storybook dev -p 6006",
@@ -60,7 +64,15 @@
60
64
  "tailwindcss": "^4.1.16",
61
65
  "tw-animate-css": "^1.3.7",
62
66
  "typescript": "^5.9.3",
63
- "vite": "^7.3.0"
67
+ "vite": "^7.3.0",
68
+ "vitest": "^3.2.1",
69
+ "@vitest/ui": "^3.2.1",
70
+ "@vitest/coverage-v8": "^3.2.1",
71
+ "jsdom": "^26.1.0",
72
+ "happy-dom": "^18.0.1",
73
+ "@testing-library/react": "^16.3.0",
74
+ "@testing-library/jest-dom": "^6.6.3",
75
+ "@testing-library/user-event": "^14.6.1"
64
76
  },
65
77
  "msw": {
66
78
  "workerDirectory": [