3 ms·
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-a-caret-in-my-pac
by shusson 9y 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-a-caret-in-my-package-json/ https://bytearcher.com/articles/semver-explained-why-theres-...
- mythz 9y agoThe 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.
- shusson 9y agoIf 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.
- deleted 9y ago[deleted]