25.json (9533B)
1 { 2 "number": 25, 3 "title": "Update dependency @angular/cli to v6", 4 "state": "merged", 5 "diff_file": "25.diff", 6 "author": "renovate[bot]", 7 "created_at": "2018-05-03T21:05:08Z", 8 "closed_at": "2018-05-19T09:44:52Z", 9 "merged_at": "2018-05-19T09:44:52Z", 10 "base_ref": "master", 11 "head_ref": "renovate/angular-cli-6.x", 12 "labels": [ 13 "enhancement", 14 "Dependencies" 15 ], 16 "assignees": [], 17 "requested_reviewers": [], 18 "body": "This Pull Request updates dependency [@​angular/cli](https://github.com/angular/angular-cli) from `^1.7.3` to `^6.0.0`\n\n\n\n<details>\n<summary>Release Notes</summary>\n\n### [`v6.0.3`](https://github.com/angular/angular-cli/compare/v6.0.2...v6.0.3)\n[Compare Source](https://github.com/angular/angular-cli/compare/v6.0.2...v6.0.3)\n\n\n---\n\n### [`v6.0.2`](https://github.com/angular/angular-cli/releases/v6.0.2)\n[Compare Source](https://github.com/angular/angular-cli/compare/v6.0.1...v6.0.2)\n##### Bug Fixes\n\n* **@​angular/cli:** Fix parsing of new options ([0820650](https://github.com/angular/angular-cli/commit/0820650)), closes [#​10802](`https://github.com/angular/angular-cli/issues/10802`)\n\n---\n\n### [`v6.0.1`](https://github.com/angular/angular-cli/releases/v6.0.1)\n[Compare Source](https://github.com/angular/angular-cli/compare/v6.0.0...v6.0.1)\n##### Bug Fixes\n\n* **@​angular/cli:** add closing single quote ([325baa6](https://github.com/angular/angular-cli/commit/325baa6))\n* **@​angular/cli:** clean up architect options ([c9a46eb](https://github.com/angular/angular-cli/commit/c9a46eb))\n* **@​angular/cli:** fix ng doc not working ([89242be](https://github.com/angular/angular-cli/commit/89242be))\n* **@​angular/cli:** fix PWD in cygwin ([b9c40ee](https://github.com/angular/angular-cli/commit/b9c40ee))\n\n---\n\n### [`v6.0.0`](https://github.com/angular/angular-cli/releases/v6.0.0)\n[Compare Source](https://github.com/angular/angular-cli/compare/v6.0.0-rc.10...v6.0.0)\n### CLI Version 6 \u2013 [Hamilton](https://en.wikipedia.org/wiki/Margaret_Hamilton_(scientist))\n\nHello y'all, CLI team again.\n\nThis is a really big release for us, and listing each changes individually would be too much information for you. As such we're going to summarize the new features and changes that are included, from a higher point of view.\n\nAlso, please note that there is a blog post for version 6 [here](https://blog.angular.io/version-6-of-angular-now-available-cc56b0efa7a4).\n#### ng eject\n\nThe 'eject' command has been temporarily disabled, as it is not yet compatible with the new\nangular.json format. The new configuration format provides further flexibility to modify the\nconfiguration of your workspace without ejecting. Ejection will be re-enabled in a future\nrelease of the CLI.\n\nIn the meantime, you can eject with 1.7.4, then update your project and keep using webpack to build.\n#### ng update\n\nA new Angular CLI command to help simplify keeping your projects up to date with the latest versions. Packages can define logic which will be applied to your projects to ensure usage of latest features as well as making changes to reduce or eliminate the impact related to breaking changes.\n\nConfiguration information for ng update can be found [here](https://github.com/angular/devkit/blob/master/docs/specifications/update.md)\n#### ng add\n\nA new Angular CLI command provides package authors the ability to include dynamic setup instructions as part of the installation procedures. When a user installs a package via `ng add` and that package includes a schematic named \"ng-add\" logic will run to set up that package within your project.\n\nFor package owners:\n`ng-add` is powered by a single schematic named \"ng-add\" within your package's schematics collection. Options will be passed through to your schematic when running the schematic to allow for further configuration options.\n#### PWA Support\n\nProgressive Web Apps have grown in popularity and support with all major browswers supporting service workers. Adding the configuration and assets to configure your applications as PWAs can be confusing and time consuming, to simplify the process you can now run `ng add @​angular/pwa --project [project-name]` to configure the supplied project as a progressive web application.\n#### Angular Workspace\n\nThe `.angular-cli.json` configuration file is replaced with `angular.json` workspace file, a new file the lays the foundation for multiple projects in a single workspace.\n\nIn this file you can find every configuration item and default that Angular CLI uses. Having all configuration on file allows you to avoid typing out multiple configuration flags on each command and `npm` script.\n\nIf your editor has JSON schema support, you will be able to see auto-completion with suggestions and defaults for each property in the `angular.json` file.\n\nRead more about the Angular Workspace [here](https://github.com/angular/angular-cli/wiki/angular-workspace).\n#### Build improvements\n\nThe build system Angular CLI uses has been overhauled to be faster and more easily configurable.\n\nWe have upgrade to [Webpack 4](https://medium.com/webpack/webpack-4-released-today-6cdb994702d4) which comes with several performance and bundling improvements.\n\nAngular Workspaces will also allow you to configure each build exactly the way you need instead of using lengthy `npm` scripts:\n\n```\n\"configurations\": {\n \"production\": {\n \"fileReplacements\": [\n {\n \"replace\": \"src/environments/environment.ts\",\n \"with\": \"src/environments/environment.prod.ts\"\n }\n ],\n \"optimization\": true,\n \"outputHashing\": \"all\",\n \"sourceMap\": false,\n \"extractCss\": true,\n \"namedChunks\": false,\n \"aot\": true,\n \"extractLicenses\": true,\n \"vendorChunk\": false,\n \"buildOptimizer\": true\n }\n}\n```\n#### Multi application support\n\nAngular CLI now supports multiple individual applications within one workspace, each with separate configurations and defaults.\n\nTo create another app you can use the following command:\n\n```sh\nng generate application my-other-app\n```\n\nThe new application will be generated inside `projects/my-other-app`.\n\nNow we can `serve` either application by passing the project name with the command:\n\n```sh\nng serve my-other-app\n```\n#### Library Support\n\nAngular CLI now comes with library support via [ng-packagr](https://github.com/dherges/ng-packagr) plugged into the build system we use in Angular CLI, together with schematics for generating a library.\n\nYou can create a library in a existing workspace by running the following commands:\n\n```\nng generate library my-lib\n```\nYou should now have a library inside `projects/my-lib`. It contains a component and a service inside a NgModule.\n\nRead more about library creation [here](https://github.com/angular/angular-cli/wiki/stories-create-library).\n#### Schematic Defaults\n\nDefault values for schematics can be configured for any schematic property in any schematic collection. In previous versions the Angular CLI only provided access to configure defaults for certain properties of the default schematics.\n\nValues can be provided at the root level:\n```json\n// angular.json\n{\n ...\n \"schematics\": {\n \"@​schematics/angular:component.inlineTemplate\": true\n }\n}\n```\n\nOr at the project level:\n```json\n// angular.json\n{\n \"projects\": {\n \"my-project\": {\n \"schematics\": {\n \"@​schematics/angular:component.inlineTemplate\": true\n }\n }\n }\n}\n```\n\nOr even at the global level, same as at the root level, except in a file located here:\n`[homedir]/.angular-config.json`\n#### Smart Defaults\n\nSmart defaults is a new feature within Schematics which grants authors of schematics more control about how their values are parsed. An example is to specify how arguments (unnamed options) are parsed from the command line.\n\nThis example will set the value of the name option to the first argument. As you see defined in the `$default` value.\n```json\n\"name\": {\n \"type\": \"string\",\n \"description\": \"The name option.\",\n \"$default\": {\n \"$source\": \"argv\",\n \"index\": 0\n }\n}\n```\n#### Breaking changes\n\nThe `allowOutsideOutDir` option in [assets](https://github.com/angular/angular-cli/wiki/stories-asset-configuration) has been removed.\n\nThe `serve` option in `ng e2e` is replaced with `devServerTarget`. It allows you to specify which server target to use, and if it is set to empty string nothing will be served.\n\nThe `completion` command has been removed as the functionality no longer aligns with this version.\n\n----\n\nSpecial thanks to everyone who participated in this release:\n\nCharles Lyding, Filipe Silva, Hans Larsen, Mike Brocchi, Alan Agius, Rahul Bhooteshwar, Cyrille Tuzi, Noel Mace, Christofer Steingrefer, Vikram Subramanian, S\u00e9bastien Cevey, Maxim Salnikov, Jose E, C\u00e9dric Exbrayat, sergey.sokolov, Yaroslav Admin, Will \u4fdd\u54e5, Sylvain Dumont, Suguru Inatomi, Steven Enten, Stephen Fluin, Shai Reznik, PhilippeMorier, Miles Malerba, Michael Prentice, Matthias Lischka, Luke Chatton, Luis Confraria, Kasidit Iamthong, Jiaren Liu, GerbetMikha\u00ebl, George Kalpakas, Evan Carroll, Danny, Brandon, Alan\n\n---\n\n</details>\n\n\n\n\n---\n\nThis PR has been generated by [Renovate Bot](https://renovatebot.com).", 19 "comments": [], 20 "review_comments": [] 21 }