mention npx in install docs

This commit is contained in:
Georgii Dolzhykov committed 2020-03-23 14:40:41 +02:00
1 parent f0780f5acf
commit fac9ce07fe
2 files changed
+9

No files matched your search

+3
View File
@@ -15,6 +15,9 @@ async function bump({ version }) {
processFile(".github/ISSUE_TEMPLATE/integration.md", (content) =>
content.replace(/^(- Prettier Version: ).*?$/m, `$1${version}`)
);
processFile("docs/install.md", (content) =>
content.replace(/^(npx prettier@)\S+/m, `$1${version}`)
);
// Update unpkg link in docs
processFile("docs/browser.md", (content) =>