Daniel Iisak Mikael Kristiansson
fde85de5a6
add linux aarch64 to targets; bump binaryen vers.
11 months ago
Daniel Rönnkvist
95cb35c832
pkg-dir option for pack and publish commands
...
To be able to use these commands when the output directory option to the
build command isn't the default pkg.
Resolves #1369
1 year ago
sigmaSd
40de622522
chore: document deno in build target
1 year ago
Charles Lanahan
dde4b47e87
Rewrite wasm_target to use target-libdir
...
Rewritten wasm_target to use target libdir from the rustc tool rather
than looking through sysroot. This is to accomodate non-rustup
installations.
2 years ago
Myriad-Dreamin
49c1e93f7d
Select correct target for chromedriver
2 years ago
Myriad-Dreamin
fc220e8afb
Use new endpoints for chromedriver
2 years ago
Sören
a079a63590
Add option to skip optimization with wasm-opt
2 years ago
Myriad-Dreamin
e1f5dfe50c
Fix value parser for `Option<PathBuf>`
2 years ago
Lynn
91870e497d
Restore --version command
2 years ago
Jesper Håkansson
0392d4003e
0.12.0
2 years ago
Heath Stewart
a0b7a52843
Respect package.readme in Cargo.toml
...
Fixes #1215 by honoring how package.readme is authored in Cargo.toml, if authored. This could be a path or a boolean to disable searching for the path.
Also fixes the existing `it_copies_a_readme_provided_path` test which was an exact copy - just with fewer empty lines - of `it_copies_a_readme_default_path` and wasn't honoring any authored path since there was no way to get the authored path.
2 years ago
Jesper Håkansson
673bc296fc
chore: Run cargo fmt
2 years ago
Jesper Håkansson
927e716b87
Revert "Respect package.readme in Cargo.toml"
...
This reverts commit 22d6d728d0
.
2 years ago
Muhammad Hamza
0dbe045fe7
update other deps as well
2 years ago
Muhammad Hamza
73e059f754
update to clap 4 from structopt
2 years ago
Heath Stewart
22d6d728d0
Respect package.readme in Cargo.toml
...
Fixes #1215 by honoring how package.readme is authored in Cargo.toml, if authored. This could be a path or a boolean to disable searching for the path.
Also fixes the existing `it_copies_a_readme_provided_path` test which was an exact copy - just with fewer empty lines - of `it_copies_a_readme_default_path` and wasn't honoring any authored path since there was no way to get the authored path.
2 years ago
Tomas Olvecky
75e61d4ce2
Fix getting the target-dir in wasm_bindgen_build
...
Fixes #1278
2 years ago
Muhammad Hamza
624ed91ec5
alias no-pack with no-package
2 years ago
Muhammad Hamza
33856b04f2
Replace curl with ureq
...
The HTTP client is now pure Rust
2 years ago
Esteban Borai
63b7501fd1
fix: missing reference
2 years ago
Esteban Borai
819ae333d2
fix: removes `--always-auth` from `npm login`
...
`npm login` doesn't support `--always-auth` anymore, instead
it is under the [`adduser` subcommand][1].
[1]: https://docs.npmjs.com/cli/v6/commands/npm-adduser#always-auth
2 years ago
Levi Nelson
212c0d0a48
add package version to header
2 years ago
Levi Nelson
65c9070c2d
revert change for var
2 years ago
Levi Nelson
84b9821bd8
added USER-AGENT header for http GET request
2 years ago
Jesper Håkansson
bec632240a
0.11.1
2 years ago
Matthias Geihs
9069ef4c85
Add option: omit_default_module_path
2 years ago
Sven Kanoldt
aa1815c7c6
fix: bump cargo-generate version to 0.18.2
2 years ago
Liam Murphy
f8783c0af0
Fix usage of locally installed `wasm-opt`
...
Fixes #1247 .
2 years ago
Jesper Håkansson
b7a0ae81f6
0.11.0
2 years ago
Liam Murphy
ad1778031f
Mark snippets and the bundler target's main file as having side effects
...
This is a less extreme version of #1208 , which only marks snippets and the main file on the bundler target as having side effects instead of all files.
This means that the shim file which contains the vast majority of the JS code is still properly marked as having no side effects, allowing bundlers to get rid of things like unused `new TextEncoder` calls which could theoretically have side effects but don't.
Fixes #972 .
2 years ago
Dirk Stolle
a352c19f6b
Fix some typos
2 years ago
printfn
bf74de1560
Add support for workspace inheritance
2 years ago
printfn
b9b38890cf
Update to Rust 2021
2 years ago
printfn
034c1036c2
Bump binaryen to version 111
2 years ago
printfn
9a3c7cd9d5
Use prebuilt cargo-generate binary on aarch64-macos
2 years ago
printfn
6ca10193d4
Update dependencies
2 years ago
printfn
ebdaea8150
Bump binaryen version to 110
2 years ago
printfn
30f2b0a262
Correctly download libbinaryen.dylib on macos
2 years ago
printfn
f73b53c5ab
Switch from failure to anyhow
2 years ago
Philipp Krüger
bda7743942
Apply patches from @printfn
2 years ago
Philipp Krüger
0d39cced6b
Test URL-building matrix
2 years ago
Philipp Krüger
a0074b8893
Fix windows x86_64 binaryen toolchain download URL
2 years ago
Philipp Krüger
5080097b39
Fix macos install target path
2 years ago
Philipp Krüger
c8ed786590
Make x86 32bit an unsupported installation target
2 years ago
Philipp Krüger
cf7a5a0c55
Fix binaryen toolchain URL
2 years ago
Demur Rumed
922967d884
Pass --enable-reference-types to wasm-opt
3 years ago
Demur Rumed
42a6aaa152
Pass through --weak-refs --reference-types flags to bindgen
3 years ago
Jesper Håkansson
961da162a7
0.10.3
3 years ago
Florian Schwalm
dee3614a48
Make Deno target available
3 years ago
Michael Mauderer
059fb9a386
Update mod.rs
3 years ago