rigjs 3.0.17 → 3.0.19
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/built/index.js +3 -3
- package/lib/classes/RigConfig.ts +3 -1
- package/lib/info/index.ts +4 -1
- package/package.json +1 -1
package/lib/classes/RigConfig.ts
CHANGED
|
@@ -84,7 +84,9 @@ class RigConfig {
|
|
|
84
84
|
} else {
|
|
85
85
|
let cmd = `git fetch ${rigDep.source} refs/tags/${rigDep.version} && git show FETCH_HEAD:package.json`;
|
|
86
86
|
if (os.platform() === 'win32') {
|
|
87
|
-
|
|
87
|
+
print.info(`skip on windows`);
|
|
88
|
+
return;
|
|
89
|
+
// cmd = `echo (git fetch ${rigDep.source} refs/tags/${rigDep.version}) -and (git show FETCH_HEAD:package.json)`;
|
|
88
90
|
}
|
|
89
91
|
print.info(`validateDeps:${cmd}`);
|
|
90
92
|
let showPackageProcess = shell.exec(cmd,
|
package/lib/info/index.ts
CHANGED
|
@@ -16,7 +16,10 @@ const info = () => {
|
|
|
16
16
|
const depKeyArr = Object.keys(rigJson5.dependencies);
|
|
17
17
|
for (let depKey of depKeyArr) {
|
|
18
18
|
const dep = rigJson5.dependencies[depKey];
|
|
19
|
-
|
|
19
|
+
if (process.platform === 'win32'){
|
|
20
|
+
print.info(`skip info on windows`);
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
20
23
|
let describeProcess = process.platform === 'win32'?shell.exec(`git ls-remote --tags --refs --sort="version:refname" ${dep.source} | awk -F/ "END{print$NF}"`,
|
|
21
24
|
{silent: true}
|
|
22
25
|
): shell.exec(`git ls-remote --tags --refs --sort="version:refname" ${dep.source} | awk -F/ 'END{print$NF}'`,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rigjs",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.19",
|
|
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",
|