Helpers to manage deployments in monorepos
yarn global add @entria/deploy
check if server
package has changed:
entria-deploy server
const { shouldDeployPackage } from '@entria/deploy';
// it should be another compare url, from Travir of instance
const shouldDeploy = shouldDeployPackage(process.cwd())(process.env.CIRCLE_COMPARE_URL);
if (shouldDeploy('server') {
console.log('deploy server');
}