@auto-engineer/generate-react-client 1.22.0 → 1.24.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 +48 -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,53 @@
1
1
  # @auto-engineer/generate-react-client
2
2
 
3
+ ## 1.24.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`1d93846`](https://github.com/BeOnAuto/auto-engineer/commit/1d93846608832d9f9b98cb845028eeef9cc6795d) Thanks [@github-actions[bot]](https://github.com/github-actions%5Bbot%5D)! - - **global**: enhance component stories with consistent titles and add design system overview
8
+ - **typical**: storybook fast mode and add new design system overview stories
9
+ - **dev-server**: copy storybook settings in start command
10
+ - **typical**: update auto:debug script to include --no-tui flag
11
+ - **typical**: adjust column widths and overflow comments for better responsiveness
12
+
13
+ ### Patch Changes
14
+
15
+ - [`83a9a23`](https://github.com/BeOnAuto/auto-engineer/commit/83a9a234fa1fb4d6f89e93065470427212209a7e) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - **cli**: improve 409 /configure error message to suggest restart
16
+
17
+ - Updated dependencies [[`83a9a23`](https://github.com/BeOnAuto/auto-engineer/commit/83a9a234fa1fb4d6f89e93065470427212209a7e), [`1d93846`](https://github.com/BeOnAuto/auto-engineer/commit/1d93846608832d9f9b98cb845028eeef9cc6795d)]:
18
+ - @auto-engineer/message-bus@1.24.0
19
+
20
+ ## 1.23.0
21
+
22
+ ### Minor Changes
23
+
24
+ - [`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
25
+
26
+ - [`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
27
+ - **cli**: tunnel auth accepts x-service-token via ServiceTokenStore
28
+ - **cli**: add createServiceTokenStore and createConfigureMiddleware
29
+ - **global**: version packages
30
+ - **root**: update claude-auto
31
+
32
+ - [`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
33
+ - Added new design system overview documentation
34
+
35
+ - [`6de131b`](https://github.com/BeOnAuto/auto-engineer/commit/6de131b629a13314dd513eccd8238daabc401860) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - Added Storybook fast mode for quicker component development iteration
36
+ - Added new design system overview stories for better documentation and visibility of UI components
37
+
38
+ ### Patch Changes
39
+
40
+ - [`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
41
+
42
+ - [`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
43
+
44
+ - [`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
45
+
46
+ - [`99c4e36`](https://github.com/BeOnAuto/auto-engineer/commit/99c4e3654624903024ae628b55fcce20cf1bd96f) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - Removed outdated ngrok tunnel support plan
47
+
48
+ - 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)]:
49
+ - @auto-engineer/message-bus@1.23.0
50
+
3
51
  ## 1.22.0
4
52
 
5
53
  ### 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;