981 Commits

Author SHA1 Message Date
Sachin Grover
14dc4fb818 fix(@angular-devkit/build-angular): allow function in filename while changing the name of compiling chunks
Fixes angular#17087
2020-02-26 12:26:45 -08:00
Renovate Bot
14179e8f1b build: update sass to version 1.26.1 2020-02-26 11:49:01 -08:00
Alan Agius
94c753c1a5 fix(@angular-devkit/build-angular): limit the amount of CPUs used by workers
See: https://github.com/angular/angular-cli/issues/16860#issuecomment-588828079
2020-02-25 10:28:25 -08:00
Renovate Bot
306ccfa063 build: update angular packages 2020-02-25 10:11:59 -08:00
Renovate Bot
8f35a9ae2f build: update file-loader to version 5.1.0 2020-02-25 10:11:33 -08:00
Renovate Bot
91febed676 build: update sass to version 1.26.0 2020-02-25 10:10:24 -08:00
Renovate Bot
ce90ae6125 build: update terser to version 4.6.4 2020-02-25 10:10:05 -08:00
Alan Agius
d29d40370a fix(@angular-devkit/build-angular): fix autoprefixer comments support in scss
Change Scss output style to `expanded` as otherwise sass will remove comments that are needed for autoprefixer when webpack is in prod mode because of the following implementation in `sass-loader`:
See: 45ad0be172/src/getSassOptions.js (L68-L70)

Fixes #17041
2020-02-24 12:52:12 -08:00
Alan Agius
4e65705205 fix(@angular-devkit/build-angular): baseHref with protocol and localize option
`posix.join` will dedupe double forward slashes resulting in incorrect protocol.

Closes: #17029
2020-02-24 12:39:47 -08:00
Sachin Grover
764b977de4 fix(@angular/cli): expand locale pattern in all schemas for all cases
Fixes: #17032
2020-02-24 12:39:35 -08:00
Renovate Bot
78cf0c7c32 build: update loader-utils to version 1.4.0 2020-02-24 12:37:15 -08:00
Alan Agius
d0cbc822f0 build: update tslib to 1.11.0
Spec helper change is related to https://github.com/microsoft/tslib/pull/90
2020-02-24 12:36:39 -08:00
Renovate Bot
4d571df0eb build: update ajv to version 6.12.0 2020-02-24 12:36:28 -08:00
Renovate Bot
54b1eeeb12 build: update find-cache-dir to version 3.3.0 2020-02-24 12:36:15 -08:00
Charles Lyding
5bd3b911ce refactor(@angular-devkit/build-angular): use localize babel plugins directly
With recent improvements in the performance of babel parsing and AST traversal, the localize babel plugins can now be leveraged directly.
2020-02-19 10:08:55 -08:00
Renovate Bot
35837abf9d build: update cacache to version 15.0.0 2020-02-18 12:44:45 -08:00
Alan Agius
9b7b2f0047 fix(@ngtools/webpack): add local dts file as dependencies
We now add non node_modules `.d.ts` as a dependency of the main chunk. This is important under Ivy, because NG metadata is now part of the declarations files ex:

```ts
export declare class FooComponent implements OnInit {
    constructor();
    ngOnInit(): void;
    static ɵfac: i0.ɵɵFactoryDef<FooComponent>;
    static ɵcmp: i0.ɵɵComponentDefWithMeta<FooComponent, "lib-foo", never, {}, {}, never>;
}
```

Previously such files were not being added as dependency and such files didn't get invalidated when changed.

Closes #16920 and closes #16921
2020-02-18 12:44:31 -08:00
Filipe Silva
a5bc1cd15b fix(@angular-devkit/build-angular): limit CPUs used by terser-webpack-plugin
Should help with https://github.com/angular/angular-cli/issues/16860#issuecomment-585751187
2020-02-18 12:44:01 -08:00
Renovate Bot
980a3fec6b build: update terser-webpack-plugin to version 2.3.5 2020-02-18 10:55:10 -08:00
Jonathan Garvey
d6c9693952 feat(@angular-devkit/build-angular): pass "grep" and "invertGrep"
Pass the "grep" and "invertGrep" flags through to the Angular Protractor
builder as "jasmineNodeOpts" so that individual specs within an E2E test
file can be targeted.

