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.
@@ -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: "false"
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" });
@@ -18,8 +18,8 @@
18
18
  if (fileExistsSync(shim)) {
19
19
  return shim;
20
20
  }
21
- writeTextFileSync(shim, `#!/bin/sh
22
- mono $(dirname $0)/nuget.exe $*
21
+ writeTextFileSync(shim, `#!/bin/sh
22
+ mono $(dirname $0)/nuget.exe $*
23
23
  `);
24
24
  chmodSync(shim, "777");
25
25
  return shim;
@@ -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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zarro",
3
- "version": "1.175.5",
3
+ "version": "1.175.6",
4
4
  "description": "Some glue to make gulp easier, perhaps even zero- or close-to-zero-conf",
5
5
  "bin": {
6
6
  "zarro": "index.js"