Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions yarn-project/publish_npm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,11 @@ function deploy_package() {
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[] | select(. == \"@noir-lang/types\")" package.json); do
jq ".dependencies[\"$PKG\"] = \"1.0.0-beta.1\"" package.json >$TMP && mv $TMP package.json
done
fi
# TODO: Remove this after @noir-lang package resolution is fixed
# Hardcodes "1.0.0-beta.1" for @noir-lang packages
for PKG in $(jq --raw-output ".dependencies | keys[] | select(contains(\"@noir-lang/\"))" package.json); do
jq ".dependencies[\"$PKG\"] = \"1.0.0-beta.1\"" package.json >$TMP && mv $TMP package.json
done
fi

# Publish
Expand Down
Loading