From 29678d66b88ee5fe2a0f8ccb3464c7b0e4b58f98 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 e75549256bf2fc..a24c99f1eeb783 100644 --- a/doc/api/packages.md +++ b/doc/api/packages.md @@ -1032,7 +1032,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: