From 75ff474f9a6d4638fe194a7351b2db0b36824f6b Mon Sep 17 00:00:00 2001 From: Rahul Date: Wed, 8 Nov 2023 18:52:31 +0100 Subject: [PATCH] Fix type for postinstall documentation (#5955) **What's the problem this PR addresses?** Grammar issue in documentation ... **How did you fix it?** Updated and fixed the line in the doc. ... **Checklist** - [ ] I have read the [Contributing Guide](https://yarnpkg.com/advanced/contributing). - [ ] I have set the packages that need to be released for my changes to be effective. - [ ] I will check that all automated PR checks pass before the PR gets reviewed. --- .../docs/advanced/02-package-management/lifecycle-scripts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docusaurus/docs/advanced/02-package-management/lifecycle-scripts.md b/packages/docusaurus/docs/advanced/02-package-management/lifecycle-scripts.md index aa319b4a1a81..da601527ee5f 100644 --- a/packages/docusaurus/docs/advanced/02-package-management/lifecycle-scripts.md +++ b/packages/docusaurus/docs/advanced/02-package-management/lifecycle-scripts.md @@ -38,7 +38,7 @@ It is guaranteed to be called in topological order (in other words, your depende For backwards compatibility, the `preinstall` and `install` scripts, if presents, are called right before running the `postinstall` script from the same package. In general, prefer using `postinstall` over those two. :::caution -Postinstall scripts have should be avoided at all cost, as they make installs slower and riskier. Many users will refuse to install dependencies that have `postinstall` scripts. Additionally, since the output isn't shown out of the box, using them to print a message to the user will not work as you expect. +Postinstall scripts should be avoided at all cost, as they make installs slower and riskier. Many users will refuse to install dependencies that have `postinstall` scripts. Additionally, since the output isn't shown out of the box, using them to print a message to the user will not work as you expect. ::: ## Environment variables