@angular-devkit/architect 0.801.0-beta.3 → 0.801.2
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/package.json +2 -3
- package/src/architect.js +2 -1
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular-devkit/architect",
|
|
3
|
-
"version": "0.801.
|
|
3
|
+
"version": "0.801.2",
|
|
4
4
|
"description": "Angular Build Facade",
|
|
5
5
|
"experimental": true,
|
|
6
6
|
"main": "src/index.js",
|
|
7
7
|
"typings": "src/index.d.ts",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@angular-devkit/core": "8.1.
|
|
9
|
+
"@angular-devkit/core": "8.1.2",
|
|
10
10
|
"rxjs": "6.4.0"
|
|
11
11
|
},
|
|
12
12
|
"builders": "./builders/builders.json",
|
|
@@ -33,7 +33,6 @@
|
|
|
33
33
|
"homepage": "https://github.com/angular/angular-cli",
|
|
34
34
|
"husky": {
|
|
35
35
|
"hooks": {
|
|
36
|
-
"pre-commit": "lint-staged",
|
|
37
36
|
"pre-push": "node ./bin/devkit-admin hooks/pre-push"
|
|
38
37
|
}
|
|
39
38
|
}
|
package/src/architect.js
CHANGED
|
@@ -32,7 +32,8 @@ function _createJobHandlerFromBuilderInfo(info, target, host, registry, baseOpti
|
|
|
32
32
|
...v.options,
|
|
33
33
|
};
|
|
34
34
|
// Validate v against the options schema.
|
|
35
|
-
return registry.compile(info.optionSchema).pipe(operators_1.concatMap(validation => validation(options)), operators_1.map((
|
|
35
|
+
return registry.compile(info.optionSchema).pipe(operators_1.concatMap(validation => validation(options)), operators_1.map((validationResult) => {
|
|
36
|
+
const { data, success, errors } = validationResult;
|
|
36
37
|
if (success) {
|
|
37
38
|
return { ...v, options: data };
|
|
38
39
|
}
|