Skip to content

Commit

Permalink
fix: pxe release (#11877)
Browse files Browse the repository at this point in the history
This is a bit of a hack, and should be deleted once `@noir-lang/`
package resolution is fixed.

The pxe release is currently broken as is, so this fixes that.
  • Loading branch information
sklppy88 authored Feb 10, 2025
1 parent e1adf23 commit 4c0d2f2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions yarn-project/publish_npm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ function deploy_package() {
for PKG in $(jq --raw-output ".dependencies | keys[] | select(contains(\"@aztec/\"))" package.json); do
jq --arg v $VERSION ".dependencies[\"$PKG\"] = \$v" package.json >$TMP && mv $TMP package.json
done

# 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
done
fi
fi

# Publish
Expand Down

0 comments on commit 4c0d2f2

Please sign in to comment.