Skip to content

Commit

Permalink
feat: enable npm installer (#425)
Browse files Browse the repository at this point in the history
  • Loading branch information
scarmuega authored Dec 31, 2024
1 parent a62dee9 commit 8b558e2
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ cargo-dist-version = "0.14.1"
# CI backends to support
ci = "github"
# The installers to generate for each app
installers = ["shell", "powershell", "homebrew"]
installers = ["shell", "powershell", "npm", "homebrew"]
# A GitHub repo to push Homebrew formulas to
tap = "txpipe/homebrew-tap"
# Target platforms to build apps for (Rust target-triple syntax)
Expand All @@ -119,6 +119,12 @@ pr-run-mode = "plan"
install-updater = false
# The preferred Rust toolchain to use in CI (rustup toolchain syntax)
rust-toolchain-version = "1.78.0"
# The archive format to use for windows builds (defaults .zip)
windows-archive = ".tar.gz"
# The archive format to use for non-windows builds (defaults .tar.xz)
unix-archive = ".tar.gz"
# A namespace to use when publishing this package to the npm registry
npm-scope = "@txpipe"

[workspace.metadata.release]
push = false
Expand Down
8 changes: 8 additions & 0 deletions docs/pages/installation/binaries.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ You can use Homebrew to install the latest version of Dolos in supported systems
brew install txpipe/tap/dolos
```

## Install via NPM

You can use NPM to install the latest version of Dolos in supported systems (Mac / Linux)

```sh
npm install @txpipe/dolos
```

## Download Binaries

| File | Platform |
Expand Down

0 comments on commit 8b558e2

Please sign in to comment.