1
0
mirror of synced 2026-03-23 11:18:36 +08:00

feat(cli): 支持配置是否自动安装组件npm包,支持配置安装组件npm包后是否保持package.json不变

This commit is contained in:
roymondchen
2023-02-14 17:16:15 +08:00
parent 8369b2c22c
commit d06a874c3b
5 changed files with 59 additions and 34 deletions

View File

@@ -10,4 +10,9 @@ cli({
temp: '.tmagic',
useTs: true,
dynamicImport: false,
npmConfig: {
client: 'npm',
autoInstall: true,
keepPackageJsonClean: true,
},
});