@auto-engineer/generate-react-client 1.21.0 → 1.23.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.
Files changed (62) hide show
  1. package/CHANGELOG.md +56 -0
  2. package/dist/starter/.storybook/main.ts +42 -32
  3. package/dist/starter/.storybook/preview.tsx +12 -0
  4. package/dist/starter/src/components/ui/Accordion.stories.tsx +1 -1
  5. package/dist/starter/src/components/ui/Alert.stories.tsx +1 -1
  6. package/dist/starter/src/components/ui/AlertDialog.stories.tsx +1 -1
  7. package/dist/starter/src/components/ui/AspectRatio.stories.tsx +1 -1
  8. package/dist/starter/src/components/ui/Avatar.stories.tsx +1 -1
  9. package/dist/starter/src/components/ui/Badge.stories.tsx +1 -1
  10. package/dist/starter/src/components/ui/Breadcrumb.stories.tsx +1 -1
  11. package/dist/starter/src/components/ui/Button.stories.tsx +1 -1
  12. package/dist/starter/src/components/ui/ButtonGroup.stories.tsx +1 -1
  13. package/dist/starter/src/components/ui/Calendar.stories.tsx +1 -1
  14. package/dist/starter/src/components/ui/Card.stories.tsx +1 -1
  15. package/dist/starter/src/components/ui/Carousel.stories.tsx +1 -1
  16. package/dist/starter/src/components/ui/Chart.stories.tsx +1 -1
  17. package/dist/starter/src/components/ui/Checkbox.stories.tsx +1 -1
  18. package/dist/starter/src/components/ui/Collapsible.stories.tsx +1 -1
  19. package/dist/starter/src/components/ui/Combobox.stories.tsx +1 -1
  20. package/dist/starter/src/components/ui/Command.stories.tsx +1 -1
  21. package/dist/starter/src/components/ui/ContextMenu.stories.tsx +1 -1
  22. package/dist/starter/src/components/ui/DesignSystem-Overview.stories.tsx +738 -0
  23. package/dist/starter/src/components/ui/Dialog.stories.tsx +1 -1
  24. package/dist/starter/src/components/ui/Direction.stories.tsx +1 -1
  25. package/dist/starter/src/components/ui/Drawer.stories.tsx +1 -1
  26. package/dist/starter/src/components/ui/DropdownMenu.stories.tsx +1 -1
  27. package/dist/starter/src/components/ui/Empty.stories.tsx +1 -1
  28. package/dist/starter/src/components/ui/Field.stories.tsx +1 -1
  29. package/dist/starter/src/components/ui/Form.stories.tsx +1 -1
  30. package/dist/starter/src/components/ui/HoverCard.stories.tsx +1 -1
  31. package/dist/starter/src/components/ui/Input.stories.tsx +1 -1
  32. package/dist/starter/src/components/ui/InputGroup.stories.tsx +1 -1
  33. package/dist/starter/src/components/ui/InputOTP.stories.tsx +1 -1
  34. package/dist/starter/src/components/ui/Item.stories.tsx +1 -1
  35. package/dist/starter/src/components/ui/Kbd.stories.tsx +1 -1
  36. package/dist/starter/src/components/ui/Label.stories.tsx +1 -1
  37. package/dist/starter/src/components/ui/Menubar.stories.tsx +1 -1
  38. package/dist/starter/src/components/ui/NativeSelect.stories.tsx +1 -1
  39. package/dist/starter/src/components/ui/NavigationMenu.stories.tsx +1 -1
  40. package/dist/starter/src/components/ui/Pagination.stories.tsx +1 -1
  41. package/dist/starter/src/components/ui/Popover.stories.tsx +1 -1
  42. package/dist/starter/src/components/ui/Progress.stories.tsx +1 -1
  43. package/dist/starter/src/components/ui/RadioGroup.stories.tsx +1 -1
  44. package/dist/starter/src/components/ui/Resizable.stories.tsx +1 -1
  45. package/dist/starter/src/components/ui/ScrollArea.stories.tsx +1 -1
  46. package/dist/starter/src/components/ui/Select.stories.tsx +1 -1
  47. package/dist/starter/src/components/ui/Separator.stories.tsx +1 -1
  48. package/dist/starter/src/components/ui/Sheet.stories.tsx +1 -1
  49. package/dist/starter/src/components/ui/Sidebar.stories.tsx +1 -1
  50. package/dist/starter/src/components/ui/Skeleton.stories.tsx +1 -1
  51. package/dist/starter/src/components/ui/Slider.stories.tsx +1 -1
  52. package/dist/starter/src/components/ui/Sonner.stories.tsx +1 -1
  53. package/dist/starter/src/components/ui/Spinner.stories.tsx +1 -1
  54. package/dist/starter/src/components/ui/Switch.stories.tsx +1 -1
  55. package/dist/starter/src/components/ui/Table.stories.tsx +1 -1
  56. package/dist/starter/src/components/ui/Tabs.stories.tsx +1 -1
  57. package/dist/starter/src/components/ui/Textarea.stories.tsx +1 -1
  58. package/dist/starter/src/components/ui/Toast.stories.tsx +4 -4
  59. package/dist/starter/src/components/ui/Toggle.stories.tsx +1 -1
  60. package/dist/starter/src/components/ui/ToggleGroup.stories.tsx +1 -1
  61. package/dist/starter/src/components/ui/Tooltip.stories.tsx +1 -1
  62. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,61 @@
