Skip to content

Commit 50a37cf

Browse files
author
sklppy88
committed
init
1 parent 5d12f94 commit 50a37cf

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

yarn-project/publish_npm.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,14 @@ function deploy_package() {
5757
for PKG in $(jq --raw-output ".dependencies | keys[] | select(contains(\"@aztec/\"))" package.json); do
5858
jq --arg v $VERSION ".dependencies[\"$PKG\"] = \$v" package.json >$TMP && mv $TMP package.json
5959
done
60+
61+
# TODO: Remove this after @noir package resolution is fixed
62+
if [[ "$PACKAGE_NAME" == "@aztec/pxe" ]]; then
63+
# Hardcodes "1.0.0-beta.1" for @noir-lang/types
64+
for PKG in $(jq --raw-output ".dependencies | keys[] | . == \"@noir-lang/types\")" package.json); do
65+
jq ".dependencies[\"$PKG\"] = 1.0.0-beta.1" package.json >$TMP && mv $TMP package.json
66+
done
67+
fi
6068
fi
6169

6270
# Publish

0 commit comments

Comments
 (0)