Build: streamlined npm publish
This commit is contained in:
parent
dfcd2814ae
commit
1724e2f030
4 changed files with 14 additions and 5 deletions
5
theatre/devEnv/ensurePublishing.js
Normal file
5
theatre/devEnv/ensurePublishing.js
Normal file
|
@ -0,0 +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.`,
|
||||
)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue