Chore: Small fixes for the deployment script
This commit is contained in:
parent
1724e2f030
commit
df280e3e51
2 changed files with 7 additions and 1 deletions
6
theatre/README.md
Normal file
6
theatre/README.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
## How to deploy
|
||||
|
||||
Simply update the version of `theatre/package.json`, then run `$ yarn run deploy`. This script will:
|
||||
1. Update the version of `@theatre/core` and `@theatre/studio`.
|
||||
2. Bundle the `.js` and `.dts` files.
|
||||
3. Publish both packages to npm.
|
|
@ -1,5 +1,5 @@
|
|||
if (process.env.THEATRE_IS_PUBLISHING !== 'true') {
|
||||
throw Error(
|
||||
`This script may run only when the "prepare" command in root/theatre is running.`,
|
||||
`This script may run only when the "deploy" command in root/theatre is running.`,
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue