Hacker News new | ask | show | jobs
by shusson 3123 days ago
the caret ('^') will update a minor version[1]. So ^5.0.0 will install 5.1.0.

[1] https://bytearcher.com/articles/semver-explained-why-theres-...

1 comments

The question is what's the best way to create an ng 5.1 app? i.e. what was just announced. I've just manually updated all deps to ^5.1.0.
If you grab the latest angular-cli and do `ng new foo`, you will get the latest 5.1.0 update. Or if you have an existing app, run `npm install` but make sure you update your package-lock.json file.