theatre/devEnv/ensurePublishing.js
Aria Minaei c2b5dca63b Simplified the deployment script
* Implemented yarn run deploy, which deploys all packages to npm, with the same version assigned to all of them.
2021-08-04 21:51:25 +02:00

5 lines
162 B
JavaScript

if (process.env.THEATRE_IS_PUBLISHING !== 'true') {
throw Error(
`This script may run only when the "deploy" command in monorepo's root is running.`,
)
}