The Wayback Machine - http://web.archive.org/web/20211123082949/https://github.com/angular/angular-cli/commits/master
Skip to content
Permalink
master
Loading

Commits on Nov 23, 2021

  1. feat(@angular-devkit/build-angular): set dir attribute when using l…

    …ocalization
    
    We add the `dir` (direction) HTML attribute when using localization.
    
    Closes #16047
    alan-agius4 committed Nov 23, 2021
  2. build: update angular to 361f0e6

    renovate-bot authored and alan-agius4 committed Nov 23, 2021
  3. fix(@angular/cli): logic which determines which temp version of the C…

    …LI is to be download during `ng update`
    
    Previously, when using an older version of the Angular CLI, during `ng update`, we download the temporary `latest` version to run the update. The ensured that when running that the runner used to run the update contains the latest bug fixes and improvements.
    
    This however, can be problematic in some cases. Such as when there are API breaking changes, when running a relatively old schematic with the latest CLI can cause runtime issues, especially since those schematics were never meant to be executed on a CLI X major versions in the future.
    
    With this change, we improve the logic to determine which version of the Angular CLI should be used to run the update.
    
    Below is a summarization of this.
    
    - When using the `--next` command line argument, the `@next` version of the CLI will be used to run the update.
    - When updating an `@angular/` or `@nguniversal/` package, the target version will be used to run the update. Example: `ng update @angular/core@12`,  the update will run on most recent patch version of `@angular/cli` of that major version `@12.2.6`.
    - When updating an `@angular/` or `@nguniversal/` and no target version is specified. Example: `ng update @angular/core` the update will run on most latest version of the `@angular/cli`.
    - When updating a third-party package, the most recent patch version of the installed `@angular/cli` will be used to run the update. Example if `13.0.0` is installed and `13.1.1` is available on NPM, the latter will be used.
    alan-agius4 committed Nov 23, 2021

Commits on Nov 22, 2021

  1. build: lock file maintenance

    renovate-bot authored and alan-agius4 committed Nov 22, 2021
  2. build: update angular

    renovate-bot authored and alan-agius4 committed Nov 22, 2021
  3. feat(@angular/cli): ask to install angular-eslint when running ng lin…

    …t in new projects
    
    To improve the developer experience for the `ng lint` command in new projects, the lint command will now ask the developer if they wish to install `@angular-eslint/schematics` when no lint target has been configured for the specified project. `@angular-eslint/schematics` is currently the only option listed in the warning shown prior to the introduction of the prompt in this change. If additional example packages are added to the warning text in the future, the confirmation prompt should be changed to a list prompt which would allow the user to pick one of the potential future listed example packages.
    
    Closes: #21387
    clydin authored and alan-agius4 committed Nov 22, 2021

Commits on Nov 19, 2021

Commits on Nov 18, 2021

  1. build: update angular

    renovate-bot authored and alan-agius4 committed Nov 18, 2021
  2. build: lock file maintenance

    renovate-bot authored and alan-agius4 committed Nov 18, 2021
  3. feat(@schematics/angular): add VS Code configurations when generating…

    … a new workspace
    
    When generating a new workspace we now generate several VS Code configurations.
    
    - extensions: we added config to recommand to use official VS Code extensions.
    - launch: added run and debug launch scripts for `ng test` and `ng serve`
    - tasks: configured `npm start` and `npm test` to better support the launch scripts
    
    More information about each files can be found
    - extensions: https://go.microsoft.com/fwlink/?linkid=827846
    - launch: https://go.microsoft.com/fwlink/?linkid=830387
    - tasks: https://go.microsoft.com/fwlink/?LinkId=733558
    
    Closes #2672
    alan-agius4 committed Nov 18, 2021
  4. ci: remove cla/google from required statues

    The CLA tools no longer report statuses as it is being run as Github actions.
    alan-agius4 authored and dgp1130 committed Nov 18, 2021

Commits on Nov 17, 2021

  1. feat(@angular-devkit/build-angular): add estimated transfer size to b…

    …uild output report
    
    When optimizations are enabled (either scripts or styles), an additional column will now be present in the output report shown in the console for an application build. This additonal column will display the estimated transfer size for each file as well as the total initial estimated transfer size for the initial files. The estimated transfer size is determined by calculating the compressed size of the file using brotli's default settings. In a development configuration (a configuration with optimizations disabled), the calculations are not performed to avoid any potential increase in rebuild speed due to the large size of unoptimized files.
    
    Closes: #21394
    clydin authored and dgp1130 committed Nov 17, 2021
  2. docs: add breaking change note about calling scheduleBuilder with `…

    …@angular-devkit/build-angular`
    
    closes #22152
    Platonn authored and filipesilva committed Nov 17, 2021
  3. feat(@angular/cli): provide more detailed error for not found builder

    When a builder-based command is executed (build, serve, test, etc.) and the builder's node package cannot be found a more user-friendly error message is now displayed. In addition, when the builder's node package cannot be found, a check is performed to determine if the node packages for the workspace may have not been installed. Previously, a potentially long stacktrace was shown which did not provide much information regarding how to correct the issue.
    
    Closes: #10536
    clydin authored and filipesilva committed Nov 17, 2021

Commits on Nov 16, 2021

  1. build: update angular

    renovate-bot authored and filipesilva committed Nov 16, 2021
  2. feat(@schematics/angular): loosen project name validation

    With this change we update the validation of the libraries and application projects names to fully allow characters that make a valid NPM package name. http://json.schemastore.org/package has been used as reference.
    
    We also remove validators that are no longer needed.
    
    Closes #11051
    alan-agius4 authored and filipesilva committed Nov 16, 2021
  3. feat(@angular-devkit/build-angular): support JSON comments in dev-ser…

    …ver proxy configuration file
    
    The `proxyConfig` option for the `dev-server` builder now supports JSON files containing comments and trailing commas.
    Several additional tests regarding the use of ESM and CommonJS JavaScript configuration files were also added to reduce the likelihood of future regressions.
    
    Closes: #21862
    clydin authored and filipesilva committed Nov 16, 2021
  4. ci: remove cla: yes from required labels

    Remove `cla: yes` from the require labels for merging as the CLACheck
    tool no longer relies on labels.
    
    Enforcement of the CLA being signed is still enforced by the status check
    which is visible both in Github as well as checked by merge tooling.
    josephperrott authored and filipesilva committed Nov 16, 2021

Commits on Nov 12, 2021

  1. build: update to yarn v1.22.17

    Update to the latest version of yarn, 1.22.17.
    josephperrott authored and filipesilva committed Nov 12, 2021

Commits on Nov 10, 2021

  1. build: update to latest @angular/dev-infra-private to address issues …

    …related to verifying environment
    
    Update to the latest package which properly checks if the running version of ng-dev is the version
    described in yarn lock.
    josephperrott committed Nov 10, 2021
Older