From 4d8ee8e3cd02da24170b7b59035e5d9341eac6a9 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Fri, 28 Jan 2022 00:35:23 +0100 Subject: [PATCH] doc: fix link to npm documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The previous link led to an old page that does not document all the `package.json` fields used by npm. PR-URL: https://github.com/nodejs/node/pull/41712 Reviewed-By: Mestery Reviewed-By: Tobias Nießen Reviewed-By: Benjamin Gruenbaum Reviewed-By: Tierney Cyren Reviewed-By: Geoffrey Booth Reviewed-By: Luigi Pinca --- doc/api/packages.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/packages.md b/doc/api/packages.md index a846907b71417e..6b38d238dc9949 100644 --- a/doc/api/packages.md +++ b/doc/api/packages.md @@ -1077,7 +1077,7 @@ conditional exports for consumers could be to add an export, e.g. ## Node.js `package.json` field definitions This section describes the fields used by the Node.js runtime. Other tools (such -as [npm](https://docs.npmjs.com/creating-a-package-json-file)) use +as [npm](https://docs.npmjs.com/cli/v8/configuring-npm/package-json)) use additional fields which are ignored by Node.js and not documented here. The following fields in `package.json` files are used in Node.js: