Skip to content

Commit 5afcbb9

Browse files
committed
feat: enable npm publish
1 parent ed740b9 commit 5afcbb9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

dist-workspace.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,21 @@ cargo-dist-version = "0.30.0"
88
# CI backends to support
99
ci = "github"
1010
# The installers to generate for each app
11-
installers = ["shell", "powershell", "homebrew", "msi"]
11+
installers = ["shell", "powershell", "npm", "homebrew", "msi"]
1212
# A GitHub repo to push Homebrew formulas to
1313
tap = "rust-mcp-stack/homebrew-tap"
1414
# Target platforms to build apps for (Rust target-triple syntax)
1515
targets = ["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc"]
1616
# Path that installers should place binaries in
1717
install-path = "~/.rust-mcp-stack/bin"
1818
# Publish jobs to run in CI
19-
publish-jobs = ["homebrew"]
19+
publish-jobs = ["homebrew","npm"]
2020
# Whether to install an updater program
2121
install-updater = false
2222
# Whether dist should create a Github Release or use an existing draft
2323
create-release = false
24+
# A namespace to use when publishing this package to the npm registry
25+
npm-scope = "@rustmcp"
2426

2527
[dist.github-custom-runners]
2628
global = "ubuntu-22.04"

0 commit comments

Comments
 (0)