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
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
Sven Kanoldt
aa1815c7c6
fix: bump cargo-generate version to 0.18.2
3 years ago
Liam Murphy
f8783c0af0
Fix usage of locally installed `wasm-opt`
...
Fixes #1247 .
3 years ago
Jesper Håkansson
b7a0ae81f6
0.11.0
3 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 .
3 years ago
Dirk Stolle
a352c19f6b
Fix some typos
3 years ago
printfn
bf74de1560
Add support for workspace inheritance
3 years ago
printfn
b9b38890cf
Update to Rust 2021
3 years ago
printfn
034c1036c2
Bump binaryen to version 111
3 years ago
printfn
9a3c7cd9d5
Use prebuilt cargo-generate binary on aarch64-macos
3 years ago
printfn
6ca10193d4
Update dependencies
3 years ago
printfn
ebdaea8150
Bump binaryen version to 110
3 years ago
printfn
30f2b0a262
Correctly download libbinaryen.dylib on macos
3 years ago
printfn
f73b53c5ab
Switch from failure to anyhow
3 years ago
Philipp Krüger
bda7743942
Apply patches from @printfn
3 years ago
Philipp Krüger
0d39cced6b
Test URL-building matrix
3 years ago
Philipp Krüger
a0074b8893
Fix windows x86_64 binaryen toolchain download URL
3 years ago
Philipp Krüger
5080097b39
Fix macos install target path
3 years ago
Philipp Krüger
c8ed786590
Make x86 32bit an unsupported installation target
3 years ago
Philipp Krüger
cf7a5a0c55
Fix binaryen toolchain URL
3 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
main()
11ef667f6f
Clean up package.json from previous runs
...
Else wasm-pack crashes trying to read its own (old) file
4 years ago
huntc
af8eb33842
Do not remove the pkg directory
...
A recent commit ensured that the pkg directory was removed as the first step of creating it. Unfortunately, this causes a problem for tools such as webpack when watching the pkg directory. In the case of webpack, it is unable to recover its watching and so any watch server must be restarted, consuming the developer's time.
4 years ago
Jesper Håkansson
c8944e3e96
0.10.2
4 years ago
Dominic Elm
713868b204
feat: add support for macos aarch64
4 years ago
Sven Assmann
84124ee8ec
fix( #1076 ): `--target-dir` as extra option is now considered as expected
4 years ago
Jubilee Young
69c5624b17
fix: remove needless clones, borrows
4 years ago
Jubilee Young
8aaef72af0
fix: mem::take TODO
4 years ago
Jubilee Young
e5e5b1eba1
fix: typos in comments
4 years ago
Frederic Kettelhoit
dafc83d49d
Only parse first build argument as path if it does not start with hyphens
4 years ago
Frederic Kettelhoit
ca1f6d838c
Use same syntax for extra arguments as wasm-pack test
4 years ago
Joao Neves
d79e72189c
Implements RFC 8, fixing #606
4 years ago
Jesper Håkansson
8d1ea111ea
0.10.0
4 years ago
Jesper Håkansson
b183a4c0cf
fix: Use v0.24.0 of geckodriver
4 years ago
Azriel Hoh
7a7abf934e
Parse path and extra options together, then split them after.
...
This allows `wasm-pack` to have the same command line interface as
`cargo` to pass through options such as `--no-default-features`.
4 years ago
Azriel Hoh
f4f6588595
Document why we use `AppSettings`.
4 years ago