3213 Commits

Author SHA1 Message Date
Hans Larsen
0b3d9964a6 refactor(@angular/pwa): automated JSON Schema generation 2018-09-13 16:44:17 -07:00
Hans
a6d515a056 refactor(@schematics/schematics): automated JSON schema interface generation 2018-09-13 16:44:17 -07:00
Hans
f15d5589c3 refactor(@schematics/angular): automated JSON schema generation 2018-09-13 16:44:17 -07:00
Hans
8a4ce4de02 refactor(@schematics/update): add automated JSON schema generation 2018-09-13 16:44:17 -07:00
Hans
a07f83638e build: add JSON Schema .d.ts and .js files to build output 2018-09-13 16:44:17 -07:00
Hans
defe0cca06 build: support for JSON Schemas files in bootstrap-local 2018-09-13 16:44:17 -07:00
Hans
e004464a94 ci: build script uses bazel to generate the schemas 2018-09-13 16:44:17 -07:00
Hans
9b0d5fa073 ci: move bazel-build to xlarge resource class 2018-09-13 16:44:17 -07:00
Hans
aeb7c46332 build: add support to build JSON schema through bazel
The tests verify that the output of the rule is the same as the input, and will
error if not (with a call to action). The binary produces the golden output.

We have to check the result of the transformation into git because internally
we cannot synchronize quicktype into google3.
2018-09-13 16:44:17 -07:00
Hans Larsen
737ffad272 ci: bootstrap-local now prioritizes typescript files over JSON
The require() logic by default is not enough; require("file") would pick the json
if there are both a file.ts and file.json. This does not show up in prod because
js files are prioritized over json, but it does show up in bootstrap because we
compile ts in memory and there are no .js file on disk (which require()
could potentially see).

