zarro 1.208.2 → 1.209.1
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/build.js
CHANGED
|
@@ -62,8 +62,6 @@ If the error looks transient, I suggest setting the environment
|
|
|
62
62
|
if (!env.resolveFlag(env.BUILD_MSBUILD_NODE_REUSE)) {
|
|
63
63
|
msbuildArgs.push("/nodeReuse:false");
|
|
64
64
|
}
|
|
65
|
-
const concurrency = env.resolveNumber(env.BUILD_MAX_CPU_COUNT);
|
|
66
|
-
msbuildArgs.push(`/m:${concurrency}`);
|
|
67
65
|
/** @type DotNetBuildOptions */
|
|
68
66
|
const options = {
|
|
69
67
|
target: "[not set]",
|
|
@@ -72,6 +70,8 @@ If the error looks transient, I suggest setting the environment
|
|
|
72
70
|
additionalArguments: msbuildArgs,
|
|
73
71
|
framework: env.resolve(env.BUILD_FRAMEWORK),
|
|
74
72
|
runtime: env.resolve(env.BUILD_RUNTIME),
|
|
73
|
+
lowPriority: env.resolveFlag(env.BUILD_LOW_PRIORITY),
|
|
74
|
+
maxCPUs: env.resolveNumber(env.BUILD_MAX_CPU_COUNT),
|
|
75
75
|
terminalLogger: sanitizeTerminalLogger(env.resolve(env.BUILD_MSBUILD_TERMINAL_LOGGER))
|
|
76
76
|
};
|
|
77
77
|
return promisifyStream(solutions
|
|
@@ -81,6 +81,11 @@
|
|
|
81
81
|
overriddenBy: "MAX_CONCURRENCY",
|
|
82
82
|
when: overrideWhenSmaller
|
|
83
83
|
});
|
|
84
|
+
env.register({
|
|
85
|
+
name: "BUILD_LOW_PRIORITY",
|
|
86
|
+
default: "false",
|
|
87
|
+
help: "Perform dotnet operations with -low to spare the host machine"
|
|
88
|
+
});
|
|
84
89
|
function overrideWhenSmaller(existing, override) {
|
|
85
90
|
if (!override) {
|
|
86
91
|
return false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zarro",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.209.1",
|
|
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"
|
|
@@ -64,7 +64,6 @@
|
|
|
64
64
|
"cross-fetch": "^4.0.0",
|
|
65
65
|
"decompress": "^4.2.1",
|
|
66
66
|
"del": "^5.1.0",
|
|
67
|
-
"dotnet-cli": "^1.1.0",
|
|
68
67
|
"event-stream": "^4.0.1",
|
|
69
68
|
"exec-step": "^0.17.0",
|
|
70
69
|
"fancy-log": "^1.3.3",
|
|
@@ -133,6 +132,7 @@
|
|
|
133
132
|
"console-cls": "^1.2.2",
|
|
134
133
|
"debug": "^4.3.4",
|
|
135
134
|
"debugger-is-attached": "^1.2.0",
|
|
135
|
+
"dotnet-cli": "^1.6.0",
|
|
136
136
|
"expect-even-more-jest": "^1.19.0",
|
|
137
137
|
"filesystem-sandbox": "^1.20.0",
|
|
138
138
|
"ioredis": "^5.3.2",
|
package/types.d.ts
CHANGED
|
@@ -544,6 +544,7 @@ declare global {
|
|
|
544
544
|
"UPGRADE_PACKAGES_PROGRESS" |
|
|
545
545
|
"UPGRADE_PACKAGES_PRERELEASE" |
|
|
546
546
|
"UPGRADE_PACKAGES_BYPASS_CACHE" |
|
|
547
|
+
"BUILD_LOW_PRIORITY" |
|
|
547
548
|
string;
|
|
548
549
|
|
|
549
550
|
type AnyEnvVar = StringEnvVar | NumericEnvVar | FlagEnvVar | VersionIncrementStrategy;
|
|
@@ -734,6 +735,7 @@ declare global {
|
|
|
734
735
|
UPGRADE_PACKAGES_PROGRESS: FlagEnvVar;
|
|
735
736
|
UPGRADE_PACKAGES_PRERELEASE: FlagEnvVar;
|
|
736
737
|
UPGRADE_PACKAGES_BYPASS_CACHE: FlagEnvVar;
|
|
738
|
+
BUILD_LOW_PRIORITY: FlagEnvVar;
|
|
737
739
|
|
|
738
740
|
BUILD_MAX_CPU_COUNT: NumericEnvVar;
|
|
739
741
|
MAX_NUNIT_AGENTS: NumericEnvVar;
|