@auto-engineer/generate-react-client 1.22.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.
- package/CHANGELOG.md +31 -0
- package/dist/starter/.storybook/main.ts +42 -32
- package/dist/starter/.storybook/preview.tsx +12 -0
- package/dist/starter/src/components/ui/Accordion.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Alert.stories.tsx +1 -1
- package/dist/starter/src/components/ui/AlertDialog.stories.tsx +1 -1
- package/dist/starter/src/components/ui/AspectRatio.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Avatar.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Badge.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Breadcrumb.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Button.stories.tsx +1 -1
- package/dist/starter/src/components/ui/ButtonGroup.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Calendar.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Card.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Carousel.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Chart.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Checkbox.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Collapsible.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Combobox.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Command.stories.tsx +1 -1
- package/dist/starter/src/components/ui/ContextMenu.stories.tsx +1 -1
- package/dist/starter/src/components/ui/DesignSystem-Overview.stories.tsx +738 -0
- package/dist/starter/src/components/ui/Dialog.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Direction.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Drawer.stories.tsx +1 -1
- package/dist/starter/src/components/ui/DropdownMenu.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Empty.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Field.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Form.stories.tsx +1 -1
- package/dist/starter/src/components/ui/HoverCard.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Input.stories.tsx +1 -1
- package/dist/starter/src/components/ui/InputGroup.stories.tsx +1 -1
- package/dist/starter/src/components/ui/InputOTP.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Item.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Kbd.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Label.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Menubar.stories.tsx +1 -1
- package/dist/starter/src/components/ui/NativeSelect.stories.tsx +1 -1
- package/dist/starter/src/components/ui/NavigationMenu.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Pagination.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Popover.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Progress.stories.tsx +1 -1
- package/dist/starter/src/components/ui/RadioGroup.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Resizable.stories.tsx +1 -1
- package/dist/starter/src/components/ui/ScrollArea.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Select.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Separator.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Sheet.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Sidebar.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Skeleton.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Slider.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Sonner.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Spinner.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Switch.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Table.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Tabs.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Textarea.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Toast.stories.tsx +4 -4
- package/dist/starter/src/components/ui/Toggle.stories.tsx +1 -1
- package/dist/starter/src/components/ui/ToggleGroup.stories.tsx +1 -1
- package/dist/starter/src/components/ui/Tooltip.stories.tsx +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
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
|
+
|
|
3
34
|
## 1.22.0
|
|
4
35
|
|
|
5
36
|
### Minor Changes
|
|
@@ -1,40 +1,50 @@
|
|
|
1
|
-
import { fileURLToPath } from
|
|
2
|
-
import { dirname } from
|
|
3
|
-
import type { StorybookConfig } from
|
|
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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
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
|
-
|
|
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;
|
|
@@ -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;
|
|
@@ -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 { 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;
|
|
@@ -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;
|