Releases: a11ywatch/rust-to-npm
v0.4.10
v0.4.9
What Changed
- add js start SIGINT abort handling
- fix npm package override on pre-install
- fix nodejs home cargo directory find across all systems
Full Changelog: v0.3.9...v0.4.9
v0.4.3
- fix auto transforming npm package name to snack-case
Full Changelog: v0.3.9...v0.4.3
v0.4.1
Whats New
-
You can now run the commands
rust-to-npm build --source && rust-to-npm deploy --source
to publish builds that include the project files for project compilation without fetching to crates.io. -
fix acceptance of optional conditional Cargo.toml fields.
- 0.3.9 includes
Add custom npm package name for orgs.
rust-to-npm build --npm_package_name @myorg/project
v0.3.9
- feat(npm): add custom name package name ability
- feat(npm): add cargo feature handling node install
- chore(start): add graceful process shutdown
Whats Changed
You can now add a custom npm
package name to target instead of directly mapping 1:1 to the Cargo.toml project name.
Installs can mimic cargo feature
flags with npm.
Custom package name ex:
rust-to-npm build -n @myorg/rust-to-npm
Example using npm to install cargo features
npm i a11ywatch-cli --features=grpc
v0.3.4
v0.3.2
What's Changed
- Fix uninstall script by @SaraVieira in #2
New Contributors
- @SaraVieira made their first contribution in #2
Full Changelog: v0.3.0...v0.3.2
v0.3.0
- add clap parsing CLI
- add separate build and deploy commands
- add optional description
Example usage:
cargo install rust-to-npm
rust-to-npm deploy
You can also install rust-to-npm
using npm i rust-to-npm -g
.
Full Changelog: https://github.com/A11yWatch/rust-to-npm/commits/v0.3.0