zarro 1.152.4 → 1.152.8
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.
|
@@ -97,10 +97,13 @@
|
|
|
97
97
|
: doInstallViaNodeNugetClient(toolsFolder, requiredTools);
|
|
98
98
|
}
|
|
99
99
|
async function doInstallViaNodeNugetClient(toolsFolder, requiredTools) {
|
|
100
|
-
const { NugetClient } = require("node-nuget-client")
|
|
100
|
+
const { NugetClient } = require("node-nuget-client");
|
|
101
101
|
for (const tool of requiredTools) {
|
|
102
|
+
const spec = tool.includes("/")
|
|
103
|
+
? tool
|
|
104
|
+
: `nuget.org/${tool}`, parts = spec.split("/"), [source, packageId] = parts, client = new NugetClient(source);
|
|
102
105
|
await client.downloadPackage({
|
|
103
|
-
packageId
|
|
106
|
+
packageId,
|
|
104
107
|
output: toolsFolder
|
|
105
108
|
});
|
|
106
109
|
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
});
|
|
13
13
|
env.register({
|
|
14
14
|
name: "BUILD_TOOLS_INSTALL_FORCE_NUGET_EXE",
|
|
15
|
-
help: `Flag: when set, revert to the original behavior for downloading tooling via nuget.exe
|
|
15
|
+
help: `Flag: when set, revert to the original behavior for downloading tooling via nuget.exe
|
|
16
16
|
(default is to use node-nuget-client since nuget.exe now refuses to download packages marked as tools)`,
|
|
17
17
|
default: "false"
|
|
18
18
|
});
|
|
@@ -157,8 +157,8 @@
|
|
|
157
157
|
default: "auto",
|
|
158
158
|
help: "process model for nunit-runner to use"
|
|
159
159
|
});
|
|
160
|
-
const extra = `
|
|
161
|
-
- globs match dotnet core projects or .net framework built assemblies
|
|
160
|
+
const extra = `
|
|
161
|
+
- globs match dotnet core projects or .net framework built assemblies
|
|
162
162
|
- elements surrounded with () are treated as pure gulp.src masks`, defaultTestInclude = "*.Tests,*.Tests.*,Tests,Test,Test.*", defaultTestExclude = `{!**/node_modules/**/*},{!./${getToolsFolder(env)}/**/*}`;
|
|
163
163
|
env.register({
|
|
164
164
|
name: "TEST_INCLUDE",
|
|
@@ -656,9 +656,9 @@
|
|
|
656
656
|
env.register({
|
|
657
657
|
name: "ZARRO_ALLOW_FILE_RESOLUTION",
|
|
658
658
|
default: "true",
|
|
659
|
-
help: `when enabled, the value provided by an environment variable may be the path
|
|
660
|
-
to a file to use for that configuration; for example MSBUILD_PROPERTIES=foo.json will
|
|
661
|
-
instruct Zarro to read the mapping in foo.json for extra msbuild properties to pass on
|
|
659
|
+
help: `when enabled, the value provided by an environment variable may be the path
|
|
660
|
+
to a file to use for that configuration; for example MSBUILD_PROPERTIES=foo.json will
|
|
661
|
+
instruct Zarro to read the mapping in foo.json for extra msbuild properties to pass on
|
|
662
662
|
where applicable.`
|
|
663
663
|
});
|
|
664
664
|
env.register({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zarro",
|
|
3
|
-
"version": "1.152.
|
|
3
|
+
"version": "1.152.8",
|
|
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"
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"gulp-filter": "^6.0.0",
|
|
69
69
|
"gulp-msbuild": "^0.10.0",
|
|
70
70
|
"lodash.kebabcase": "^4.1.1",
|
|
71
|
-
"node-nuget-client": "^0.
|
|
71
|
+
"node-nuget-client": "^0.8.0",
|
|
72
72
|
"npm-run-all": "^4.1.5",
|
|
73
73
|
"plugin-error": "^1.0.1",
|
|
74
74
|
"readline": "^1.3.0",
|