mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-22 15:02:51 +02:00
Improve documentation for publishing to NPM
This commit is contained in:
@@ -88,14 +88,24 @@ yarn release:latest
|
|||||||
|
|
||||||
And follow the prompts Lerna gives you.
|
And follow the prompts Lerna gives you.
|
||||||
|
|
||||||
|
Note that this will automatically run the prelease script first that will build, test and lint before attempting to publish.
|
||||||
|
|
||||||
|
## Publishing `@next` Releases
|
||||||
|
|
||||||
If we are unsure as to the stability of a release because there are significant changes and/or particularly complex changes, release with the `@next` tag.
|
If we are unsure as to the stability of a release because there are significant changes and/or particularly complex changes, release with the `@next` tag.
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
yarn release:next
|
yarn release:next
|
||||||
```
|
```
|
||||||
|
|
||||||
If we want to make sure that Slate code follows the prerequisites for a release but without actually publishing, run:
|
And follow the prompts Lerna gives you.
|
||||||
|
|
||||||
|
## Running Prerelease Script
|
||||||
|
|
||||||
|
If we want to make sure that Slate code follows the preparations for a release but without actually publishing, run:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
yarn prerelease
|
yarn prerelease
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Which will build, test and lint Slate code.
|
||||||
|
Reference in New Issue
Block a user