From b2ce0250e32abaaaf60d895cda210914bdf903ea Mon Sep 17 00:00:00 2001 From: Santoshraj2 <143222321+Santoshraj2@users.noreply.github.com> Date: Tue, 14 May 2024 09:21:27 -0500 Subject: [PATCH] docs: suggest correct bin entry (#7518) Our existing example present in npm doc was giving warning, so just modified that so that we will not get any warning . Closes: https://github.com/npm/cli/issues/7302 --- docs/lib/content/configuring-npm/package-json.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/lib/content/configuring-npm/package-json.md b/docs/lib/content/configuring-npm/package-json.md index e45d2646ab956..71d272e57a491 100644 --- a/docs/lib/content/configuring-npm/package-json.md +++ b/docs/lib/content/configuring-npm/package-json.md @@ -368,7 +368,7 @@ For example, myapp could have this: ```json { "bin": { - "myapp": "./cli.js" + "myapp": "bin/cli.js" } } ```