diff --git a/um_wasm_loader/.npmrc b/um_wasm_loader/.npmrc index d1d4aad..77d4f17 100644 --- a/um_wasm_loader/.npmrc +++ b/um_wasm_loader/.npmrc @@ -1 +1,2 @@ @um:registry=https://git.unlock-music.dev/api/packages/um/npm/ +@unlock-music:registry=https://git.unlock-music.dev/api/packages/um/npm/ diff --git a/um_wasm_loader/Readme.MD b/um_wasm_loader/Readme.MD index ef7f37d..a4de3b1 100644 --- a/um_wasm_loader/Readme.MD +++ b/um_wasm_loader/Readme.MD @@ -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 ``` 具体能干啥… 参考源码吧。 diff --git a/um_wasm_loader/package.json b/um_wasm_loader/package.json index 8fd7aed..35232d3 100644 --- a/um_wasm_loader/package.json +++ b/um_wasm_loader/package.json @@ -1,5 +1,5 @@ { - "name": "@um/crypto", + "name": "@unlock-music/crypto", "version": "0.0.0-alpha.2", "description": "Project Unlock Music: 加解密支持库", "scripts": {