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
19 changes: 19 additions & 0 deletions aztec-up/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ function build {
echo

# Create Verdaccio config.
# publish.allow_offline lets verdaccio accept publishes when the npmjs
# uplink is briefly unreachable, instead of returning 503. We never want
# the upstream existence check to gate these local fake-publishes.
cat > /tmp/verdaccio-config.yaml <<EOF
storage: $PWD/verdaccio-storage
max_body_size: 1000mb
Expand All @@ -28,7 +31,23 @@ uplinks:
npmjs:
url: https://registry.npmjs.org/

publish:
allow_offline: true

packages:
# @aztec/viem is a third-party fork published to npm, not built locally.
# Match it before @aztec/* so it falls through to the npmjs uplink.
"@aztec/viem":
access: \$all
publish: \$all
unpublish: \$all
proxy: npmjs

"@aztec/*":
access: \$all
publish: \$all
unpublish: \$all

"@*/*":
access: \$all
publish: \$all
Expand Down
Loading