diff --git a/theatre/README.md b/theatre/README.md new file mode 100644 index 0000000..c008567 --- /dev/null +++ b/theatre/README.md @@ -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. \ No newline at end of file diff --git a/theatre/devEnv/ensurePublishing.js b/theatre/devEnv/ensurePublishing.js index 531bd14..55983cf 100644 --- a/theatre/devEnv/ensurePublishing.js +++ b/theatre/devEnv/ensurePublishing.js @@ -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.`, ) }