AFFiNE/scripts/bump-blocksuite.sh
Yifeng Wang af15aa06d4
feat: bump blocksuite (#5286)
Co-authored-by: donteatfriedrice <huisheng.chen7788@outlook.com>
2023-12-15 12:57:52 +08:00

13 lines
510 B
Bash
Executable File

#!/bin/bash
LATEST_NIGHTLY=$(npm view @blocksuite/presets@nightly version | cut -d ':' -f 2 | tr -d '[:space:]')
echo "Bump to latest BlockSuite nightly version: $LATEST_NIGHTLY"
yarn up "@blocksuite/store@${LATEST_NIGHTLY}"
yarn up "@blocksuite/blocks@${LATEST_NIGHTLY}"
yarn up "@blocksuite/presets@${LATEST_NIGHTLY}"
yarn up "@blocksuite/global@${LATEST_NIGHTLY}"
yarn up "@blocksuite/block-std@${LATEST_NIGHTLY}"
yarn up "@blocksuite/lit@${LATEST_NIGHTLY}"
yarn up "@blocksuite/inline@${LATEST_NIGHTLY}"