Skip to content

Commit 9925d31

Browse files
authored
chore: remove the unused sync-icons command and related files to simplify the project structure (#3426)
* chore: 移除不再使用的sync-icons命令和相关文件,简化项目结构 * chore(modules): 移除未使用的Test模板,优化模块配置
1 parent 4397f2f commit 9925d31

File tree

4 files changed

+14
-124
lines changed

4 files changed

+14
-124
lines changed

internals/cli/package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,17 @@
1212
"build": "tsup",
1313
"// -------注意带 # 开头的脚本命令不要直接执行------- ": "",
1414
"build:entry": "esno src/index.ts build:entry",
15-
"#build:entry1": "node dist/index.js build:entry",
1615
"build:entry-app": "esno src/commands/build/build-entry-app.ts",
1716
"// ---------------------build 构建--------------------- ": "",
1817
"build:ui": "esno src/index.ts build:ui",
19-
"build:ui1": "pnpm build && node dist/index.js build:ui",
20-
"// #build:runtime-vue 构建适用于 Vue2/Vue3 的组件 Runtime (按需加载)": "",
18+
"// 构建适用于 Vue2/Vue3 的组件 Runtime (按需加载)": "",
2119
"build:runtime": "pnpm build:entry-app && esno src/index.ts build:runtime",
2220
"// ---------------------全局适配@aurora包名--------------------- ": "",
2321
"release:aurora": "esno src/index.ts release:aurora",
2422
"release:alpha": "esno src/index.ts release:alpha",
2523
"release:e2eConfig": "esno src/index.ts release:e2eConfig",
2624
"// ----------------------辅助脚本---------------------- ": "",
2725
"create:ui": "esno src/commands/create/create-ui.ts",
28-
"sync-icons": "esno src/commands/create/sync-icons.ts",
2926
"create:icon-saas": "esno src/index.ts create:icon-saas",
3027
"clean:build": "esno src/commands/clean.ts",
3128
"create:mapping": "esno src/commands/create/create-mapping.ts",

internals/cli/src/commands/sync/sync-icons.ts

Lines changed: 0 additions & 106 deletions
This file was deleted.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
"create:icon-saas": "pnpm -C internals/cli create:icon-saas",
5151
"// ---------- 创建组件和模板打包入口 ----------": "",
5252
"create:mapping": "pnpm -C internals/cli create:mapping",
53-
"sync-icons": "pnpm -C internals/cli sync-icons",
5453
"build:entry-app": "pnpm -C internals/cli build:entry-app",
5554
"// ---------- 打包运行时组件库 ----------": "",
5655
"build:runtime": "pnpm create:icon-saas && pnpm -C internals/cli build:runtime",

packages/modules.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1689,6 +1689,19 @@
16891689
"pc"
16901690
]
16911691
},
1692+
"NumberAnimation": {
1693+
"path": "vue/src/number-animation/index.ts",
1694+
"type": "component",
1695+
"exclude": false,
1696+
"mode": [
1697+
"pc"
1698+
]
1699+
},
1700+
"NumberAnimationPc": {
1701+
"path": "vue/src/number-animation/src/pc.vue",
1702+
"type": "template",
1703+
"exclude": false
1704+
},
16921705
"Numeric": {
16931706
"path": "vue/src/numeric/index.ts",
16941707
"type": "component",
@@ -1708,19 +1721,6 @@
17081721
"type": "template",
17091722
"exclude": false
17101723
},
1711-
"NumberAnimation": {
1712-
"path": "vue/src/number-animation/index.ts",
1713-
"type": "component",
1714-
"exclude": false,
1715-
"mode": [
1716-
"pc"
1717-
]
1718-
},
1719-
"NumberAnimationPc": {
1720-
"path": "vue/src/number-animation/src/pc.vue",
1721-
"type": "template",
1722-
"exclude": false
1723-
},
17241724
"Option": {
17251725
"path": "vue/src/option/index.ts",
17261726
"type": "component",

0 commit comments

Comments
 (0)