@lmy54321/design-system 1.3.17 → 1.3.18

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/index.js CHANGED
@@ -3761,7 +3761,7 @@ function GridSystemDocs() {
3761
3761
  }
3762
3762
 
3763
3763
  // index.ts
3764
- var VERSION = "1.3.17";
3764
+ var VERSION = "1.3.18";
3765
3765
 
3766
3766
  exports.ActionSheet = ActionSheet;
3767
3767
  exports.BottomActionButtons = BottomActionButtons;
package/dist/index.mjs CHANGED
@@ -3740,7 +3740,7 @@ function GridSystemDocs() {
3740
3740
  }
3741
3741
 
3742
3742
  // index.ts
3743
- var VERSION = "1.3.17";
3743
+ var VERSION = "1.3.18";
3744
3744
 
3745
3745
  export { ActionSheet, BottomActionButtons, BottomNavigationBar, BottomSheet, BottomSheetOption, BottomSheetShareItem, BottomToolbar, Btn, BubbleTip, CardDemo, DRAWER_STATES, Dialog, DraggablePanel, EmptyState, GridSystemDocs, ICON_GROUPS, ICON_NAMES, IcExpand, IcPlan, IconFont, IconGallery, ImageWithFallback, Loading, NewsItem, NotificationBar, POIListItem, PoiItem, Push, SearchBox, SegmentedControl, StatGrid, Switch, Tag, TencentMap, Toast, TopToolbar, TypographyDocs, VERSION, cn, hasFilledVariant };
3746
3746
  //# sourceMappingURL=index.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lmy54321/design-system",
3
- "version": "1.3.17",
3
+ "version": "1.3.18",
4
4
  "description": "A comprehensive React component library and design system based on Tailwind CSS and Motion.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
package/scripts/init.mjs CHANGED
@@ -178,36 +178,24 @@ try {
178
178
  }
179
179
 
180
180
  // ============================================================
181
- // 步骤 5: 启动开发服务器
181
+ // 步骤 5: 完成总结
182
182
  // ============================================================
183
183
 
184
- console.log('🎉 步骤 5/5: 启动开发服务器...\n');
184
+ console.log('🎉 步骤 5/5: 完成\n');
185
185
  console.log('━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━');
186
186
  console.log('✨ 项目初始化完成!');
187
187
  console.log('━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n');
188
- console.log('🚀 启动开发服务器中...\n');
189
188
 
190
- try {
191
- // 使用 spawn 而非 execSync,避免阻塞,同时保持实时输出
192
- const devServer = spawn('npm', ['run', 'dev'], {
193
- cwd,
194
- stdio: 'inherit',
195
- shell: true
196
- });
189
+ console.log('📁 项目目录: ' + cwd);
190
+ console.log('✅ 已创建 Vite + React + TypeScript 项目');
191
+ console.log(' 已安装所有依赖(包括 @lmy54321/design-system)');
192
+ console.log('✅ 已复制设计系统模板文件');
193
+ console.log('✅ 已同步规则文件到 .codebuddy/rules\n');
197
194
 
198
- // 监听进程事件
199
- devServer.on('error', (error) => {
200
- console.error('❌ 启动开发服务器失败:', error.message);
201
- process.exit(1);
202
- });
203
-
204
- devServer.on('exit', (code) => {
205
- if (code !== 0) {
206
- console.error(`❌ 开发服务器异常退出 (code ${code})`);
207
- process.exit(code);
208
- }
209
- });
210
- } catch (error) {
211
- console.error('❌ 启动开发服务器失败:', error.message);
212
- process.exit(1);
213
- }
195
+ console.log('接下来:');
196
+ console.log('━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━');
197
+ console.log('1️⃣ 运行开发服务器:');
198
+ console.log(' npm run dev\n');
199
+ console.log('2️⃣ 打开浏览器访问 http://localhost:5173\n');
200
+ console.log('3️⃣ 开始开发!\n');
201
+ console.log('💡 所有组件已从 @lmy54321/design-system 导入\\n');