Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Commit 3ae6002

Browse files
gregmagolanalexeagle
authored andcommitted
Update to Angular 7.0.1 and turn on --nolegacy_external_runfiles flag (#227)
* Update to Angular 7.0.1 & turn on --nolegacy_external_runfiles flag * Tweak CI memory
1 parent 022479f commit 3ae6002

File tree

5 files changed

+27
-20
lines changed

5 files changed

+27
-20
lines changed

.bazelrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,7 @@ test --test_output=errors
1515

1616
# Use the Angular 6 compiler
1717
build --define=compile=legacy
18+
19+
# Turn off legacy external runfiles
20+
run --nolegacy_external_runfiles
21+
test --nolegacy_external_runfiles

.circleci/bazel.rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ build --experimental_repository_cache=/home/circleci/bazel_repository_cache
2626
# Limit Bazel to consuming 2048K of RAM
2727
build --local_resources=2048,1.0,1.0
2828
# Also limit Bazel's own JVM heap to stay within our 4G container limit
29-
startup --host_jvm_args=-Xmx1280m
29+
startup --host_jvm_args=-Xmx1408m
3030

3131
# Use fixed chunk names for code-split bundles in CI
3232
# so that GitHub buildsize bot reports are accurate

WORKSPACE

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,10 @@ http_archive(
2121
)
2222

2323
# The @angular repo contains rule for building Angular applications
24-
# TODO(gmagolan): Update to next 7.0.x tag when it is released
2524
http_archive(
2625
name = "angular",
27-
url = "https://github.com/angular/angular/archive/bfeceb3d3e636d755c2bd7bdd85b7136da066c78.zip",
28-
strip_prefix = "angular-bfeceb3d3e636d755c2bd7bdd85b7136da066c78",
26+
url = "https://github.com/angular/angular/archive/7.0.1.zip",
27+
strip_prefix = "angular-7.0.1",
2928
)
3029

3130
# The @rxjs repo contains targets for building rxjs with bazel

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
"zone.js": "0.8.26"
1212
},
1313
"devDependencies": {
14-
"@angular/bazel": "github:angular/bazel-builds#7.0.x",
15-
"@angular/compiler": "github:angular/compiler-builds#7.0.x",
16-
"@angular/compiler-cli": "github:angular/compiler-cli-builds#7.0.x",
17-
"@angular/core": "github:angular/core-builds#7.0.x",
14+
"@angular/bazel": "7.0.1",
15+
"@angular/compiler": "7.0.1",
16+
"@angular/compiler-cli": "7.0.1",
17+
"@angular/core": "7.0.1",
1818
"@bazel/benchmark-runner": "0.1.0",
1919
"@bazel/ibazel": "0.5.0",
2020
"@bazel/karma": "0.20.3",

yarn.lock

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,20 @@
22
# yarn lockfile v1
33

44

5-
"@angular/bazel@github:angular/bazel-builds#7.0.x":
6-
version "7.0.0"
7-
resolved "https://codeload.github.com/angular/bazel-builds/tar.gz/1c6b0aae1d2e66cebb4d4ab39ac3f6d88f73e1ae"
5+
"@angular/[email protected]":
6+
version "7.0.1"
7+
resolved "https://registry.yarnpkg.com/@angular/bazel/-/bazel-7.0.1.tgz#42e1a114a20643ea53cff1bb8091e1ba08637885"
8+
integrity sha512-DEv1QiccMglqPyXqxtl3Onm4j1aIJzvWx/4Tyy6gEK/r7wOqwffkPrmQGGJC3QAhsXxXMRK0mQ3jkKoAXLbunA==
89
dependencies:
910
"@bazel/typescript" "^0.20.3"
1011
"@types/node" "6.0.84"
1112
shelljs "0.8.2"
1213
tsickle "0.32.1"
1314

14-
"@angular/compiler-cli@github:angular/compiler-cli-builds#7.0.x":
15-
version "7.0.0"
16-
resolved "https://codeload.github.com/angular/compiler-cli-builds/tar.gz/5db61187ed62264e53f958ccd717040a8dee82d0"
15+
"@angular/[email protected]":
16+
version "7.0.1"
17+
resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-7.0.1.tgz#bd21ebc950f65fb5848307a271e7bd9d049efc9c"
18+
integrity sha512-WXl2bDoAYWsxwjuIrY34eNZ6Ph4fUff2eK+ZPnkm5zSud1ZlC0zqcG//ccoLqS4Bly3He2obSJ+8SaQjzsqK1g==
1719
dependencies:
1820
canonical-path "0.0.2"
1921
chokidar "^1.4.2"
@@ -26,15 +28,17 @@
2628
source-map "^0.6.1"
2729
yargs "9.0.1"
2830

29-
"@angular/compiler@github:angular/compiler-builds#7.0.x":
30-
version "7.0.0"
31-
resolved "https://codeload.github.com/angular/compiler-builds/tar.gz/e5224449793fda7089c1c3750b4cbbe15371473f"
31+
"@angular/[email protected]":
32+
version "7.0.1"
33+
resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-7.0.1.tgz#29271bfdc9ac98f2f93c473a0cd82d6a043cf6e3"
34+
integrity sha512-X/q51ZAFd0GBJyuZTOKpieyePhlNBAfYCPRi57S2BpxG6i9QjjeM+sPwzjsMmU1P6Qyt/pPpVG738mLocPvdpA==
3235
dependencies:
3336
tslib "^1.9.0"
3437

35-
"@angular/core@github:angular/core-builds#7.0.x":
36-
version "7.0.0"
37-
resolved "https://codeload.github.com/angular/core-builds/tar.gz/fda119d6dfa8d4b33dd142aa88e45db5418aada0"
38+
"@angular/[email protected]":
39+
version "7.0.1"
40+
resolved "https://registry.yarnpkg.com/@angular/core/-/core-7.0.1.tgz#42f52bf04bf88759d4f4b9e03cb9b312508233a0"
41+
integrity sha512-u/3Xx+tIddVC1wANjK1F102uG8fQrNd4Y9nlz3vtKcnFX66b2SQlnjWd18L8FmzYtzaI44RxSWWTPQB0eTx1xw==
3842
dependencies:
3943
tslib "^1.9.0"
4044

0 commit comments

Comments
 (0)