create-auto-app 1.26.1 → 1.27.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-auto-app",
3
- "version": "1.26.1",
3
+ "version": "1.27.0",
4
4
  "description": "Create Auto Engineer apps with no configuration",
5
5
  "type": "module",
6
6
  "bin": {
@@ -33,7 +33,7 @@
33
33
  "fs-extra": "^11.2.0",
34
34
  "inquirer": "^9.2.15",
35
35
  "ora": "^8.0.1",
36
- "@auto-engineer/id": "1.26.1"
36
+ "@auto-engineer/id": "1.27.0"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/fs-extra": "^11.0.4",
@@ -288,7 +288,7 @@ export const pipeline = define("typical-example")
288
288
  }))
289
289
 
290
290
  // After all component jobs complete, generate the full app and run project-wide checks
291
- .on("graph.completed")
291
+ .on("GraphProcessed")
292
292
  .emit("ImplementReactApp", () => ({
293
293
  clientDir: resolvePath("./client"),
294
294
  modelPath: resolvePath("./.context/schema.json"),
@@ -4,9 +4,12 @@ import { fileURLToPath } from "node:url";
4
4
  import type { StorybookConfig } from "@storybook/react-vite";
5
5
 
6
6
  const __dirname = dirname(fileURLToPath(import.meta.url));
7
- const managerHeadContent = readFileSync(join(__dirname, "manager-head.html"), "utf-8");
7
+ const managerHeadContent = readFileSync(
8
+ join(__dirname, "manager-head.html"),
9
+ "utf-8",
10
+ );
8
11
 
9
- const isFastMode = !!process.env.STORYBOOK_FAST;
12
+ const isFastMode = process.env.STORYBOOK_FAST === "1";
10
13
 
11
14
  const config: StorybookConfig = {
12
15
  stories: isFastMode
@@ -44,6 +47,10 @@ const config: StorybookConfig = {
44
47
  ...config.server,
45
48
  allowedHosts: [".worker.on.auto", ".worker-dev.on.auto"],
46
49
  };
50
+ config.define = {
51
+ ...config.define,
52
+ "import.meta.env.STORYBOOK_FAST": JSON.stringify(isFastMode),
53
+ };
47
54
  return config;
48
55
  },
49
56
  managerHead: () => managerHeadContent,
@@ -76,6 +76,7 @@ function ThemedDocsContainer({
76
76
  }
77
77
 
78
78
  const preview: Preview = {
79
+ tags: ['autodocs'],
79
80
  decorators: [
80
81
  (Story) => (
81
82
  <QueryClientProvider client={queryClient}>
@@ -21,6 +21,7 @@
21
21
  "cmdk": "^1.1.1",
22
22
  "date-fns": "^4.1.0",
23
23
  "embla-carousel-react": "^8.6.0",
24
+ "graphql-request": "^7.4.0",
24
25
  "input-otp": "^1.4.2",
25
26
  "lucide-react": "^0.539.0",
26
27
  "next-themes": "^0.4.6",
@@ -32,6 +32,9 @@ importers:
32
32
  embla-carousel-react:
33
33
  specifier: ^8.6.0
34
34
  version: 8.6.0(react@19.2.4)
35
+ graphql-request:
36
+ specifier: ^7.4.0
37
+ version: 7.4.0(graphql@16.12.0)
35
38
  input-otp:
36
39
  specifier: ^1.4.2
37
40
  version: 1.4.2(react-dom@19.2.4(react@19.2.4))(react@19.2.4)
@@ -99,6 +102,9 @@ importers:
99
102
  '@vitejs/plugin-react-swc':
100
103
  specifier: ^4.2.2
101
104
  version: 4.2.3(vite@7.3.1(jiti@2.6.1)(lightningcss@1.30.2))
105
+ '@vueless/storybook-dark-mode':
106
+ specifier: ^10.0.7
107
+ version: 10.0.7(storybook@10.2.8(@testing-library/dom@10.4.1)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))
102
108
  msw:
103
109
  specifier: ^2.12.10
104
110
  version: 2.12.10(typescript@5.9.3)
@@ -392,6 +398,11 @@ packages:
392
398
  '@floating-ui/utils@0.2.10':
393
399
  resolution: {integrity: sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ==}
394
400
 
401
+ '@graphql-typed-document-node/core@3.2.0':
402
+ resolution: {integrity: sha512-mB9oAsNCm9aM3/SOv4YtBMqZbYj10R7dkq8byBqxGY/ncFwhf2oQzMV+LCRlWoDSEBJ3COiR1yeDvMtsoOsuFQ==}
403
+ peerDependencies:
404
+ graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0
405
+
395
406
  '@hookform/resolvers@5.2.2':
396
407
  resolution: {integrity: sha512-A/IxlMLShx3KjV/HeTcTfaMxdwy690+L/ZADoeaTltLx+CVuzkeVIPuybK3jrRfw7YZnmdKsVVHAlEPIAEUNlA==}
397
408
  peerDependencies:
@@ -1708,6 +1719,12 @@ packages:
1708
1719
  '@vitest/utils@3.2.4':
1709
1720
  resolution: {integrity: sha512-fB2V0JFrQSMsCo9HiSq3Ezpdv4iYaXRG1Sx8edX3MwxfyNn83mKiGzOcH+Fkxt4MHxr3y42fQi1oeAInqgX2QA==}
1710
1721
 
1722
+ '@vueless/storybook-dark-mode@10.0.7':
1723
+ resolution: {integrity: sha512-mI+tqHykUMlhdwu7PlZ6/wvq1aZqn4DWoUbO4GMhJxLnrDSJn4zKaeEtGXp4KTO5Myv/T6k2iteIe7MSTAZVDQ==}
1724
+ engines: {node: '>=20'}
1725
+ peerDependencies:
1726
+ storybook: ^10.0.0
1727
+
1711
1728
  acorn@8.15.0:
1712
1729
  resolution: {integrity: sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==}
1713
1730
  engines: {node: '>=0.4.0'}
@@ -2013,6 +2030,11 @@ packages:
2013
2030
  graceful-fs@4.2.11:
2014
2031
  resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==}
2015
2032
 
2033
+ graphql-request@7.4.0:
2034
+ resolution: {integrity: sha512-xfr+zFb/QYbs4l4ty0dltqiXIp07U6sl+tOKAb0t50/EnQek6CVVBLjETXi+FghElytvgaAWtIOt3EV7zLzIAQ==}
2035
+ peerDependencies:
2036
+ graphql: 14 - 16
2037
+
2016
2038
  graphql@16.12.0:
2017
2039
  resolution: {integrity: sha512-DKKrynuQRne0PNpEbzuEdHlYOMksHSUI8Zc9Unei5gTsMNA2/vMpoMz/yKba50pejK56qj98qM0SjYxAKi13gQ==}
2018
2040
  engines: {node: ^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0}
@@ -2157,6 +2179,9 @@ packages:
2157
2179
  resolution: {integrity: sha512-utfs7Pr5uJyyvDETitgsaqSyjCb2qNRAtuqUeWIAKztsOYdcACf2KtARYXg2pSvhkt+9NfoaNY7fxjl6nuMjIQ==}
2158
2180
  engines: {node: '>= 12.0.0'}
2159
2181
 
2182
+ lodash-es@4.17.23:
2183
+ resolution: {integrity: sha512-kVI48u3PZr38HdYz98UmfPnXl2DXrpdctLrFLCd3kOx1xUkOmpFPx7gCWWM5MPkL/fD8zb+Ph0QzjGFs4+hHWg==}
2184
+
2160
2185
  lodash@4.17.23:
2161
2186
  resolution: {integrity: sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==}
2162
2187
 
@@ -2961,6 +2986,10 @@ snapshots:
2961
2986
 
2962
2987
  '@floating-ui/utils@0.2.10': {}
2963
2988
 
2989
+ '@graphql-typed-document-node/core@3.2.0(graphql@16.12.0)':
2990
+ dependencies:
2991
+ graphql: 16.12.0
2992
+
2964
2993
  '@hookform/resolvers@5.2.2(react-hook-form@7.71.1(react@19.2.4))':
2965
2994
  dependencies:
2966
2995
  '@standard-schema/utils': 0.3.0
@@ -4275,6 +4304,12 @@ snapshots:
4275
4304
  loupe: 3.2.1
4276
4305
  tinyrainbow: 2.0.0
4277
4306
 
4307
+ '@vueless/storybook-dark-mode@10.0.7(storybook@10.2.8(@testing-library/dom@10.4.1)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))':
4308
+ dependencies:
4309
+ '@storybook/global': 5.0.0
4310
+ lodash-es: 4.17.23
4311
+ storybook: 10.2.8(@testing-library/dom@10.4.1)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)
4312
+
4278
4313
  acorn@8.15.0: {}
4279
4314
 
4280
4315
  ansi-regex@5.0.1: {}
@@ -4542,6 +4577,11 @@ snapshots:
4542
4577
 
4543
4578
  graceful-fs@4.2.11: {}
4544
4579
 
4580
+ graphql-request@7.4.0(graphql@16.12.0):
4581
+ dependencies:
4582
+ '@graphql-typed-document-node/core': 3.2.0(graphql@16.12.0)
4583
+ graphql: 16.12.0
4584
+
4545
4585
  graphql@16.12.0: {}
4546
4586
 
4547
4587
  hasown@2.0.2:
@@ -4640,6 +4680,8 @@ snapshots:
4640
4680
  lightningcss-win32-arm64-msvc: 1.30.2
4641
4681
  lightningcss-win32-x64-msvc: 1.30.2
4642
4682
 
4683
+ lodash-es@4.17.23: {}
4684
+
4643
4685
  lodash@4.17.23: {}
4644
4686
 
4645
4687
  loose-envify@1.4.0:
@@ -19,7 +19,8 @@
19
19
  "baseUrl": ".",
20
20
  "paths": {
21
21
  "@/*": ["./src/*"]
22
- }
22
+ },
23
+ "types": ["vite/client"]
23
24
  },
24
25
  "include": ["src"]
25
26
  }