Ashley Williams
ae69b841e6
feat(coc): add rust coc
7 years ago
Ashley Williams
8ed83d067c
feat(contrib): update the contributing.md
7 years ago
Ashley Williams
ea71101b1e
Merge branch 'add-rustfmt-instructions' of https://github.com/data-pup/wasm-pack into data-pup-add-rustfmt-instructions
7 years ago
ashley williams
16820d9ceb
Merge pull request #64 from ashleygwilliams/demo
...
feat(doc): add demo gif to readme
7 years ago
Ashley Williams
fe903a864c
feat(doc): add demo gif to readme
7 years ago
ashley williams
869fbb008f
Merge pull request #82 from mgattozzi/pr-template
...
Add PR template to the repo
7 years ago
Michael Gattozzi
b7d8e582d4
feat(emojify template) Make PR template 100% emoji
...
✨ ✨ This makes this PR 💯 /💯 ✨ ✨
7 years ago
data-pup
825db18a47
Added notes on configuring rustfmt to contributing.md.
7 years ago
Michael Gattozzi
1dac6ddea5
Add PR template to the repo
...
We want to make sure people format their code as well as reference the
issue that's going to be closed as well so we don't have to close the
issue manually! This PR adds a template for PRs that includes these
points as a checklist to ensure future contributors know what they need
to do!
7 years ago
ashley williams
1ffe34d2e6
Merge pull request #80 from ashleygwilliams/refactor-nits
...
assorted nits
7 years ago
Ashley Williams
f5ec67c084
fix(style): appease cargo fmt
7 years ago
Ashley Williams
3a62a6f34a
fix(command): don't need command in function name
7 years ago
ashley williams
0f0127255b
Merge pull request #78 from Andy-Bell/refactor-main-rs
...
Refactor main.rs
7 years ago
andy-bell
2a996cb554
feat(refactor): missed one warning
7 years ago
andy-bell
542dd3312f
edits to appease cargo fmt
7 years ago
Andy Bell
07d9001b59
feat(refactor): Furthers previous refactor, by moving
...
Functions to new module. Tidies up reused code into
private function.
Throws warning due to line 11 in command.rs - unused import
Import is used for the StructOpt derive macro, so is needed
but still throws this warning
7 years ago
Andy Bell
b1741bb982
feat(refactor): Move all functionality from main.rs
...
to lib.rs to hopefully allow for better use of
lazy_static as discussed in issue #25
7 years ago
ashley williams
ff3566ed79
Merge pull request #66 from mgattozzi/lazy-static
...
feat(pbar): Add global progress bar to write to
7 years ago
Michael Gattozzi
aa629b320c
feat(pbar): Add global progress bar to write to
...
This commit allows us to have a global progress bar to write data to
giving us the following benefits:
- Consistent ways to handle types of messages such as errors and
warnings
- Easy interface to add progress bars of various types
- Easy to maintain, add new types of bars, or more while encapsulating
the login in a single module
7 years ago
ashley williams
40c98867b3
Merge pull request #76 from sendilkumarn/update-wasm-bindgen
...
update to wasm bindgen 0.2.0
7 years ago
ashley williams
69b0559781
Merge pull request #65 from mgattozzi/warn-missing-fields
...
feat(warn): warn on all missing fields for a pkg
7 years ago
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