@gaias/client_node 1.0.8 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.npmrc.example CHANGED
@@ -4,8 +4,8 @@
4
4
  # Default registry for all packages
5
5
  registry=https://registry.npmjs.org/
6
6
 
7
- # GitHub Packages registry for @TonyYang1985 scope
8
- @TonyYang1985:registry=https://npm.pkg.github.com
7
+ # GitHub Packages registry for @sight-saber scope
8
+ @sight-saber:registry=https://npm.pkg.github.com
9
9
  @gaias:registry=https://registry.npmjs.org/
10
10
 
11
11
  # Authentication token for GitHub Packages
package/PUBLISHING.md CHANGED
@@ -58,7 +58,7 @@ GitHub Packages 使用仓库的 `GITHUB_TOKEN`,这个 token 会自动提供给
58
58
  4. 运行测试(可选)
59
59
  5. 构建包(`yarn ncc:build` 和 `yarn prepub`)
60
60
  6. 发布到 npmjs.org(使用 `@gaias/client_node` 包名)
61
- 7. 发布到 GitHub Packages(使用 `@TonyYang1985/client_node` 包名)
61
+ 7. 发布到 GitHub Packages(使用 `@sight-saber/client_node` 包名)
62
62
 
63
63
  ## 包版本管理
64
64
 
@@ -95,15 +95,15 @@ yarn add @gaias/client_node
95
95
 
96
96
  1. 创建或编辑 `.npmrc` 文件(参考 `.npmrc.example`):
97
97
  ```
98
- @TonyYang1985:registry=https://npm.pkg.github.com
98
+ @sight-saber:registry=https://npm.pkg.github.com
99
99
  //npm.pkg.github.com/:_authToken=YOUR_GITHUB_TOKEN
100
100
  ```
101
101
 
102
102
  2. 安装包:
103
103
  ```bash
104
- npm install @TonyYang1985/client_node
104
+ npm install @sight-saber/client_node
105
105
  # 或
106
- yarn add @TonyYang1985/client_node
106
+ yarn add @sight-saber/client_node
107
107
  ```
108
108
 
109
109
  ## 本地测试发布
@@ -135,7 +135,7 @@ ls -la dist/
135
135
 
136
136
  ### GitHub Packages 发布失败
137
137
 
138
- - 确认仓库 owner 是 `TonyYang1985`
138
+ - 确认仓库 owner 是 `sight-saber`
139
139
  - 确认工作流有 `packages: write` 权限
140
140
  - 检查 package.json 中的包名 scope 是否正确
141
141
 
@@ -164,7 +164,7 @@ npm publish --registry=https://npm.pkg.github.com
164
164
  ## 相关链接
165
165
 
166
166
  - [npmjs.org 包页面](https://www.npmjs.com/package/@gaias/client_node)
167
- - [GitHub Packages](https://github.com/TonyYang1985/client_node/packages)
167
+ - [GitHub Packages](https://github.com/sight-saber/client_node/packages)
168
168
  - [GitHub Actions 工作流](.github/workflows/npm-publish-github-packages.yml)
169
169
  - [npm 文档](https://docs.npmjs.com/)
170
170
  - [GitHub Packages 文档](https://docs.github.com/en/packages)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gaias/client_node",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "store data in cookie and localstorage",
5
5
  "main": "dist/single/index.js",
6
6
  "types": "dist/single/index.d.ts",