Title: Do not pin versions on ng update · Issue #10356 · angular/angular-cli · GitHub
Open Graph Title: Do not pin versions on ng update · Issue #10356 · angular/angular-cli
X Title: Do not pin versions on ng update · Issue #10356 · angular/angular-cli
Description: Versions cli 6.0.0-rc.4 Repro steps From an Angular 5 project: update the CLI to v6 and migrate ng update @angular/core --next Observed behavior Pinned versions in package.json: "@angular/compiler": "6.0.0-rc.5", "@angular/core": "6.0.0-...
Open Graph Description: Versions cli 6.0.0-rc.4 Repro steps From an Angular 5 project: update the CLI to v6 and migrate ng update @angular/core --next Observed behavior Pinned versions in package.json: "@angular/compiler"...
X Description: Versions cli 6.0.0-rc.4 Repro steps From an Angular 5 project: update the CLI to v6 and migrate ng update @angular/core --next Observed behavior Pinned versions in package.json: "@angular/comp...
Opengraph URL: https://github.com/angular/angular-cli/issues/10356
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Do not pin versions on ng update","articleBody":"### Versions\r\n```\r\ncli 6.0.0-rc.4\r\n```\r\n\r\n### Repro steps\r\nFrom an Angular 5 project:\r\n* update the CLI to v6 and migrate\r\n* `ng update @angular/core --next`\r\n\r\n### Observed behavior\r\nPinned versions in `package.json`:\r\n```json\r\n\"@angular/compiler\": \"6.0.0-rc.5\",\r\n\"@angular/core\": \"6.0.0-rc.5\",\r\n\"typescript\": \"2.7.2\"\r\n...\r\n```\r\n\r\n### Desired behavior\r\nKeep semantic versionning in `package.json`:\r\n```json\r\n\"@angular/compiler\": \"^6.0.0-rc.5\",\r\n\"@angular/core\": \"^6.0.0-rc.5\",\r\n\"typescript\": \"~2.7.2\"\r\n...\r\n```\r\n\r\n### Mention any other details that might be useful (optional)\r\nPinned versions mean we can't do anymore minor/patch updates of the whole project simply with `npm update` and goes against semver.\r\n\r\nIt's not the role of the CLI to pin the versions. It's the role of the package manager, and as Angular 6 and CLI 6 require Node \u003e= 8.9 and npm \u003e= 5.5, it means the job is already done in a proper way by the `package-lock.json`.","author":{"url":"https://github.com/cyrilletuzi","@type":"Person","name":"cyrilletuzi"},"datePublished":"2018-04-16T13:01:33.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/10356/angular-cli/issues/10356"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:abce785c-8978-a2a3-1d9c-518751afae76 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A11E:1ECC21:178C03:1FF1B5:69825A38 |
| html-safe-nonce | 89c71eb1de02c8a891b1689f633bdb097f0947fd53b9f8cb28e4c67c63a6d336 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTFFOjFFQ0MyMToxNzhDMDM6MUZGMUI1OjY5ODI1QTM4IiwidmlzaXRvcl9pZCI6IjUzNjEyOTY5ODMxNzQ4MzA2NDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b6d9cbe0b607af7ada0529183cacce364ecb4393735a6d5c3408603bc3793d76 |
| hovercard-subject-tag | issue:314640291 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/10356/issue_layout |
| twitter:image | https://opengraph.githubassets.com/aa6d566bf45ee57ad1ee946bd2c2ea9eb1b81671a37c8182eed5ab79d173f749/angular/angular-cli/issues/10356 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/aa6d566bf45ee57ad1ee946bd2c2ea9eb1b81671a37c8182eed5ab79d173f749/angular/angular-cli/issues/10356 |
| og:image:alt | Versions cli 6.0.0-rc.4 Repro steps From an Angular 5 project: update the CLI to v6 and migrate ng update @angular/core --next Observed behavior Pinned versions in package.json: "@angular/compiler"... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | cyrilletuzi |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2bc3c2e32013a4dd01fdb54fd1244a7e41120ff63edbc321c8a14178d8474054 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5f31d9afe0fd4cabff2441cbbd77c7f545418340 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width