2860 Commits

Author SHA1 Message Date
Alan Agius
7f67c64be1 fix(@angular-devkit/build-angular): fixes cors issues with karma (#11970)
Checking the stack trace in the issue one can noticed that the paths for the components are being served via the `webpack://` protocol which is causing a `cors` issue between `http` and `webpack` protocol

This PR removed the `webpack` protocol from the `devtoolModuleFilenameTemplate`

Closes #11966
2018-08-28 13:10:43 -07:00
Cédric Exbrayat
3f94b2d8ba feat(@schematics/angular): remove useless import for Ivy (#11874)
Using cli `6.2.0-beta.2` with the new `experimentalIvy` flag leads to:

    ERROR in src/app/app.module.ts(1,1): error TS6133: 'BrowserModule' is declared but its value is never read.
2018-08-28 13:10:18 -07:00
Dmitry Teplov
8b7fa047d7 docs: fix generate library skip-install desc (#11998) 2018-08-27 18:12:30 -07:00
Alan Agius
1730c79b99 fix(@angular-devkit/build-angular): exclude .map files from budget … (#12012)
* fix(@angular-devkit/build-angular): exclude `.map` files from budget calculations

Closes #11999
2018-08-27 18:12:04 -07:00
Hans
62e72fea38 fix(@angular-devkit/architect): explicitly type functions
Closes: #11992
2018-08-27 18:11:07 -07:00
Alex Eagle
02bfde50d6 docs: add install instructions to pull a snapshot build (#11988)
Would like to point users here when they ask why their bug was closed but the problem is still visible in `@latest`
2018-08-27 10:28:21 -07:00
clydin
d55deb9282 build: add bazel TS library for node tasks (#12008) 2018-08-27 10:27:44 -07:00
Filipe Silva
907fedc0b8 feat(@angular-devkit/build-angular): use terser instead of uglify-es (#11996)
Should help bring down prod build times, @SanderElias reported a ~60% reduction on his project.

Should fix #9340.
2018-08-27 10:26:30 -07:00
ajspera
c66f831a07 fix(@angular-devkit/build-angular): load style source maps inline so they work (#11729)
without this, the way styles are into the DOM breaks the default sourcemap option
postcss-loader option docs
https://github.com/postcss/postcss-loader#inline
fixes #9099
2018-08-27 10:24:26 -07:00
Yi Qi
0535e2b738 feat(@angular/cli): allow schematic command to specify the default colletion. 2018-08-24 15:02:44 -07:00
Eaton
03c4296c1b docs: fix broken links to angular.io (#11811)
docs:  fix broken links to angular.io
2018-08-23 13:54:32 -07:00
Hans
6eef637e0a
release: v6.2.0-rc.0 v6.2.0-rc.0 2018-08-23 12:34:03 -07:00
Yi Qi
545db0651f fix(@angular/cli): fix typing issue in google3 2018-08-23 11:44:02 -07:00
Charles Lyding
d202480a17 build: update/cleanup tslint rules & fix errors 2018-08-23 11:35:34 -07:00
Charles Lyding
a9e25fffae fix(@schematics/angular): ensure non-evergreen IE browsers are excluded 2018-08-23 10:36:53 -07:00
Charles Lyding
6f38c77e05 feat(@angular-devkit/build-angular): support dart-sass for SASS/SCSS 2018-08-23 10:34:43 -07:00
Alan Agius
2d8443629e fix(@angular-devkit/build-angular): build should not hash lazy styles
When having `optimize` enabled the chunk Id doesn't match the bundle name, this we should use the chunk name instead

Closes #11772 and Closes #11704
2018-08-23 10:31:41 -07:00
Filipe Silva
f1f987b523 build: remove marker internal from function
It stops the function from being imported in the unit test.
2018-08-22 16:36:10 -07:00
Filipe Silva
9b7d076e2b fix(@angular-devkit/schematics): correctly resolve absolute windows paths 2018-08-22 16:36:10 -07:00
Filipe Silva
9720077a4b build: make resolution logic compatible with Bazel 2018-08-22 16:36:10 -07:00
Filipe Silva
f08ec443ff build: re-enable missing bazel tests 2018-08-22 16:36:10 -07:00
Filipe Silva
1c8e506eed build: preserve symlinks for rules_nodejs 2018-08-22 16:36:10 -07:00
Filipe Silva
a20495becb build: add bazel absolute path fixes 2018-08-22 16:36:10 -07:00
Filipe Silva
2393ab9aba build: simplify bazel dependencies 2018-08-22 16:36:10 -07:00
Filipe Silva
33270c5905 build: update rules_nodejs to include windows fixes 2018-08-22 16:36:10 -07:00
Filipe Silva
37c5b842a0 build: include rxjs dependency needed for bazel local repo 2018-08-22 16:36:10 -07:00
Filipe Silva
6b14f2aba8 test(@schematics/update): add bazel tests 2018-08-22 16:36:10 -07:00
Filipe Silva
666b84bbd3 test(@schematics/angular): add bazel tests 2018-08-22 16:36:10 -07:00
Filipe Silva
c03516a81e test(@angular-devkit/build-optimizer): add bazel tests 2018-08-22 16:36:10 -07:00
Filipe Silva
9a63db837b refactor(@angular-devkit/schematics-cli): update bazel build file 2018-08-22 16:36:10 -07:00
Filipe Silva
e17cc66f93 test(@angular-devkit/schematics): add bazel tests 2018-08-22 16:36:10 -07:00
Filipe Silva
a6028a7761 test(@angular-devkit/core): add bazel tests 2018-08-22 16:36:10 -07:00
Filipe Silva
80479bb85c build: use a more restrictive node modules glob 2018-08-22 16:36:10 -07:00
Filipe Silva
04d2fc6096 ci: update bazel-build to run tests 2018-08-22 16:36:10 -07:00
Filipe Silva
6cfbe209b2 ci: update circleci to use bazel 0.15 2018-08-22 16:36:10 -07:00
Filipe Silva
b1ad957a15 build: update bazel workspace 2018-08-22 16:36:10 -07:00
Filipe Silva
6519745089 fix(@angular-devkit/build-angular): support inline javascript in less
Based on https://github.com/angular/devkit/pull/866
Fix https://github.com/angular/angular-cli/issues/10430
2018-08-22 11:52:49 -07:00
Hans
c0f61dcb83 build: throw an exception when a package is not found in monorepo 2018-08-21 11:19:55 -07:00
Hans
56a97c1fc2 build: add support for yarn workspace in scripts 2018-08-21 11:19:55 -07:00
Alan Agius
2c858503ba fix(@angular-devkit/build-angular): tslint exclude for relative paths
Closes #11773
2018-08-21 11:17:47 -07:00
Alan Agius
718ee15b9a refactor: remove flatModuleId and flatModuleOutFile from library tsconfig
The autogenerated fiellds are no longer required following this PR https://github.com/dherges/ng-packagr/pull/1024

This has been released in `ng-packagr` `v4.1.0`
2018-08-21 10:16:38 -07:00
Hans Larsen
cc434b6dee fix(@schematics/update): fix logic to coerce the version number
And add unit tests for it.
2018-08-21 10:14:18 -07:00
Hans
0a3e47934a test: fix e2e tests that were incorrectly checking stdout 2018-08-21 09:57:34 -07:00
Hans Larsen
548616eda3 feat(@schematics/angular): use STDERR to report warnings 2018-08-21 09:57:34 -07:00
Hans Larsen
2a1e19c4e4 feat(@ngtools/webpack): use STDERR to report warnings 2018-08-21 09:57:34 -07:00
Hans Larsen
20b5d916d2 feat(@angular/cli): use STDERR to report warnings 2018-08-21 09:57:34 -07:00
Charles Lyding
b4a30762fe fix(@angular/pwa): support ng add with CLI 6.0.x
Fixes #11663
2018-08-20 16:34:10 -07:00
Charles Lyding
ad84bb1fdc fix(@angular/pwa): properly write closing body tag when modifying index
Fixes #11543
Fixes #11942
2018-08-20 10:28:25 -07:00
Charles Lyding
682cae1ba0 ci: improve yarn caching on AppVeyor 2018-08-19 13:00:02 -07:00
Charles Lyding
3034befa63 ci: use select e2e tests instead of large unit tests with AppVeyor 2018-08-19 13:00:02 -07:00