angular / angular-cli Public
master
Commits on Nov 23, 2021
-
feat(@angular-devkit/build-angular): set
dirattribute when using l……ocalization We add the `dir` (direction) HTML attribute when using localization. Closes #16047
-
-
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.
Commits on Nov 22, 2021
-
feat(@angular-devkit/build-angular): colorize file raw sizes based on…
… failing budgets
-
-
-
-
-
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
Commits on Nov 19, 2021
Commits on Nov 18, 2021
-
-
-
-
-
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
-
-
-
ci: remove
cla/googlefrom required statuesThe CLA tools no longer report statuses as it is being run as Github actions.
Commits on Nov 17, 2021
-
perf(@angular-devkit/build-angular): disable webpack backwards compat…
…ible APIs See https://github.com/webpack/webpack/releases/tag/v5.62.0 and webpack/webpack#14580 for more context.
-
refactor(@angular-devkit/build-angular): replace usage of `webpack-de…
…v-server` deprecated `https` option See: https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md#450-2021-11-13
-
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
-
-
-
docs: add breaking change note about calling
scheduleBuilderwith `……@angular-devkit/build-angular` closes #22152
-
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
Commits on Nov 16, 2021
-
-
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
-
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
-
ci: remove
cla: yesfrom required labelsRemove `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.
Commits on Nov 12, 2021
-
build: update to yarn v1.22.17
Update to the latest version of yarn, 1.22.17.
Commits on Nov 11, 2021
Commits on Nov 10, 2021
-
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.
-

