angular / angular-cli Public
master
Commits on Apr 14, 2022
Commits on Apr 13, 2022
-
-
-
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.
-
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.
-
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.
-
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
Commits on Apr 12, 2022
Commits on Apr 11, 2022
-
refactor(@angular/cli): remove most of
getWorkspaceRaw
usagesThis changes removes most of the usage of `getWorkspaceRaw` in the Angular CLI. This is needed to eventually drop the direct dependency on `jsonc-parser`.
-
-
-
-
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
-
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
-
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.
-
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.
Commits on Apr 8, 2022
Commits on Apr 7, 2022
Commits on Apr 6, 2022
-
-
-
-
-
-
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.
Commits on Apr 5, 2022
-
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`.
Commits on Apr 4, 2022
-
-
-
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