7214 Commits

Author SHA1 Message Date
dependabot[bot]
f2c89e8bfe build: bump ini from 1.3.5 to 1.3.6
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.6.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.6)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-11 13:55:34 +00:00
Joey Perrott
c6e7da1b64 ci: update remaining references to old pr targeting system
Completes the migration to use the new unified target label system, updating
dependabot, renovate and angular-robot to expect the new labels.
2020-12-11 13:53:23 +00:00
Keen Yee Liau
205ea2b638 release: v11.1.0-next.2 v11.1.0-next.2 2020-12-09 14:01:32 -08:00
Alan Agius
e49991b858 docs: add missing full stop at the end of the configuration description 2020-12-09 14:36:07 -05:00
Alan Agius
e68c59a37c docs: update inline option description 2020-12-09 14:36:07 -05:00
Alan Agius
f0d18e990e docs: change sourcemap to source map
The latter is more in used in other articules such as:
-  https://developer.mozilla.org/en-US/docs/Tools/Debugger/How_to/Use_a_source_map
- https://developers.google.com/web/tools/chrome-devtools/javascript/source-maps
2020-12-09 14:36:07 -05:00
Doug Parker
c89ed0af3e docs: update package.json version note to be more visible
During the release today my eyes completely skipped over the new requirement to update `package.json`. Changed this to a list to give more visual weight and guide readers eyes to both places that need to be modified.
2020-12-09 13:34:32 -05:00
Keen Yee Liau
48a278e18f fix(@angular-devkit/build-angular): identify plugin provided as string
Karma plugins could be provided either a string or object, but our detection
logic for code coverage plugin only covers the string case.

Fix #19571
2020-12-09 09:52:57 -05:00
Alan Agius
d368bfd684 fix(@angular/cli): allow trailing commas in JSON files
Currently, both tsconfigs and workspace configuration files can contain trailing commas

Closes #19576
2020-12-09 09:52:35 -05:00
Alan Agius
07e3766220 fix(@schematics/angular): allow trailing commas in JSON files
Currently, both tsconfigs and workspace configuration files can contain trailing commas

Closes #19576
2020-12-09 09:52:35 -05:00
Charles Lyding
c94a1961fc fix(@angular-devkit/build-angular): define forwardRef as a pure function
By configuring the optimizer (`terser`) to be aware that the Angular `forwardRef` helper function is a pure function, the optimizer can completely remove the helper call when the return value is unused.
2020-12-08 19:54:14 -05:00
Alan Agius
d3afdcc1b3 fix(@angular-devkit/build-angular): add file path in CSS optimization exception
Closes #19561
2020-12-08 14:39:36 -05:00
Alan Agius
c99cef7ed6 docs: remove when true, when false from argument descriptions
It's confusing and redundant to use `When true` and `when false` in descriptions for a CLI arguments because specifying false/true is redundant in a command line argument flag and in most cases users will not do it.

