@lmy54321/design-system 1.3.20 → 1.3.21

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.20";
3764
+ var VERSION = "1.3.21";
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.20";
3743
+ var VERSION = "1.3.21";
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,12 +1,12 @@
1
1
  {
2
2
  "name": "@lmy54321/design-system",
3
- "version": "1.3.20",
3
+ "version": "1.3.21",
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",
7
7
  "types": "dist/index.d.ts",
8
8
  "bin": {
9
- "design-system-init": "scripts/init.mjs"
9
+ "design-system": "scripts/init.mjs"
10
10
  },
11
11
  "exports": {
12
12
  ".": {
package/scripts/init.mjs CHANGED
@@ -10,15 +10,7 @@ const __dirname = dirname(__filename);
10
10
 
11
11
  // 获取脚本所在目录(npm 包目录)
12
12
  const packageDir = resolve(__dirname, '..');
13
-
14
- // 支持传入文件夹名作为第一个参数
15
- const projectName = process.argv[2];
16
- let cwd = process.cwd();
17
-
18
- if (projectName) {
19
- cwd = resolve(cwd, projectName);
20
- mkdirSync(cwd, { recursive: true });
21
- }
13
+ const cwd = process.cwd();
22
14
 
23
15
  // 全局执行选项:使用 pipe 而非 inherit,便于 AI 自动化处理
24
16
  const execOptions = {
@@ -28,9 +20,9 @@ const execOptions = {
28
20
  maxBuffer: 10 * 1024 * 1024 // 增加缓冲区到 10MB,防止超时
29
21
  };
30
22
 
31
- console.log('\n🚀 @lmy54321/design-system 项目初始化\n');
23
+ console.log('\n🚀 @lmy54321/design-system 项目初始化(完全自动化,无需交互)\n');
32
24
  console.log(`📂 初始化位置: ${cwd}`);
33
- console.log('⏳ 这个过程会自动完成:创建项目、安装依赖、复制模板\n');
25
+ console.log('⏳ 这个过程会自动完成,包括:创建项目、安装依赖、启动开发服务器\n');
34
26
 
35
27
 
36
28
  // ============================================================