mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-29 18:27:56 +02:00
Update publish.md
This commit is contained in:
parent
0f01eace8b
commit
0258fae7b7
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ If you are not currently logged into npm locally:
|
|||
1. Bump version number in [`package.json`](https://github.com/facebook/Docusaurus/blob/master/package.json).
|
||||
1. Update the [changelog](https://github.com/facebook/Docusaurus/blob/master/CHANGELOG.md), including at the reference links at the bottom.
|
||||
1. Do this always, but particularly important if there were any `package.json` changes in this release:
|
||||
1. If there is no `node_modules` directory in you local Docusaurus version, run `yarn install` or `npm install`.
|
||||
1. If there is no `node_modules` directory in you local Docusaurus version, run `yarn install` and `npm install`.
|
||||
1. Run `yarn upgrade` to update `yarn.lock` and `npm update` to update `package-lock.json`.
|
||||
1. From the `website` directory, run `npm run version x.x.x`, where x.x.x is the same version number you updated to in `package.json`.
|
||||
1. Test your PR locally on a project that was created via [these instructions](https://github.com/facebook/Docusaurus/blob/master/admin/local-third-party-project-testing.md).
|
||||
|
|
Loading…
Add table
Reference in a new issue