Example:
`--foo=true` is the same as `--foo`
`--foo=false` is the same as `--no-foo`
2020-12-08 14:39:23 -05:00
Alan Agius
ca69c8c6b4 fix(@angular-devkit/build-angular): update ScriptsWebpackPlugin to work with Webpack 5
Closes: #19550
2020-12-07 15:23:29 -05:00
Renovate Bot
30b8e00f2a build: update core-js to version 3.8.1 2020-12-07 13:11:25 -05:00
Renovate Bot
1b74ac4b83 build: update angular packages 2020-12-07 13:11:12 -05:00
Alan Agius
eb30a92e8a feat(@angular-devkit/build-angular): enable inlining of critical CSS optimizations
This is another feature that we mentioned in the Eliminate Render Blocking Requests RFC (#18730)

Inlining of critical CSS is turned off by default. To opt-in this feature set `inlineCritical` to `true`.

Example:
```json
"configurations": {
  "production": {
    "fileReplacements": [
      {
        "replace": "src/environments/environment.ts",
        "with": "src/environments/environment.prod.ts"
      }
    ],
    "optimization": {
      "styles": {
        "minify": true,
        "inlineCritical": true,
       }
    },
```

To learn more about critical CSS see;
https://web.dev/defer-non-critical-css
https://web.dev/extract-critical-css/

In a future version of the Angular CLI `inlineCritical` will be enabled by default.

Closes: #17966
Closes: #11395
Closes: #19445
2020-12-04 15:41:29 -05:00
Alan Agius
450d999150 docs: replace appShell with app-shell
Favor kebab cases
2020-12-04 13:42:40 -05:00
Alan Agius
ee6bb1359f docs: fix elimination typo 2020-12-04 13:42:26 -05:00
Charles Lyding
053ffe9e8d refactor(@schematics/angular): update vendored TypeScript to 4.1 2020-12-03 16:43:39 -05:00
Charles Lyding
df9ddd11ec build: update development versions of Angular to 11.1.0-next.1
11.1.0-next.1 provides support for TypeScript 4.1
2020-12-03 16:43:39 -05:00
Charles Lyding
83b23f81b1 feat(@schematics/schematics): generate new projects with TypeScript 4.1 2020-12-03 16:43:39 -05:00
Charles Lyding
774cd52dd0 feat(@schematics/angular): generate new projects with TypeScript 4.1 2020-12-03 16:43:39 -05:00
Charles Lyding
8d92a7cbf0 feat(@angular-devkit/build-angular): support using TypeScript 4.1 2020-12-03 16:43:39 -05:00
Charles Lyding
5cda038ba7 feat(@ngtools/webpack): support using TypeScript 4.1 2020-12-03 16:43:39 -05:00
Charles Lyding
6e15005fca build: use TypeScript 4.1 2020-12-03 16:43:39 -05:00
Alan Agius
227804fd6e fix(@angular-devkit/build-angular): stylus not resolving imports from libraries
- Adds usage of webpackImporter https://www.npmjs.com/package/stylus-loader#webpackimporter
- Removes resolve-url-loader usage since stylus handles resolve paths https://stylus-lang.com/docs/js.html#stylusresolveroptions

Closes #19524
2020-12-03 12:59:08 -05:00
Alan Agius
a46bad4e31 fix(@angular-devkit/build-angular): fix termination of process when using CTRL+C
Closes #19531
2020-12-03 12:58:49 -05:00
Alan Agius
e546bd5c64 docs: switch aliased to camel case in @schematics/angular 2020-12-03 12:58:38 -05:00
Alan Agius
6fe8a6338d fix(@angular-devkit/build-angular): update index html webpack plugin to use non deprecated Webpack 5 API 2020-12-03 10:42:09 -05:00
Charles Lyding
0d439a0253 feat(@angular-devkit/build-webpack): add option for webpack stats output presence
The Webpack `Stats.toJson` function can be expensive.  A new programmatic option is now available (`shouldProvideStats`) which can be used to control whether the `webpackStats` property on the builder output object is present.  For backwards compatibility, the option is currently enabled by default.
2020-12-03 07:15:12 -05:00
Doug Parker
5746ae568c release: v11.1.0-next.1 v11.1.0-next.1 2020-12-02 11:28:44 -08:00
Alan Agius
bd158e9f6d fix(@angular/cli): show deprecation warning when using camel cased arguments 2020-12-02 16:06:36 +01:00
Joey Perrott
64d17505d4 build: set up ng-dev tooling to perform merges in the repository
Set up the configurations required for caretakers to be able to rely
on ng-dev for performing merges to all targetted branches.
2020-12-02 16:02:42 +01:00
Alan Agius
7807b779d8 docs: replace analytics table with kebabed cased arguments 2020-12-02 16:02:27 +01:00
Alan Agius
2a2293cd2d fix(@angular/cli): dasherize names option names when using JSON help
This ensures that arguments listed in https://angular.io/cli help pages are all in kebab cases.

This is a prerequisite to deprecate camel cased arguments.
2020-12-02 16:02:27 +01:00
Alan Agius
f0470f802e build: use ansi-colors instead of chalk in release checks
`chalk` is not a dev dependency in this repo. We use `ansi-colors` instead.
2020-12-02 08:30:37 +01:00
tim_frijters
b07fc6fafd fix(@schematics/angular): Alphabetized named imports 2020-12-01 10:05:02 +01:00
tim_frijters
2dac2ac769 fix(@schematics/angular): Alphabetized import sources within a group 2020-12-01 10:05:02 +01:00
Renovate Bot
64124cbb9e build: update angular packages 2020-12-01 09:16:52 +01:00
Renovate Bot
d54e0f125d build: update husky to version 5.0.4 2020-12-01 08:42:59 +01:00
Joey Perrott
32711f8383 build: update to husky@5
Update to husky version 5.0.1 to better support windows usage.
2020-12-01 08:06:33 +01:00
Joey Perrott
44a9bacfec build: update release process to reflect including updates to package.json
Now included in the release process is updating the root package.json version.
2020-12-01 08:03:52 +01:00
Joey Perrott
ec387bfcea build: establish current version in package.json
Ahead of moving to common merge tooling, the current version
of the packages must be tracked in the package.json at the root
of the project.
2020-11-30 20:55:35 +01:00
Alan Agius
b546d798bc docs: add description to localize option 2020-11-30 19:04:21 +01:00
Alan Agius
1f42e071b4 fix(@angular-devkit/core): correctly handle null prototype in deepCopy
Closes #19492
2020-11-30 11:18:13 +01:00
Alan Agius
064d62014c fix(@angular-devkit/build-angular): resolve partial SCSS files in sourcemaps
Closes #19505
2020-11-30 11:17:20 +01:00
Charles Lyding
391d60cc3d fix(@ngtools/webpack): remove use of Webpack compilation fileTimestamps property
The `fileTimestamps` property on the Webpack compilation object no longer exists with Webpack 5.  This change uses the Webpack compiler's property of the same name instead.  The cache invalidation is also moved to a separate file and now calculates the changed file set as well.  This eliminates the second iteration of the file timestamps within the resource loader.
2020-11-30 10:55:13 +01:00
Renovate Bot
c21742b090 build: update to version 2020-11-30 10:35:11 +01:00
Renovate Bot
c11faf7014 build: update rollup to version 2.34.0 2020-11-29 09:10:26 +01:00