@angular-devkit/architect 0.802.0-next.1 → 0.802.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 CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@angular-devkit/architect",
3
- "version": "0.802.0-next.1",
3
+ "version": "0.802.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.2.0-next.1",
9
+ "@angular-devkit/core": "8.2.2",
10
10
  "rxjs": "6.4.0"
11
11
  },
12
12
  "builders": "./builders/builders.json",
package/src/api.d.ts CHANGED
@@ -99,6 +99,10 @@ export interface ScheduleOptions {
99
99
  * to log a builder scheduled from your builder you should forward log events yourself.
100
100
  */
101
101
  logger?: logging.Logger;
102
+ /**
103
+ * Target to pass to the builder.
104
+ */
105
+ target?: Target;
102
106
  }
103
107
  /**
104
108
  * The context received as a second argument in your builder.
@@ -93,6 +93,7 @@ function createBuilder(fn) {
93
93
  async scheduleBuilder(builderName, options = {}, scheduleOptions = {}) {
94
94
  const run = await schedule_by_name_1.scheduleByName(builderName, options, {
95
95
  scheduler,
96
+ target: scheduleOptions.target,
96
97
  logger: scheduleOptions.logger || logger.createChild(''),
97
98
  workspaceRoot: i.workspaceRoot,
98
99
  currentDirectory: i.currentDirectory,