rhine-var 0.10.3 → 0.10.4
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/.github/workflows/release.yml +2 -2
- package/README.md +3 -3
- package/README_zh.md +3 -3
- package/package.json +4 -4
|
@@ -122,13 +122,13 @@ jobs:
|
|
|
122
122
|
run: |
|
|
123
123
|
sudo apt-get install -y jq
|
|
124
124
|
cp package.json package.json.bak
|
|
125
|
-
jq '.name = "@RhineAI
|
|
125
|
+
jq '.name = "@RhineAI/\(.name)" | .repository.url = "git+https://github.com/RhineAI/rhine-var.git"' package.json > package.json.tmp
|
|
126
126
|
mv package.json.tmp package.json
|
|
127
127
|
jq empty package.json
|
|
128
128
|
|
|
129
129
|
- name: Configure npm Registry
|
|
130
130
|
run: |
|
|
131
|
-
npm config set @RhineAI
|
|
131
|
+
npm config set @RhineAI:registry=https://npm.pkg.github.com
|
|
132
132
|
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> ~/.npmrc
|
|
133
133
|
|
|
134
134
|
- name: Publish to Github
|
package/README.md
CHANGED
|
@@ -31,7 +31,7 @@ Try: [https://rv.rhineai.com/examples/counter](https://rv.rhineai.com/examples/c
|
|
|
31
31
|
|
|
32
32
|
**Document:** [LEARN.md](assets/documents/LEARN.md)
|
|
33
33
|
|
|
34
|
-
**Github:** [https://github.com/RhineAI
|
|
34
|
+
**Github:** [https://github.com/RhineAI/rhine-var](https://github.com/RhineAI/rhine-var)
|
|
35
35
|
|
|
36
36
|
**Npm:** [https://www.npmjs.com/package/rhine-var](https://www.npmjs.com/package/rhine-var)
|
|
37
37
|
|
|
@@ -189,13 +189,13 @@ server.listen()
|
|
|
189
189
|
|
|
190
190
|
We also provide a more complete [Hocuspocus](https://tiptap.dev/docs/hocuspocus/introduction) server (link below), which supports pre-authorization for connections and the ability to store data in a database.
|
|
191
191
|
|
|
192
|
-
Best Implementation: [https://github.com/RhineAI
|
|
192
|
+
Best Implementation: [https://github.com/RhineAI/rhine-var-hocuspocus-server](https://github.com/RhineAI/rhine-var-hocuspocus-server)
|
|
193
193
|
|
|
194
194
|
<br/>
|
|
195
195
|
|
|
196
196
|
Original server-side development reference: [https://docs.yjs.dev/ecosystem/connection-provider/y-websocket](https://docs.yjs.dev/ecosystem/connection-provider/y-websocket)
|
|
197
197
|
|
|
198
|
-
And we also provide the original Yjs WebSocket server example: [https://github.com/RhineAI
|
|
198
|
+
And we also provide the original Yjs WebSocket server example: [https://github.com/RhineAI/rhine-var-server](https://github.com/RhineAI/rhine-var-server)
|
|
199
199
|
|
|
200
200
|
|
|
201
201
|
## Develop
|
package/README_zh.md
CHANGED
|
@@ -30,7 +30,7 @@ Try: [https://rv.rhineai.com/examples/counter](https://rv.rhineai.com/examples/c
|
|
|
30
30
|
|
|
31
31
|
**Document:** [LEARN_zh.md](assets/documents/LEARN_zh.md)
|
|
32
32
|
|
|
33
|
-
**Github:** [https://github.com/RhineAI
|
|
33
|
+
**Github:** [https://github.com/RhineAI/rhine-var](https://github.com/RhineAI/rhine-var)
|
|
34
34
|
|
|
35
35
|
**Npm:** [https://www.npmjs.com/package/rhine-var](https://www.npmjs.com/package/rhine-var)
|
|
36
36
|
|
|
@@ -203,13 +203,13 @@ server.listen()
|
|
|
203
203
|
```
|
|
204
204
|
我们还提供了一个更完整的 [Hocuspocus](https://tiptap.dev/docs/hocuspocus/introduction) 服务器 (下方链接),支持连接前鉴权,以及将数据持久化到数据库中。
|
|
205
205
|
|
|
206
|
-
Best Implementation: [https://github.com/RhineAI
|
|
206
|
+
Best Implementation: [https://github.com/RhineAI/rhine-var-hocuspocus-server](https://github.com/RhineAI/rhine-var-hocuspocus-server)
|
|
207
207
|
|
|
208
208
|
<br/>
|
|
209
209
|
|
|
210
210
|
原生服务端开发信息请参考: [https://docs.yjs.dev/ecosystem/connection-provider/y-websocket](https://docs.yjs.dev/ecosystem/connection-provider/y-websocket)
|
|
211
211
|
|
|
212
|
-
以及我们提供的原生 Yjs Websocket 服务器的示例: [https://github.com/RhineAI
|
|
212
|
+
以及我们提供的原生 Yjs Websocket 服务器的示例: [https://github.com/RhineAI/rhine-var-server](https://github.com/RhineAI/rhine-var-server)
|
|
213
213
|
|
|
214
214
|
<br/>
|
|
215
215
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rhine-var",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.4",
|
|
4
4
|
"description": "Variables that support multi-user collaboration and persistence, making collaboration and variable operations as simple as possible, with strict and well-defined type hints.",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./dist/index.js",
|
|
@@ -39,12 +39,12 @@
|
|
|
39
39
|
],
|
|
40
40
|
"repository": {
|
|
41
41
|
"type": "git",
|
|
42
|
-
"url": "https://github.com/RhineAI
|
|
42
|
+
"url": "https://github.com/RhineAI/rhine-var.git"
|
|
43
43
|
},
|
|
44
44
|
"bugs": {
|
|
45
|
-
"url": "https://github.com/RhineAI
|
|
45
|
+
"url": "https://github.com/RhineAI/rhine-var/issues"
|
|
46
46
|
},
|
|
47
|
-
"homepage": "https://github.com/RhineAI
|
|
47
|
+
"homepage": "https://github.com/RhineAI/rhine-var#readme",
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@testing-library/jest-dom": "^6.5.0",
|
|
50
50
|
"@testing-library/react": "^16.0.1",
|