@superdoc-dev/cli 0.2.0-next.45 → 0.2.0-next.47
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/dist/index.js +10 -2
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -70003,7 +70003,7 @@ function countBlankLinesBetweenSiblings(previous3, next) {
|
|
|
70003
70003
|
if (typeof previousEndLine !== "number" || typeof nextStartLine !== "number") {
|
|
70004
70004
|
return 0;
|
|
70005
70005
|
}
|
|
70006
|
-
return Math.max(0, nextStartLine - previousEndLine -
|
|
70006
|
+
return Math.max(0, nextStartLine - previousEndLine - 2);
|
|
70007
70007
|
}
|
|
70008
70008
|
function convertBlockNode(node3, ctx) {
|
|
70009
70009
|
switch (node3.type) {
|
|
@@ -70150,6 +70150,14 @@ function convertTable(node3, ctx) {
|
|
|
70150
70150
|
}
|
|
70151
70151
|
return {
|
|
70152
70152
|
type: "table",
|
|
70153
|
+
attrs: {
|
|
70154
|
+
tableProperties: {
|
|
70155
|
+
tableWidth: {
|
|
70156
|
+
value: FULL_WIDTH_TABLE_PCT,
|
|
70157
|
+
type: "pct"
|
|
70158
|
+
}
|
|
70159
|
+
}
|
|
70160
|
+
},
|
|
70153
70161
|
content: rows
|
|
70154
70162
|
};
|
|
70155
70163
|
}
|
|
@@ -70301,7 +70309,7 @@ function addDiagnostic2(ctx, severity, nodeType, message, node3) {
|
|
|
70301
70309
|
}
|
|
70302
70310
|
ctx.diagnostics.push(diagnostic);
|
|
70303
70311
|
}
|
|
70304
|
-
var HEADING_STYLE_MAP;
|
|
70312
|
+
var FULL_WIDTH_TABLE_PCT = 5000, HEADING_STYLE_MAP;
|
|
70305
70313
|
var init_mdastToProseMirror = __esm(() => {
|
|
70306
70314
|
init_list_numbering_helpers();
|
|
70307
70315
|
HEADING_STYLE_MAP = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superdoc-dev/cli",
|
|
3
|
-
"version": "0.2.0-next.
|
|
3
|
+
"version": "0.2.0-next.47",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"superdoc": "./dist/index.js"
|
|
@@ -20,20 +20,20 @@
|
|
|
20
20
|
"@types/node": "22.19.2",
|
|
21
21
|
"typescript": "^5.9.2",
|
|
22
22
|
"@superdoc/document-api": "0.0.1",
|
|
23
|
-
"@superdoc/
|
|
23
|
+
"@superdoc/pm-adapter": "0.0.0",
|
|
24
24
|
"superdoc": "1.16.0",
|
|
25
|
-
"@superdoc/
|
|
25
|
+
"@superdoc/super-editor": "0.0.1"
|
|
26
26
|
},
|
|
27
27
|
"module": "src/index.ts",
|
|
28
28
|
"publishConfig": {
|
|
29
29
|
"access": "public"
|
|
30
30
|
},
|
|
31
31
|
"optionalDependencies": {
|
|
32
|
-
"@superdoc-dev/cli-darwin-arm64": "0.2.0-next.
|
|
33
|
-
"@superdoc-dev/cli-
|
|
34
|
-
"@superdoc-dev/cli-linux-arm64": "0.2.0-next.
|
|
35
|
-
"@superdoc-dev/cli-
|
|
36
|
-
"@superdoc-dev/cli-
|
|
32
|
+
"@superdoc-dev/cli-darwin-arm64": "0.2.0-next.47",
|
|
33
|
+
"@superdoc-dev/cli-darwin-x64": "0.2.0-next.47",
|
|
34
|
+
"@superdoc-dev/cli-linux-arm64": "0.2.0-next.47",
|
|
35
|
+
"@superdoc-dev/cli-windows-x64": "0.2.0-next.47",
|
|
36
|
+
"@superdoc-dev/cli-linux-x64": "0.2.0-next.47"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"dev": "bun run src/index.ts",
|