[wasm] chore: change npm package namespace

This commit is contained in:
鲁树人
2024-09-14 18:45:51 +01:00
parent c5aef7dd13
commit 0aa46fd46e
3 changed files with 6 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
# @um/crypto
# @unlock-music/crypto
用于 Unlock Music 的加解密支持库。
@@ -9,17 +9,17 @@
在项目根目录下,建立或更改 `.npmrc` 文件,确保下述行存在:
```
@um:registry=https://git.unlock-music.dev/api/packages/um/npm/
@unlock-music:registry=https://git.unlock-music.dev/api/packages/um/npm/
```
使用你喜欢的包管理器安装,例如 `npm` 或 `pnpm`
```sh
# 使用 npm
npm install @um/crypto
npm install @unlock-music/crypto
# 使用 pnpm
pnpm install @um/crypto
pnpm install @unlock-music/crypto
```
具体能干啥… 参考源码吧。