zarro 1.175.5 → 1.175.6
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/gulp-tasks/generate-local-task.js +8 -8
- package/gulp-tasks/modules/register-environment-variables.js +1 -1
- package/gulp-tasks/modules/resolve-nuget.js +1 -1
- package/gulp-tasks/modules/shim-nuget.js +2 -2
- package/gulp-tasks/update-self.js +4 -4
- package/gulp-tasks/verify-up-to-date.js +3 -3
- package/package.json +1 -1
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
await writeTextFile(target, template.replace("%TASK_NAME%", taskName));
|
|
10
10
|
log.info(`generated new task file at: ${target}`);
|
|
11
11
|
});
|
|
12
|
-
const template = `
|
|
13
|
-
/// <reference path="../node_modules/zarro/types.d.ts" />
|
|
14
|
-
const
|
|
15
|
-
gulp = requireModule<Gulp>("gulp");
|
|
16
|
-
|
|
17
|
-
gulp.task(\`%TASK_NAME%\`, async () => {
|
|
18
|
-
|
|
19
|
-
});
|
|
12
|
+
const template = `
|
|
13
|
+
/// <reference path="../node_modules/zarro/types.d.ts" />
|
|
14
|
+
const
|
|
15
|
+
gulp = requireModule<Gulp>("gulp");
|
|
16
|
+
|
|
17
|
+
gulp.task(\`%TASK_NAME%\`, async () => {
|
|
18
|
+
|
|
19
|
+
});
|
|
20
20
|
`.trim();
|
|
21
21
|
})();
|
|
@@ -483,7 +483,7 @@
|
|
|
483
483
|
env.register({
|
|
484
484
|
name: "UPGRADE_PACKAGES_NO_RESTORE",
|
|
485
485
|
help: "Flag: when set truthy (default), don't actively restore packages (next build will do so) - makes the process faster",
|
|
486
|
-
default: "
|
|
486
|
+
default: "true"
|
|
487
487
|
});
|
|
488
488
|
env.register({
|
|
489
489
|
name: "PACK_INCLUDE_CSPROJ",
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
throw new ZarroError("MONO is required to run nuget restore on this platform");
|
|
100
100
|
}
|
|
101
101
|
const baseFolder = findNpmBase();
|
|
102
|
-
const script = `#!/bin/sh
|
|
102
|
+
const script = `#!/bin/sh
|
|
103
103
|
mono ${path.resolve(nugetPath)} $@`;
|
|
104
104
|
const scriptPath = path.join(baseFolder, "node_modules", ".bin", "mono-nuget");
|
|
105
105
|
writeFileSync(scriptPath, script, { encoding: "utf-8" });
|
|
@@ -55,10 +55,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
55
55
|
this.emit("end");
|
|
56
56
|
}
|
|
57
57
|
catch (err) {
|
|
58
|
-
console.error(chalk.redBright(`
|
|
59
|
-
==================================================
|
|
60
|
-
| WARNING: Unable to update zarro, error(s) follow |
|
|
61
|
-
==================================================
|
|
58
|
+
console.error(chalk.redBright(`
|
|
59
|
+
==================================================
|
|
60
|
+
| WARNING: Unable to update zarro, error(s) follow |
|
|
61
|
+
==================================================
|
|
62
62
|
`));
|
|
63
63
|
this.emit("error", err);
|
|
64
64
|
}
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
const e = ex;
|
|
44
44
|
const msg = e.message || e;
|
|
45
45
|
if (msg === "operation timed out") {
|
|
46
|
-
log.error(chalk.redBright(`fetch operation timed out:
|
|
47
|
-
- check that the current account can fetch from all remotes
|
|
48
|
-
- optionally disable fetch with SKIP_FETCH_ON_VERIFY=1
|
|
46
|
+
log.error(chalk.redBright(`fetch operation timed out:
|
|
47
|
+
- check that the current account can fetch from all remotes
|
|
48
|
+
- optionally disable fetch with SKIP_FETCH_ON_VERIFY=1
|
|
49
49
|
- optionally increase GIT_FETCH_TIMEOUT from current value: ${timeout}`));
|
|
50
50
|
}
|
|
51
51
|
}
|