@auto-engineer/generate-react-client 1.110.0 → 1.110.2

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,41 @@
1
1
  # @auto-engineer/generate-react-client
2
2
 
3
+ ## 1.110.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`28e4df1`](https://github.com/BeOnAuto/auto-engineer/commit/28e4df126f9f013cd5935d1ff5b0c951a5330944) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - **server-generator-apollo-emmett**: validate query args against state fields in resolver
8
+
9
+ - [`00663f6`](https://github.com/BeOnAuto/auto-engineer/commit/00663f675720f1dc0e65aff1f869a6fc548ebd77) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - **global**: ketchup plan for scaffold & implementer fixes
10
+
11
+ - [`1059e28`](https://github.com/BeOnAuto/auto-engineer/commit/1059e2844a21c7e12727baddac9afec50c0171f9) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - **server-generator-apollo-emmett**: per-variable stream ID classification in handle.ts
12
+
13
+ - [`1291a9a`](https://github.com/BeOnAuto/auto-engineer/commit/1291a9a13bd0273096e7abaa8d8d3457037a5278) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - **server-generator-apollo-emmett**: filter non-events from query when-events
14
+
15
+ - [`66db309`](https://github.com/BeOnAuto/auto-engineer/commit/66db309ac4a86ecae807fe636867e862d5390bc1) Thanks [@github-actions[bot]](https://github.com/github-actions%5Bbot%5D)! - - **component-implementor-react**: issue with missing imports in starter + improve story generation
16
+ - **global**: version packages
17
+
18
+ - [`aa43d9b`](https://github.com/BeOnAuto/auto-engineer/commit/aa43d9b0c1e6d00d5129a848e316d1447734b80f) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - **server-implementer**: exclude spec files from AI context in implement-slice
19
+
20
+ - [`8f2c4fd`](https://github.com/BeOnAuto/auto-engineer/commit/8f2c4fd19c09b27efac4fd4735778f25d3554473) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - **server-generator-apollo-emmett**: enrich missing event data in react specs template
21
+
22
+ - Updated dependencies [[`28e4df1`](https://github.com/BeOnAuto/auto-engineer/commit/28e4df126f9f013cd5935d1ff5b0c951a5330944), [`00663f6`](https://github.com/BeOnAuto/auto-engineer/commit/00663f675720f1dc0e65aff1f869a6fc548ebd77), [`1059e28`](https://github.com/BeOnAuto/auto-engineer/commit/1059e2844a21c7e12727baddac9afec50c0171f9), [`1291a9a`](https://github.com/BeOnAuto/auto-engineer/commit/1291a9a13bd0273096e7abaa8d8d3457037a5278), [`66db309`](https://github.com/BeOnAuto/auto-engineer/commit/66db309ac4a86ecae807fe636867e862d5390bc1), [`aa43d9b`](https://github.com/BeOnAuto/auto-engineer/commit/aa43d9b0c1e6d00d5129a848e316d1447734b80f), [`8f2c4fd`](https://github.com/BeOnAuto/auto-engineer/commit/8f2c4fd19c09b27efac4fd4735778f25d3554473)]:
23
+ - @auto-engineer/file-upload@1.110.2
24
+ - @auto-engineer/message-bus@1.110.2
25
+
26
+ ## 1.110.1
27
+
28
+ ### Patch Changes
29
+
30
+ - [`4b7274b`](https://github.com/BeOnAuto/auto-engineer/commit/4b7274b9eb2900c20764fb460c18fd004b819d1e) Thanks [@osamanar](https://github.com/osamanar)! - - Fixed missing imports in React component starter template
31
+ - Improved story generation for React components
32
+
33
+ - [`a36c138`](https://github.com/BeOnAuto/auto-engineer/commit/a36c1387cd61e33ad5097fe8fdd9305706b3c386) Thanks [@github-actions[bot]](https://github.com/github-actions%5Bbot%5D)! - - **dev-server**: include process output in waitForHttp error messages
34
+ - **global**: version packages
35
+ - Updated dependencies [[`4b7274b`](https://github.com/BeOnAuto/auto-engineer/commit/4b7274b9eb2900c20764fb460c18fd004b819d1e), [`a36c138`](https://github.com/BeOnAuto/auto-engineer/commit/a36c1387cd61e33ad5097fe8fdd9305706b3c386)]:
36
+ - @auto-engineer/file-upload@1.110.1
37
+ - @auto-engineer/message-bus@1.110.1
38
+
3
39
  ## 1.110.0
4
40
 
5
41
  ### Minor Changes
@@ -0,0 +1,19 @@
1
+ import { useState, useEffect } from 'react';
2
+
3
+ export function useReducedMotion(): boolean {
4
+ const [shouldReduceMotion, setShouldReduceMotion] = useState(false);
5
+
6
+ useEffect(() => {
7
+ const mediaQuery = window.matchMedia('(prefers-reduced-motion: reduce)');
8
+ setShouldReduceMotion(mediaQuery.matches);
9
+
10
+ const handler = (event: MediaQueryListEvent) => {
11
+ setShouldReduceMotion(event.matches);
12
+ };
13
+
14
+ mediaQuery.addEventListener('change', handler);
15
+ return () => mediaQuery.removeEventListener('change', handler);
16
+ }, []);
17
+
18
+ return shouldReduceMotion;
19
+ }
package/package.json CHANGED
@@ -19,13 +19,13 @@
19
19
  },
20
20
  "dependencies": {
21
21
  "debug": "^4.4.1",
22
- "@auto-engineer/file-upload": "1.110.0",
23
- "@auto-engineer/message-bus": "1.110.0"
22
+ "@auto-engineer/file-upload": "1.110.2",
23
+ "@auto-engineer/message-bus": "1.110.2"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@types/debug": "^4.1.12"
27
27
  },
28
- "version": "1.110.0",
28
+ "version": "1.110.2",
29
29
  "scripts": {
30
30
  "build": "tsc && tsx ../../scripts/fix-esm-imports.ts && cp -r starter dist/",
31
31
  "test-cli": "tsx test-cli.ts",