Sendil Kumar
1ecde68061
update to wasm bindgen 0.2.0
7 years ago
Michael Gattozzi
57e461eaab
feat(warn): warn on all missing fields for a pkg
...
Because the toml error only spits out the error for the first thing it
runs into it doesn't parse all of the missing fields. We first serialize
the data to a generic toml type to check this ourselves. If everything
is there we serialize directly to the type we expected. Otherwise we
throw an error with all the fields that are missing.
7 years ago
ashley williams
5c4a68ee52
Merge pull request #73 from Andy-Bell/use-cargo-wasm-bindgen
...
Fixes issue 69 - use Cargo version of wasm-bindgen to better ensure not-broken build
7 years ago
andy-bell
f77eddd498
change references to wasm-bindgen from pointing at git repo to pointing at crates.io
7 years ago
ashley williams
3c2447e2bd
Merge pull request #67 from jamiebuilds/pack-and-publish
...
init pack and publish
7 years ago
ashley williams
1a62261453
Merge pull request #70 from ashleygwilliams/yoshuawuyts-collabs
...
Yoshuawuyts collabs
7 years ago
Ashley Williams
4243f75b56
feat(style): appease cargo fmt
7 years ago
Yoshua Wuyts
d6671f3307
pretty-print package.json
7 years ago
Yoshua Wuyts
e886277031
pick up collaborators from npm
7 years ago
Yoshua Wuyts
75b0480daa
rustfmt reorder
7 years ago
Yoshua Wuyts
7d4a8baf76
add target/ to gitignore
7 years ago
Jamie Kyle
27d6919eea
init pack and publish
7 years ago
ashley williams
cef406f7d9
Merge pull request #62 from ashleygwilliams/mgattozzi-scopes
...
mgattozzi scopes rollup
7 years ago
Michael Gattozzi
9ea956f216
feat(flag): add scope flag to init subcommand
...
npm allows scopes to avoid name collisions. In order to support this
optional feature a flag has been added so that the name in the generated
package.json is correct.
Example for a package named wasm-add:
```bash
wasm-pack init
```
package.json
```json
{
"name": "wasm-add"
}
```
```bash
wasm-pack init --scope mgattozzi
```
package.json
```json
{
"name": "@mgattozzi/wasm-add"
}
```
7 years ago
Ashley Williams
71c2edc03f
feat(doc): scope flag
7 years ago
ashley williams
d96a0667b6
Merge pull request #59 from steveklabnik/improve-test-layout
...
Improve test layout
7 years ago
ashley williams
ebea6f2906
Merge pull request #58 from steveklabnik/small-cleanup
...
clean up imports
7 years ago
steveklabnik
a891bab6c7
Improve test layout
...
I suggested this layout, but since Rust 1.22, this layout now works!
7 years ago
steveklabnik
1c26742d3c
clean up imports
7 years ago
ashley williams
2567b20cc8
Merge pull request #57 from steveklabnik/gh56
...
Move examples into tests/fixtures
7 years ago
steveklabnik
033aaaa19b
Move examples into tests/fixtures
...
These aren't examples in the sense Cargo uses them; they're test
fixtures. As such, let's put them in tests/
Fixes #56
7 years ago
ashley williams
030472bfa2
Merge pull request #55 from ashleygwilliams/warn-no-readme
...
feat(readme): warn on no readme
7 years ago
Ashley Williams
fde8025f8b
fix(readme): clear double print of readme step
7 years ago
Ashley Williams
64d7a2c828
fix(output): refactor
7 years ago
Ashley Williams
8f25bf1fea
feat(readme): warn on no readme
7 years ago
ashley williams
beaf912f2f
Merge pull request #54 from ashleygwilliams/readme-tests
...
feat(test): test readme is a copy
7 years ago
Ashley Williams
5ecd6365f8
feat(test): test readme is a copy
7 years ago
Ashley Williams
de9132e9ca
feat(tests): refactor utils into manifest_utils mod
7 years ago
ashley williams
29499f445a
Merge pull request #53 from ashleygwilliams/test-test-test
...
feat(test): test package json values
7 years ago
Ashley Williams
b9df6d60ae
feat(test): test package json values
7 years ago
ashley williams
d0d16eeb93
Merge pull request #52 from ashleygwilliams/refactor-pb
...
fix(progressbar): refactor msg into pb fn
7 years ago
Ashley Williams
c8fb09a24c
fix(progressbar): refactor msg into pb fn
7 years ago
ashley williams
3763fdfe8d
Merge pull request #49 from ashleygwilliams/pretty-output
...
fix(style): improve output messaging
7 years ago
Ashley Williams
ac9f5f7994
fix(style): improve output messaging
7 years ago
ashley williams
96acdb873e
Merge pull request #48 from ashleygwilliams/readme-oops
...
fix(doc): update readme code example
7 years ago
Ashley Williams
cf7fed3cbf
fix(doc): update readme code example
7 years ago
ashley williams
3675083ac4
Merge pull request #42 from sendilkumarn/fix-var-name
...
rename variables
7 years ago
ashley williams
450131f0e5
Merge pull request #41 from sendilkumarn/fix-bindgen
...
fix: adding wasm-bindgen version rather than git repo
7 years ago
Sendil Kumar
0518f7ba5a
rename variables
7 years ago
Sendil Kumar
c16d75530a
fix: adding wasm-bindgen version rather than git repo
7 years ago
Ashley Williams
7260199a0f
fix(use): remove unused use statement
7 years ago
ashley williams
23369ce4d8
Merge pull request #32 from ashleygwilliams/copy-readme
...
feat(readme): copy from crate
7 years ago
Ashley Williams
30a135a88b
feat(example): give the crate a readme
7 years ago
Ashley Williams
746a249599
feat(test): test the readme copying
7 years ago
Ashley Williams
a34bfa4567
fix(tests): refactor paths out to vars
7 years ago
Ashley Williams
289babc084
feat(tests): back out dir diff for now
7 years ago
Ashley Williams
edb8e1ef72
feat(lib): reorg manifest work into mod
7 years ago
Ashley Williams
a5a4f8b324
feat(lib): reorg build, bindgen, readme imports
7 years ago
Ashley Williams
f9d65a419c
feat(readme): copy from crate
7 years ago
ashley williams
b636f0e6b3
Merge pull request #34 from yoshuawuyts/test-output
...
add dir_diff test
7 years ago