mirror of
https://git.um-react.app/um/lib_um_crypto_rust.git
synced 2026-03-07 20:19:51 +00:00
fix: use new repo
This commit is contained in:
@@ -3,8 +3,9 @@ name = "um_wasm"
|
|||||||
version = "0.1.10"
|
version = "0.1.10"
|
||||||
authors = ["鲁树人 <lu.shuren@um-react.app>"]
|
authors = ["鲁树人 <lu.shuren@um-react.app>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
description = "um_crypo in WebAssembly"
|
description = "um_crypo in Rust & WebAssembly"
|
||||||
repository = "https://git.unlock-music.dev/lsr/lib_um_crypto_rust.git"
|
homepage = "https://git.um-react.app/um/lib_um_crypto_rust"
|
||||||
|
repository = "https://git.um-react.app/um/lib_um_crypto_rust.git"
|
||||||
license = "Apache-2.0 + MIT"
|
license = "Apache-2.0 + MIT"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|||||||
@@ -1,2 +1 @@
|
|||||||
@um:registry=https://git.unlock-music.dev/api/packages/um/npm/
|
@unlock-music:registry=https://git.um-react.app/api/packages/um/npm/
|
||||||
@unlock-music:registry=https://git.unlock-music.dev/api/packages/um/npm/
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
在项目根目录下,建立或更改 `.npmrc` 文件,确保下述行存在:
|
在项目根目录下,建立或更改 `.npmrc` 文件,确保下述行存在:
|
||||||
|
|
||||||
```
|
```
|
||||||
@unlock-music:registry=https://git.unlock-music.dev/api/packages/um/npm/
|
@unlock-music:registry=https://git.um-react.app/api/packages/um/npm/
|
||||||
```
|
```
|
||||||
|
|
||||||
使用你喜欢的包管理器安装,例如 `npm` 或 `pnpm`:
|
使用你喜欢的包管理器安装,例如 `npm` 或 `pnpm`:
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
- 编辑 `~/.npmrc`,加入下述两行并替换 `token` 为新申请的令牌:
|
- 编辑 `~/.npmrc`,加入下述两行并替换 `token` 为新申请的令牌:
|
||||||
|
|
||||||
```text
|
```text
|
||||||
//git.unlock-music.dev/api/packages/um/npm/:_authToken=xxxxx123456789xxxxx
|
//git.um-react.app/api/packages/um/npm/:_authToken=xxxxx123456789xxxxx
|
||||||
//git.unlock-music.dev/api/packages/npm/:_authToken=xxxxx123456789xxxxx
|
//git.um-react.app/api/packages/npm/:_authToken=xxxxx123456789xxxxx
|
||||||
```
|
```
|
||||||
|
|
||||||
- 使用 `publish` 指令发包:
|
- 使用 `publish` 指令发包:
|
||||||
|
|||||||
@@ -6,5 +6,5 @@ if [[ ! "$GITHUB_REF" =~ ^refs/tags/ ]]; then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo '//git.unlock-music.dev/api/packages/um/npm/:_authToken=${NPM_TOKEN}' > $HOME/.npmrc
|
pnpm config set -- '//git.um-react.app/api/packages/um/npm/:_authToken' "${NPM_TOKEN}"
|
||||||
pnpm publish --access=public --no-git-checks
|
pnpm publish --access=public --no-git-checks
|
||||||
|
|||||||
Reference in New Issue
Block a user