@lmy54321/design-system 1.3.22 → 1.3.23
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 +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/scripts/init.mjs +18 -6
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -3740,7 +3740,7 @@ function GridSystemDocs() {
|
|
|
3740
3740
|
}
|
|
3741
3741
|
|
|
3742
3742
|
// index.ts
|
|
3743
|
-
var VERSION = "1.3.
|
|
3743
|
+
var VERSION = "1.3.23";
|
|
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
package/scripts/init.mjs
CHANGED
|
@@ -135,7 +135,12 @@ try {
|
|
|
135
135
|
for (const file of filesToRemove) {
|
|
136
136
|
const filePath = resolve(cwd, file);
|
|
137
137
|
if (existsSync(filePath)) {
|
|
138
|
-
|
|
138
|
+
try {
|
|
139
|
+
rmSync(filePath, { recursive: true, force: true });
|
|
140
|
+
} catch (e) {
|
|
141
|
+
// 忽略删除失败,继续执行
|
|
142
|
+
console.warn(`⚠️ 无法删除 ${file},继续...`);
|
|
143
|
+
}
|
|
139
144
|
}
|
|
140
145
|
}
|
|
141
146
|
|
|
@@ -194,8 +199,15 @@ console.log('✅ 已同步规则文件到 .codebuddy/rules\n');
|
|
|
194
199
|
|
|
195
200
|
console.log('接下来:');
|
|
196
201
|
console.log('━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━');
|
|
197
|
-
console.log('
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
+
console.log('启动开发服务器中...\n');
|
|
203
|
+
|
|
204
|
+
// 启动开发服务器
|
|
205
|
+
const dev = spawn('npm', ['run', 'dev'], {
|
|
206
|
+
cwd,
|
|
207
|
+
stdio: 'inherit' // 将输出直接显示给用户
|
|
208
|
+
});
|
|
209
|
+
|
|
210
|
+
dev.on('error', (error) => {
|
|
211
|
+
console.error('❌ 启动开发服务器失败:', error.message);
|
|
212
|
+
process.exit(1);
|
|
213
|
+
});
|