Skip to content

Commit 938a236

Browse files
alexeaglehansl
authored andcommitted
build: fixes for google3 build
1 parent aa3834d commit 938a236

File tree

6 files changed

+13
-2
lines changed

6 files changed

+13
-2
lines changed

packages/angular/cli/BUILD

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ ts_library(
2626
"//packages/angular_devkit/schematics:tools",
2727
"@rxjs",
2828
"@rxjs//operators",
29+
# @typings: node
30+
# @typings: semver
2931
],
3032
tsconfig = "//:tsconfig.json"
3133
)

packages/angular/cli/custom-typings.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
// tslint:disable:no-global-tslint-disable no-any
1010
declare module 'yargs-parser' {
1111
const parseOptions: any;
12-
const yargsParser: <T = any>(args: string | string[], options?: parseOptions) => T;
12+
const yargsParser: <T = any>(args: string | string[], options?: typeof parseOptions) => T;
1313
export = yargsParser;
1414
}

packages/angular_devkit/core/BUILD

+3
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ ts_library(
2525
"@rxjs//operators",
2626
# @typings: es2015.core
2727
# @typings: es2015.symbol.wellknown
28+
# @typings: es2016.array.include
2829
# @typings: ajv
2930
# @typings: node
3031
# @typings: source-map
@@ -47,6 +48,7 @@ ts_library(
4748
"//packages/angular_devkit/core",
4849
"@rxjs",
4950
"@rxjs//operators",
51+
# @typings: node
5052
],
5153
)
5254

@@ -64,5 +66,6 @@ ts_library(
6466
"@rxjs",
6567
"@rxjs//operators",
6668
# @typings: jasmine
69+
# @typings: node
6770
],
6871
)

packages/angular_devkit/core/node/resolve.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function _caller(): string[] {
3232
const error = Error as {} as { prepareStackTrace: (x: {}, stack: {}) => {} };
3333
const origPrepareStackTrace = error.prepareStackTrace;
3434
error.prepareStackTrace = (_, stack) => stack;
35-
const stack = (new Error()).stack as {}[] | undefined as { getFileName(): string }[] | undefined;
35+
const stack = (new Error()).stack as {} | undefined as { getFileName(): string }[] | undefined;
3636
error.prepareStackTrace = origPrepareStackTrace;
3737

3838
return stack ? stack.map(x => x.getFileName()).filter(x => !!x) : [];

packages/angular_devkit/schematics/BUILD

+5
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ ts_library(
2424
"//packages/angular_devkit/core:node", # TODO: get rid of this for 6.0
2525
"@rxjs",
2626
"@rxjs//operators",
27+
# @typings: node
2728
],
2829
)
2930

@@ -45,6 +46,9 @@ ts_library(
4546
"//packages/angular_devkit/core:node",
4647
"@rxjs",
4748
"@rxjs//operators",
49+
# @typings: node
50+
# @typings: tslint
51+
# @typings: typescript
4852
],
4953
)
5054

@@ -114,5 +118,6 @@ ts_library(
114118
"@rxjs",
115119
"@rxjs//operators",
116120
# @typings: jasmine
121+
# @typings: node
117122
],
118123
)

packages/angular_devkit/schematics_cli/BUILD

+1
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,6 @@ ts_library(
2929
"//packages/angular_devkit/schematics:tools",
3030
"@rxjs",
3131
"@rxjs//operators",
32+
# @typings: minimist
3233
],
3334
)

0 commit comments

Comments
 (0)