3d10325873
This implements some basic infra for testing Theatre.js with popular setups such as npm/yarn/pnpm, webpack/vite/parcel, js/ts, etc. So far, the only existing setup has been with create-react-app. Will add more in the future. Co-authored-by: Fülöp <fulopkovacs@users.noreply.github.com> Co-authored-by: Aria Minaei <aria.minaei@gmail.com>
8 lines
206 B
JavaScript
8 lines
206 B
JavaScript
if (
|
|
process.env.THEATRE_IS_PUBLISHING !== 'true' &&
|
|
process.env.USING_YALC !== 'true'
|
|
) {
|
|
throw Error(
|
|
`This script may run only when the "release" command in monorepo's root is running.`,
|
|
)
|
|
}
|