diff --git a/lib/vector-vrl/web-playground/README.md b/lib/vector-vrl/web-playground/README.md index 11faa7a1c172a..9246101e4d4d8 100644 --- a/lib/vector-vrl/web-playground/README.md +++ b/lib/vector-vrl/web-playground/README.md @@ -13,7 +13,7 @@ To build the project we need to use `wasm-pack`. This compiles our Rust code to WebAssembly which can then be used within the browser. Install it by running: ```shell -cargo install --locked --version 0.10.3 wasm-pack +cargo install --locked --version 0.13.0 wasm-pack ``` After installing `wasm-pack` we must compile our project by running: diff --git a/scripts/ensure-wasm-pack-installed.sh b/scripts/ensure-wasm-pack-installed.sh index 2e4b8a9e7c9ef..5cedc1e445bb7 100755 --- a/scripts/ensure-wasm-pack-installed.sh +++ b/scripts/ensure-wasm-pack-installed.sh @@ -1,12 +1,12 @@ #! /usr/bin/env bash -if [[ "$(wasm-pack --version)" != "wasm-pack 0.10.3" ]] ; then - echo "wasm-pack version 0.10.3 is not installed" +if [[ "$(wasm-pack --version)" != "wasm-pack 0.13.0" ]] ; then + echo "wasm-pack version 0.13.0 is not installed" # We are using the version from git due to the bug: https://github.com/vectordotdev/vector/pull/16060#issuecomment-1428429602 echo "running cargo install --git https://github.com/rustwasm/wasm-pack.git --rev e3582b7 wasm-pack" cargo install --git https://github.com/rustwasm/wasm-pack.git --rev e3582b7 wasm-pack else - echo "wasm-pack version 0.10.3 is installed already" + echo "wasm-pack version 0.13.0 is installed already" fi brew install llvm diff --git a/scripts/environment/prepare.sh b/scripts/environment/prepare.sh index 592780be3d69a..3f9b3e5524b8a 100755 --- a/scripts/environment/prepare.sh +++ b/scripts/environment/prepare.sh @@ -21,13 +21,13 @@ if ! dd-rust-license-tool --help >& /dev/null ; then rustup run stable cargo install dd-rust-license-tool --version 1.0.2 --force --locked fi -if [[ "$(wasm-pack --version)" != "wasm-pack 0.10.3" ]] ; then - echo "wasm-pack version 0.10.3 is not installed" +if [[ "$(wasm-pack --version)" != "wasm-pack 0.13.0" ]] ; then + echo "wasm-pack version 0.13.0 is not installed" # We are using the version from git due to the bug: https://github.com/vectordotdev/vector/pull/16060#issuecomment-1428429602 echo "running cargo install --git https://github.com/rustwasm/wasm-pack.git --rev e3582b7 wasm-pack" cargo install --force --git https://github.com/rustwasm/wasm-pack.git --rev e3582b7 wasm-pack else - echo "wasm-pack version 0.10.3 is installed already" + echo "wasm-pack version 0.13.0 is installed already" fi # Currently fixing this to version 0.30 since version 0.31 has introduced