Skip to content

chore: remove the unused sync-icons command and related files to simplify the project structure #3426

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 15, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions internals/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,17 @@
"build": "tsup",
"// -------注意带 # 开头的脚本命令不要直接执行------- ": "",
"build:entry": "esno src/index.ts build:entry",
"#build:entry1": "node dist/index.js build:entry",
"build:entry-app": "esno src/commands/build/build-entry-app.ts",
"// ---------------------build 构建--------------------- ": "",
"build:ui": "esno src/index.ts build:ui",
"build:ui1": "pnpm build && node dist/index.js build:ui",
"// #build:runtime-vue 构建适用于 Vue2/Vue3 的组件 Runtime (按需加载)": "",
"// 构建适用于 Vue2/Vue3 的组件 Runtime (按需加载)": "",
"build:runtime": "pnpm build:entry-app && esno src/index.ts build:runtime",
"// ---------------------全局适配@aurora包名--------------------- ": "",
"release:aurora": "esno src/index.ts release:aurora",
"release:alpha": "esno src/index.ts release:alpha",
"release:e2eConfig": "esno src/index.ts release:e2eConfig",
"// ----------------------辅助脚本---------------------- ": "",
"create:ui": "esno src/commands/create/create-ui.ts",
"sync-icons": "esno src/commands/create/sync-icons.ts",
"create:icon-saas": "esno src/index.ts create:icon-saas",
"clean:build": "esno src/commands/clean.ts",
"create:mapping": "esno src/commands/create/create-mapping.ts",
Expand Down
106 changes: 0 additions & 106 deletions internals/cli/src/commands/sync/sync-icons.ts

This file was deleted.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
"create:icon-saas": "pnpm -C internals/cli create:icon-saas",
"// ---------- 创建组件和模板打包入口 ----------": "",
"create:mapping": "pnpm -C internals/cli create:mapping",
"sync-icons": "pnpm -C internals/cli sync-icons",
"build:entry-app": "pnpm -C internals/cli build:entry-app",
"// ---------- 打包运行时组件库 ----------": "",
"build:runtime": "pnpm create:icon-saas && pnpm -C internals/cli build:runtime",
Expand Down
32 changes: 19 additions & 13 deletions packages/modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -1689,6 +1689,19 @@
"pc"
]
},
"NumberAnimation": {
"path": "vue/src/number-animation/index.ts",
"type": "component",
"exclude": false,
"mode": [
"pc"
]
},
"NumberAnimationPc": {
"path": "vue/src/number-animation/src/pc.vue",
"type": "template",
"exclude": false
},
"Numeric": {
"path": "vue/src/numeric/index.ts",
"type": "component",
Expand All @@ -1708,19 +1721,6 @@
"type": "template",
"exclude": false
},
"NumberAnimation": {
"path": "vue/src/number-animation/index.ts",
"type": "component",
"exclude": false,
"mode": [
"pc"
]
},
"NumberAnimationPc": {
"path": "vue/src/number-animation/src/pc.vue",
"type": "template",
"exclude": false
},
"Option": {
"path": "vue/src/option/index.ts",
"type": "component",
Expand Down Expand Up @@ -2534,6 +2534,12 @@
"type": "template",
"exclude": false
},
"Test": {
"path": "vue/src/Test/src/undefined.vue",
"type": "template",
"exclude": false,
"mode": "all"
},
"TextPopup": {
"path": "vue/src/text-popup/index.ts",
"type": "component",
Expand Down
Loading