Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
sklppy88 committed Feb 10, 2025
1 parent 5d12f94 commit fd28371
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions yarn-project/publish_npm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,18 @@ 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

for PKG in $(jq --raw-output ".devDependencies | keys[] | select(contains(\"@aztec/\"))" package.json); do
jq --arg v $VERSION ".devDependencies[\"$PKG\"] = \$v" package.json >$TMP && mv $TMP package.json
done
fi
fi

# Publish
Expand Down

0 comments on commit fd28371

Please sign in to comment.