Skip to content

Releases: a11ywatch/rust-to-npm

v0.4.10

03 May 16:17
Compare
Choose a tag to compare

Whats Changed

  1. Lib and CLI split crates.
  • lib: cargo add rust-to-npm - cli: cargo install rust-to-npm-cli

Full Changelog: v0.4.9...v0.4.10

v0.4.9

08 Jan 13:52
676b473
Compare
Choose a tag to compare

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

21 Dec 14:53
Compare
Choose a tag to compare
  • fix auto transforming npm package name to snack-case

Full Changelog: v0.3.9...v0.4.3

v0.4.1

17 Oct 22:33
Compare
Choose a tag to compare

Whats New

  1. 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.

  2. 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

05 Oct 10:07
Compare
Choose a tag to compare
  • 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

24 Sep 15:40
Compare
Choose a tag to compare

Major fix

  • fix npm package installation upgrade and version pinning

v0.3.2

13 Sep 15:44
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.3.0...v0.3.2

v0.3.0

02 Jul 15:17
Compare
Choose a tag to compare
  1. add clap parsing CLI
  2. add separate build and deploy commands
  3. 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