This is necessary for the schema change because schema.json and
schema.ts collides. We should also rename the commands from *-impl.ts to
just *.ts (they were named that way because of this conflict).
2018-09-13 16:44:17 -07:00
Hans Larsen
f34dfc9643 ci: add missing licenses from quicktype-core dependencies
And remove fixed TODOs.
2018-09-13 16:44:17 -07:00
Charles Lyding
9e7391c685 fix(@angular/cli): warn if targets is present when using a schematic 2018-09-13 16:43:31 -07:00
Charles Lyding
57c049e507 test: update to support targets & architect fields 2018-09-13 16:43:31 -07:00
Charles Lyding
f107d2de11 fix(@schematics/angular): use 'architect' instead of 'targets' until deprecated 2018-09-13 16:43:31 -07:00
Yi Qi
e36a259a45 fix(@angular/cli): fix issues in google3 2018-09-13 14:08:04 -07:00
Charles Lyding
437cd6234d ci: remove unused unit test code coverage
This is not saved anywhere and it currently doesn't support native async/await.
2018-09-13 10:38:52 -07:00
Charles Lyding
67684663b7 feat(@ngtools/webpack): move @angular/compiler-cli to a peer dependency
Now that the package is no longer installed globally, it can now properly use peer dependencies without issue.
2018-09-13 10:38:52 -07:00
Charles Lyding
1e7feb5270 fix(@ngtools/webpack): remove deprecated singleFileIncludes option 2018-09-13 10:38:52 -07:00
Charles Lyding
a2e44bb8b7 build: use native async/await support
Node.js 8.9.4 (minimum supported version for the CLI) contains native async support.
2018-09-13 10:38:52 -07:00
Charles Lyding
2e6eea47d7 refactor(@ngtools/webpack): use async/await where possible 2018-09-13 10:38:52 -07:00
Filipe Silva
4c5ed59232 build: match engines with bazel and CI 2018-09-13 10:37:37 -07:00
Charles Lyding
57a32c2ef5 fix(@angular/cli): show an error if invalid global config file found
Fixes #12198
2018-09-12 16:00:04 -07:00
Alan Agius
6133eb23d3 docs: fix asset input path
Closes #12219
2018-09-12 15:44:47 -07:00
Sean Wright
467c02b35c style: match styleguide catch callback 2018-09-12 12:43:35 -07:00
Alan Agius
82f2bda2f5 refactor(@schematics/angular): make interaction with architect targets type safe 2018-09-12 12:37:24 -07:00
Yaroslav Admin
a5bb3ced10 fix(@schematics/angular): fix app shell schematic failure
Fixes #10093
2018-09-10 14:22:14 -07:00
Filipe Silva
4a5973c37a build: workaround yarn tgz bug 2018-09-10 14:19:22 -07:00
Filipe Silva
f5fe1b60d4 build: fix tarring packages on windows 2018-09-10 14:19:22 -07:00
Filipe Silva
7567a9231e test: add AIO benchmark 2018-09-10 14:19:22 -07:00
Filipe Silva
c2625271de feat(@angular-devkit/benchmark): add package 2018-09-10 14:19:22 -07:00
Filipe Silva
9fdcdf49bb ci: add back angular snapshot e2e on master 2018-09-10 14:18:24 -07:00
Charles Lyding
b403aa69c1 test(@angular-devkit/build-angular): improve resilience of watch rebuilds 2018-09-10 12:30:49 -07:00
Charles Lyding
96dc506038 test(@angular-devkit/build-angular): expand polling success threshold
polling is highly dependent on CPU and IO; with shared CI machines this can cause high variability
2018-09-10 12:30:49 -07:00
Charles Lyding
b6ff520b10 refactor(@ngtools/webpack): avoid double caching of files 2018-09-10 12:30:49 -07:00
Charles Lyding
d29701f978 fix(@angular-devkit/core): allow stat on record host 2018-09-10 12:30:49 -07:00
Alan Agius
432fe97d89 fix(@schematics/angular): use app root to set server paths in options 2018-09-07 13:00:37 -07:00
Alan
d07e68aa95 fix(@schematics/angular): module imports paths are incorrect when flat option is used
Closes #12169
2018-09-07 13:00:18 -07:00
Alan Agius
b8b36ba339 refactor: pin down all direct dependencies
This is so that CLI users get the same direct dependency versions that were tested on the CI.
2018-09-07 11:01:50 -07:00
Charles Lyding
87db956cab refactor(@angular-devkit/build-optimizer): remove unused helper function 2018-09-07 10:45:46 -07:00
Charles Lyding
74bc8e886b fix(@angular-devkit/build-optimizer): remove deprecated wrap enums check 2018-09-07 10:45:46 -07:00
Charles Lyding
a1ea3a05d4 fix(@angular-devkit/build-optimizer): remove deprecated purify plugin 2018-09-07 10:45:46 -07:00
Alex Eagle
f7f1d139f4 release: v7.0.0-beta.2 v7.0.0-beta.2 2018-09-06 14:47:26 -07:00
Alex Eagle
7421d63d4a release: v7.0.0-beta.1 2018-09-06 14:31:53 -07:00
Alex Eagle
351359b2ff release: v7.0.0-beta.0 2018-09-06 14:24:14 -07:00
Alex Eagle
5feb1faa37
Update release.md
add note about `latest-versions.ts`
2018-09-06 14:20:53 -07:00
Charles Lyding
6595490b8b feat(@angular/pwa): support customized workspace configurations with add 2018-09-06 11:01:17 -07:00
Filipe Silva
0dc36f2848 ci: update CI to node 10 2018-09-06 10:59:24 -07:00
Alan Agius
36f8cd77ba fix(@schematics/angular): fix path for ngswConfigPath during migration
`/` will cause an error during lookup `Error: Expected to find an `ngsw-config.json` configuration file
2018-09-06 10:58:33 -07:00
Alan Agius
616ffe70f8 fix(@schematics/angular): app shell schematic does not use production configuration
Closes: #11578
2018-09-06 10:55:39 -07:00
Jan Kuri
6afa6a31bb docs: update proxy.md with correct path 2018-09-06 10:55:08 -07:00