Fixes #13020
2020-02-18 10:53:27 -08:00
Renovate Bot
bb7eee31c9 build: update postcss to version 7.0.27 2020-02-18 10:51:27 -08:00
Renovate Bot
1dbcd8dccd build: update rollup to version 1.31.1 2020-02-14 12:41:13 -08:00
EmaGht
2f1a9db872 fix(@angular-devkit/build-angular): Correctly prints the size of the chunk during the build statistic print.
Fixes: #16627
2020-02-13 15:51:48 -08:00
Charles Lyding
5a53b84f96 fix(@angular-devkit/build-angular): insert sourcemap source content when using fast path 2020-02-13 15:50:58 -08:00
renovate[bot]
3030b839c4
Merge pull request #16863 from angular/renovate/angular
build: update angular packages
2020-02-13 15:49:03 -08:00
Charles Lyding
6091879428 fix(@angular-devkit/build-angular): generate correct filenames when targeting ESNext
Fixes: #16906
2020-02-12 12:01:42 -08:00
Charles Lyding
c5156977f2 fix(@angular-devkit/build-angular): provide explicit return type for extract-i18n builder
Fixes: #16934
2020-02-12 12:01:32 -08:00
Renovate Bot
ac371751ba build: update semver to version 7.1.3 2020-02-12 12:00:15 -08:00
Filipe Silva
815a025e93 build: update to 9.0.0 final 2020-02-11 09:01:58 -08:00
Alan Agius
d0ede14918 refactor: remove safari nomodule polyfills as it's unsupported 2020-02-11 08:47:20 -08:00
Charles Lyding
3c771d1b56 fix(@angular-devkit/build-angular): only remove localize polyfill if in AOT mode
Fixes: #16890
2020-02-11 08:46:40 -08:00
Renovate Bot
e64ab3d84f build: update rimraf to version 3.0.2 2020-02-11 08:44:07 -08:00
Renovate Bot
19bbddcda2 build: update less to version 3.11.1 2020-02-11 08:43:57 -08:00
Renovate Bot
2aad80f375 build: update webpack to version 4.41.6 2020-02-11 08:43:31 -08:00
Sachin Grover
e5061ef252 fix(@angular-devkit/build-angular): correct maximum budget size message
WARNING in budgets exceeded message showing wrong number

Fixes angular#16871.
2020-02-10 16:05:03 -08:00
Charles Lyding
3595cee14d fix(@angular-devkit/build-angular): resolve webdriver-manager from protractor location
The webdriver-manager package is a direct dependency of protractor.  The only guaranteed method to resolve the webdriver-manager package in this case is to resolve it from a base of the protractor location.
2020-02-06 09:09:21 -08:00
Renovate Bot
677a3106b9 build: update angular packages 2020-02-06 09:07:11 -08:00
Renovate Bot
5d5655b8c1 build: update webpack-dev-server to version 3.10.3 2020-02-05 17:19:37 -08:00
Alan Agius
a2c0532ca7 fix(@angular-devkit/build-angular): provide supported browsers to babel
By default the browserslist `configPath` will default to `process.cwd()`. This might return incorrect data in a multi app workspace setup.

https://babeljs.io/docs/en/babel-preset-env#configpath
2020-02-04 07:29:27 -08:00
Charles Lyding
9c4da54b63 refactor(@angular-devkit/build-angular): remove redundant ES2015 string polyfills 2020-02-04 07:27:33 -08:00
Charles Lyding
878e4473e0 fix(@angular-devkit/build-angular): use translation file in bundle hash calculations
This change ensures that any changes to translation files is represented in the output file names when output hashing is enabled.  This prevents the situation where a translation file only change to an application would result in built files with no change in output name.
2020-02-04 07:26:41 -08:00
Renovate Bot
dc642df2bb build: update @angular/animations to version 9.0.0-rc.14 2020-02-04 07:18:35 -08:00
Alan Agius
c3aa081ef7 fix(@angular-devkit/build-angular): add crossorigin attribute to lazy chunks
Fixes #16801
2020-02-03 17:29:58 -08:00
Renovate Bot
d53a36de92 build: update @babel/core to version 7.8.4 2020-02-03 17:28:51 -08:00
Renovate Bot
561ab16802 build: update rollup to version 1.31.0 2020-02-03 17:28:34 -08:00
Renovate Bot
123360211b build: update terser-webpack-plugin to version 2.3.4 2020-02-03 17:28:26 -08:00
Renovate Bot
5994ba2854 build: update @types/semver to version ^7.0.0 2020-02-03 17:28:07 -08:00
Renovate Bot
9b7c612100 build: update webpack-dev-server to version 3.10.2 2020-02-03 17:27:47 -08:00
Renovate Bot
62f6f2bdc8 build: update open to version 7.0.2 2020-02-03 17:26:58 -08:00
Charles Lyding
52a74a841c fix(@angular-devkit/build-angular): remove unneeded regex polyfills 2020-01-30 11:23:40 -08:00