From 989237f1eac703f4a7bdd25936136ff4a7e6a633 Mon Sep 17 00:00:00 2001 From: CxRes Date: Sat, 6 Feb 2021 05:04:14 +0530 Subject: [PATCH] Fixed: npm publish lifecycle order The lifecycle order for `npm publish` was corrected to match actual behavior and no longer contradicts the description for prepare . --- docs/content/using-npm/scripts.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/using-npm/scripts.md b/docs/content/using-npm/scripts.md index db7bd56b5123c..f35b136417d46 100644 --- a/docs/content/using-npm/scripts.md +++ b/docs/content/using-npm/scripts.md @@ -76,9 +76,9 @@ The advantage of doing these things at `prepublish` time is that they can be don #### [`npm publish`](/commands/npm-publish) -* `prepublishOnly` -* `prepare` * `prepublish` +* `prepare` +* `prepublishOnly` * `publish` * `postpublish`