CLI version 0.10.4 and 0.10.5 produce `wasm-bindgen` TypeScript artifacts when building Rust Wasm wrap
Describe the bug
CLI versions 0.10.4 and 0.10.5 produce wasm-bindgen TypeScript artifacts when building Rust Wasm wrap. Clearing the docker cache does not fix the issue. The wrappers are still working and can be invoked.
TODO:
- [x] check if it happens with
0.10.4 - [x] clear docker cache with
docker system prune --all --volumes
Please provide the steps to reproduce and if possible a minimal demo of the problem.
- Clone https://github.com/polywrap/wrap-abi-bindgen.git
- Checkout branch
kris/wrap-0.1 - navigate to the
implementations/app-typescriptdirectory - In
package.json, change thepolywrapand@polywrap/schema-parsedependency versions to0.10.5 - run
nvm use && yarn && yarn build - The unexpected artifacts can be found in the
buildfolder
Expected behavior
All wasm-bindgen should be removed by wasm-snip
Screenshots / logs
The wrap's Rust dependencies:
[dependencies]
polywrap-wasm-rs = { version = "~0.10.5" }
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0.97" }
handlebars = { version = "4.3.7" }
lazy_static = { version = "1.4.0" }
regex = { version = "1.8.4" }
Relevant environment details:
- OS: Mac OS
Additional context
I am aware that this also occurred when building the ethers-utils wrap found here: https://github.com/polywrap/ethers/tree/main/wraps/utils
Can confirm that this same thing happens on Ubuntu 20.04.4 LTS, running through WSL.