Skip to content

Commit

Permalink
feat(cli): add clap parsing - deploy v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mendez committed Jul 2, 2022
1 parent af4ea3f commit 4e99c01
Show file tree
Hide file tree
Showing 7 changed files with 270 additions and 40 deletions.
196 changes: 195 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]

name = "rust-to-npm"
version = "0.2.10"
version = "0.3.0"
edition = "2021"
description = "deploy a rust project to npm in one command."
repository = "https://github.com/a11ywatch/rust-to-npm"
Expand All @@ -13,6 +13,7 @@ homepage = "https://github.com/a11ywatch/rust-to-npm"
authors = ["Jeff Mendez <[email protected]>"]

[dependencies]
clap = { version = "3.2.8", features = ["derive"] }

convert_case = "0.5.0"
serde = { version = "1", features=["derive"]}
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ https://user-images.githubusercontent.com/8095978/176904499-ef3f5508-1143-491a-b

## Getting Started

This project converts your rust project into a npm package that can be installed on all systems by leveraging cargo.
Convert and deploy a rust application into a npm package that can be installed on all systems by leveraging cargo.

You need to have a valid `name`, `version` and `description` set in your Cargo.toml and `license` if you want to deploy to crates.io.
You need to have a valid `license` set if you want to deploy to crates.io (we may auto fill it in the future).

## Installation

Expand All @@ -34,9 +34,9 @@ Run the command inside the repo with the Cargo.toml file to deploy to [crates.io

```sh
# to build and deploy to cargo + npm
rust-to-npm
rust-to-npm deploy
# to build locally without deploying
rust-to-npm no-deploy
rust-to-npm build
```

### Consuming
Expand Down
Loading

0 comments on commit 4e99c01

Please sign in to comment.