@tpitre/story-ui 2.1.3 → 2.1.4

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/dist/cli/setup.js CHANGED
@@ -337,9 +337,9 @@ export async function setupCommand() {
337
337
  message: 'Which design system are you using?',
338
338
  choices: [
339
339
  { name: '🤖 Auto-detect from package.json', value: 'auto' },
340
- { name: '🐜 Ant Design (antd) - Install & Configure', value: 'antd' },
341
- { name: '🎯 Mantine (@mantine/core) - Install & Configure', value: 'mantine' },
342
- { name: '⚡ Chakra UI (@chakra-ui/react) - Install & Configure', value: 'chakra' },
340
+ { name: '🐜 Ant Design (antd) - Automatic Install & Configure', value: 'antd' },
341
+ { name: '🎯 Mantine (@mantine/core) - Automatic Install & Configure', value: 'mantine' },
342
+ { name: '⚡ Chakra UI (@chakra-ui/react) - Automatic Install & Configure', value: 'chakra' },
343
343
  { name: '🔧 Custom/Other', value: 'custom' }
344
344
  ],
345
345
  default: autoDetected ? 'auto' : 'custom'
@@ -351,7 +351,8 @@ export async function setupCommand() {
351
351
  const systemName = answers.designSystem === 'antd' ? 'Ant Design' :
352
352
  answers.designSystem === 'mantine' ? 'Mantine' :
353
353
  answers.designSystem === 'chakra' ? 'Chakra UI' : 'the design system';
354
- return `🚨 IMPORTANT: Would you like to install ${systemName} packages now?\n (Required for Storybook to work properly)`;
354
+ const config = DESIGN_SYSTEM_CONFIGS[answers.designSystem];
355
+ return `🚨 IMPORTANT: Would you like to install ${systemName} packages now?\n Required packages: ${config.packages.join(', ')}\n (Without these packages, Story UI and Storybook will not work properly)`;
355
356
  },
356
357
  when: (answers) => ['antd', 'mantine', 'chakra'].includes(answers.designSystem),
357
358
  default: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tpitre/story-ui",
3
- "version": "2.1.3",
3
+ "version": "2.1.4",
4
4
  "description": "AI-powered Storybook story generator with dynamic component discovery",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",