@pluv/crdt-yjs 0.28.0 → 0.30.0
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/.turbo/turbo-build.log +8 -8
- package/CHANGELOG.md +15 -0
- package/dist/index.d.mts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +4 -0
- package/dist/index.mjs +4 -0
- package/package.json +5 -5
- package/src/yjs.ts +1 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @pluv/crdt-yjs@0.
|
|
2
|
+
> @pluv/crdt-yjs@0.30.0 build /home/runner/work/pluv/pluv/packages/crdt-yjs
|
|
3
3
|
> tsup src/index.ts --format esm,cjs --dts
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
[34mCLI[39m Target: es6
|
|
9
9
|
[34mESM[39m Build start
|
|
10
10
|
[34mCJS[39m Build start
|
|
11
|
-
[32mESM[39m [1mdist/index.mjs [22m[32m10.
|
|
12
|
-
[32mESM[39m ⚡️ Build success in
|
|
13
|
-
[32mCJS[39m [1mdist/index.js [22m[32m11.
|
|
14
|
-
[32mCJS[39m ⚡️ Build success in
|
|
11
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m10.92 KB[39m
|
|
12
|
+
[32mESM[39m ⚡️ Build success in 114ms
|
|
13
|
+
[32mCJS[39m [1mdist/index.js [22m[32m11.70 KB[39m
|
|
14
|
+
[32mCJS[39m ⚡️ Build success in 115ms
|
|
15
15
|
[34mDTS[39m Build start
|
|
16
|
-
[32mDTS[39m ⚡️ Build success in
|
|
17
|
-
[32mDTS[39m [1mdist/index.d.mts [22m[32m3.
|
|
18
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m3.
|
|
16
|
+
[32mDTS[39m ⚡️ Build success in 2188ms
|
|
17
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m3.95 KB[39m
|
|
18
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m3.95 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @pluv/crdt-yjs
|
|
2
2
|
|
|
3
|
+
## 0.30.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 7246a9e: Added `CrdtLibraryType` so that `@pluv/crdt-yjs` and `@pluv/crdt-loro` export a new property `kind` containing an identifier for the crdt.
|
|
8
|
+
- @pluv/crdt@0.30.0
|
|
9
|
+
- @pluv/types@0.30.0
|
|
10
|
+
|
|
11
|
+
## 0.29.0
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- @pluv/crdt@0.29.0
|
|
16
|
+
- @pluv/types@0.29.0
|
|
17
|
+
|
|
3
18
|
## 0.28.0
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -66,9 +66,12 @@ declare const xmlFragment: (children: (XmlElement | XmlText)[] | readonly (XmlEl
|
|
|
66
66
|
|
|
67
67
|
declare const xmlText: () => YjsType<XmlText, string>;
|
|
68
68
|
|
|
69
|
+
declare const kind: "yjs";
|
|
70
|
+
|
|
69
71
|
type yjs_YjsType<TValue extends unknown, TJson extends unknown = any> = YjsType<TValue, TJson>;
|
|
70
72
|
declare const yjs_array: typeof array;
|
|
71
73
|
declare const yjs_doc: typeof doc;
|
|
74
|
+
declare const yjs_kind: typeof kind;
|
|
72
75
|
declare const yjs_map: typeof map;
|
|
73
76
|
declare const yjs_object: typeof object;
|
|
74
77
|
declare const yjs_text: typeof text;
|
|
@@ -76,7 +79,7 @@ declare const yjs_xmlElement: typeof xmlElement;
|
|
|
76
79
|
declare const yjs_xmlFragment: typeof xmlFragment;
|
|
77
80
|
declare const yjs_xmlText: typeof xmlText;
|
|
78
81
|
declare namespace yjs {
|
|
79
|
-
export { type yjs_YjsType as YjsType, yjs_array as array, yjs_doc as doc, yjs_map as map, yjs_object as object, yjs_text as text, yjs_xmlElement as xmlElement, yjs_xmlFragment as xmlFragment, yjs_xmlText as xmlText };
|
|
82
|
+
export { type yjs_YjsType as YjsType, yjs_array as array, yjs_doc as doc, yjs_kind as kind, yjs_map as map, yjs_object as object, yjs_text as text, yjs_xmlElement as xmlElement, yjs_xmlFragment as xmlFragment, yjs_xmlText as xmlText };
|
|
80
83
|
}
|
|
81
84
|
|
|
82
85
|
export { yjs };
|
package/dist/index.d.ts
CHANGED
|
@@ -66,9 +66,12 @@ declare const xmlFragment: (children: (XmlElement | XmlText)[] | readonly (XmlEl
|
|
|
66
66
|
|
|
67
67
|
declare const xmlText: () => YjsType<XmlText, string>;
|
|
68
68
|
|
|
69
|
+
declare const kind: "yjs";
|
|
70
|
+
|
|
69
71
|
type yjs_YjsType<TValue extends unknown, TJson extends unknown = any> = YjsType<TValue, TJson>;
|
|
70
72
|
declare const yjs_array: typeof array;
|
|
71
73
|
declare const yjs_doc: typeof doc;
|
|
74
|
+
declare const yjs_kind: typeof kind;
|
|
72
75
|
declare const yjs_map: typeof map;
|
|
73
76
|
declare const yjs_object: typeof object;
|
|
74
77
|
declare const yjs_text: typeof text;
|
|
@@ -76,7 +79,7 @@ declare const yjs_xmlElement: typeof xmlElement;
|
|
|
76
79
|
declare const yjs_xmlFragment: typeof xmlFragment;
|
|
77
80
|
declare const yjs_xmlText: typeof xmlText;
|
|
78
81
|
declare namespace yjs {
|
|
79
|
-
export { type yjs_YjsType as YjsType, yjs_array as array, yjs_doc as doc, yjs_map as map, yjs_object as object, yjs_text as text, yjs_xmlElement as xmlElement, yjs_xmlFragment as xmlFragment, yjs_xmlText as xmlText };
|
|
82
|
+
export { type yjs_YjsType as YjsType, yjs_array as array, yjs_doc as doc, yjs_kind as kind, yjs_map as map, yjs_object as object, yjs_text as text, yjs_xmlElement as xmlElement, yjs_xmlFragment as xmlFragment, yjs_xmlText as xmlText };
|
|
80
83
|
}
|
|
81
84
|
|
|
82
85
|
export { yjs };
|
package/dist/index.js
CHANGED
|
@@ -46,6 +46,7 @@ var yjs_exports = {};
|
|
|
46
46
|
__export(yjs_exports, {
|
|
47
47
|
array: () => array,
|
|
48
48
|
doc: () => doc,
|
|
49
|
+
kind: () => kind,
|
|
49
50
|
map: () => map,
|
|
50
51
|
object: () => object,
|
|
51
52
|
text: () => text,
|
|
@@ -384,6 +385,9 @@ var CrdtYjsDocFactory = class _CrdtYjsDocFactory extends import_crdt2.AbstractCr
|
|
|
384
385
|
var doc = (value = () => ({})) => {
|
|
385
386
|
return new CrdtYjsDocFactory(value);
|
|
386
387
|
};
|
|
388
|
+
|
|
389
|
+
// src/yjs.ts
|
|
390
|
+
var kind = "yjs";
|
|
387
391
|
// Annotate the CommonJS export names for ESM import in node:
|
|
388
392
|
0 && (module.exports = {
|
|
389
393
|
yjs
|
package/dist/index.mjs
CHANGED
|
@@ -27,6 +27,7 @@ var yjs_exports = {};
|
|
|
27
27
|
__export(yjs_exports, {
|
|
28
28
|
array: () => array,
|
|
29
29
|
doc: () => doc,
|
|
30
|
+
kind: () => kind,
|
|
30
31
|
map: () => map,
|
|
31
32
|
object: () => object,
|
|
32
33
|
text: () => text,
|
|
@@ -376,6 +377,9 @@ var CrdtYjsDocFactory = class _CrdtYjsDocFactory extends AbstractCrdtDocFactory
|
|
|
376
377
|
var doc = (value = () => ({})) => {
|
|
377
378
|
return new CrdtYjsDocFactory(value);
|
|
378
379
|
};
|
|
380
|
+
|
|
381
|
+
// src/yjs.ts
|
|
382
|
+
var kind = "yjs";
|
|
379
383
|
export {
|
|
380
384
|
yjs_exports as yjs
|
|
381
385
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pluv/crdt-yjs",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.30.0",
|
|
4
4
|
"description": "yjs for @pluv/io",
|
|
5
5
|
"author": "leedavidcs",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"js-base64": "^3.7.7",
|
|
21
|
-
"@pluv/crdt": "^0.
|
|
22
|
-
"@pluv/types": "^0.
|
|
21
|
+
"@pluv/crdt": "^0.30.0",
|
|
22
|
+
"@pluv/types": "^0.30.0"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"yjs": "^13.0.0"
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"tsup": "^8.3.0",
|
|
30
30
|
"typescript": "^5.6.2",
|
|
31
31
|
"yjs": "^13.6.19",
|
|
32
|
-
"@pluv/tsconfig": "^0.
|
|
33
|
-
"eslint-config-pluv": "^0.
|
|
32
|
+
"@pluv/tsconfig": "^0.30.0",
|
|
33
|
+
"eslint-config-pluv": "^0.30.0"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"build": "tsup src/index.ts --format esm,cjs --dts",
|
package/src/yjs.ts
CHANGED