@ysjdemo/umi-create-cli 0.0.4 → 0.0.5
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/lib/templates/index.js +4 -4
- package/package.json +1 -1
package/lib/templates/index.js
CHANGED
|
@@ -85,10 +85,10 @@ async function generateTemplate(projectName, templateType, targetDir, useLatestV
|
|
|
85
85
|
// 获取最新版本信息
|
|
86
86
|
console.log('📦 正在获取依赖包最新版本...');
|
|
87
87
|
packageVersions = await getCommonPackageVersions();
|
|
88
|
-
customPackageVersions = await getCustomPackageVersions({
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
});
|
|
88
|
+
// customPackageVersions = await getCustomPackageVersions({
|
|
89
|
+
// '@cfmm/umi-plugins-ui': '^0.0.72',
|
|
90
|
+
// '@cfmm/umi-plugins-utils': '^0.0.22'
|
|
91
|
+
// });
|
|
92
92
|
} else {
|
|
93
93
|
console.log('📦 使用默认版本,从version.js获取默认版本映射...')
|
|
94
94
|
const { getDefaultVersions } = require('../utils/version');
|