Skip to content

Commit 9998801

Browse files
Merge pull request #184 from angular/master
Create a new pull request by comparing changes across two branches
2 parents a5c0bb3 + 1b268b2 commit 9998801

File tree

423 files changed

+10694
-6664
lines changed

Some content is hidden

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

423 files changed

+10694
-6664
lines changed

.appveyor.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
environment:
2-
# Note: if updating to Node 10, use at least 10.5.0 to include a fix for
3-
# https://github.com/nodejs/node/issues/20297
4-
nodejs_version: "8.9.2" # Same version as used in CircleCI.
2+
nodejs_version: "10.9.0" # Same version as used in CircleCI.
53

64
matrix:
75
fast_finish: true
86

97
install:
108
- ps: Install-Product node $env:nodejs_version
11-
- yarn install --frozen-lockfile
12-
- npm run webdriver-update-appveyor
9+
# --network-timeout is a workaround for https://github.com/yarnpkg/yarn/issues/6221
10+
- yarn --frozen-lockfile --network-timeout=500000
11+
- yarn webdriver-update-appveyor
1312

1413
test_script:
1514
- node --version

.circleci/config.yml

Lines changed: 72 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,39 @@
1-
version: 2
1+
# Configuration file for https://circleci.com/gh/angular/angular-cli
2+
3+
# Note: YAML anchors allow an object to be re-used, reducing duplication.
4+
# The ampersand declares an alias for an object, then later the `<<: *name`
5+
# syntax dereferences it.
6+
# See http://blog.daemonl.com/2016/02/yaml.html
7+
# To validate changes, use an online parser, eg.
8+
# http://yaml-online-parser.appspot.com/
9+
10+
# Variables
211

3-
_defaults: &defaults
12+
## IMPORTANT
13+
# If you change the `docker_image` version, also change the `cache_key` suffix and the version of
14+
# `com_github_bazelbuild_buildtools` in the `/WORKSPACE` file.
15+
var_1: &docker_image angular/ngcontainer:0.5.0
16+
var_2: &cache_key angular_devkit-{{ checksum "yarn.lock" }}-0.5.0
17+
var_3: &node_8_docker_image angular/ngcontainer:0.3.3
18+
19+
# Settings common to each job
20+
anchor_1: &defaults
421
working_directory: ~/ng
522
docker:
6-
- image: angular/ngcontainer:0.3.3
23+
- image: *docker_image
724

8-
_post_checkout: &post_checkout
25+
# After checkout, rebase on top of master.
26+
# Similar to travis behavior, but not quite the same.
27+
# See https://discuss.circleci.com/t/1662
28+
anchor_2: &post_checkout
929
post: git pull --ff-only origin "refs/pull/${CI_PULL_REQUEST//*pull\//}/merge"
10-
11-
_root_package_lock_key: &root_package_lock_key
12-
key: angular_devkit-{{ checksum "yarn.lock" }}-0.3.3-2
13-
14-
_attach_options: &attach_options
30+
anchor_3: &root_package_lock_key
31+
key: *cache_key
32+
anchor_4: &attach_options
1533
at: .
1634

35+
# Job definitions
36+
version: 2
1737
jobs:
1838
install:
1939
<<: *defaults
@@ -46,7 +66,7 @@ jobs:
4666
<<: *defaults
4767
steps:
4868
- attach_workspace: *attach_options
49-
- run: npm run test -- --code-coverage --full
69+
- run: npm run test -- --full
5070

5171
test-large:
5272
<<: *defaults
@@ -55,7 +75,7 @@ jobs:
5575
steps:
5676
- attach_workspace: *attach_options
5777
- run: npm run webdriver-update-circleci
58-
- run: npm run test-large -- --code-coverage --full --nb-shards=${CIRCLE_NODE_TOTAL} --shard=${CIRCLE_NODE_INDEX}
78+
- run: npm run test-large -- --full --nb-shards=${CIRCLE_NODE_TOTAL} --shard=${CIRCLE_NODE_INDEX}
5979

