create-auto-app 1.32.0 → 1.33.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 +2 -2
- package/templates/typical/client/.gitignore +0 -1
- package/templates/typical/client/.storybook/main.ts +4 -1
- package/templates/typical/client/.storybook/manager.ts +4 -5
- package/templates/typical/client/.storybook/preview.tsx +1 -1
- package/templates/typical/client/src/components/ui/DesignSystem-Colors.stories.tsx +1 -0
- package/templates/typical/client/src/components/ui/DesignSystem-Layout.stories.tsx +1 -0
- package/templates/typical/client/src/components/ui/DesignSystem-Overview.stories.tsx +1 -0
- package/templates/typical/client/src/components/ui/DesignSystem-Typography.stories.tsx +1 -0
- package/templates/typical/client/tsconfig.json +6 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-auto-app",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.33.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.
|
|
36
|
+
"@auto-engineer/id": "1.33.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@types/fs-extra": "^11.0.4",
|
|
@@ -40,7 +40,10 @@ const config: StorybookConfig = {
|
|
|
40
40
|
options: {},
|
|
41
41
|
},
|
|
42
42
|
typescript: {
|
|
43
|
-
reactDocgen: isFastMode ? false : "react-docgen",
|
|
43
|
+
reactDocgen: isFastMode ? false : "react-docgen-typescript",
|
|
44
|
+
reactDocgenTypescriptOptions: {
|
|
45
|
+
tsconfigPath: join(__dirname, "../tsconfig.app.json"),
|
|
46
|
+
},
|
|
44
47
|
},
|
|
45
48
|
viteFinal: (config) => {
|
|
46
49
|
config.server = {
|
|
@@ -113,13 +113,12 @@ const darkTheme = create({
|
|
|
113
113
|
|
|
114
114
|
const customTheme = initialIsDark ? darkTheme : lightTheme;
|
|
115
115
|
|
|
116
|
-
// Hide the addon panel globally (Storybook 8+/10 API)
|
|
117
116
|
addons.setConfig({
|
|
118
|
-
bottomPanelHeight: 0,
|
|
119
|
-
layoutCustomisations: {
|
|
120
|
-
showPanel: () => false,
|
|
121
|
-
},
|
|
122
117
|
theme: customTheme,
|
|
118
|
+
sidebar: {
|
|
119
|
+
collapsedRoots: ['ui-components'],
|
|
120
|
+
},
|
|
121
|
+
showPanel: false,
|
|
123
122
|
});
|
|
124
123
|
|
|
125
124
|
// Set default story to Design System Overview if no path specified
|
|
@@ -98,7 +98,7 @@ const preview: Preview = {
|
|
|
98
98
|
options: {
|
|
99
99
|
showPanel: false,
|
|
100
100
|
storySort: {
|
|
101
|
-
order: ['
|
|
101
|
+
order: ['Design System', ['Overview', '*'], 'UI Components'],
|
|
102
102
|
},
|
|
103
103
|
},
|
|
104
104
|
darkMode: {
|