Added a dependency convention code example (#25515)
This commit is contained in:
@ -3,8 +3,14 @@ title: Manage npm Dependencies By Understanding Semantic Versioning
|
|||||||
---
|
---
|
||||||
## Manage npm Dependencies By Understanding Semantic Versioning
|
## Manage npm Dependencies By Understanding Semantic Versioning
|
||||||
|
|
||||||
This is a stub. <a href='https://github.com/freecodecamp/guides/tree/master/src/pages/certifications/apis-and-microservices/managing-packages-with-npm/manage-npm-dependencies-by-understanding-semantic-versioning/index.md' target='_blank' rel='nofollow'>Help our community expand it</a>.
|
|
||||||
|
|
||||||
<a href='https://github.com/freecodecamp/guides/blob/master/README.md' target='_blank' rel='nofollow'>This quick style guide will help ensure your pull request gets accepted</a>.
|
|
||||||
|
|
||||||
<!-- The article goes here, in GitHub-flavored Markdown. Feel free to add YouTube videos, images, and CodePen/JSBin embeds -->
|
<!-- The article goes here, in GitHub-flavored Markdown. Feel free to add YouTube videos, images, and CodePen/JSBin embeds -->
|
||||||
|
You should go over to the `package.json` file in your project. SemVer dependencies follow a similar convention like this:
|
||||||
|
|
||||||
|
```code
|
||||||
|
"dependencies": {
|
||||||
|
"dependency1": "^major.minor.patch"
|
||||||
|
},
|
||||||
|
...
|
||||||
|
```
|
||||||
|
|
||||||
|
This is a stub. <a href='https://github.com/freecodecamp/guides/tree/master/src/pages/certifications/apis-and-microservices/managing-packages-with-npm/manage-npm-dependencies-by-understanding-semantic-versioning/index.md' target='_blank' rel='nofollow'>Help our community expand it</a>.
|
||||||
|
Reference in New Issue
Block a user