Skip to content

Commit e6048bd

Browse files
timdeschryverbrandonroberts
authored andcommitted
feat: update angular dependencies to V7
Closes #1340
1 parent a9e7cbd commit e6048bd

File tree

54 files changed

+4842
-1500
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+4842
-1500
lines changed

.bazelrc

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Make TypeScript and Angular compilation fast, by keeping a few copies of the
2+
# compiler running as daemons, and cache SourceFile AST's to reduce parse time.
3+
build --strategy=TypeScriptCompile=worker
4+
build --strategy=AngularTemplateCompile=worker
5+
6+
# Don't create bazel-* symlinks in the WORKSPACE directory.
7+
# These require .gitignore and may scare users.
8+
# Also, it's a workaround for https://github.com/bazelbuild/rules_typescript/issues/12
9+
# which affects the common case of having `tsconfig.json` in the WORKSPACE directory.
10+
#
11+
# Instead, you should run `bazel info bazel-bin` to find out where the outputs went.
12+
build --symlink_prefix=dist/
13+
14+
test --test_output=errors
15+
16+
# Use the Angular 6 compiler
17+
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
@@ -19,7 +19,7 @@ build --experimental_strict_action_env
1919
# Bazel doesn't calculate the memory ceiling correctly when running under Docker.
2020
# Limit Bazel to consuming resources that fit in CircleCI "medium" class which is the default:
2121
# https://circleci.com/docs/2.0/configuration-reference/#resource_class
22-
build --jobs 10 --local_resources=2506,2.0,1.0
22+
build --jobs 3 --local_resources=2506,2.0,1.0
2323

2424
# Also limit Bazel's own JVM heap to stay within our 4G container limit
2525
startup --host_jvm_args=-Xmx1g

.circleci/config.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ version: 2
1010
# See https://blog.daemonl.com/2016/02/yaml.html
1111
# To validate changes, use an online parser, eg.
1212
# https://yaml-online-parser.appspot.com/
13-
var_1: &cache_key yarn-cache-{{ checksum "yarn.lock" }}-0.3.3
13+
var_1: &cache_key yarn-cache-{{ checksum "yarn.lock" }}-0.7.0
1414
var_2: &run_in_ngcontainer
1515
docker:
16-
- image: angular/ngcontainer:0.3.3
16+
- image: angular/ngcontainer:0.7.0
1717
var_3: &set_bazel_options
1818
run:
1919
command: sudo cp .circleci/bazel.rc /etc/bazel.bazelrc
@@ -94,6 +94,7 @@ jobs:
9494
- restore_cache:
9595
key: *docs_cache_key
9696
- run: yarn setup
97+
- run: npm rebuild node-sass
9798
- run: yarn build-for next
9899
- run: cp -rf src/extra-files/next/. dist/ngrx.io/
99100
# Store artifacts from build

BUILD.bazel

Lines changed: 3 additions & 217 deletions
Original file line numberDiff line numberDiff line change
@@ -6,221 +6,7 @@ exports_files([
66
"LICENSE",
77
])
88

