@pluv/crdt-loro 0.29.0 → 0.30.1
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/loro.ts +1 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @pluv/crdt-loro@0.
|
|
2
|
+
> @pluv/crdt-loro@0.30.1 build /home/runner/work/pluv/pluv/packages/crdt-loro
|
|
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[32m8.
|
|
12
|
-
[32mESM[39m ⚡️ Build success in
|
|
13
|
-
[32mCJS[39m [1mdist/index.js [22m[32m9.
|
|
14
|
-
[32mCJS[39m ⚡️ Build success in
|
|
11
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m8.39 KB[39m
|
|
12
|
+
[32mESM[39m ⚡️ Build success in 80ms
|
|
13
|
+
[32mCJS[39m [1mdist/index.js [22m[32m9.45 KB[39m
|
|
14
|
+
[32mCJS[39m ⚡️ Build success in 80ms
|
|
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 1974ms
|
|
17
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m3.51 KB[39m
|
|
18
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m3.51 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @pluv/crdt-loro
|
|
2
2
|
|
|
3
|
+
## 0.30.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- @pluv/crdt@0.30.1
|
|
8
|
+
- @pluv/types@0.30.1
|
|
9
|
+
|
|
10
|
+
## 0.30.0
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- 7246a9e: Added `CrdtLibraryType` so that `@pluv/crdt-yjs` and `@pluv/crdt-loro` export a new property `kind` containing an identifier for the crdt.
|
|
15
|
+
- @pluv/crdt@0.30.0
|
|
16
|
+
- @pluv/types@0.30.0
|
|
17
|
+
|
|
3
18
|
## 0.29.0
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -71,16 +71,19 @@ declare const object: <T extends Record<string, any>>(value: T) => LoroType<Loro
|
|
|
71
71
|
|
|
72
72
|
declare const text: (value?: string) => LoroType<LoroText, string>;
|
|
73
73
|
|
|
74
|
+
declare const kind: "loro";
|
|
75
|
+
|
|
74
76
|
type loro_CrdtLoroDoc<TStorage extends Record<string, LoroType<any, any>>> = CrdtLoroDoc<TStorage>;
|
|
75
77
|
declare const loro_CrdtLoroDoc: typeof CrdtLoroDoc;
|
|
76
78
|
type loro_LoroType<TValue extends unknown, TJson extends unknown = any> = LoroType<TValue, TJson>;
|
|
77
79
|
declare const loro_doc: typeof doc;
|
|
80
|
+
declare const loro_kind: typeof kind;
|
|
78
81
|
declare const loro_list: typeof list;
|
|
79
82
|
declare const loro_map: typeof map;
|
|
80
83
|
declare const loro_object: typeof object;
|
|
81
84
|
declare const loro_text: typeof text;
|
|
82
85
|
declare namespace loro {
|
|
83
|
-
export { loro_CrdtLoroDoc as CrdtLoroDoc, type loro_LoroType as LoroType, loro_doc as doc, loro_list as list, loro_map as map, loro_object as object, loro_text as text };
|
|
86
|
+
export { loro_CrdtLoroDoc as CrdtLoroDoc, type loro_LoroType as LoroType, loro_doc as doc, loro_kind as kind, loro_list as list, loro_map as map, loro_object as object, loro_text as text };
|
|
84
87
|
}
|
|
85
88
|
|
|
86
89
|
export { loro };
|
package/dist/index.d.ts
CHANGED
|
@@ -71,16 +71,19 @@ declare const object: <T extends Record<string, any>>(value: T) => LoroType<Loro
|
|
|
71
71
|
|
|
72
72
|
declare const text: (value?: string) => LoroType<LoroText, string>;
|
|
73
73
|
|
|
74
|
+
declare const kind: "loro";
|
|
75
|
+
|
|
74
76
|
type loro_CrdtLoroDoc<TStorage extends Record<string, LoroType<any, any>>> = CrdtLoroDoc<TStorage>;
|
|
75
77
|
declare const loro_CrdtLoroDoc: typeof CrdtLoroDoc;
|
|
76
78
|
type loro_LoroType<TValue extends unknown, TJson extends unknown = any> = LoroType<TValue, TJson>;
|
|
77
79
|
declare const loro_doc: typeof doc;
|
|
80
|
+
declare const loro_kind: typeof kind;
|
|
78
81
|
declare const loro_list: typeof list;
|
|
79
82
|
declare const loro_map: typeof map;
|
|
80
83
|
declare const loro_object: typeof object;
|
|
81
84
|
declare const loro_text: typeof text;
|
|
82
85
|
declare namespace loro {
|
|
83
|
-
export { loro_CrdtLoroDoc as CrdtLoroDoc, type loro_LoroType as LoroType, loro_doc as doc, loro_list as list, loro_map as map, loro_object as object, loro_text as text };
|
|
86
|
+
export { loro_CrdtLoroDoc as CrdtLoroDoc, type loro_LoroType as LoroType, loro_doc as doc, loro_kind as kind, loro_list as list, loro_map as map, loro_object as object, loro_text as text };
|
|
84
87
|
}
|
|
85
88
|
|
|
86
89
|
export { loro };
|
package/dist/index.js
CHANGED
|
@@ -46,6 +46,7 @@ var loro_exports = {};
|
|
|
46
46
|
__export(loro_exports, {
|
|
47
47
|
CrdtLoroDoc: () => CrdtLoroDoc,
|
|
48
48
|
doc: () => doc,
|
|
49
|
+
kind: () => kind,
|
|
49
50
|
list: () => list,
|
|
50
51
|
map: () => map,
|
|
51
52
|
object: () => object,
|
|
@@ -291,6 +292,9 @@ var text = (value = "") => {
|
|
|
291
292
|
container.insert(0, value);
|
|
292
293
|
return container;
|
|
293
294
|
};
|
|
295
|
+
|
|
296
|
+
// src/loro.ts
|
|
297
|
+
var kind = "loro";
|
|
294
298
|
// Annotate the CommonJS export names for ESM import in node:
|
|
295
299
|
0 && (module.exports = {
|
|
296
300
|
loro
|
package/dist/index.mjs
CHANGED
|
@@ -27,6 +27,7 @@ var loro_exports = {};
|
|
|
27
27
|
__export(loro_exports, {
|
|
28
28
|
CrdtLoroDoc: () => CrdtLoroDoc,
|
|
29
29
|
doc: () => doc,
|
|
30
|
+
kind: () => kind,
|
|
30
31
|
list: () => list,
|
|
31
32
|
map: () => map,
|
|
32
33
|
object: () => object,
|
|
@@ -272,6 +273,9 @@ var text = (value = "") => {
|
|
|
272
273
|
container.insert(0, value);
|
|
273
274
|
return container;
|
|
274
275
|
};
|
|
276
|
+
|
|
277
|
+
// src/loro.ts
|
|
278
|
+
var kind = "loro";
|
|
275
279
|
export {
|
|
276
280
|
loro_exports as loro
|
|
277
281
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pluv/crdt-loro",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.30.1",
|
|
4
4
|
"description": "loro 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.1",
|
|
22
|
+
"@pluv/types": "^0.30.1"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"loro-crdt": "^0.16.0"
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"loro-crdt": "^0.16.12",
|
|
30
30
|
"tsup": "^8.3.0",
|
|
31
31
|
"typescript": "^5.6.2",
|
|
32
|
-
"@pluv/tsconfig": "^0.
|
|
33
|
-
"eslint-config-pluv": "^0.
|
|
32
|
+
"@pluv/tsconfig": "^0.30.1",
|
|
33
|
+
"eslint-config-pluv": "^0.30.1"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"build": "tsup src/index.ts --format esm,cjs --dts",
|
package/src/loro.ts
CHANGED