#!/usr/bin/env bash

rm -rf node_modules package-lock.json yarn.lock
lerna clean -y
find ./packages -type f -name "package-lock.json" -exec rm -f {} \;

lerna bootstrap

lerna exec --stream \
  --scope @felce/lowcode-editor-core \
  --scope @felce/lowcode-types \
  --scope @felce/lowcode-utils \
  -- npm run build
