Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@bigfishnpm/matrixcode) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
MatrixCode npm Package
这个 npm 包是 MatrixCode 的安装包装器。
安装
npm install -g matrixcode安装脚本会自动:
- 检查是否已安装
matrixcode - 如果有 Rust/Cargo,使用
cargo install matrixcode - 否则从 GitHub Releases 下载预编译二进制
手动安装
如果自动安装失败,你可以:
# 使用 Cargo
cargo install matrixcode
# 或从 GitHub Releases 下载
# https://github.com/bigfish1913/matrixcode/releases发布说明
发布新版本时:
更新版本号:
Cargo.toml中的versionnpm/package.json中的version
发布到 crates.io:
cargo login cargo publish
发布到 npm:
cd npm npm login npm publish
创建 Git tag 并推送(触发 GitHub Release):
git tag v0.1.0 git push origin v0.1.0
支持的平台
- macOS (x64, Apple Silicon)
- Linux (x64, arm64)
- Windows (x64)