Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from angular:master #79

Open
wants to merge 1,417 commits into
base: master
Choose a base branch
from
Open
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Feb 10, 2022

  1. Configuration menu
    Copy the full SHA
    063acc3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    87120cd View commit details
    Browse the repository at this point in the history
  3. build: update angular

    renovate-bot authored and alan-agius4 committed Feb 10, 2022
    Configuration menu
    Copy the full SHA
    88f23e0 View commit details
    Browse the repository at this point in the history
  4. fix(@angular-devkit/build-angular): update license-webpack-plugin to …

    …4.0.2
    
    Fixes builds with extractLicenses enabled when using dynamic exports
    
    Fixes #22662
    annervisser authored and alan-agius4 committed Feb 10, 2022
    Configuration menu
    Copy the full SHA
    fafbbea View commit details
    Browse the repository at this point in the history
  5. build: lock file maintenance

    renovate-bot authored and alan-agius4 committed Feb 10, 2022
    Configuration menu
    Copy the full SHA
    e4e1505 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2022

  1. Configuration menu
    Copy the full SHA
    5792a2f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6323e1b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0096ffe View commit details
    Browse the repository at this point in the history
  4. build: update angular

    renovate-bot authored and alan-agius4 committed Feb 11, 2022
    Configuration menu
    Copy the full SHA
    0301895 View commit details
    Browse the repository at this point in the history
  5. refactor(@angular/cli): remove deprecated command aliases for `extrac…

    …t-i18n`.
    
    BREAKING CHANGE:
    
    Deprecated `ng x18n` and `ng i18n-extract` commands have been removed in favor of `ng extract-i18n`.
    alan-agius4 committed Feb 11, 2022
    Configuration menu
    Copy the full SHA
    b69ca3a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f6984d5 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2022

  1. Configuration menu
    Copy the full SHA
    3b7eec7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fea9984 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3709c23 View commit details
    Browse the repository at this point in the history
  4. build: update angular

    renovate-bot authored and alan-agius4 committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    410ff10 View commit details
    Browse the repository at this point in the history
  5. build: lock file maintenance

    renovate-bot authored and alan-agius4 committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    e1d9b5b View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2022

  1. build: add permissions to current github action workflows

    The currently recommended best practice for Github action workflows is to set top-level permissions to read only. And if the job uses the automatic `GITHUB_TOKEN`, fine-grained permissions for each job based on the job's requirements should also be added.
    All existing workflows in the repository now have top-level read only permission blocks.
    Only the `scorecard` workflow currently requires additional job level permissions and the minimum set of permissions were already present for the job.
    clydin authored and alan-agius4 committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    b8c8cc4 View commit details
    Browse the repository at this point in the history
  2. build: update angular

    renovate-bot authored and alan-agius4 committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    d1fffd6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    65be45b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d79f2b7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1fca0f1 View commit details
    Browse the repository at this point in the history
  6. test: remove unneeded public API golden file for removed build optimi…

    …zer package
    
    This API golden file is no longer needed as the `@angular-devkit/build-optimizer` package has been removed as of v14.
    clydin authored and alan-agius4 committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    1b51673 View commit details
    Browse the repository at this point in the history
  7. build: remove unused development dependency seedrandom

    The `seedrandom` dependency is not currently used within the package or project.
    As a result, it has been removed to prevent unneeded packages from being installed during development.
    clydin authored and alan-agius4 committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    51e1521 View commit details
    Browse the repository at this point in the history
  8. build: remove unused/outdated Dockerfile

    The Dockerfile at the root of the repository is both outdated (uses Node.js v10) and unused by current development processes.
    clydin authored and alan-agius4 committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    3243148 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    f2df132 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    40301a2 View commit details
    Browse the repository at this point in the history
  11. build: rollback @babel/generator to 7.17.0

    This is a fix to avoid hosting issues which causes bazel test to fail.
    alan-agius4 committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    ee95366 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2022

  1. Configuration menu
    Copy the full SHA
    3c31c22 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c4cd673 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2022

  1. Configuration menu
    Copy the full SHA
    2acec7f View commit details
    Browse the repository at this point in the history
  2. test: update E2E production application size expectations

    Improvements to the framework for `14.0.0-next.3` resulted in reduced main bundle sizes.
    
    ```
      Initial Chunk Files           | Names         |  Raw Size | Estimated Transfer Size
      main.f6e8bb94b78b0b43.js      | main          | 120.24 kB |                36.23 kB
    ```
    clydin committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    ed790c1 View commit details
    Browse the repository at this point in the history
  3. build: update bazel to 5.0.0

    Update bazel to the latest stable version (currently 5.0.0).
    clydin committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    41a649a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e0e4cd6 View commit details
    Browse the repository at this point in the history
  5. build: remove multiple unused development dependencies

    The following development dependencies are no longer used directly and have been removed from the root `package.json`:
    * `conventional-commits-parser`
    * `gh-got`
    * `git-raw-commits`
    clydin committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    175cd51 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2022

  1. test: remove common-tags dependency from E2E tests

    The `common-tags` development dependency was only used in several E2E tests.
    Removing the usage of the dependency also allows it to be removed as a development dependency from the root `package.json`.
    clydin committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    af0ef74 View commit details
    Browse the repository at this point in the history
  2. build: update snapshot e2e setup to reflect builds repository rename

    Updates the snapshot e2e setup to reflect the builds repository rename
    where `material2-builds` got renamed to `material-builds`.
    devversion authored and clydin committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    59497a9 View commit details
    Browse the repository at this point in the history
  3. build: lock file maintenance

    renovate-bot authored and clydin committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    34bf5a7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    748d3ab View commit details
    Browse the repository at this point in the history
  5. fix(@angular-devkit/build-angular): don't rename blocks which have a …

    …name
    
    When using the unsupported `webpackChunkName` magic comment we renamed the chunk which in some cases causes a runtime error.
    
    Closes #22525
    alan-agius4 authored and clydin committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    de14293 View commit details
    Browse the repository at this point in the history
  6. ci: use renovate Github Action tag version pinning

    Renovate supports use hashed version pinning for individual Github actions while still following SemVer-based tags.
    All workflow actions external to the Angular organization now leverage this support to ensure both that stable versions of the actions are used and that the actions are pinned to a hashed version of the tag.
    clydin committed Feb 22, 2022
    Configuration menu
    Copy the full SHA
    92cc05b View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2022

  1. Configuration menu
    Copy the full SHA
    68c01b5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    54b1ca2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    52be302 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2022

  1. docs(@angular-devkit/core): typo in string.ts doc

    Typo in underscore function code documentation.
    ilmalte authored and dgp1130 committed Feb 24, 2022
    Configuration menu
    Copy the full SHA
    b20f34e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c4d3dfa View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2022

  1. refactor(@angular-devkit/build-angular): replace most custom path res…

    …olve usages with Node.js builtins
    
    During the build initialization phase, many paths are converted back and forth between multiple normalized forms. These conversions involve potentially expensive string operations. The majority of the custom path `resolve` function from `@angular-devkit/core` usages have now been removed in favor of the Node.js builtin path functions. This change reduces the need to perform additional string manipulation where possible.
    clydin committed Feb 25, 2022
    Configuration menu
    Copy the full SHA
    ed67d9a View commit details
    Browse the repository at this point in the history
  2. refactor(@angular/cli): remove unused INITIAL_COMMIT_MESSAGE text file

    This file is no longer used.
    alan-agius4 authored and clydin committed Feb 25, 2022
    Configuration menu
    Copy the full SHA
    e529fb8 View commit details
    Browse the repository at this point in the history
  3. refactor(@angular-devkit/build-angular): remove unneeded JsonObject t…

    …ype casting
    
    The use of the `@angular-devkit/core` `JsonObject` type is no longer needed to satisfy the type requirements of `@angular-devkit/architect` package builder creation functions.
    clydin committed Feb 25, 2022
    Configuration menu
    Copy the full SHA
    f0daa8c View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2022

  1. build: update angular

    renovate-bot authored and dgp1130 committed Mar 1, 2022
    Configuration menu
    Copy the full SHA
    38a9d9e View commit details
    Browse the repository at this point in the history
  2. refactor: remove ng-dev deep imports

    These symbols are now exported from the primary entry-point.
    alan-agius4 authored and dgp1130 committed Mar 1, 2022
    Configuration menu
    Copy the full SHA
    f8765cc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4df12dc View commit details
    Browse the repository at this point in the history
  4. build: lock file maintenance

    renovate-bot authored and dgp1130 committed Mar 1, 2022
    Configuration menu
    Copy the full SHA
    21034b6 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2022

  1. refactor(@angular-devkit/schematics-cli): replace parser with yargs-p…

    …arser
    
    BREAKING CHANGE: camel case arguments are no longer allowed.
    
    Closes #13544, closes #12150, closes #22173
    alan-agius4 authored and dgp1130 committed Mar 2, 2022
    Configuration menu
    Copy the full SHA
    5330d52 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b6de2d2 View commit details
    Browse the repository at this point in the history
  3. refactor(@angular-devkit/architect-cli): replace parser with yargs-pa…

    …rser
    
    BREAKING CHANGE: camel case arguments are no longer allowed.
    alan-agius4 authored and dgp1130 committed Mar 2, 2022
    Configuration menu
    Copy the full SHA
    c7556b6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4fe0a51 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5f04105 View commit details
    Browse the repository at this point in the history
  6. ci: remove Node.js v12 E2E job

    Node.js v12 will become EOL on 2022-04-30. As a result, Angular as of v14 will no longer support Node.js v12.
    clydin committed Mar 2, 2022
    Configuration menu
    Copy the full SHA
    aea0d9b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3d0204d View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2022

  1. Configuration menu
    Copy the full SHA
    ac98f25 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a3c0aa9 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2022

  1. Configuration menu
    Copy the full SHA
    b85b674 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a11c947 View commit details
    Browse the repository at this point in the history
  3. fix(@angular-devkit/build-angular): ignore css only chunks during naming

    Don't name CSS only chunks.
    
    Closes #22769
    alan-agius4 committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    e28c715 View commit details
    Browse the repository at this point in the history
  4. docs(@angular-devkit/build-angular): update link to Angular Package F…

    …ormat documentation
    
    The APF spec now lives in AIO.
    alan-agius4 committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    d0407b3 View commit details
    Browse the repository at this point in the history
  5. docs: remove redundant default empty strings values

    (cherry picked from commit 3d928c0)
    alan-agius4 committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    433b6b4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ef75362 View commit details
    Browse the repository at this point in the history
  7. feat(@angular/cli): drop support for Node.js 12

    Node.js v12 will become EOL on 2022-04-30. As a result, Angular CLI v14 will no longer support Node.js v12.
    
    BREAKING CHANGE:
    
    Support for Node.js v12 has been removed as it will become EOL on 2022-04-30. Please use Node.js v14.15 or later.
    alan-agius4 committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    4ebfe03 View commit details
    Browse the repository at this point in the history
  8. ci: update job to run Node.js 14.19

    Node.js 12 is no longer supported
    alan-agius4 committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    3f8968a View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2022

  1. Configuration menu
    Copy the full SHA
    df41f2b View commit details
    Browse the repository at this point in the history
  2. build: update @types/node to ^14.15.0

    Version 12 is no longer supported.
    alan-agius4 committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    90a5a4c View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2022

  1. Configuration menu
    Copy the full SHA
    3ab4d79 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    21cff22 View commit details
    Browse the repository at this point in the history
  3. build: lock file maintenance

    renovate-bot authored and alan-agius4 committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    bc1b36d View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2022

  1. refactor(@angular/cli): replace command line arguments parser

    With this change we refactor the Angular CLI and replace the underlying args parser and command builder. We choose to use Yargs as our parser and command builder of choice. The main advantages of Yargs over other command builders are;
    
    - Highly configurable.
    - We already use it in other packages such as the compiler-cli/dev-infra etc..
    - Commands and options can be added during runtime. This is a requirement that is needed to support architect and schematics commands.
    - Outstanding documentation.
    - The possibility to parse args without parser configuration (Free form).
    - Commands are built lazily based on the arguments passed.
    
    BREAKING CHANGE:
    
    Several changes in the Angular CLI commands and arguments handling.
    
    - `ng help` has been removed in favour of the `—-help` option.
    - `ng —-version` has been removed in favour of `ng version` and `ng v`.
    - Deprecated camel cased arguments are no longer supported. Ex. using `—-sourceMap` instead of `—-source-map` will result in an error.
    - `ng update`, `—-migrate-only` option no longer accepts a string of migration name, instead use `—-migrate-only -—name <migration-name>`.
    - `—-help json` help has been removed.
    
    Closes #20976, closes #16614 and closes #16241
    alan-agius4 committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    2e04931 View commit details
    Browse the repository at this point in the history
  2. refactor(@angular/cli): introspect yargs to generate JSON Help

    With this change we update yargs help method to output help in JSON format which is needed to generate the documents that are used to generate AIO man pages.
    alan-agius4 committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    29c2b3a View commit details
    Browse the repository at this point in the history
  3. build: update UA validation script

    With this change we update the UA usage script to read schemas directly insteads of relying on JSON help.
    alan-agius4 committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    78683db View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    10cce2c View commit details
    Browse the repository at this point in the history
  5. test: add temporary circular dependencies

    This temporary until the old command modules are removed.
    alan-agius4 committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    ead9aa1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    98984bf View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    33ec5e7 View commit details
    Browse the repository at this point in the history
  8. refactor(@angular/cli): several small refactoring and code quality im…

    …provements
    
    This PR brings a number of small refactors to improve code quality in the new args parser implementation.
    alan-agius4 committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    92528b1 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8673e3d View commit details
    Browse the repository at this point in the history
  10. build: fix order of JSON help generation

    Previoiusly we generated the JSON help files prior to building which caused the `help` directory in the `dist` to be deleted.
    alan-agius4 committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    a517160 View commit details
    Browse the repository at this point in the history
  11. refactor(@angular/cli): always use posix separator in `longDescriptio…

    …nRelativePath`
    
    Needed for consistency that will fix a Windows CI failure
    alan-agius4 committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    a6d78a9 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    425984e View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    df6ec4d View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2022

  1. refactor(@angular/cli): replace longDescription line endings with \n

    Needed to fix Windows CI
    alan-agius4 authored and clydin committed Mar 10, 2022
    Configuration menu
    Copy the full SHA
    6d37ffc View commit details
    Browse the repository at this point in the history
  2. fix(@angular/cli): add long description to ng update

    The long-description.md was not referenced in `UpdateCommandModule`.
    alan-agius4 authored and clydin committed Mar 10, 2022
    Configuration menu
    Copy the full SHA
    9edeb86 View commit details
    Browse the repository at this point in the history
  3. fix(@angular/cli): remove JSON serialized description from help output

    With this change we remove the JSON serialized description from the help output and also align the description properties between commands and subcommands.
    alan-agius4 authored and clydin committed Mar 10, 2022
    Configuration menu
    Copy the full SHA
    96a0d92 View commit details
    Browse the repository at this point in the history
  4. feat(@angular/cli): support TypeScript 4.6.2

    BREAKING CHANGE:
    
    Support for TypeScript 4.4 and 4.5 has been removed. Please update to TypeScript 4.6.
    alan-agius4 authored and clydin committed Mar 10, 2022
    Configuration menu
    Copy the full SHA
    7fa3e65 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2022

  1. docs: replace app with application

    alan-agius4 authored and clydin committed Mar 14, 2022
    Configuration menu
    Copy the full SHA
    9ddb220 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e873cd1 View commit details
    Browse the repository at this point in the history
  3. fix(@angular/cli): don't prompt for analytics when running `ng analyt…

    …ics`
    
    This addresses the issue  when trying to disable analytics the prompt will be shown
    
    ```
    ng analytics off
    Would you like to share anonymous usage data about this project with the Angular Team at Google under Google’s Privacy Policy at https://policies.google.com/privacy? For more details and how to change this setting, see http://angular.io/analytics. (y/N)
    ```
    
    Closes #16784
    
    (cherry picked from commit 9a9bd3f2ac22211dc6e8a47be582c5e1390189d7)
    alan-agius4 authored and clydin committed Mar 14, 2022
    Configuration menu
    Copy the full SHA
    a49cdfb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b188585 View commit details
    Browse the repository at this point in the history
  5. build: lock file maintenance

    renovate-bot authored and clydin committed Mar 14, 2022
    Configuration menu
    Copy the full SHA
    5b9fe13 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ca40125 View commit details
    Browse the repository at this point in the history
  7. fix(@angular/cli): favor project in cwd when running architect commands

    When running architect command such as `ng build`, `ng test`, `ng lint`... and no project is provided as a positional argument. The project in the current working directory is favored instead of the configured as default project.
    alan-agius4 authored and clydin committed Mar 14, 2022
    Configuration menu
    Copy the full SHA
    054ae02 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2022

  1. Configuration menu
    Copy the full SHA
    9c8b3a1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    455c6bc View commit details
    Browse the repository at this point in the history
  3. refactor(@angular-devkit/build-angular): remove deprecated `NG_BUILD_…

    …CACHE` environment variable
    
    BREAKING CHANGE:
    
    `NG_BUILD_CACHE` environment variable has been removed. `cli.cache` in the workspace configuration should be used instead.
    alan-agius4 authored and clydin committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    b8564a6 View commit details
    Browse the repository at this point in the history
  4. feat(@angular/cli): add --global option to ng analytics command

    With this change we add a `--global` option to `ng analytics` command.
    
    BREAKING CHANGE:
    
    Several changes to the `ng analytics` command syntax.
    
    - `ng analytics project <setting>` has been replaced with `ng analytics <setting>`
    - `ng analytics <setting>` has been replaced with `ng analytics <setting> --global`
    alan-agius4 authored and clydin committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    afafa57 View commit details
    Browse the repository at this point in the history
  5. feat(@angular/cli): add ng analytics info command

    With this change we add a subcommand to `ng analytics`. This command can be used tp display analytics gathering and reporting configuration.
    
    Example:
    ```
    $ ng analytics info
    Global setting: disabled
    Local setting: enabled
    Effective status: disabled
    ```
    alan-agius4 authored and clydin committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    bb55043 View commit details
    Browse the repository at this point in the history
  6. refactor(@angular/cli): clean up analytics methods

    Re-use methods were possible.
    alan-agius4 authored and clydin committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    46a7be3 View commit details
    Browse the repository at this point in the history
  7. feat(@angular/cli): add disable/enable aliases for off/on `ng analyti…

    …cs` command
    
    `ng analytics enable/disable`better aligns with `ng cache enable/disable` that will be available in the future.
    alan-agius4 authored and clydin committed Mar 15, 2022
    Configuration menu
    Copy the full SHA
    7ab22ed View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2022

  1. Configuration menu
    Copy the full SHA
    1542365 View commit details
    Browse the repository at this point in the history
  2. refactor(@angular/cli): remove old CommandModule and `SchematicComm…

    …and` implementations
    
    Use the newly implemented `CommandModule` and `SchematicsCommandModule`.
    alan-agius4 authored and clydin committed Mar 16, 2022
    Configuration menu
    Copy the full SHA
    d560e23 View commit details
    Browse the repository at this point in the history
  3. build: handle default sub command in json help output

    This change is needed to handle default subcommands which are used in `ng generate` default subcommands are prefixed with `$0` or `*`.
    
    More info: https://github.com/yargs/yargs/blob/main/docs/advanced.md#default-commands
    alan-agius4 authored and clydin committed Mar 16, 2022
    Configuration menu
    Copy the full SHA
    c0fe062 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cf04d00 View commit details
    Browse the repository at this point in the history
  5. fix(@schematics/angular): remove @types/node from new projects

    The `@types/node` package is now only added if E2E tests (`ng generate e2e`) or universal are added to a project.
    clydin committed Mar 16, 2022
    Configuration menu
    Copy the full SHA
    c927c03 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1a36fd9 View commit details
    Browse the repository at this point in the history
  7. refactor(@angular/cli): remove hasAnalyticsConfig analytics logic

    With this change we clean up further the analytics code and re-use the `getAnalytics` to determine if the config is set or not.
    
    Also, this change inclused a refactor to the `createAnalytics` method to make it more readable.
    alan-agius4 authored and dgp1130 committed Mar 16, 2022
    Configuration menu
    Copy the full SHA
    a497d12 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e636a92 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    5ac6fd3 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2022

  1. fix(@angular/cli): ng g show descrption from collection.json if n…

    …ot present in `schema.json`
    
    Wiht this change we show the descrption from `collection.json` if not present in schematic `schema.json` in  `ng generate` help output
    alan-agius4 authored and dgp1130 committed Mar 18, 2022
    Configuration menu
    Copy the full SHA
    8e66c91 View commit details
    Browse the repository at this point in the history
  2. fix(@angular/cli): hide private schematics from ng g help output

    With this change we don't display private schematic in `ng generate` help output.
    alan-agius4 authored and dgp1130 committed Mar 18, 2022
    Configuration menu
    Copy the full SHA
    5a8bdeb View commit details
    Browse the repository at this point in the history
  3. fix(@angular/cli): print entire config when no positional args are pr…

    …ovided to `ng config`
    
    This fixes a regression were when no positional args are provided to `ng config` the entire config file should to be printed in the console.
    alan-agius4 authored and dgp1130 committed Mar 18, 2022
    Configuration menu
    Copy the full SHA
    8a396de View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    becd7b6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    eef17b3 View commit details
    Browse the repository at this point in the history
  6. feat(@angular/cli): add ng cache command

    With this change we create a new command `ng cache` that can be used control and check the disk cache settings.
    
    This command has 4 subcommands
     - `ng cache enable` which can be used to enable the cache.
     - `ng cache disable` which can be used to disable the cache.
     - `ng cache clean` which can be used to delete the cache from disk.
     - `ng cache info` which will print statistics and information about the cache.
    alan-agius4 authored and dgp1130 committed Mar 18, 2022
    Configuration menu
    Copy the full SHA
    e5bf35e View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2022

  1. fix(@schematics/angular): Consolidated setup with a single `beforeEac…

    …h()`
    
    Since f463c84 we use native `async`/`await` and thus we do not need
    to split setup in two `beforeEach()`
    PowerKiKi authored and dgp1130 committed Mar 21, 2022
    Configuration menu
    Copy the full SHA
    09a71ba View commit details
    Browse the repository at this point in the history
  2. refactor: replace deprecated String.prototype.substr()

    .substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated
    
    Signed-off-by: Tobias Speicher <[email protected]>
    CommanderRoot authored and dgp1130 committed Mar 21, 2022
    Configuration menu
    Copy the full SHA
    1376516 View commit details
    Browse the repository at this point in the history
  3. refactor(@schematics/angular): remove usage of deprecated `defaultPro…

    …ject`
    
    This option is deprecated in Angular CLI and will be removed in a future major version.
    alan-agius4 authored and dgp1130 committed Mar 21, 2022
    Configuration menu
    Copy the full SHA
    4cbfb87 View commit details
    Browse the repository at this point in the history
  4. feat(@schematics/angular): add migratiom to remove defaultProject i…

    …n workspace config
    
    This option is deprecated in Angular CLI and will be removed in a future major version.
    alan-agius4 authored and dgp1130 committed Mar 21, 2022
    Configuration menu
    Copy the full SHA
    e49220f View commit details
    Browse the repository at this point in the history
  5. feat(@angular/cli): deprecated defaultProject option

    With this change we deprecate the angular.json `defaultProject` option.
    
    DEPRECATED:
    
    The `defaultProject` workspace option has been deprecated. The project to use will be determined from the current working directory.
    
    Closes #20661
    alan-agius4 authored and dgp1130 committed Mar 21, 2022
    Configuration menu
    Copy the full SHA
    036327e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e5a7bb1 View commit details
    Browse the repository at this point in the history
  7. build: lock file maintenance

    renovate-bot authored and dgp1130 committed Mar 21, 2022
    Configuration menu
    Copy the full SHA
    4e472b9 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2022

  1. feat(@angular-devkit/schematics): add parameter to `listSchematicName…

    …s` to allow returning hidden schematics.
    
    The return value of `listSchematicNames` will include hidden schematics when is invoked with true as first parameter.
    
    By default, hidden schematics are not returned.
    alan-agius4 authored and dgp1130 committed Mar 22, 2022
    Configuration menu
    Copy the full SHA
    c9c781c View commit details
    Browse the repository at this point in the history
  2. feat(@angular/cli): add support for multiple schematics collections

    The `schematicCollections` can be placed under the `cli` option in the global `.angular.json` configuration, at the root or at project level in `angular.json` .
    
    ```jsonc
    {
      "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
      "version": 1,
      "cli": {
        "schematicCollections": ["@schematics/angular", "@angular/material"]
      }
      // ...
    }
    ```
    
    **Rationale**
    When this option is not configured and a user would like to run a schematic which is not part of `@schematics/angular`,
    the collection name needs to be provided to `ng generate` command in the form of `[collection-name:schematic-name]`. This make the `ng generate` command too verbose for repeated usages.
    
    This is where `schematicCollections` comes handle. When adding `@angular/material` to the list of `schematicCollections`, the generate command will try to locate the schematic in the specified collections.
    
    ```
    ng generate navigation
    ```
    
    is equivalent to:
    
    ```
    ng generate @angular/material:navigation
    ```
    
    **Conflicting schematic names**
    When multiple collections have a schematic with the same name. Both `ng generate` and `ng new` will run the first schematic matched based on the ordering (as specified) of `schematicCollections`.
    
    DEPRECATED:
    
    The `defaultCollection` workspace option has been deprecated in favor of `schematicCollections`.
    
    Before
    ```json
    "defaultCollection": "@angular/material"
    ```
    
    After
    ```json
    "schematicCollections": ["@angular/material"]
    ```
    
    Closes #12157
    alan-agius4 authored and dgp1130 committed Mar 22, 2022
    Configuration menu
    Copy the full SHA
    366cabc View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2022

  1. fix(@ngtools/webpack): update peer dependency to reflect TS 4.6 support

    Updates the peer dependency to reflect the TS 4.6 support, avoiding
    warnings like:
    
    ```
    warning "@angular-devkit/build-angular > @ngtools/[email protected]" has incorrect peer dependency "typescript@>=4.4.3 <4.6".
    
    ```
    devversion authored and dgp1130 committed Mar 23, 2022
    Configuration menu
    Copy the full SHA
    0c34425 View commit details
    Browse the repository at this point in the history
  2. refactor(@angular/cli): lazy import inquirer

    `inquirer` has a number of depedencies which slow down module resolution when importing (~138ms) by lazy loading this module we remove this overhead when prompts are not needed.
    alan-agius4 authored and dgp1130 committed Mar 23, 2022
    Configuration menu
    Copy the full SHA
    933b3ca View commit details
    Browse the repository at this point in the history
  3. refactor(@angular-devkit/build-angular): lazy import inquirer

    `inquirer` has a number of depedencies which slow down module resolution when importing (~138ms) by lazy loading this module we remove this overhead when prompts are not needed.
    alan-agius4 authored and dgp1130 committed Mar 23, 2022
    Configuration menu
    Copy the full SHA
    861ec0f View commit details
    Browse the repository at this point in the history
  4. refactor(@angular/cli): call package manager supports method async

    With this change we call the `supports` method for Yarn, NPM and PNPM asynchronous
    alan-agius4 authored and dgp1130 committed Mar 23, 2022
    Configuration menu
    Copy the full SHA
    e4f7b5e View commit details
    Browse the repository at this point in the history
  5. fix(@angular-devkit/build-angular): remove unneeded JIT reflect metad…

    …ata polyfill
    
    Since Angular 8, the CLI has transformed decorator metadata to a form that can be used by the Angular dependency injector without the TDZ limitations of Typescript's decorator metadata emit feature.
    As a result, a JIT application compiled with the CLI no longer requires the reflect metadata polyfill that was provided by `core-js`.
    This polyfill was also the last remaining usage of the `core-js` package within `@angular-devkit/build-angular` which allows the `core-js` package to also be removed.
    
    Refs: #14473 & angular/angular#37382
    
    BREAKING CHANGE: Reflect metadata polyfill is no longer automatically provided in JIT mode
    Reflect metadata support is not required by Angular in JIT applications compiled by the CLI.
    Applications built in AOT mode did not and will continue to not provide the polyfill.
    For the majority of applications, the reflect metadata polyfill removal should have no effect.
    However, if an application uses JIT mode and also uses the previously polyfilled reflect metadata JavaScript APIs, the polyfill will need to be manually added to the application after updating.
    To replicate the previous behavior, the `core-js` package should be manually installed and the `import 'core-js/proposals/reflect-metadata';` statement should be added to the application's `polyfills.ts` file.
    clydin authored and dgp1130 committed Mar 23, 2022
    Configuration menu
    Copy the full SHA
    966d25b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c315b47 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2022

  1. build: update bazel rules_nodejs to v5.3.0

    The `check_bazel_version` and `check_rules_nodejs_version` calls have also been removed from the WORKSPACE file as they are no longer supported or recommended by `rules_nodejs`.
    clydin authored and alan-agius4 committed Mar 24, 2022
    Configuration menu
    Copy the full SHA
    f13db1d View commit details
    Browse the repository at this point in the history
  2. build: change bazel project_id option to bes_instance_name

    The `--project_id` option was deprecated and renamed to `--bes_instance_name` in Bazel 5.0.0.
    clydin authored and alan-agius4 committed Mar 24, 2022
    Configuration menu
    Copy the full SHA
    07a3f1c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4336ae3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f65248b View commit details
    Browse the repository at this point in the history
  5. fix(@angular-devkit/core): add Angular CLI major version as analytics…

    … dimension
    
    With this change we replace the custom dimension 8 `AOT Enabled`, with `Angular CLI Major Version`. The motivation behind replacing this dimension is that the there is already an `aot` dimension with id 13 which serves for the same purpose.
    
    More information to why we need a new dimension for the Angular CLI major version can be found #22130
    
    Closes #22130
    alan-agius4 committed Mar 24, 2022
    Configuration menu
    Copy the full SHA
    455aeea View commit details
    Browse the repository at this point in the history
  6. refactor(@angular-devkit/build-angular): remove types for `@discovery…

    …js/json-ext`
    
    This package now ships TypeScript declaration files.
    alan-agius4 committed Mar 24, 2022
    Configuration menu
    Copy the full SHA
    56b44ab View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    53771e1 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b50efbb View commit details
    Browse the repository at this point in the history
  9. test: update tests to work with Jasmine version 4

    These changes include fixes to tests, timeout and stop of architect to make tests work with Jasmine 4.
    
    One noticeable change that when we didn't stop architect through `run.stop()` this causes Bazel to timeout now.
    
    Example
    ```
    -- Test timed out at 2022-03-24 12:07:07 UTC --
    /private/var/tmp/_bazel_alanagius/5168427e57f204ca069c602aa7ed1931/sandbox/darwin-sandbox/398/execroot/angular_cli/bazel-out/darwin-fastbuild/bin/packages/angular_devkit/build_angular/build_angular_browser_test.sh.runfiles/angular_cli/packages/angular_devkit/build_angular/build_angular_browser_test.sh: line 424: 41835 Terminated: 15          "${node}" ${LAUNCHER_NODE_OPTIONS[@]+"${LAUNCHER_NODE_OPTIONS[@]}"} ${USER_NODE_OPTIONS[@]+"${USER_NODE_OPTIONS[@]}"} "${MAIN}" ${ARGS[@]+"${ARGS[@]}"} 0<&0
    ```
    alan-agius4 committed Mar 24, 2022
    Configuration menu
    Copy the full SHA
    4b4cecf View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    cea83b2 View commit details
    Browse the repository at this point in the history
  11. build: update angular

    renovate-bot authored and alan-agius4 committed Mar 24, 2022
    Configuration menu
    Copy the full SHA
    5d38bee View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    80d486f View commit details
    Browse the repository at this point in the history
  13. refactor(@angular/cli): clean up package-metadata retrieval logic

    With this change we clean up the package-metadata retrieval logic and types by using public `@types/` packages.
    
    Also, we lazily require `pacote` since this has a large set to dependencies which slows down module resolution.
    alan-agius4 committed Mar 24, 2022
    Configuration menu
    Copy the full SHA
    797c652 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2022

  1. Configuration menu
    Copy the full SHA
    f222f38 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    17a7fdc View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2022

  1. build: update angular

    renovate-bot authored and alan-agius4 committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    77a828a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9f33876 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2022

  1. fix(@angular-devkit/build-angular): allow Workers in Stackblitz

    This is no longer needed as Stackblitz implemented the missing Node.Js worker APIs.
    alan-agius4 committed Mar 29, 2022
    Configuration menu
    Copy the full SHA
    2ab7742 View commit details
    Browse the repository at this point in the history
  2. build: lock file maintenance

    renovate-bot authored and alan-agius4 committed Mar 29, 2022
    Configuration menu
    Copy the full SHA
    2ec6aa8 View commit details
    Browse the repository at this point in the history
  3. build: update angular to d5d65d3

    renovate-bot authored and alan-agius4 committed Mar 29, 2022
    Configuration menu
    Copy the full SHA
    156006a View commit details
    Browse the repository at this point in the history
  4. build: fix node module repository symlinking disabled in Bazel

    With the rules nodejs v5 update, the symlinking default has changed
    from `true` to `false`. This commit explicitly adds the property and
    sets it to `true` similar to other Angular repositories.
    
    This helps speeding up the local DX by not having to maintain a
    second node modules directory.
    devversion authored and alan-agius4 committed Mar 29, 2022
    Configuration menu
    Copy the full SHA
    65dc6f6 View commit details
    Browse the repository at this point in the history
  5. fix(@angular/cli): remove analytics prompt postinstall script

    With this change we remove the postinstall hook that was used to prompt users to confirm if they'd like to share anonymous usage with the Angular team.
    
    This post install hook was used to set the global configuration, which was mainly used for commands that run outside of a workspace such as `ng new`, `ng version` and ng `config`. We now prompt once the users runs the above mentioned commands instead of the post install.
    alan-agius4 committed Mar 29, 2022
    Configuration menu
    Copy the full SHA
    efc3c32 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2022

  1. build: update angular to 7c2e257

    renovate-bot authored and alan-agius4 committed Mar 30, 2022
    Configuration menu
    Copy the full SHA
    f2598a4 View commit details
    Browse the repository at this point in the history
  2. fix(@angular-devkit/build-angular): don't override asset info when up…

    …dating assets
    
    Currently, we are overriding asset info instead of appending additional data to it.
    alan-agius4 committed Mar 30, 2022
    Configuration menu
    Copy the full SHA
    fac9cca View commit details
    Browse the repository at this point in the history
  3. fix(@schematics/angular): fix extra comma added when use --change-det…

    …ection=onPush and --style=none to generate a component
    gauravsoni119 authored and alan-agius4 committed Mar 30, 2022
    Configuration menu
    Copy the full SHA
    a5e9976 View commit details
    Browse the repository at this point in the history
  4. refactor(@angular-devkit/core): deprecate unused exception classes

    With this change we deprecate exception classes that are not used in the CLI repo.
    
    DEPRECATED:
    
    - `ContentHasMutatedException`, `InvalidUpdateRecordException`, `UnimplementedException` and `MergeConflictException` symbol from `@angular-devkit/core` have been deprecated in favor of the  symbol from `@angular-devkit/schematics`.
    - `UnsupportedPlatformException` - A custom error exception should be created instead.
    alan-agius4 committed Mar 30, 2022
    Configuration menu
    Copy the full SHA
    c5b3e92 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6a6386a View commit details
    Browse the repository at this point in the history
  6. refactor(@angular-devkit/build-angular): remove esbuild-check workaround

    This check is no longer needed as of `0.14.29` as now esbuild correctly propagates errors.
    
    See: https://github.com/evanw/esbuild/blob/master/CHANGELOG.md#01429
    alan-agius4 committed Mar 30, 2022
    Configuration menu
    Copy the full SHA
    af8dd62 View commit details
    Browse the repository at this point in the history
  7. refactor(@angular/cli): improved code quality

    removed unused parameter and improved code quality
    alkavats1 authored and alan-agius4 committed Mar 30, 2022
    Configuration menu
    Copy the full SHA
    28721c3 View commit details
    Browse the repository at this point in the history
  8. refactor(@angular/cli): add global configuration in command context

    With this change we add the angular configuration as part of the command context.
    alan-agius4 committed Mar 30, 2022
    Configuration menu
    Copy the full SHA
    746d0c5 View commit details
    Browse the repository at this point in the history
  9. refactor(@angular/cli): create package manager util class

    Apart from better code quality, this helps reduce the time of CLI bootstrapping time, as retrieving the package manager name is a rather expensive operator due to the number of process spawns.
    
    The package manager name isn't always needed until we run a command and therefore in some cases we can see an improvement of around `~600ms`. Ex: `ng b --help`. From ` 1.34s` to `0.76s`.
    
    This will be important when we eventually introduce auto complete as users will get faster loopback.
    alan-agius4 committed Mar 30, 2022
    Configuration menu
    Copy the full SHA
    1bbabb2 View commit details
    Browse the repository at this point in the history
  10. fix(@angular-devkit/build-angular): add node_modules prefix to excl…

    …udes RegExp
    
    Without the `node_modules` prefix, projects named the same as the excluded package names ex: `webpack` will not compile successfully as all files under the mentioned project will be excluded from being requested by the respective loaders.
    
    Closes #22902
    alan-agius4 committed Mar 30, 2022
    Configuration menu
    Copy the full SHA
    371da23 View commit details
    Browse the repository at this point in the history
  11. fix(@angular/cli): display package manager during ng update

    This also aligns the output to have the same style of `ng add`
    alan-agius4 committed Mar 30, 2022
    Configuration menu
    Copy the full SHA
    09f8659 View commit details
    Browse the repository at this point in the history
  12. refactor(@angular/cli): remove getProjectsByPath config util

    We already have a similar method `getProjectByCwd` that does the same thing.
    alan-agius4 committed Mar 30, 2022
    Configuration menu
    Copy the full SHA
    9807291 View commit details
    Browse the repository at this point in the history
  13. refactor(@angular-devkit/build-angular): replace try/catch block wi…

    …th `catch`
    
    Since this is a promise the try/catch block will not catch promise rejections which was the reason for the try/catch block.
    alan-agius4 committed Mar 30, 2022
    Configuration menu
    Copy the full SHA
    5922649 View commit details
    Browse the repository at this point in the history
  14. refactor(@angular/cli): remove unused testing option

    This option is never set and doesn't provide any value, since typically when one wants to debug, you add a `debugger` statement where needed or use the `break on exception` option in the debugger.
    alan-agius4 committed Mar 30, 2022
    Configuration menu
    Copy the full SHA
    811487f View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    94a9952 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    bf02cd3 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    cb5c072 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2022

  1. Configuration menu
    Copy the full SHA
    689c827 View commit details
    Browse the repository at this point in the history
  2. refactor(@angular/cli): remove coercion from packages positional co…

    …nfiguration
    
    Configure the `packages` positional argument to be an array instead of using `coerce` method.
    alan-agius4 authored and clydin committed Mar 31, 2022
    Configuration menu
    Copy the full SHA
    f11fcaa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dcc00f4 View commit details
    Browse the repository at this point in the history
  4. refactor(@angular-devkit/build-angular): replace most custom path nor…

    …malize usage with Node.js builtins
    
    During the build initialization phase, many paths are converted back and forth between multiple normalized forms. These conversions involve potentially expensive string operations. The majority of the custom path `normalize` function from `@angular-devkit/core` usages have now been removed in favor of the Node.js builtin path functions. This change reduces the need to perform additional string manipulation where possible.
    clydin committed Mar 31, 2022
    Configuration menu
    Copy the full SHA
    b8e9e09 View commit details
    Browse the repository at this point in the history
  5. build: update angular

    renovate-bot authored and clydin committed Mar 31, 2022
    Configuration menu
    Copy the full SHA
    f6965fe View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    674d968 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2022

  1. Configuration menu
    Copy the full SHA
    0160f1a View commit details
    Browse the repository at this point in the history
  2. refactor(@angular/cli): create a memoize decorator

    With this change we clean up repeated caching code by creating a `memoize` decorator that can be used on get accessors and methods.
    alan-agius4 authored and clydin committed Apr 1, 2022
    Configuration menu
    Copy the full SHA
    3d77846 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2022

  1. fix(@schematics/angular): provide actionable error message when routi…

    …ng declaration cannot be found
    
    Due to incorrect castings previously the code would crash when the module doesn't contain an routing module with the following error:
    
    ```
    Cannot read property 'properties' of undefined
    ```
    
    Closes #21397
    alan-agius4 authored and clydin committed Apr 4, 2022
    Configuration menu
    Copy the full SHA
    7db433b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5ebfe80 View commit details
    Browse the repository at this point in the history
  3. build: update angular to 2fbc7c8

    renovate-bot authored and clydin committed Apr 4, 2022
    Configuration menu
    Copy the full SHA
    d163229 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2022

  1. refactor(@angular-devkit/core): remove deprecated parseJson and `Pa…

    …rseJsonOptions` APIs
    
    BREAKING CHANGE:
    
    `parseJson` and `ParseJsonOptions` APIs have been removed in favor of 3rd party JSON parsers such as `jsonc-parser`.
    alan-agius4 authored and clydin committed Apr 5, 2022
    Configuration menu
    Copy the full SHA
    67144b9 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2022

  1. feat(@angular/cli): add prompts on missing builder targets

    With this change we add prompts to `ng deploy` and `ng e2e` to facilitate adding packages that offer these capabalities.
    
    We also add back `ng lint` prompt to add ESLint which was removed by mistake during the commands refactoring.
    alan-agius4 authored and clydin committed Apr 6, 2022
    Configuration menu
    Copy the full SHA
    0316dea View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    55e9161 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4b05c44 View commit details
    Browse the repository at this point in the history
  4. build: update angular to 7c6fc3e

    renovate-bot authored and clydin committed Apr 6, 2022
    Configuration menu
    Copy the full SHA
    725e326 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6984740 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    45b1365 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2022

  1. build: update dependency ini to v3

    renovate-bot authored and dgp1130 committed Apr 7, 2022
    Configuration menu
    Copy the full SHA
    ebbb0ad View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2022

  1. Configuration menu
    Copy the full SHA
    a66cfd0 View commit details
    Browse the repository at this point in the history
  2. build: update angular

    renovate-bot authored and dgp1130 committed Apr 8, 2022
    Configuration menu
    Copy the full SHA
    3909528 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    78b3537 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2022

  1. refactor(@angular-devkit/schematics): provide schematic collection de…

    …scription to FileSystemEngineHost resolver
    
    The `_resolveReferenceString` abstract method of the `FileSystemEngineHostBase` class now has a third parameter
    that provides the collection description of the schematic currently being resolved. This allows the resolver to
    use any fields/options present within the collection description to adjust the resolution of the schematic. The
    `encapsulation` optional field is also added to the `FileSystemCollectionDescription` type which will in the future
    allow control of the `@angular/cli` VM context wrapping on an individual schematic collection basis.
    clydin authored and dgp1130 committed Apr 11, 2022
    Configuration menu
    Copy the full SHA
    9a5251c View commit details
    Browse the repository at this point in the history
  2. refactor(@angular/cli): add infrastructure support for schematics bui…

    …lt-in modules
    
    Infrastructure has been added to the schematics runtime within the `@angular/cli`
    package to allow schematics executed via the Angular CLI to have access upcoming
    built-in modules. These built-in modules will be imported/required using the
    `schematics:` scheme similar to the Node.js `node:` scheme available for Node.js
    built-in modules. No built-in modules exist yet but will be added in the future.
    Schematics must be executed via the Angular CLI Schematics runtime's custom VM context
    to use the upcoming built-in modules. All first-party Angular schematics have been
    executed in this manner for several major versions. Third-party schematics can now
    opt-in to the behavior by enabling the `encapsulation` option within a schematic collection
    JSON file.
    clydin authored and dgp1130 committed Apr 11, 2022
    Configuration menu
    Copy the full SHA
    d87b858 View commit details
    Browse the repository at this point in the history
  3. fix(@angular/cli): handle duplicate arguments

    With this change we add a Yargs middleware that normalizes non Array options when the argument has been provided multiple times.
    
    By default, when an option is non array and it is provided multiple times in the command line, yargs
    will not override it's value but instead it will be changed to an array unless `duplicate-arguments-array` is disabled.
    But this option also have an effect on real array options which isn't desired.
    
    See: yargs/yargs-parser#163 (comment)
    
    Closes #22956
    alan-agius4 authored and dgp1130 committed Apr 11, 2022
    Configuration menu
    Copy the full SHA
    ff4eba3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3afd1ab View commit details
    Browse the repository at this point in the history
  5. fix(@angular-devkit/build-angular): display debug logs when using the…

    … `--verbose` option
    
    Webpack doesn't display debug logs when setting the log level to verbose.
    
    See: https://webpack.js.org/configuration/other-options/#debug and https://webpack.js.org/configuration/other-options/#level
    alan-agius4 authored and dgp1130 committed Apr 11, 2022
    Configuration menu
    Copy the full SHA
    be2b268 View commit details
    Browse the repository at this point in the history
  6. build: update angular to 89573ed

    renovate-bot authored and dgp1130 committed Apr 11, 2022
    Configuration menu
    Copy the full SHA
    e88c480 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a63df1e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    cb6dd19 View commit details
    Browse the repository at this point in the history
  9. refactor(@angular/cli): remove most of getWorkspaceRaw usages

    This changes removes most of the usage of `getWorkspaceRaw` in the Angular CLI. This is needed to eventually drop the direct dependency on `jsonc-parser`.
    alan-agius4 authored and dgp1130 committed Apr 11, 2022
    Configuration menu
    Copy the full SHA
    8eaa680 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2022

  1. build: update angular to 0e12514

    renovate-bot authored and dgp1130 committed Apr 12, 2022
    Configuration menu
    Copy the full SHA
    bf891c3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    95954bb View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2022

  1. feat(@angular/cli): add support for auto completion

    To enable bash and zsh real-time type-ahead autocompletion, copy and paste the generated script by the `ng completion` command to your `.bashrc`, `.bash_profile`, `.zshrc` or `.zsh_profile`.
    
    Closes #11043
    alan-agius4 authored and dgp1130 committed Apr 13, 2022
    Configuration menu
    Copy the full SHA
    607a723 View commit details
    Browse the repository at this point in the history
  2. refactor(@angular-devkit/core): remove fast-json-stable-stringify u…

    …sage in memoize helper
    
    This is not needed as inputs are typed checked to be `JsonValue`. With this change we get a step closer to remove `fast-json-stable-stringify` dependency.
    alan-agius4 authored and dgp1130 committed Apr 13, 2022
    Configuration menu
    Copy the full SHA
    108a0b6 View commit details
    Browse the repository at this point in the history
  3. fix(@angular/cli): remove cache path from global valid paths

    `cli.cache` cannot be configured globally and therefore it should not be listed as part of the `validCliPaths` Map.
    alan-agius4 authored and dgp1130 committed Apr 13, 2022
    Configuration menu
    Copy the full SHA
    bf15b20 View commit details
    Browse the repository at this point in the history
  4. test: use yargs-parser in E2E test suite runner

    The `minimist` package that was previously used is no longer a dependency of the project
    and was only working due to package hoisting.
    clydin authored and dgp1130 committed Apr 13, 2022
    Configuration menu
    Copy the full SHA
    d144caa View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bc3ce03 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c94e6fb View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    86678f9 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2022

  1. build: update angular

    renovate-bot authored and alan-agius4 committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    1fd3893 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3739a0f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c636cc8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d270258 View commit details
    Browse the repository at this point in the history
  5. refactor(@angular-devkit/core): remove custom json parser

    With this change we replace the workspace reader and write to use `jsonc-parser` instead of our custom build JSON parser
    alan-agius4 committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    c0eb926 View commit details
    Browse the repository at this point in the history
  6. refactor(@angular-devkit/core): remove no longer needed `fast-json-st…

    …able-stringify` dependency
    
    This dependency is no longer needed.
    alan-agius4 committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    f74a79f View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2022

  1. Configuration menu
    Copy the full SHA
    41982aa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c24be81 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2022

  1. fix(@angular-devkit/build-angular): ensure karma sourcemap support on…

    … Windows
    
    The `glob`-based check when adding the sourcemap support packages to the karma setup was incorrectly
    skipping the files due to Windows pathing issues. The `glob`-based check, however, is unneeded due
    to the already present `require.resolve` checks for the sourcemap support packages which will
    throw if the packages are not present.
    clydin authored and alan-agius4 committed Apr 16, 2022
    Configuration menu
    Copy the full SHA
    1a160da View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2022

  1. build: update angular to afacf03

    renovate-bot authored and alan-agius4 committed Apr 17, 2022
    Configuration menu
    Copy the full SHA
    bbf88ab View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2022

  1. fix(@angular/cli): remove type casting and add optional chaining for …

    …current in optionTransforms
    ddubrava authored and alan-agius4 committed Apr 18, 2022
    Configuration menu
    Copy the full SHA
    78460e9 View commit details
    Browse the repository at this point in the history
  2. feat(@angular-devkit/schematics): support null for options parameter …

    …from OptionTransform type
    ddubrava authored and alan-agius4 committed Apr 18, 2022
    Configuration menu
    Copy the full SHA
    464cf33 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2022

  1. Configuration menu
    Copy the full SHA
    d6ecb66 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2022

  1. Configuration menu
    Copy the full SHA
    fbd6b51 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    88da071 View commit details
    Browse the repository at this point in the history
  3. build: preparation for primary branch rename in the Angular repos

    Preparation for the framework repo as outlined our planning
    document.
    devversion authored and clydin committed Apr 21, 2022
    Configuration menu
    Copy the full SHA
    b298786 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2022

  1. feat(@angular-devkit/schematics): re-export core string helpers from …

    …schematics package
    
    The string helpers are predominantly used within schematics that will already depend and import from
    the `@angular-devkit/schematics` package. By re-exporting from `@angular-devkit/schematics`, the need
    to directly depend and import `@angular-devkit/core` within a schematic can be reduced and in many
    cases eliminated.
    clydin committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    25498ad View commit details
    Browse the repository at this point in the history
  2. refactor(@schematics/angular): use string helper re-export from `@ang…

    …ular-devkit/schematics`
    
    By using the `strings` re-export from `@angular-devkit/schematics` instead of from `@angular-devkit/core`,
    the number of imports from `@angular-devkit/core` has been reduced and lowers the direct dependency count
    for many of the individual schematics.
    clydin committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    291bbff View commit details
    Browse the repository at this point in the history
  3. refactor(@schematics/angular): minor cleanup of unneeded `@angular-de…

    …vkit/core` imports
    
    Several imported types and values from `@angular-devkit/core` could be removed while still
    maintaining the same functionality. This further reduces the schematics direct dependence
    on the `@angular-devkit/core` package.
    clydin committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    ccd7e71 View commit details
    Browse the repository at this point in the history
  4. build: update angular

    renovate-bot authored and clydin committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    8b36762 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ba92525 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2022

  1. feat(@angular-devkit/build-angular): add initial experimental esbuild…

    …-based application browser builder
    
    An experimental browser application builder (`browser-esbuild`) has been introduced that leverages esbuild as the bundler.
    This new builder is compatible with options of the current browser application builder (`browser`) and can be enabled
    for experimentation purposes by replacing the `builder` field of `@angular-devkit/build-angular:browser` from an existing
    project to `@angular-devkit/build-angular:browser-esbuild`. The builder will generate an ESM-based application and
    provides support for ES2015+ compatible output with ES2020 as the default.
    
    This builder is considered experimental and is not recommended for production applications.
    
    Currently not all `browser` builder options and capabilities are supported with this experimental builder.
    Additional support for these options may be added in the future.
    The following options and capabilities are not currently supported:
    * Stylesheet Preprocessors (only CSS styles are supported)
    * Angular JIT mode (only AOT is supported)
    * Localization [`localize`]
    * Watch and dev-server modes [`watch`, `poll`, etc.]
    * File replacements [`fileReplacements`]
    * License text extraction [`extractLicenses`]
    * Bundle budgets [`budgets`]
    * Global scripts [`scripts`]
    * Build stats JSON output [`statsJson`]
    * Deploy URL [`deployURL`]
    * CommonJS module warnings (no warnings will be generated for CommonJS package usage)
    * Web Workers
    * Service workers [`serviceWorker`, `ngswConfigPath`]
    clydin committed Apr 23, 2022
    Configuration menu
    Copy the full SHA
    00186fb View commit details
    Browse the repository at this point in the history
  2. ci: add initial E2E test subset for experimental esbuild builder

    The basic suite of E2E tests are now run against the newly introduced experimental esbuild-based builder (`browser-esbuild`).
    Several tests are currently ignored based on the current feature set of the builder.
    clydin committed Apr 23, 2022
    Configuration menu
    Copy the full SHA
    ef23b39 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2022

  1. build: update angular to e9949aa

    renovate-bot authored and clydin committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    94288c7 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2022

  1. perf(@ngtools/webpack): use Webpack's built-in xxhash64 support

    Webpack provides built-in support for creating hashes using the xxhash64 algorithm via a WebAssembly module.
    This can be significantly faster than the previously used md5 algorithm.
    The Webpack peer dependency has also been update to a minimum of 5.54.0 to ensure xxhash64 supported is available.
    clydin committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    0441015 View commit details
    Browse the repository at this point in the history
  2. feat(@angular-devkit/schematics): support reading text content direct…

    …ly from a Tree
    
    The schematics `Tree` now contains an additional `readText` method that supports directly
    reading the content of a file as UTF-8 text. This avoids the need to manually decode a Buffer
    within a schematic when text content is needed. If a file path does not exist, an exception
    will be thrown. While this differs from the semantics of `read`, it helps reduce the amount
    of code needed for common schematic use cases.
    clydin committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    01297f4 View commit details
    Browse the repository at this point in the history
  3. feat(@angular-devkit/schematics): support reading JSON content direct…

    …ly from a Tree
    
    The schematics `Tree` now contains an additional `readJSON` method that supports directly
    reading and parsing the content of a file as UTF-8 JSON with comment support. This avoids the need to manually
    decode a Buffer, parse and handle JSON comments within a schematic when JSON content is needed.
    If a file path does not exist, an exception will be thrown. While this differs from the semantics of `read`,
    it helps reduce the amount of code needed for common schematic use cases. JSON parse errors will also result
    in an exception being thrown with a message detailing the error.
    clydin committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    33f9f3d View commit details
    Browse the repository at this point in the history
  4. refactor(@schematics/angular): use Tree's newly introduced readText

    … and `readJSON` functionality
    
    Code related to decoding buffers into strings and parsing content into JSON can now be removed by using the
    support provided directly from the Tree instance for the executing schematic.
    clydin committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    a0e3de2 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2022

  1. Configuration menu
    Copy the full SHA
    4b07aa3 View commit details
    Browse the repository at this point in the history
  2. build: update angular to 7b6d862

    renovate-bot authored and clydin committed Apr 27, 2022
    Configuration menu
    Copy the full SHA
    586f393 View commit details
    Browse the repository at this point in the history
  3. fix(@angular-devkit/build-angular): correctly resolve custom service …

    …worker configuration file
    
    Paths within the `angular.json` file should be relative to the location of the `angular.json` file.
    The `ngswConfigPath` option was incorrectly using the current working directory for a base path when
    a relative configuration path was specified. Most of the time this would work as a build command usually
    is executed from the root of the workspace. However, this may not always be the case and for those cases
    the actual workspace root is now used to resolve the full path for the service worker configuration file.
    clydin committed Apr 27, 2022
    Configuration menu
    Copy the full SHA
    7abe212 View commit details
    Browse the repository at this point in the history
  4. feat(@schematics/angular): add --standalone to ng generate

    Adds the `--standalone` flag when generating components, directives or pipes through `ng generate`.
    crisbeto authored and clydin committed Apr 27, 2022
    Configuration menu
    Copy the full SHA
    7b78b78 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    418a75a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    bafd68c View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2022

  1. Configuration menu
    Copy the full SHA
    5c5c5ec View commit details
    Browse the repository at this point in the history
  2. build: update dev-infra to latest snapshot

    Updates dev-infra to the latest snapshot, supporting for the
    new migrate to main helper command.
    devversion authored and josephperrott committed Apr 28, 2022
    Configuration menu
    Copy the full SHA
    a99c9ad View commit details
    Browse the repository at this point in the history