Skip to content

Commit 0a0fd7a

Browse files
authored
chore: rename npm package from @nacos/sdk-proto to @nacos-group/sdk-proto (#10)
Signed-off-by: cxhello <caixiaohuichn@gmail.com>
1 parent 20f5ad0 commit 0a0fd7a

4 files changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,6 @@ jobs:
237237
|----------|---------|---------|
238238
| Go | \`github.com/nacos-group/nacos-sdk-proto/go\` | \`go/v${VER}\` |
239239
| Python | [nacos-sdk-proto](https://pypi.org/project/nacos-sdk-proto/${VER}/) | ${VER} |
240-
| Node.js | [@nacos/sdk-proto](https://www.npmjs.com/package/@nacos/sdk-proto/v/${VER}) | ${VER} |
240+
| Node.js | [@nacos-group/sdk-proto](https://www.npmjs.com/package/@nacos-group/sdk-proto/v/${VER}) | ${VER} |
241241
EOF
242242
gh release create "v${VER}" --title "v${VER}" --notes-file /tmp/release-notes.md

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ pip install nacos-sdk-proto # after release to PyPI
105105
### Node.js
106106

107107
```bash
108-
npm install @nacos/sdk-proto # after release to npm
108+
npm install @nacos-group/sdk-proto # after release to npm
109109
```
110110

111111
### Other Languages

README_zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ pip install nacos-sdk-proto # 发布到 PyPI 后可用
103103
### Node.js
104104

105105
```bash
106-
npm install @nacos/sdk-proto # 发布到 npm 后可用
106+
npm install @nacos-group/sdk-proto # 发布到 npm 后可用
107107
```
108108

109109
### 其他语言

nodejs/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@nacos/sdk-proto",
2+
"name": "@nacos-group/sdk-proto",
33
"version": "0.0.1-dev",
44
"description": "Nacos SDK Protocol Buffers for Node.js",
55
"main": "src/index.ts",
@@ -8,6 +8,9 @@
88
"engines": {
99
"node": ">=18"
1010
},
11+
"publishConfig": {
12+
"access": "public"
13+
},
1114
"repository": {
1215
"type": "git",
1316
"url": "https://github.com/nacos-group/nacos-sdk-proto"

0 commit comments

Comments
 (0)