Skip to content

Commit

Permalink
ignore non-workspace @imtbl deps when prepping deps
Browse files Browse the repository at this point in the history
  • Loading branch information
zaidarain1 committed Oct 4, 2024
1 parent 419a43f commit 960ca6e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions prepare-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ prepare_deps() {
if [ -z "$dep" ]; then
continue
fi

# Skip if the dependency is not in the workspace
if ! pnpm recursive list --depth -1 | grep -q $dep; then
continue
fi

# Get the packed dependency filename. For example, @imtbl/sdk -> imtbl-sdk-0.0.0.tgz
packedDepFilename=$(echo "$dep" | sed "s/@imtbl\///" | sed "s/\//-/" | sed "s/^/imtbl-/" | sed "s/$/-0.0.0.tgz/")
Expand Down

0 comments on commit 960ca6e

Please sign in to comment.