Recreate this project with these steps:
Create a new repo and clone it
This can easily be done with cargo:
cargo new jims-rust-cli-test
Open the main.rs
file and change the string returned to whatever you like...
Add these keys to Cargo.toml (with your desired values):
description = "A cool cli tool test by Jim!"
repository = "https://github.com/JimLynchCodes/jims-rust-to-npm-test"
readme = "README-for-registry.md"
keywords = ["rust-to-npm-cli", "deploy-rust", "npm", "rust", "cli-tool"]
categories = ["command-line-utilities"]
license = "MIT"
homepage = "https://github.com/JimLynchCodes/jims-rust-to-npm-test"
authors = ["Jim Lynch - jim.lynch@evaluates2.com"]
Login to your crates.io account in your terminal:
cargo login
Login to your npmjs.com account in your terminal:
npm adduser
cargo install rust-to-npm-cli
OR via npm (but not both)
npm i -g rust-to-npm-cli
rust-to-npm-cli deploy -b -n other-name-jims-rust-to-npm-cli-test
Change the version in Caargo.toml (according to semver) and then repeat step 6.
npm i -g other-name-jims-rust-to-npm-cli-test
or
cargo install other-name-jims-rust-to-npm-cli-test
jims-new-rust-cli-test