Dan Wilhelm
0147dae9fe
login: Fix empty input prompt
...
Issue #484 .
PR392 inadvertantly replaced the `login` interactive process spawner
with
`child::run`, which is hard-coded to buffer stdout/stderr. This caused
`login` to become essentially unusable; the user could no longer see
interactive input prompts or error messages displayed by `npm adduser`.
The code was not directly reverted because the previous version:
1. Returned Error instead of failure::Error. (Updated to use
`bail!`, which is consistent with `publish`.)
2. Displayed all stderr only upon exit, rather than interactively
displaying it. This led to repeated interactive prompts without
informing the user why. (Updated to use `status()` which inherits
stdin/stdout/stderr by default.)
3. Did not provide logging. (Now duplicates the logging in
`child::run`.)
6 years ago
Nick Fitzgerald
20c488d559
docs: document that the `pkg` directory is gitignored by default
...
Fixes #473
6 years ago
Nick Fitzgerald
ecbdf90adc
docs: delete trailing whitespace
6 years ago
Nick Fitzgerald
212d7727dc
docs: use `wasm-pack build` instead of `wasm-pack init`
...
The latter has been deprecated for some time.
6 years ago
csmoe
065a28f293
check whether correct target arg passed in
6 years ago
ashley williams
8af40029a9
Merge pull request #476 from mstallmo/refactor-license-copy
...
Refactor license copy to remove unwrap()
6 years ago
Mason Stallmo
c99b93498c
Refactor: returns error instead of unwrapping path join
6 years ago
Mason Stallmo
bcdbaab731
Refactor: returns proper error instead of unwrapping during license copy
6 years ago
ashley williams
9675464067
Merge pull request #415 from drager/refactor-binary-installation
...
refactor: Move binary installation to it's own crate
6 years ago
Jesper Håkansson
28f67e7a6e
Merge branch 'master' into refactor-binary-installation
6 years ago
ashley williams
9c01c389a7
Merge pull request #396 from huangjj27/fix-390
...
bugfix(command/build.rs): Cancel Escape
6 years ago
ashley williams
011cca9495
Merge pull request #444 from csmoe/prebuild
...
pre-build before wasm-pack publish
6 years ago
csmoe
93384f572f
select build target
6 years ago
Jesper Håkansson
a2235e5af4
Merge branch 'master' into refactor-binary-installation
6 years ago
ashley williams
cab9e6a545
Merge pull request #454 from RReverser/add-rust-toolchain
...
Add rust-toolchain file set to nightly
6 years ago
Ingvar Stepanyan
99ccb75105
Delete rust-toolchain
6 years ago
ashley williams
0fdfacc2d8
Merge pull request #453 from RReverser/gitignore-pkg-by-default
...
Generate self-.gitignore as part of pkg folder
6 years ago
csmoe
95268cdaf4
add target arg to publish
6 years ago
csmoe
ddd93481c3
prebuild in interactive way
6 years ago
csmoe
d5a7a7beb1
pre-build before wasm-pack publish
6 years ago
ashley williams
8ed6e3dfaf
Merge pull request #446 from drager/catch-types-in-cargo-toml
...
feat: Catch typos in Cargo.toml and warn about them
7 years ago
ashley williams
fa5e39b217
Merge pull request #411 from mstallmo/master
...
Copy license file(s) to out directory
7 years ago
ashley williams
aa4a22a90d
Merge pull request #467 from Siilwyn/patch-1
...
Fix link to manual setup instructions from getting started
7 years ago
Selwyn
2b30ca8e13
Fix link to manual setup instructions from getting started
7 years ago
ashley williams
b6eb9af729
Merge pull request #450 from srijs/update/zip-0.5
...
update zip to 0.5.0
7 years ago
daubaris
ee3857d436
refactoring mod
7 years ago
Ingvar Stepanyan
87b4c5c7b1
Add rust-toolchain file set to nightly
...
This allows new contributors to avoid manually running `rustup override set nightly`.
7 years ago
Ingvar Stepanyan
d788b80583
Generate self-.gitignore as part of pkg folder
7 years ago
Pierre-Étienne Meunier
b92a3366eb
Rustfmt
7 years ago
Pierre-Étienne Meunier
30d9e2bd07
Fixing wasm-pack on non-rustup setups
7 years ago
Sam Rijs
b567fc0f88
update zip to 0.5.0
7 years ago
daubaris
ed074e7d72
Merge pull request #1 from daubaris/wasm-pack-version
...
Addition of stamp file and additional thread for running version checks
7 years ago
daubaris
bbc759369f
nightly fmt
7 years ago
daubaris
75b85e58c7
addition of stamp file and additional thread for running version checks
7 years ago
Mason Stallmo
272ef97bef
Refactor: make `crate_license` a method of CrateData.
7 years ago
Mason Stallmo
1c704b7b7c
Reword WTFPL and add punctuation to license not found message.
7 years ago
Mason Stallmo
2d837f795c
Copy license file(s) to out directory
...
Check the Cagro.toml for a license and if one is found glob for LICENSE* files to copy to the out directory
7 years ago
huangjj27
c6894c46f7
bugfix(390): pass the ci
...
in the CI, there is no user. begining with "C:\" is just enough
7 years ago
huangjj27
9feb3a857c
check if the log missing things
7 years ago
huangjj27
06a949b9ed
Capital disk Url
7 years ago
huangjj27
837393b5fc
trim head
7 years ago
huangjj27
7fd731279b
print out wasm-log for check
7 years ago
huangjj27
06e38ec3e8
checkout if CI's log contain INFO messages
7 years ago
huangjj27
83de8d71d2
fix test for wasm-bindgen 0.2.21
7 years ago
huangjj27
2512199cb3
resolve conlicts and pass the test
7 years ago
huangjj27
6d3f1c2835
remove canonicalize and use display directly
7 years ago
huangjj27
b301015588
update: rebasing to master
...
fixes conflicts encountered when rebasing to master
fixes # 390
7 years ago
huangjj27
cf56fa10d6
bugfix(command/build): passing test case
...
this commit fixes #390 , #414 , and closes #408 for the test case
have to pass after a successful build.
7 years ago
huangjj27
054e1739ae
test(command/build): right test case
...
the test case would pass after solving #408
7 years ago
huangjj27
472890c063
test(command/build): add test for fix-390
7 years ago