6080
e2e-cli:
6181
<<: *defaults
@@ -65,8 +85,34 @@ jobs:
6585
parallelism: 4
6686
steps:
6787
- attach_workspace: *attach_options
68-
- run: npm install --global npm@6
6988
- run: xvfb-run -a node ./tests/legacy-cli/run_e2e --nb-shards=${CIRCLE_NODE_TOTAL} --shard=${CIRCLE_NODE_INDEX}
89+
- store_artifacts:
90+
path: /tmp/dist
91+
destination: cli/new-production
92+
93+
e2e-node-8:
94+
<<: *defaults
95+
# Overwrite docker image to node 8.
96+
docker:
97+
- image: *node_8_docker_image
98+
environment:
99+
BASH_ENV: ~/.profile
100+
resource_class: xlarge
101+
parallelism: 2
102+
steps:
103+
- attach_workspace: *attach_options
104+
- run: npm install --global npm@6
105+
- run: xvfb-run -a node ./tests/legacy-cli/run_e2e --glob=tests/basic/* --nb-shards=${CIRCLE_NODE_TOTAL} --shard=${CIRCLE_NODE_INDEX}
106+
107+
e2e-cli-ng-snapshots:
108+
<<: *defaults
109+
environment:
110+
BASH_ENV: ~/.profile
111+
resource_class: xlarge
112+
parallelism: 4
113+
steps:
114+
- attach_workspace: *attach_options
115+
- run: xvfb-run -a node ./tests/legacy-cli/run_e2e --nb-shards=${CIRCLE_NODE_TOTAL} --shard=${CIRCLE_NODE_INDEX} --ng-snapshots
70116

71117
build:
72118
<<: *defaults
@@ -76,11 +122,11 @@ jobs:
76122

77123
build-bazel:
78124
<<: *defaults
79-
resource_class: large
125+
resource_class: xlarge
80126
steps:
81127
- attach_workspace: *attach_options
82128
- run: sudo cp .circleci/bazel.rc /etc/bazel.bazelrc
83-
- run: bazel build //packages/...
129+
- run: bazel test //packages/...
84130

85131
snapshot_publish:
86132
<<: *defaults
@@ -121,12 +167,10 @@ workflows:
121167
- install
122168
- build:
123169
requires:
124-
- lint
125-
- validate
170+
- install
126171
- build-bazel:
127172
requires:
128-
- lint
129-
- validate
173+
- build
130174
- test:
131175
requires:
132176
- build
@@ -136,6 +180,15 @@ workflows:
136180
- e2e-cli:
137181
requires:
138182
- build
183+
- e2e-node-8:
184+
requires:
185+
- build
186+
- e2e-cli-ng-snapshots:
187+
requires:
188+
- build
189+
filters:
190+
branches:
191+
only: master
139192
- snapshot_publish:
140193
requires:
141194
- test
@@ -148,6 +201,7 @@ workflows:
148201
requires:
149202
- test
150203
- build
204+
- e2e-cli
151205
- snapshot_publish
152206
filters:
153207
tags:

.github/angular-robot.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,8 @@ triage:
9191
-
9292
- "type: docs"
9393
- "comp: *"
94+
95+
# Size checking
96+
size:
97+
circleCiStatusName: "ci/circleci: e2e-cli"
98+
maxSizeIncrease: 10000

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
bazel-*
33
test-project-host-*
44
dist/
5+
dist-schema/
56

67
# IDEs
78
.idea/

.monorepo.json

Lines changed: 40 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@
4242
},
4343
"packages": {
4444
"@_/benchmark": {
45-
"version": "0.8.0-beta.3",
46-
"hash": "2bee2bd5743e4b92e00d80e814e1e198"
45+
"version": "0.9.0-beta.4",
46+
"hash": "a9b1f213a4069f789d20021bda616775"
4747
},
4848
"devkit": {
49-
"version": "0.8.0-beta.3",
50-
"hash": "94d31601b627dd2057440ebcbb179648"
49+
"version": "0.9.0-beta.4",
50+
"hash": "30ac66398ef7b4f7a5dbd3192d24c665"
5151
},
5252
"@angular/cli": {
5353
"name": "Angular CLI",
@@ -58,15 +58,15 @@
5858
"url": "https://github.com/angular/angular-cli/blob/master/packages/angular/cli/README.md"
5959
}
6060
],
61-
"version": "6.2.0-beta.3",
61+
"version": "7.0.0-beta.4",
6262
"snapshotRepo": "angular/cli-builds",
63-
"hash": "fc82d4f599d099b690807f8283a18706"
63+
"hash": "861fb8f47bfe7c42b61ba03c923e4c4f"
6464
},
6565
"@angular/pwa": {
6666
"name": "Angular PWA Schematics",
6767
"section": "Schematics",
68-
"version": "0.8.0-beta.3",
69-
"hash": "1ab8f8ad8cc8e574c69bd8c760652c87",
68+
"version": "0.9.0-beta.4",
69+
"hash": "5ce80a80caee296f31fd7973d1d1af7c",
7070
"snapshotRepo": "angular/angular-pwa-builds"
7171
},
7272
"@angular-devkit/architect": {
@@ -77,16 +77,22 @@
7777
"url": "https://github.com/angular/angular-cli/blob/master/packages/angular_devkit/architect/README.md"
7878
}
7979
],
80-
"version": "0.8.0-beta.3",
81-
"hash": "807337e245b9545cfe5f0a0dbcd17161",
80+
"version": "0.9.0-beta.4",
81+
"hash": "6b477a8c670ac1aaf8232517932026e9",
8282
"snapshotRepo": "angular/angular-devkit-architect-builds"
8383
},
8484
"@angular-devkit/architect-cli": {
8585
"name": "Architect CLI",
86-
"version": "0.8.0-beta.3",
87-
"hash": "a9658d69f8757373fac1e24eff5136c9",
86+
"version": "0.9.0-beta.4",
87+
"hash": "0df3aa7f3bccb0a2390f7691ef610ba4",
8888
"snapshotRepo": "angular/angular-devkit-architect-cli-builds"
8989
},
90+
"@angular-devkit/benchmark": {
91+
"name": "Benchmark",
92+
"section": "Tooling",
93+
"version": "1.0.0-beta.1",
94+
"hash": "b413c32410c61f3d7096f40f60e69cc9"
95+
},
9096
"@angular-devkit/build-optimizer": {
9197
"name": "Build Optimizer",
9298
"links": [
@@ -95,8 +101,8 @@
95101
"url": "https://github.com/angular/angular-cli/blob/master/packages/angular_devkit/build_optimizer/README.md"
96102
}
97103
],
98-
"version": "0.8.0-beta.3",
99-
"hash": "7b4759aed909a34015ff8c76fad8fb54",
104+
"version": "0.9.0-beta.4",
105+
"hash": "5f028763dff86aaebc80476e1f550d9f",
100106
"snapshotRepo": "angular/angular-devkit-build-optimizer-builds"
101107
},
102108
"@angular-devkit/build-ng-packagr": {
@@ -107,8 +113,8 @@
107113
"url": "https://github.com/angular/angular-cli/blob/master/packages/angular_devkit/build_ng_packagr/README.md"
108114
}
109115
],
110-
"version": "0.8.0-beta.3",
111-
"hash": "ebf511eb9c2bee383e60a1dae597bb75",
116+
"version": "0.9.0-beta.4",
117+
"hash": "228c997459d1106b0b9bfcc2636fb838",
112118
"snapshotRepo": "angular/angular-devkit-build-ng-packagr-builds"
113119
},
114120
"@angular-devkit/build-angular": {
@@ -119,8 +125,8 @@
119125
"url": "https://github.com/angular/angular-cli/blob/master/packages/angular_devkit/build_angular/README.md"
120126
}
121127
],
122-
"version": "0.8.0-beta.3",
123-
"hash": "5ae8fae2754dce793a6b20892a538705",
128+
"version": "0.9.0-beta.4",
129+
"hash": "4d12d45c630abe262a3844b0021801cf",
124130
"snapshotRepo": "angular/angular-devkit-build-angular-builds"
125131
},
126132
"@angular-devkit/build-webpack": {
@@ -131,9 +137,9 @@
131137
"url": "https://github.com/angular/angular-cli/blob/master/packages/angular_devkit/build_webpack/README.md"
132138
}
133139
],
134-
"version": "0.8.0-beta.3",
140+
"version": "0.9.0-beta.4",
135141
"snapshotRepo": "angular/angular-devkit-build-webpack-builds",
136-
"hash": "c85c924aa07364e5756580ad318079dc"
142+
"hash": "5887fbece28cf8e795cadf95b4518de1"
137143
},
138144
"@angular-devkit/core": {
139145
"name": "Core",
@@ -143,8 +149,8 @@
143149
"url": "https://github.com/angular/angular-cli/blob/master/packages/angular_devkit/core/README.md"
144150
}
145151
],
146-
"version": "0.8.0-beta.3",
147-
"hash": "4dcf0255e6f90ae4ead4509543ed50c1",
152+
"version": "7.0.0-beta.4",
153+
"hash": "7f4c330644a23e8f1383256c9593842f",
148154
"snapshotRepo": "angular/angular-devkit-core-builds"
149155
},
150156
"@angular-devkit/schematics": {
@@ -155,43 +161,43 @@
155161
"url": "https://github.com/angular/angular-cli/blob/master/packages/angular_devkit/schematics/README.md"
156162
}
157163
],
158-
"version": "0.8.0-beta.3",
159-
"hash": "7647010b5accf300ef4007c6cdfbe552",
164+
"version": "7.0.0-beta.4",
165+
"hash": "30b6fadcf785da5b8d911ab0dca30397",
160166
"snapshotRepo": "angular/angular-devkit-schematics-builds"
161167
},
162168
"@angular-devkit/schematics-cli": {
163169
"name": "Schematics CLI",
164170
"section": "Tooling",
165-
"version": "0.8.0-beta.3",
166-
"hash": "0b11f6bf4244c4cc8d28e57935a27217",
171+
"version": "0.9.0-beta.4",
172+
"hash": "e143b8e611f5b5d5b24ee1a62bc638ef",
167173
"snapshotRepo": "angular/angular-devkit-schematics-cli-builds"
168174
},
169175
"@ngtools/webpack": {
170176
"name": "Webpack Angular Plugin",
171-
"version": "6.2.0-beta.3",
177+
"version": "7.0.0-beta.4",
172178
"section": "Misc",
173-
"hash": "11e14f8112c8b0afdcedfe16625c2a98",
179+
"hash": "213663b5fd23e27196cf83bef9f0f41c",
174180
"snapshotRepo": "angular/ngtools-webpack-builds"
175181
},
176182
"@schematics/angular": {
177183
"name": "Angular Schematics",
178184
"section": "Schematics",
179-
"version": "0.8.0-beta.3",
180-
"hash": "4f781c3f422b158a21f4e25a7c6a6985",
185+
"version": "7.0.0-beta.4",
186+
"hash": "963b148fe42112d53ba26cea010089e9",
181187
"snapshotRepo": "angular/schematics-angular-builds"
182188
},
183189
"@schematics/schematics": {
184190
"name": "Schematics Schematics",
185-
"version": "0.8.0-beta.3",
191+
"version": "0.9.0-beta.4",
186192
"section": "Schematics",
187-
"hash": "72700f5b3575719d8434afa134d29c49",
193+
"hash": "a6726ae6664fb43c861e3bb4bb0ccb76",
188194
"snapshotRepo": "angular/schematics-schematics-builds"
189195
},
190196
"@schematics/update": {
191197
"name": "Package Update Schematics",
192-
"version": "0.8.0-beta.3",
198+
"version": "0.9.0-beta.4",
193199
"section": "Schematics",
194-
"hash": "427bd269437ac368e65d9e8d70bfd8e6",
200+
"hash": "5bbb5fd7ebaf18b452dee36521ab5142",
195201
"snapshotRepo": "angular/schematics-update-builds"
196202
}
197203
}

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8
1+
10

0 commit comments

Comments
 (0)