1
1
  # @auto-engineer/generate-react-client
2
2
 
3
+ ## 1.23.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`370b36e`](https://github.com/BeOnAuto/auto-engineer/commit/370b36e2c871966520e906559e1369e41312843f) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - Added automatic copying of Storybook settings when running the dev server start command
8
+
9
+ - [`929c38d`](https://github.com/BeOnAuto/auto-engineer/commit/929c38de2d5a78f90aa7c3441a2d00978678ffde) Thanks [@github-actions[bot]](https://github.com/github-actions%5Bbot%5D)! - - **cli**: /configure endpoint bypasses tunnel auth middleware
10
+ - **cli**: tunnel auth accepts x-service-token via ServiceTokenStore
11
+ - **cli**: add createServiceTokenStore and createConfigureMiddleware
12
+ - **global**: version packages
13
+ - **root**: update claude-auto
14
+
15
+ - [`156aee3`](https://github.com/BeOnAuto/auto-engineer/commit/156aee35fe0ab25cb895c541840646557c649a83) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - Enhanced component stories with consistent titles across the design system
16
+ - Added new design system overview documentation
17
+
18
+ - [`6de131b`](https://github.com/BeOnAuto/auto-engineer/commit/6de131b629a13314dd513eccd8238daabc401860) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - Added Storybook fast mode for quicker component development iteration
19
+ - Added new design system overview stories for better documentation and visibility of UI components
20
+
21
+ ### Patch Changes
22
+
23
+ - [`8ccfd99`](https://github.com/BeOnAuto/auto-engineer/commit/8ccfd99f84cad415bd2e0908a1e25116ab3ef166) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - Adjusted column widths and overflow handling for better responsiveness in the design system
24
+
25
+ - [`d399c35`](https://github.com/BeOnAuto/auto-engineer/commit/d399c352d2bf8fdab51d4421f6d7b2fc63716dc3) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - Updated the debug script to include the --no-tui flag for headless debugging support
26
+
27
+ - [`eacc928`](https://github.com/BeOnAuto/auto-engineer/commit/eacc92850393761587cefb982b83a3798f4f1390) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - **cli**: register /configure middleware in all modes, not just tunnel
28
+
29
+ - [`99c4e36`](https://github.com/BeOnAuto/auto-engineer/commit/99c4e3654624903024ae628b55fcce20cf1bd96f) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - Removed outdated ngrok tunnel support plan
30
+
31
+ - Updated dependencies [[`8ccfd99`](https://github.com/BeOnAuto/auto-engineer/commit/8ccfd99f84cad415bd2e0908a1e25116ab3ef166), [`370b36e`](https://github.com/BeOnAuto/auto-engineer/commit/370b36e2c871966520e906559e1369e41312843f), [`929c38d`](https://github.com/BeOnAuto/auto-engineer/commit/929c38de2d5a78f90aa7c3441a2d00978678ffde), [`156aee3`](https://github.com/BeOnAuto/auto-engineer/commit/156aee35fe0ab25cb895c541840646557c649a83), [`d399c35`](https://github.com/BeOnAuto/auto-engineer/commit/d399c352d2bf8fdab51d4421f6d7b2fc63716dc3), [`eacc928`](https://github.com/BeOnAuto/auto-engineer/commit/eacc92850393761587cefb982b83a3798f4f1390), [`6de131b`](https://github.com/BeOnAuto/auto-engineer/commit/6de131b629a13314dd513eccd8238daabc401860), [`99c4e36`](https://github.com/BeOnAuto/auto-engineer/commit/99c4e3654624903024ae628b55fcce20cf1bd96f)]:
32
+ - @auto-engineer/message-bus@1.23.0
33
+
34
+ ## 1.22.0
35
+
36
+ ### Minor Changes
37
+
38
+ - [`06e7743`](https://github.com/BeOnAuto/auto-engineer/commit/06e7743c10c929e185cc89c3acb6eff471df8cc5) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - **cli**: /configure endpoint bypasses tunnel auth middleware
39
+
40
+ - [`3c32caa`](https://github.com/BeOnAuto/auto-engineer/commit/3c32caa928eca60868e33e0df5c7c8c4f9e04f16) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - **cli**: add createServiceTokenStore and createConfigureMiddleware
41
+
42
+ - [`ead2ad3`](https://github.com/BeOnAuto/auto-engineer/commit/ead2ad3d991e860a5590cb63a24fb07d8cbdf5dd) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - **cli**: tunnel auth accepts x-service-token via ServiceTokenStore
43
+
44
+ ### Patch Changes
45
+
46
+ - [`59c4705`](https://github.com/BeOnAuto/auto-engineer/commit/59c470536b67b15ce7de6a9283d469acbd31e82d) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - Updated internal tooling dependencies
47
+
48
+ - [`cdacfde`](https://github.com/BeOnAuto/auto-engineer/commit/cdacfde287140bd844c9b3d5cb560cb11bed3e9a) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - **cli**: bearer token still works after service token configured
49
+
50
+ - [`952f791`](https://github.com/BeOnAuto/auto-engineer/commit/952f7917fb5203c5e5007a314c6f15d52de96be1) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - **cli**: second POST /configure returns 409
51
+
52
+ - [`55f4767`](https://github.com/BeOnAuto/auto-engineer/commit/55f4767dfba88349f276f1f9e060c99aac1b82dc) Thanks [@github-actions[bot]](https://github.com/github-actions%5Bbot%5D)! - - **narrative**: increase timeout for getNarratives cache tests
53
+ - **root**: fix changelog extraction for GitHub releases
54
+ - **global**: version packages
55
+ - **global**: update claude-auto
56
+ - Updated dependencies [[`06e7743`](https://github.com/BeOnAuto/auto-engineer/commit/06e7743c10c929e185cc89c3acb6eff471df8cc5), [`59c4705`](https://github.com/BeOnAuto/auto-engineer/commit/59c470536b67b15ce7de6a9283d469acbd31e82d), [`cdacfde`](https://github.com/BeOnAuto/auto-engineer/commit/cdacfde287140bd844c9b3d5cb560cb11bed3e9a), [`952f791`](https://github.com/BeOnAuto/auto-engineer/commit/952f7917fb5203c5e5007a314c6f15d52de96be1), [`3c32caa`](https://github.com/BeOnAuto/auto-engineer/commit/3c32caa928eca60868e33e0df5c7c8c4f9e04f16), [`55f4767`](https://github.com/BeOnAuto/auto-engineer/commit/55f4767dfba88349f276f1f9e060c99aac1b82dc), [`ead2ad3`](https://github.com/BeOnAuto/auto-engineer/commit/ead2ad3d991e860a5590cb63a24fb07d8cbdf5dd)]:
57
+ - @auto-engineer/message-bus@1.22.0
58
+
3
59
  ## 1.21.0
4
60
 
5
61
  ### Minor Changes
@@ -1,40 +1,50 @@
1
- import { fileURLToPath } from 'node:url';
2
- import { dirname } from 'node:path';
3
- import type { StorybookConfig } from '@storybook/react-vite';
1
+ import { fileURLToPath } from "node:url";
2
+ import { dirname } from "node:path";
3
+ import type { StorybookConfig } from "@storybook/react-vite";
4
+
5
+ const isFastMode = !!process.env.STORYBOOK_FAST;
4
6
 
5
7
  const config: StorybookConfig = {
6
- stories: ['../src/**/*.mdx', '../src/**/*.stories.@(ts|tsx)'],
7
- addons: [
8
- getAbsolutePath('@storybook/addon-docs'),
9
- {
10
- name: getAbsolutePath('@storybook/addon-mcp'),
11
- options: {
12
- toolsets: {
13
- dev: true,
14
- docs: true,
15
- },
16
- },
17
- },
18
- ],
19
- staticDirs: ['../public'],
20
- features: {
21
- experimentalComponentsManifest: true,
22
- },
23
- framework: {
24
- name: getAbsolutePath('@storybook/react-vite'),
25
- options: {},
26
- },
27
- viteFinal: (config) => {
28
- config.server = {
29
- ...config.server,
30
- allowedHosts: ['.worker.on.auto', '.worker-dev.on.auto'],
31
- };
32
- return config;
33
- },
8
+ stories: isFastMode
9
+ ? ["../src/**/*.stories.@(ts|tsx)"]
10
+ : ["../src/**/*.mdx", "../src/**/*.stories.@(ts|tsx)"],
11
+ addons: [
12
+ ...(isFastMode ? [] : [getAbsolutePath("@storybook/addon-docs")]),
13
+ {
14
+ name: getAbsolutePath("@storybook/addon-mcp"),
15
+ options: {
16
+ toolsets: {
17
+ dev: true,
18
+ docs: true,
19
+ },
20
+ },
21
+ },
22
+ ],
23
+ staticDirs: ["../public"],
24
+ features: {
25
+ experimentalComponentsManifest: true,
26
+ },
27
+ core: {
28
+ disableWhatsNewNotifications: true,
29
+ },
30
+ framework: {
31
+ name: getAbsolutePath("@storybook/react-vite"),
32
+ options: {},
33
+ },
34
+ typescript: {
35
+ reactDocgen: isFastMode ? false : "react-docgen",
36
+ },
37
+ viteFinal: (config) => {
38
+ config.server = {
39
+ ...config.server,
40
+ allowedHosts: [".worker.on.auto", ".worker-dev.on.auto"],
41
+ };
42
+ return config;
43
+ },
34
44
  };
35
45
 
36
46
  export default config;
37
47
 
38
48
  function getAbsolutePath(value: string): any {
39
- return dirname(fileURLToPath(import.meta.resolve(`${value}/package.json`)));
49
+ return dirname(fileURLToPath(import.meta.resolve(`${value}/package.json`)));
40
50
  }
@@ -28,6 +28,18 @@ const preview: Preview = {
28
28
  date: /Date$/i,
29
29
  },
30
30
  },
31
+ viewport: {
32
+ defaultViewport: 'desktop',
33
+ },
34
+ layout: 'padded',
35
+ options: {
36
+ storySort: {
37
+ order: ['Design System', 'UI Components'],
38
+ },
39
+ },
40
+ },
41
+ initialGlobals: {
42
+ showPanel: false,
31
43
  },
32
44
  loaders: [mswLoader],
33
45
  };
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/react-vite';
2
2
  import { Accordion, AccordionItem, AccordionTrigger, AccordionContent } from '@/components/ui/Accordion';
3
3
 
4
4
  const meta: Meta<typeof Accordion> = {
5
- title: 'Accordion',
5
+ title: 'UI Components/Accordion',
6
6
  component: Accordion,
7
7
  };
8
8
  export default meta;
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/react-vite';
2
2
  import { Alert, AlertTitle, AlertDescription } from '@/components/ui/Alert';
3
3
 
4
4
  const meta: Meta<typeof Alert> = {
5
- title: 'Alert',
5
+ title: 'UI Components/Alert',
6
6
  component: Alert,
7
7
  };
8
8
  export default meta;
@@ -13,7 +13,7 @@ import {
13
13
  import { Button } from '@/components/ui/Button';
14
14
 
15
15
  const meta: Meta<typeof AlertDialog> = {
16
- title: 'AlertDialog',
16
+ title: 'UI Components/AlertDialog',
17
17
  component: AlertDialog,
18
18
  };
19
19
  export default meta;
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/react-vite';
2
2
  import { AspectRatio } from '@/components/ui/AspectRatio';
3
3
 
4
4
  const meta: Meta<typeof AspectRatio> = {
5
- title: 'AspectRatio',
5
+ title: 'UI Components/AspectRatio',
6
6
  component: AspectRatio,
7
7
  };
8
8
  export default meta;
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/react-vite';
2
2
  import { Avatar, AvatarImage, AvatarFallback } from '@/components/ui/Avatar';
3
3
 
4
4
  const meta: Meta<typeof Avatar> = {
5
- title: 'Avatar',
5
+ title: 'UI Components/Avatar',
6
6
  component: Avatar,
7
7
  };
8
8
  export default meta;
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/react-vite';
2
2
  import { Badge } from '@/components/ui/Badge';
3
3
 
4
4
  const meta: Meta<typeof Badge> = {
5
- title: 'Badge',
5
+ title: 'UI Components/Badge',
6
6
  component: Badge,
7
7
  };
8
8
  export default meta;
@@ -9,7 +9,7 @@ import {
9
9
  } from '@/components/ui/Breadcrumb';
10
10
 
11
11
  const meta: Meta<typeof Breadcrumb> = {
12
- title: 'Breadcrumb',
12
+ title: 'UI Components/Breadcrumb',
13
13
  component: Breadcrumb,
14
14
  };
15
15
  export default meta;
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/react-vite';
2
2
  import { Button } from '@/components/ui/Button';
3
3
 
4
4
  const meta: Meta<typeof Button> = {
5
- title: 'Button',
5
+ title: 'UI Components/Button',
6
6
  component: Button,
7
7
  };
8
8
  export default meta;
@@ -3,7 +3,7 @@ import { ButtonGroup } from '@/components/ui/ButtonGroup';
3
3
  import { Button } from '@/components/ui/Button';
4
4
 
5
5
  const meta: Meta<typeof ButtonGroup> = {
6
- title: 'ButtonGroup',
6
+ title: 'UI Components/ButtonGroup',
7
7
  component: ButtonGroup,
8
8
  };
9
9
  export default meta;
@@ -3,7 +3,7 @@ import type { Meta, StoryObj } from '@storybook/react-vite';
3
3
  import { Calendar } from '@/components/ui/Calendar';
4
4
 
5
5
  const meta: Meta<typeof Calendar> = {
6
- title: 'Calendar',
6
+ title: 'UI Components/Calendar',
7
7
  component: Calendar,
8
8
  };
9
9
  export default meta;
@@ -3,7 +3,7 @@ import { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent }
3
3
  import { Button } from '@/components/ui/Button';
4
4
 
5
5
  const meta: Meta<typeof Card> = {
6
- title: 'Card',
6
+ title: 'UI Components/Card',
7
7
  component: Card,
8
8
  };
9
9
  export default meta;
@@ -3,7 +3,7 @@ import { Carousel, CarouselContent, CarouselItem, CarouselPrevious, CarouselNext
3
3
  import { Card, CardContent } from '@/components/ui/Card';
4
4
 
5
5
  const meta: Meta<typeof Carousel> = {
6
- title: 'Carousel',
6
+ title: 'UI Components/Carousel',
7
7
  component: Carousel,
8
8
  };
9
9
  export default meta;
@@ -3,7 +3,7 @@ import { Bar, BarChart, XAxis, YAxis } from 'recharts';
3
3
  import { type ChartConfig, ChartContainer, ChartTooltip, ChartTooltipContent } from '@/components/ui/Chart';
4
4
 
5
5
  const meta: Meta<typeof ChartContainer> = {
6
- title: 'Chart',
6
+ title: 'UI Components/Chart',
7
7
  component: ChartContainer,
8
8
  };
9
9
  export default meta;
@@ -3,7 +3,7 @@ import { Checkbox } from '@/components/ui/Checkbox';
3
3
  import { Label } from '@/components/ui/Label';
4
4
 
5
5
  const meta: Meta<typeof Checkbox> = {
6
- title: 'Checkbox',
6
+ title: 'UI Components/Checkbox',
7
7
  component: Checkbox,
8
8
  };
9
9
  export default meta;
@@ -4,7 +4,7 @@ import { Collapsible, CollapsibleTrigger, CollapsibleContent } from '@/component
4
4
  import { Button } from '@/components/ui/Button';
5
5
 
6
6
  const meta: Meta<typeof Collapsible> = {
7
- title: 'Collapsible',
7
+ title: 'UI Components/Collapsible',
8
8
  component: Collapsible,
9
9
  };
10
10
  export default meta;
@@ -58,7 +58,7 @@ function ClearableCombobox() {
58
58
  }
59
59
 
60
60
  const meta: Meta = {
61
- title: 'Combobox',
61
+ title: 'UI Components/Combobox',
62
62
  component: ComboboxInput,
63
63
  };
64
64
  export default meta;
@@ -12,7 +12,7 @@ import {
12
12
  import { CalendarIcon, MailIcon, SettingsIcon, UserIcon, CreditCardIcon } from 'lucide-react';
13
13
 
14
14
  const meta: Meta<typeof Command> = {
15
- title: 'Command',
15
+ title: 'UI Components/Command',
16
16
  component: Command,
17
17
  };
18
18
  export default meta;
@@ -12,7 +12,7 @@ import {
12
12
  } from '@/components/ui/ContextMenu';
13
13
 
14
14
  const meta: Meta<typeof ContextMenu> = {
15
- title: 'ContextMenu',
15
+ title: 'UI Components/ContextMenu',
16
16
  component: ContextMenu,
17
17
  };
18
18
  export default meta;