3213 Commits

Author SHA1 Message Date
Keen Yee Liau
a3b05a0283 build: Use fine-grained node_module deps
This commit updates the BUILD files to specify fine-grained node_module deps
by replacing "@typings" comments with actual @npm node module.

Moved tools/bazel.rc -> .bazelrc

Removed "jasmine" typings from base tsconfig.json

Added @bazel/karma to devDependencies, needed for `ts_web_test`
2018-10-31 20:56:27 -07:00
Alan Agius
b38a13dc02 fix(@angular-devkit/schematics): upgrade refactoring with tslint emits too much whitespace
Fixes #12653
2018-10-31 14:57:53 -07:00
Alan Agius
c24afaf31c fix(@schematics/angular): experimentalIvy creates project using next packages
Close: #12667
2018-10-31 14:57:16 -07:00
Charles Lyding
2d4332f0ca fix(@schematics/angular): migrate build-angular for 7.0 RC users
Fixes #12647
2018-10-31 14:56:27 -07:00
Charles Lyding
55f015f40d refactor(@schematics/update): cleanup/optimize npm fetch 2018-10-31 14:55:37 -07:00
Charles Lyding
5af69ba43b refactor(@angular/cli): remove rxjs direct dependency 2018-10-31 14:53:56 -07:00
Charles Lyding
2c6c398e6c refactor(@angular-devkit/core): allow promises for registry URI handlers 2018-10-31 14:53:56 -07:00
Alan Agius
f52f043e4f docs: update descriptions 2018-10-24 13:11:55 -07:00
Hans
a53cf44e1d Branch support in snapshots (#12692)
* ci: snapshots can push to specific branches

Can take either a branch argument, or use CIRCLE_BRANCH if available.

* ci: run snapshots on all branches
2018-10-23 13:22:11 -07:00
Charles Lyding
9ae9757048 feat(@angular-devkit/build-angular): update webpack dependencies
Webpack@4.22.0
2018-10-23 12:08:31 -07:00
Charles Lyding
9f114aee1e refactor(@angular-devkit/build-angular): cleanup/fix linting of webpack configs 2018-10-23 12:07:09 -07:00
Alan Agius
e08a6f4e98 docs: update cli readme for version 7 2018-10-23 12:03:26 -07:00
Jeffrey Bosch
d3395bed76 fix(@angular-devkit/build-angular): update license-webpack-plugin
Closes #12649
2018-10-23 12:01:25 -07:00
Alan Agius
0dc4c40dd3 fix(@angular/cli): multiline help descriptions are not aligned 2018-10-23 12:00:30 -07:00
Hans
a6f80e4fe7 Various QoL with TSLint and Docs (#12655)
* docs: add README files to all root folders

Except benchmark and tools.

* refactor: move rules/ directory to etc/

And fix a linting error that was found while updating tslint usage

* ci: lint errors out if TSLint shows a warning

This is not a warning from the code itself, but from TSLint. For example,
if a rule was missing, TSLint will just ignore the rule, show something on
STDOUT and not fail.

This fixes CI where local rules were missing for unknown reasons. It will
now fail CI when that happens, which is the correct behaviour.
2018-10-23 11:59:16 -07:00
Alan Agius
22dc791d96 fix(@angular-devkit/build-angular): error when using protocol-relative url
Fixes #12648
2018-10-23 11:58:29 -07:00
Alan Agius
515553f0dc fix(@schematics/angular): module is not being located correctly when using flat
Fixes #12614
2018-10-23 11:57:50 -07:00
Alan Agius
0b4f3c10e8 fix(@angular-devkit/schematics-cli): inconsistency in referencing collection
Fixes #12600
2018-10-23 11:57:22 -07:00
Ahsan Ayaz
39b6300f9b fix(@schematics/schematics): should not have test node_modules specs
Fixed the  schematics to not consider node_module specs while running unit tests
Fixes #12605
2018-10-23 11:56:46 -07:00
Alan Agius
6aff217e88 docs: update universal rendering story
Closes: #9202
2018-10-23 11:53:13 -07:00
Alan Agius
abf99b5b5e fix(@angular-devkit/build-optimizer): add tslib replacement at top of file
Fixes #12568
2018-10-23 11:52:34 -07:00
Noël Macé
9c5058e95c Docs: fix budgets story (#12585)
* docs: fix typo in budgets story

* docs: add example in budgets story
2018-10-23 11:51:14 -07:00
Andrey Sitnik
e897b39afc feat(@angular-devkit/build-angular): update Autoprefixer and PostCSS
Closes #9861 and Closes #9829
2018-10-23 11:50:09 -07:00
Alan Agius
f61ea6b69f fix(@ngtools/webpack): report a warning when lazy route discovery is disabled
At the moment this will cause a runtime error instead. With this change a warning will be shown during the build.

Closes #12238 and Closes #12025
2018-10-23 11:47:55 -07:00
Alan Agius
9d69367e97 fix(@angular-devkit/build-angular): update copy-webpack-plugin dependency
This fixes the issue that newly added files are not copied on serve

Fixes #9669
2018-10-23 11:47:15 -07:00
Alex Eagle
3b3e434c4e build: add utility for reading build event protocol 2018-10-23 11:39:26 -07:00
Charles Lyding
f98f0d5193 fix(@ngtools/webpack): ignore webpack special requests when pathmapping 2018-10-23 10:23:47 -07:00
Alan Agius
bb01cce06a feat(@angular-devkit/schematics-cli): add support for camelCase arguments
At the moment, only kebab case args works, and this might be misleading if you come from the Angular CLI. As for instance `--dryRun` will have no effect.

Fixes #12599
2018-10-23 10:23:17 -07:00
Alan Agius
0b4e91bb97 feat(@schematics/angular): enable typescript helpers in workspace 2018-10-23 10:22:16 -07:00
Caleb Martinez
6ca9efffe6 feat(@schematics/update): import user-agent from NPM config
Configuration of the user-agent header in requests is a commonly available feature; previous versions of angular-cli do not pull this value from NPM.
2018-10-23 10:21:20 -07:00
Alan Agius
4cca3a10e8 feat(@schematics/angular): add text-summary to code coverage reporters
Fixes #3602
2018-10-23 10:16:44 -07:00
Alan Agius
7f0a7ce5df feat(@angular-devkit/build-angular): expose buildWebpackConfig method in KarmaBuilder
Closes #12447
2018-10-23 10:16:12 -07:00
Alan Agius
edb84b340f fix(@ngtools/webpack): emit lazy routes errors on rebuilds (#12418)
* fix(@ngtools/webpack): emit lazy routes errors on rebuilds

At the moment lazy route errors are only emitted in the initial builds because in following builds we are only processed lazy routes that are declared in the changed files.

At the moment, we cannot cache the previously resolved routes as there is no way to track in which file the lazy route was declared so that we can bust the lazy route if it was removed.

Closes #12236

* test: add test for compilation errors in watch mode

Closes #12311
2018-10-23 10:15:35 -07:00
Alan Agius
8bbba9d0ac fix(@schematics/angular): update @angular peerDependencies for new libraries 2018-10-19 15:58:12 -07:00
Filipe Silva
a6ffa2b9ab fix(@angular-devkit/build-angular): update copy-webpack-plugin 2018-10-19 14:57:04 -07:00
Filipe Silva
231b62e42f fix(@ngtools/webpack): only invalidate related virtual files 2018-10-19 14:57:04 -07:00
Alan Agius
4a4cfb0fa5 docs: add links to aio pages 2018-10-18 14:08:09 -07:00
Alan Agius
41eee217d5 fix(@schematics/angular): point CLI link to angular.io instead of wiki 2018-10-18 14:08:09 -07:00
Charles Lyding
16f1834736 fix(@schematics/angular): update codelyzer for new projects
codelyzer@4.5.0 adds support for Angular 7.0 and removes peer dep warnings on new project install.
2018-10-18 09:50:35 -07:00
Hsuan Lee
387d64c317 fix(@angular-devkit/build-webpack): skip transition property optimization
jakubpawlowicz/clean-css#1050 to be fixed before removing this option.

Fix #12408
2018-10-18 07:17:40 -07:00
Alan Agius
8b400f2f74 docs: improve command option descriptions 2018-10-18 07:10:59 -07:00
Charles Lyding
74c799a82c fix(@schematics/angular): avoid using 6.2+ only features in migrations 2018-10-17 11:37:24 -07:00
Jason Jean
6e7f4d961f fix(@schematics/angular): fix polyfill path resolution 2018-10-16 22:25:51 -07:00
Alan Agius
d0bea7a1ff fix(@ngtools/webpack): barrel files fail on windows
Fixes #12035
2018-10-16 11:31:11 -07:00
Alan Agius
915994da69 fix(@angular-devkit/build-optimizer): update to typescript 3.1.3
This fixes issues related to Microsoft/TypeScript#27341
2018-10-16 11:29:19 -07:00
Alan Agius
748e2e57a1 fix(@schematics/angular): update typescript dependency to 3.1.3
Fixes issues related to Microsoft/TypeScript#27341
2018-10-16 11:29:19 -07:00
Alan Agius
3d64c34473 build: update to typescript 3.1.3 2018-10-16 11:29:19 -07:00
Alex Eagle
21956ca25f docs: minor updates to command reference
Don't mention Architect
We don't inline resources anymore
Minor grammar tweaks
Split out a couple more long descriptions so the short description is plain text
2018-10-16 11:18:16 -07:00
Judy Bogart
3ad551c2ff docs: correct json syntax 2018-10-16 11:18:16 -07:00
Judy Bogart
6ea5c1f566 docs: mention prompts 2018-10-16 11:18:16 -07:00