* wip * fix: reset the sizes * fix: update zustand * fix: update * fix: add additional width * wip * fix: remove hacky code * wip * wip * wip * wip * wip * fix: try pre-commit * fix: add check pre-commit * fix: remove xyflow * fix: remove unnecessary files * fix: update packages * Update scripts/generate-renderer.sh --------- Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
12 lines
376 B
Bash
12 lines
376 B
Bash
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
# Fetch the latest commit hash from the GitHub repo
|
|
LATEST_COMMIT_HASH=$(git ls-remote https://github.com/roadmapsh/web-draw-v2.git refs/heads/main | awk '{print $1}')
|
|
|
|
echo "Latest commit hash: $LATEST_COMMIT_HASH"
|
|
|
|
# Install the package using the latest commit hash
|
|
pnpm add github:roadmapsh/web-draw#"$LATEST_COMMIT_HASH"\&path:packages/editor
|