Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 3 additions & 1 deletion .config/mise/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ cargo-binstall = "1.19.1"
uv = "0.11.18"

# Tools to compile the project
"cargo:wasm-opt" = "0.116.1"
# binaryen provides `wasm-opt` prebuilt from its GitHub release assets β€” compiling the
# wasm-opt crate from source added ~7 minutes to every install that needed it.
"github:WebAssembly/binaryen" = "version_131"
"github:wasm-bindgen/wasm-pack" = "0.15.0"
java = "25"
protoc = "35.1"
Expand Down
22 changes: 19 additions & 3 deletions .config/mise/mise.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apps/hash-ai-worker-ts/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ RUN --mount=type=secret,id=GITHUB_TOKEN,env=GITHUB_TOKEN \
apt-get install -y --no-install-recommends build-essential && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
mise install --locked node npm:turbo java npm:@redocly/cli cargo-binstall github:wasm-bindgen/wasm-pack cargo:wasm-opt protoc
mise install --locked node npm:turbo java npm:@redocly/cli cargo-binstall github:wasm-bindgen/wasm-pack github:WebAssembly/binaryen protoc

COPY --from=base /app/out/json/ .
COPY --from=base /app/out/yarn.lock ./yarn.lock
Expand Down
2 changes: 1 addition & 1 deletion apps/hash-api/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ RUN --mount=type=secret,id=GITHUB_TOKEN,env=GITHUB_TOKEN \
apt-get install -y --no-install-recommends build-essential && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
mise install --locked node npm:turbo java oxfmt npm:@redocly/cli cargo-binstall github:wasm-bindgen/wasm-pack cargo:wasm-opt protoc
mise install --locked node npm:turbo java oxfmt npm:@redocly/cli cargo-binstall github:wasm-bindgen/wasm-pack github:WebAssembly/binaryen protoc

COPY --from=base /app/out/json/ .
COPY --from=base /app/out/yarn.lock ./yarn.lock
Expand Down
2 changes: 1 addition & 1 deletion apps/hash-frontend/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ RUN --mount=type=secret,id=GITHUB_TOKEN,env=GITHUB_TOKEN \
apt-get install -y --no-install-recommends build-essential && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
mise install --locked node npm:turbo java oxfmt npm:@redocly/cli cargo-binstall github:wasm-bindgen/wasm-pack cargo:wasm-opt protoc
mise install --locked node npm:turbo java oxfmt npm:@redocly/cli cargo-binstall github:wasm-bindgen/wasm-pack github:WebAssembly/binaryen protoc

COPY --from=base /app/out/json/ .
COPY --from=base /app/out/yarn.lock ./yarn.lock
Expand Down
2 changes: 1 addition & 1 deletion apps/hash-frontend/vercel-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ echo "Adding wasm32-unknown-unknown target"
rustup target add wasm32-unknown-unknown

echo "Installing prerequisites"
mise install --locked node npm:turbo java npm:@redocly/cli cargo-binstall github:wasm-bindgen/wasm-pack cargo:wasm-opt protoc
mise install --locked node npm:turbo java npm:@redocly/cli cargo-binstall github:wasm-bindgen/wasm-pack github:WebAssembly/binaryen protoc

echo "Rust installation completed. Checking versions:"
mise list rust
Expand Down
2 changes: 1 addition & 1 deletion apps/hash-integration-worker/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ RUN --mount=type=secret,id=GITHUB_TOKEN,env=GITHUB_TOKEN \
apt-get install -y --no-install-recommends build-essential && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
mise install --locked node npm:turbo java npm:@redocly/cli cargo-binstall github:wasm-bindgen/wasm-pack cargo:wasm-opt protoc
mise install --locked node npm:turbo java npm:@redocly/cli cargo-binstall github:wasm-bindgen/wasm-pack github:WebAssembly/binaryen protoc

COPY --from=base /app/out/json/ .
COPY --from=base /app/out/yarn.lock ./yarn.lock
Expand Down
2 changes: 1 addition & 1 deletion apps/petrinaut-website/vercel-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export RUSTUP_AUTO_INSTALL=0
mise use --global rust[profile=minimal]@$(yq '.toolchain.channel' rust-toolchain.toml)

echo "Installing prerequisites"
mise install --locked node npm:turbo java npm:@redocly/cli cargo-binstall github:wasm-bindgen/wasm-pack cargo:wasm-opt protoc
mise install --locked node npm:turbo java npm:@redocly/cli cargo-binstall github:wasm-bindgen/wasm-pack github:WebAssembly/binaryen protoc

echo "Rust installation completed. Checking versions:"
mise list rust
Expand Down
Loading