neo-cmp-cli 1.7.13 → 1.7.15
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/package.json
CHANGED
|
@@ -45,7 +45,7 @@ module.exports = (defaultComponentsDir = './src/components', cmpType) => {
|
|
|
45
45
|
// 当前自定义组件目录
|
|
46
46
|
const widgetPath = path.join(componentsBaseDir, dir);
|
|
47
47
|
// 获取文件状态
|
|
48
|
-
const stat = fs.statSync(
|
|
48
|
+
const stat = fs.statSync(widgetPath);
|
|
49
49
|
// 如果文件是目录,则递归处理子目录
|
|
50
50
|
if (stat.isDirectory() && !dir.startsWith('.') && dir !== 'node_modules') {
|
|
51
51
|
// 当前自定义组件名称
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const { execSync } = require('child_process');
|
|
2
2
|
|
|
3
3
|
// 所有需要废弃的版本(1.6.2 之前的所有版本)
|
|
4
|
-
const versionsToDeprecate = ["1.7.10", "1.7.11"];
|
|
4
|
+
const versionsToDeprecate = ["1.7.10", "1.7.11", "1.7.12", "1.7.13"];
|
|
5
5
|
|
|
6
6
|
const packageName = 'neo-cmp-cli';
|
|
7
7
|
const deprecateMessage = '此版本为开发中版本(存在 bug),请升级到最新版本。';
|