Skip to content

Commit d6ce774

Browse files
authored
Merge pull request #1771 from mail-liam/patch-1
Restructured a sentence
2 parents cb94265 + c7962d6 commit d6ce774

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/javascript/configure-packages-with-package-json.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The npm package versioning system has strict rules. The version format follows h
2222

2323
[major].[minor].[patch]
2424

25-
Let's say you have a package in your app with a version of 5.2.1. 5 is the major version, 2 is the minor version, and 1 is the patch.
25+
Let's say you have a package in your app with a version of 5.2.1. The major version is 5, the minor version is 2, and the patch is 1.
2626

2727
* In a major version update, the package includes new features that are backwards-incompatible, that is, breaking changes.
2828
* In a minor version update, new features have been added to the package that are backwards-compatible with earlier package versions.
@@ -67,4 +67,4 @@ Using this notation, npm can update react 16.4.2 to 16.5.0 (or 16.5.1, 16.6.0, e
6767

6868
When npm updates packages, it generates a *package-lock.json* file, which lists the actual npm package versions used in your app, including all nested packages. While *package.json* controls the direct dependencies for your app, it does not control nested dependencies (other npm packages required by a particular npm package). You can use the *package-lock.json* file in your development cycle if you need to make sure that other developers and testers are using the exact packages that you are using, including nested packages. For more information, see [package-lock.json](https://docs.npmjs.com/files/package-lock.json) in the npm documentation.
6969

70-
For Visual Studio, the *package-lock.json* file is not added to your project, but you can find it in the project folder.
70+
For Visual Studio, the *package-lock.json* file is not added to your project, but you can find it in the project folder.

0 commit comments

Comments
 (0)