9-
filegroup(
10-
name = "node_modules",
11-
# NB: rxjs is not in this list, because we build it from sources using the
12-
# label @rxjs//:rxjs
13-
srcs = glob(["/".join([
14-
"node_modules",
15-
pkg,
16-
"**",
17-
ext,
18-
]) for pkg in [
19-
"adm-zip",
20-
"ajv",
21-
"anymatch",
22-
"arr-diff",
23-
"arr-flatten",
24-
"arr-union",
25-
"array-unique",
26-
"asn1",
27-
"assert-plus",
28-
"assign-symbols",
29-
"async-each",
30-
"asynckit",
31-
"atob",
32-
"aws-sign2",
33-
"aws4",
34-
"balanced-match",
35-
"base",
36-
"base64-js",
37-
"binary-extensions",
38-
"blocking-proxy",
39-
"brace-expansion",
40-
"braces",
41-
"bytebuffer",
42-
"cache-base",
43-
"caseless",
44-
"chokidar",
45-
"class-utils",
46-
"co",
47-
"collection-visit",
48-
"convert-source-map",
49-
"combined-stream",
50-
"component-emitter",
51-
"concat-map",
52-
"copy-descriptor",
53-
"core-util-is",
54-
"debug",
55-
"decode-uri-component",
56-
"define-property",
57-
"delayed-stream",
58-
"domino",
59-
"expand-brackets",
60-
"expand-range",
61-
"extend",
62-
"extend-shallow",
63-
"extglob",
64-
"extsprintf",
65-
"fast-deep-equal",
66-
"fast-json-stable-stringify",
67-
"filename-regex",
68-
"fill-range",
69-
"for-in",
70-
"for-own",
71-
"forever-agent",
72-
"form-data",
73-
"fragment-cache",
74-
"fs.realpath",
75-
"get-value",
76-
"glob",
77-
"glob-base",
78-
"glob-parent",
79-
"graceful-fs",
80-
"hammerjs",
81-
"har-schema",
82-
"har-validator",
83-
"has-value",
84-
"has-values",
85-
"http-signature",
86-
"https-proxy-agent",
87-
"inflight",
88-
"inherits",
89-
"is-accessor-descriptor",
90-
"is-binary-path",
91-
"is-buffer",
92-
"is-data-descriptor",
93-
"is-descriptor",
94-
"is-dotfile",
95-
"is-equal-shallow",
96-
"is-extendable",
97-
"is-extglob",
98-
"is-glob",
99-
"is-number",
100-
"is-plain-object",
101-
"is-posix-bracket",
102-
"is-primitive",
103-
"is-typedarray",
104-
"is-windows",
105-
"isarray",
106-
"isobject",
107-
"isstream",
108-
"jasmine",
109-
"jasmine-core",
110-
"jasminewd2",
111-
"json-schema",
112-
"json-schema-traverse",
113-
"json-stable-stringify",
114-
"json-stringify-safe",
115-
"jsprim",
116-
"kind-of",
117-
"long",
118-
"lru-cache",
119-
"magic-string",
120-
"map-cache",
121-
"map-visit",
122-
"math-random",
123-
"micromatch",
124-
"mime-db",
125-
"mime-types",
126-
"minimatch",
127-
"minimist",
128-
"mixin-deep",
129-
"mock-fs",
130-
"nanomatch",
131-
"normalize-path",
132-
"oauth-sign",
133-
"object.omit",
134-
"object.pick",
135-
"object-copy",
136-
"object-visit",
137-
"once",
138-
"optimist",
139-
"options",
140-
"os-tmpdir",
141-
"parse-glob",
142-
"pascalcase",
143-
"path-dirname",
144-
"path-is-absolute",
145-
"performance-now",
146-
"posix-character-classes",
147-
"preserve",
148-
"process-nextick-args",
149-
"protobufjs",
150-
"protractor",
151-
"qs",
152-
"randomatic",
153-
"readable-stream",
154-
"readdirp",
155-
"reflect-metadata",
156-
"regex-cache",
157-
"regex-not",
158-
"remove-trailing-separator",
159-
"repeat-element",
160-
"repeat-string",
161-
"request",
162-
"ret",
163-
"rimraf",
164-
"safe-buffer",
165-
"safe-regex",
166-
"safer-buffer",
167-
"sax",
168-
"semver",
169-
"set-immediate-shim",
170-
"set-value",
171-
"shelljs",
172-
"sigmund",
173-
"snapdragon",
174-
"snapdragon-node",
175-
"snapdragon-util",
176-
"source-map",
177-
"source-map-resolve",
178-
"source-map-support",
179-
"source-map-url",
180-
"sourcemap-codec",
181-
"split-string",
182-
"sshpk",
183-
"static-extend",
184-
"stringstream",
185-
"tmp",
186-
"to-object-path",
187-
"to-regex",
188-
"to-regex-range",
189-
"tough-cookie",
190-
"tsickle",
191-
"tslib",
192-
"tsutils",
193-
"tunnel-agent",
194-
"typescript",
195-
"union-value",
196-
"unset-value",
197-
"upath",
198-
"uri-js",
199-
"urix",
200-
"use",
201-
"util-deprecate",
202-
"uuid",
203-
"verror",
204-
"webdriver-js-extender",
205-
"webdriver-manager",
206-
"wordwrap",
207-
"wrappy",
208-
"xhr2",
209-
"xml2js",
210-
"xmlbuilder",
211-
"zone.js",
212-
"@types",
213-
"@angular",
214-
"@angular-devkit",
215-
"jasmine",
216-
"jasmine-marbles",
217-
"core-js",
218-
"jasmine-core",
219-
"lodash",
220-
"deep-freeze",
221-
] for ext in [
222-
"*.js",
223-
"*.json",
224-
"*.d.ts",
225-
]]),
9+
alias(
10+
name = "install",
11+
actual = "@nodejs//:yarn",
22612
)

0 commit comments

Comments
 (0)