From 3c53d631f557cf2484e2f6a6172c44e36aea4817 Mon Sep 17 00:00:00 2001 From: rethab Date: Wed, 26 May 2021 14:57:24 +0200 Subject: [PATCH] fix(docs): typo in package-lock.json docs PR-URL: https://github.com/npm/cli/pull/3307 Credit: @rethab Close: #3307 Reviewed-by: @wraithgar --- docs/content/configuring-npm/package-lock-json.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/configuring-npm/package-lock-json.md b/docs/content/configuring-npm/package-lock-json.md index 4d994bbc8c0a2..c06540fb3ffae 100644 --- a/docs/content/configuring-npm/package-lock-json.md +++ b/docs/content/configuring-npm/package-lock-json.md @@ -36,8 +36,8 @@ various purposes: Both of these files have the same format, and perform similar functions in the root of a project. -The difference is that `package-lock.json` is that it cannot be published, -and it will be ignored if found in any place other than the root project. +The difference is that `package-lock.json` cannot be published, and it will +be ignored if found in any place other than the root project. In contrast, [npm-shrinkwrap.json](/configuring-npm/npm-shrinkwrap-json) allows publication, and defines the dependency tree from the point encountered.