rigjs 3.0.13 → 3.0.14

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.
@@ -65,11 +65,12 @@ export default async (cmd:any) => {
65
65
  //不是开发中状态,不处理,不去删除已下载的模块
66
66
  //预安装时在node_modules中要先清除json5里的库
67
67
  if (fs.existsSync(`node_modules/${dep.name}`)) {
68
+ if (fs.lstatSync(`node_modules/${dep.name}`).isSymbolicLink()){
69
+ fs.unlinkSync(`node_modules/${dep.name}`);
70
+ }
68
71
  shell.rm('-rf', `node_modules/${dep.name}`);
69
72
  }
70
- if (fs.lstatSync(`node_modules/${dep.name}`).isSymbolicLink()){
71
- fs.unlinkSync(`node_modules/${dep.name}`);
72
- }
73
+
73
74
  }
74
75
  }
75
76
  //强制删除.yarn-integrity,重装依赖
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rigjs",
3
- "version": "3.0.13",
3
+ "version": "3.0.14",
4
4
  "description": "A multi-repos dev tool based on yarn and git.Rigjs is intended to be the simplest way to develop,share and deliver codes between different developers or different projects.",
5
5
  "keywords": [
6
6
  "modular",