@forevka/wordcanvas 0.3.0 → 0.3.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/package.json +7 -16
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forevka/wordcanvas",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Embeddable canvas-rendered, Word-compatible document editor with live collaboration and DOCX/PDF import & export. Self-contained, zero runtime dependencies.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -27,28 +27,19 @@
|
|
|
27
27
|
],
|
|
28
28
|
"module": "./dist-lib/wordcanvas.js",
|
|
29
29
|
"types": "./types/wordcanvas.d.ts",
|
|
30
|
+
"//exports": "Only the surface that is actually shipped (files: dist-lib + types). The frontend's import/export pipelines are consumed in-workspace by the backend via its tsconfig paths + vitest aliases, NOT through this map, so they are intentionally not published. Note: npm's publishConfig does NOT override `exports`, so this committed map is what ships — keep it pointing at dist, not src.",
|
|
30
31
|
"exports": {
|
|
31
32
|
".": {
|
|
32
33
|
"types": "./types/wordcanvas.d.ts",
|
|
33
34
|
"import": "./dist-lib/wordcanvas.js"
|
|
34
35
|
},
|
|
35
|
-
"./builder":
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
"./builder": {
|
|
37
|
+
"types": "./types/builder.d.ts",
|
|
38
|
+
"import": "./dist-lib/builder.js"
|
|
39
|
+
}
|
|
39
40
|
},
|
|
40
41
|
"publishConfig": {
|
|
41
|
-
"access": "public"
|
|
42
|
-
"exports": {
|
|
43
|
-
".": {
|
|
44
|
-
"types": "./types/wordcanvas.d.ts",
|
|
45
|
-
"import": "./dist-lib/wordcanvas.js"
|
|
46
|
-
},
|
|
47
|
-
"./builder": {
|
|
48
|
-
"types": "./types/builder.d.ts",
|
|
49
|
-
"import": "./dist-lib/builder.js"
|
|
50
|
-
}
|
|
51
|
-
}
|
|
42
|
+
"access": "public"
|
|
52
43
|
},
|
|
53
44
|
"files": ["dist-lib", "types"],
|
|
54
45
|
"scripts": {
|