ci: build changed packages only

This commit is contained in:
Hans Pagel 2021-03-08 14:26:13 +01:00
parent 43a13594f0
commit 9ca5ca7ae8

View File

@ -18,7 +18,7 @@
"test": "cypress run --project tests",
"build:docs": "yarn --cwd ./docs build",
"build:ci": "yarn clean:packages && for dir in packages/*; do package=${dir#'packages/'}; rollup -c --ci --scope @tiptap/$package || exit 1; done",
"build:packages": "yarn clean:packages && for dir in packages/*; do package=${dir#'packages/'}; rollup -c --scope @tiptap/$package || exit 1; done",
"build:packages": "yarn clean:packages && lerna changed | while read package; do rollup -c --scope $package || exit 1; done",
"release": "yarn lint && yarn test && yarn build:packages && lerna publish",
"clean:packages": "rm -rf ./packages/*/dist",
"reset": "yarn clean:packages && rm -rf ./**/.cache && rm -rf ./**/node_modules && rm -rf ./yarn.lock && yarn install"