diff --git a/yarn-project/publish_npm.sh b/yarn-project/publish_npm.sh index 6813b8c2b09..2c75b2e216e 100755 --- a/yarn-project/publish_npm.sh +++ b/yarn-project/publish_npm.sh @@ -61,8 +61,8 @@ function deploy_package() { # TODO: Remove this after @noir package resolution is fixed if [[ "$PACKAGE_NAME" == "@aztec/pxe" ]]; then # Hardcodes "1.0.0-beta.1" for @noir-lang/types - for PKG in $(jq --raw-output ".dependencies | keys[] | . == \"@noir-lang/types\")" package.json); do - jq ".dependencies[\"$PKG\"] = 1.0.0-beta.1" package.json >$TMP && mv $TMP package.json + for PKG in $(jq --raw-output ".dependencies | keys[] | select(. == \"@noir-lang/types\")" package.json); do + jq ".dependencies[\"$PKG\"] = \"1.0.0-beta.1\"" package.json >$TMP && mv $TMP package.json done fi fi