Simplified the deployment script

* Implemented yarn run deploy, which deploys all packages to npm, with the same version assigned to all of them.
This commit is contained in:
Aria Minaei 2021-08-04 21:51:25 +02:00
parent 4395c62b17
commit c2b5dca63b
11 changed files with 152 additions and 24 deletions

View file

@ -1,5 +0,0 @@
if (process.env.THEATRE_IS_PUBLISHING !== 'true') {
throw Error(
`This script may run only when the "deploy" command in root/theatre is running.`,
)
}