@superdoc-dev/cli 0.3.0-next.30 → 0.3.0-next.31

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.
Files changed (2) hide show
  1. package/dist/index.js +57 -33
  2. package/package.json +8 -8
package/dist/index.js CHANGED
@@ -10753,7 +10753,9 @@ var init_schemas = __esm(() => {
10753
10753
  ...objectSchema({
10754
10754
  target: tableAddressSchema,
10755
10755
  nodeId: { type: "string" },
10756
- flag: { enum: ["headerRow", "totalRow", "firstColumn", "lastColumn", "bandedRows", "bandedColumns"] },
10756
+ flag: {
10757
+ enum: ["headerRow", "lastRow", "totalRow", "firstColumn", "lastColumn", "bandedRows", "bandedColumns"]
10758
+ },
10757
10759
  enabled: { type: "boolean" }
10758
10760
  }, ["flag", "enabled"]),
10759
10761
  oneOf: [{ required: ["target"] }, { required: ["nodeId"] }]
@@ -10921,7 +10923,7 @@ var init_schemas = __esm(() => {
10921
10923
  autoFitMode: { enum: ["fixedWidth", "fitContents", "fitWindow"] },
10922
10924
  styleOptions: objectSchema({
10923
10925
  headerRow: { type: "boolean" },
10924
- totalRow: { type: "boolean" },
10926
+ lastRow: { type: "boolean" },
10925
10927
  firstColumn: { type: "boolean" },
10926
10928
  lastColumn: { type: "boolean" },
10927
10929
  bandedRows: { type: "boolean" },
@@ -39326,7 +39328,7 @@ var init_remark_gfm_z_sDF4ss_es = __esm(() => {
39326
39328
  emptyOptions2 = {};
39327
39329
  });
39328
39330
 
39329
- // ../../packages/superdoc/dist/chunks/SuperConverter-DjQ-Rpeg.es.js
39331
+ // ../../packages/superdoc/dist/chunks/SuperConverter-CFk0pxVl.es.js
39330
39332
  function getExtensionConfigField(extension$1, field, context = { name: "" }) {
39331
39333
  const fieldValue = extension$1.config[field];
39332
39334
  if (typeof fieldValue === "function")
@@ -46862,21 +46864,25 @@ function determineCellStyleTypes(tblLook, rowIndex, cellIndex, numRows, numCells
46862
46864
  applicable.add(rowGroup % 2 === 0 ? "band1Horz" : "band2Horz");
46863
46865
  if (!tblLook?.noVBand)
46864
46866
  applicable.add(colGroup % 2 === 0 ? "band1Vert" : "band2Vert");
46865
- if (tblLook?.firstRow && rowIndex === 0)
46867
+ const isFirstRow = !!tblLook?.firstRow && rowIndex === 0;
46868
+ const isLastRow = !!tblLook?.lastRow && numRows != null && numRows > 0 && rowIndex === numRows - 1;
46869
+ const isFirstCol = !!tblLook?.firstColumn && cellIndex === 0;
46870
+ const isLastCol = !!tblLook?.lastColumn && numCells != null && numCells > 0 && cellIndex === numCells - 1;
46871
+ if (isFirstRow)
46866
46872
  applicable.add("firstRow");
46867
- if (tblLook?.firstColumn && cellIndex === 0)
46873
+ if (isFirstCol)
46868
46874
  applicable.add("firstCol");
46869
- if (tblLook?.lastRow && numRows != null && numRows > 0 && rowIndex === numRows - 1)
46875
+ if (isLastRow)
46870
46876
  applicable.add("lastRow");
46871
- if (tblLook?.lastColumn && numCells != null && numCells > 0 && cellIndex === numCells - 1)
46877
+ if (isLastCol)
46872
46878
  applicable.add("lastCol");
46873
- if (rowIndex === 0 && cellIndex === 0)
46879
+ if (isFirstRow && isFirstCol)
46874
46880
  applicable.add("nwCell");
46875
- if (rowIndex === 0 && numCells != null && numCells > 0 && cellIndex === numCells - 1)
46881
+ if (isFirstRow && isLastCol)
46876
46882
  applicable.add("neCell");
46877
- if (numRows != null && numRows > 0 && rowIndex === numRows - 1 && cellIndex === 0)
46883
+ if (isLastRow && isFirstCol)
46878
46884
  applicable.add("swCell");
46879
- if (numRows != null && numRows > 0 && numCells != null && numCells > 0 && rowIndex === numRows - 1 && cellIndex === numCells - 1)
46885
+ if (isLastRow && isLastCol)
46880
46886
  applicable.add("seCell");
46881
46887
  if (rowCnfStyle || cellCnfStyle)
46882
46888
  for (const [flag, styleType] of CNF_STYLE_MAP) {
@@ -85208,7 +85214,7 @@ var isRegExp = (value) => {
85208
85214
  state.kern = kernNode.attributes["w:val"];
85209
85215
  }
85210
85216
  }, SuperConverter;
85211
- var init_SuperConverter_DjQ_Rpeg_es = __esm(() => {
85217
+ var init_SuperConverter_CFk0pxVl_es = __esm(() => {
85212
85218
  init_rolldown_runtime_B2q5OVn9_es();
85213
85219
  init_jszip_ChlR43oI_es();
85214
85220
  init_xml_js_BtmJ6bNs_es();
@@ -97318,6 +97324,7 @@ var init_SuperConverter_DjQ_Rpeg_es = __esm(() => {
97318
97324
  nodeId: { type: "string" },
97319
97325
  flag: { enum: [
97320
97326
  "headerRow",
97327
+ "lastRow",
97321
97328
  "totalRow",
97322
97329
  "firstColumn",
97323
97330
  "lastColumn",
@@ -97519,7 +97526,7 @@ var init_SuperConverter_DjQ_Rpeg_es = __esm(() => {
97519
97526
  ] },
97520
97527
  styleOptions: objectSchema2({
97521
97528
  headerRow: { type: "boolean" },
97522
- totalRow: { type: "boolean" },
97529
+ lastRow: { type: "boolean" },
97523
97530
  firstColumn: { type: "boolean" },
97524
97531
  lastColumn: { type: "boolean" },
97525
97532
  bandedRows: { type: "boolean" },
@@ -147588,7 +147595,7 @@ var init_remark_gfm_CjV8kaUy_es = __esm(() => {
147588
147595
  init_remark_gfm_z_sDF4ss_es();
147589
147596
  });
147590
147597
 
147591
- // ../../packages/superdoc/dist/chunks/src-Dy7DgW_n.es.js
147598
+ // ../../packages/superdoc/dist/chunks/src-vGrmqC1j.es.js
147592
147599
  function deleteProps(obj, propOrProps) {
147593
147600
  const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
147594
147601
  const removeNested = (target, pathParts, index2 = 0) => {
@@ -166325,30 +166332,30 @@ function tablesClearStyleAdapter(editor, input2, options) {
166325
166332
  return toTableFailure("INVALID_TARGET", "Table style removal could not be applied.");
166326
166333
  }
166327
166334
  }
166335
+ function resolveStyleOptionFlag(flag) {
166336
+ return FLAG_TO_OOXML_KEY[flag === "totalRow" ? "lastRow" : flag];
166337
+ }
166328
166338
  function tablesSetStyleOptionAdapter(editor, input2, options) {
166329
166339
  rejectTrackedMode("tables.setStyleOption", options);
166330
166340
  const { candidate, address: address2 } = resolveTableLocator(editor, input2, "tables.setStyleOption");
166331
166341
  if (options?.dryRun)
166332
166342
  return buildTableSuccess(address2);
166333
166343
  try {
166334
- const tr = editor.state.tr;
166344
+ const xmlKey = resolveStyleOptionFlag(input2.flag);
166345
+ const ooxmlValue = INVERTED_FLAGS.has(input2.flag) ? !input2.enabled : input2.enabled;
166335
166346
  const currentAttrs = candidate.node.attrs;
166336
166347
  const currentTableProps = currentAttrs.tableProperties ?? {};
166337
- const currentLook = { ...currentTableProps.tblLook ?? {} };
166338
- const xmlKey = {
166339
- headerRow: "firstRow",
166340
- totalRow: "lastRow",
166341
- firstColumn: "firstColumn",
166342
- lastColumn: "lastColumn",
166343
- bandedRows: "noHBand",
166344
- bandedColumns: "noVBand"
166345
- }[input2.flag];
166346
- if (xmlKey)
166347
- currentLook[xmlKey] = input2.flag === "bandedRows" || input2.flag === "bandedColumns" ? !input2.enabled : input2.enabled;
166348
+ const existingLook = currentTableProps.tblLook;
166349
+ if (existingLook != null && existingLook[xmlKey] === ooxmlValue)
166350
+ return toTableFailure("NO_OP", `Style option '${input2.flag}' already has the requested value.`);
166351
+ const updatedLook = existingLook != null ? { ...existingLook } : { ...WORD_DEFAULT_TBL_LOOK };
166352
+ updatedLook[xmlKey] = ooxmlValue;
166353
+ delete updatedLook.val;
166348
166354
  const updatedTableProps = {
166349
166355
  ...currentTableProps,
166350
- tblLook: currentLook
166356
+ tblLook: updatedLook
166351
166357
  };
166358
+ const tr = editor.state.tr;
166352
166359
  tr.setNodeMarkup(candidate.pos, null, {
166353
166360
  ...currentAttrs,
166354
166361
  tableProperties: updatedTableProps,
@@ -167025,7 +167032,7 @@ function tablesGetPropertiesAdapter(editor, input2) {
167025
167032
  if (look)
167026
167033
  result.styleOptions = {
167027
167034
  headerRow: look.firstRow === true,
167028
- totalRow: look.lastRow === true,
167035
+ lastRow: look.lastRow === true,
167029
167036
  firstColumn: look.firstColumn === true,
167030
167037
  lastColumn: look.lastColumn === true,
167031
167038
  bandedRows: look.noHBand !== true,
@@ -208334,7 +208341,7 @@ var Node$13 = class Node$14 {
208334
208341
  return;
208335
208342
  const candidate = run2.pmEnd;
208336
208343
  return typeof candidate === "number" ? candidate : undefined;
208337
- }, engines_exports, DEFAULT_HEADER_FOOTER_MARGIN_PX = 0, LINE_NUMBER_RESTART_VALUES, PAGE_NUMBER_FORMAT_VALUES, SECTION_ORIENTATION_VALUES, SECTION_VERTICAL_ALIGN_VALUES, readSectPrHeaderFooterRefs, PIXELS_PER_INCH$2 = 96, BULLET_FORMATS$1, LOCK_MODE_TO_SDT_LOCK, SNIPPET_PADDING = 30, DUAL_KIND_TYPES, KNOWN_BLOCK_PM_NODE_TYPES, KNOWN_INLINE_PM_NODE_TYPES, MAX_PATTERN_LENGTH = 1024, TOGGLE_MARK_SPECS, CORE_MARK_NAMES, METADATA_MARK_NAMES, CSS_NAMED_COLORS, HEADING_STYLE_DEPTH, BULLET_FORMATS, MARK_PRIORITY, remarkProcessor, DEFAULT_UNFLATTEN_LISTS = true, REQUIRED_COMMANDS, VALID_CAPABILITY_REASON_CODES, REQUIRED_HELPERS, SCHEMA_NODE_GATES, schemaGatedIds, SUPPORTED_NON_UNIFORM_STRATEGIES, SUPPORTED_SET_MARKS, REGEX_MAX_PATTERN_LENGTH = 1024, registry, VALID_CREATE_POSITIONS, REF_HANDLERS, STEP_INTERACTION_MATRIX, MATRIX_EXEMPT_OPS, DEFAULT_INLINE_POLICY, CORE_SET_MARK_KEYS, BOOLEAN_INLINE_MARK_KEYS, TEXT_STYLE_KEYS, PRESERVE_RUN_PROPERTIES_META_KEY = "sdPreserveRunPropertiesKeys", CONTENT_CAPABILITIES, INLINE_CAPABILITIES, SDT_LOCK_TO_LOCK_MODE, STUB_WHERE, EMPTY_RESOLUTION, CONTAINER_NODE_TYPES, VALID_EDGE_NODE_TYPES3, FALLBACK_STORE_KEY = "__documentApiComments", STYLES_PART = "word/styles.xml", PROPERTIES_KEY_BY_CHANNEL, XML_PATH_BY_CHANNEL2, UNDERLINE_API_TO_STORAGE, UNDERLINE_STORAGE_TO_API, HEX_SUBKEYS_BY_PROPERTY, PARAGRAPH_NODE_TYPES, TEXT_STYLE_CHARACTER_STYLE_ATTR = "styleId", DIRECT_FORMATTING_MARK_NAMES, ALIGNMENT_TO_JUSTIFICATION, SUPPORTED_DELETE_NODE_TYPES3, REJECTED_DELETE_NODE_TYPES3, TEXT_PREVIEW_MAX_LENGTH = 80, RANGE_DELETE_SAFE_NODE_TYPES, INDENT_PER_LEVEL_TWIPS = 720, HANGING_INDENT_TWIPS = 360, ORDERED_PRESET_CONFIG, BULLET_PRESET_CONFIG, PRESET_TEMPLATES, LevelFormattingHelpers, PRESET_KIND_MAP, NUMBERING_PART = "word/numbering.xml", DEFAULT_PRESET_FOR_KIND, _setValueDelegate, PREVIEW_TEXT_MAX_LENGTH = 2000, BLOCK_PREVIEW_MAX_LENGTH = 200, EDGE_NODE_TYPES$1, DOCX_HEX_ID_LENGTH = 8, POINTS_TO_PIXELS, POINTS_TO_TWIPS = 20, PIXELS_TO_TWIPS, DEFAULT_TABLE_GRID_WIDTH_TWIPS = 1500, SETTINGS_PART = "word/settings.xml", TABLE_ADAPTER_DISPATCH, ROW_TARGETED_TABLE_OPS, registered = false, STYLES_PART_ID = "word/styles.xml", stylesPartDescriptor, settingsPartDescriptor, RELS_PART_ID2 = "word/_rels/document.xml.rels", RELS_XMLNS$1 = "http://schemas.openxmlformats.org/package/2006/relationships", HEADER_RELATIONSHIP_TYPE$2 = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/header", FOOTER_RELATIONSHIP_TYPE$2 = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer", relsPartDescriptor, DOCUMENT_RELS_PATH$1 = "word/_rels/document.xml.rels", RELS_XMLNS2 = "http://schemas.openxmlformats.org/package/2006/relationships", HEADER_RELATIONSHIP_TYPE$1 = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/header", FOOTER_RELATIONSHIP_TYPE$1 = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer", WORDPROCESSINGML_XMLNS = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", OFFICE_DOCUMENT_RELS_XMLNS = "http://schemas.openxmlformats.org/officeDocument/2006/relationships", RELATIONSHIP_ID_PATTERN, HEADER_FILE_PATTERN$1, FOOTER_FILE_PATTERN$1, HISTORY_UNSAFE_OPS, IGNORED_ATTRIBUTE_KEYS, TRACK_CHANGE_MARK_NAMES, TRACK_CHANGE_IGNORED_ATTRIBUTE_KEYS, VOLATILE_PARAGRAPH_ATTRS, VOLATILE_IMAGE_ORIGINAL_ATTR_KEYS, SIMILARITY_THRESHOLD = 0.65, MIN_LENGTH_FOR_SIMILARITY = 4, COMMENT_ATTRS_DIFF_IGNORED_KEYS, setNestedValue = (target, path2, value) => {
208344
+ }, engines_exports, DEFAULT_HEADER_FOOTER_MARGIN_PX = 0, LINE_NUMBER_RESTART_VALUES, PAGE_NUMBER_FORMAT_VALUES, SECTION_ORIENTATION_VALUES, SECTION_VERTICAL_ALIGN_VALUES, readSectPrHeaderFooterRefs, PIXELS_PER_INCH$2 = 96, BULLET_FORMATS$1, LOCK_MODE_TO_SDT_LOCK, SNIPPET_PADDING = 30, DUAL_KIND_TYPES, KNOWN_BLOCK_PM_NODE_TYPES, KNOWN_INLINE_PM_NODE_TYPES, MAX_PATTERN_LENGTH = 1024, TOGGLE_MARK_SPECS, CORE_MARK_NAMES, METADATA_MARK_NAMES, CSS_NAMED_COLORS, HEADING_STYLE_DEPTH, BULLET_FORMATS, MARK_PRIORITY, remarkProcessor, DEFAULT_UNFLATTEN_LISTS = true, REQUIRED_COMMANDS, VALID_CAPABILITY_REASON_CODES, REQUIRED_HELPERS, SCHEMA_NODE_GATES, schemaGatedIds, SUPPORTED_NON_UNIFORM_STRATEGIES, SUPPORTED_SET_MARKS, REGEX_MAX_PATTERN_LENGTH = 1024, registry, VALID_CREATE_POSITIONS, REF_HANDLERS, STEP_INTERACTION_MATRIX, MATRIX_EXEMPT_OPS, DEFAULT_INLINE_POLICY, CORE_SET_MARK_KEYS, BOOLEAN_INLINE_MARK_KEYS, TEXT_STYLE_KEYS, PRESERVE_RUN_PROPERTIES_META_KEY = "sdPreserveRunPropertiesKeys", CONTENT_CAPABILITIES, INLINE_CAPABILITIES, SDT_LOCK_TO_LOCK_MODE, STUB_WHERE, EMPTY_RESOLUTION, CONTAINER_NODE_TYPES, VALID_EDGE_NODE_TYPES3, FALLBACK_STORE_KEY = "__documentApiComments", STYLES_PART = "word/styles.xml", PROPERTIES_KEY_BY_CHANNEL, XML_PATH_BY_CHANNEL2, UNDERLINE_API_TO_STORAGE, UNDERLINE_STORAGE_TO_API, HEX_SUBKEYS_BY_PROPERTY, PARAGRAPH_NODE_TYPES, TEXT_STYLE_CHARACTER_STYLE_ATTR = "styleId", DIRECT_FORMATTING_MARK_NAMES, ALIGNMENT_TO_JUSTIFICATION, SUPPORTED_DELETE_NODE_TYPES3, REJECTED_DELETE_NODE_TYPES3, TEXT_PREVIEW_MAX_LENGTH = 80, RANGE_DELETE_SAFE_NODE_TYPES, INDENT_PER_LEVEL_TWIPS = 720, HANGING_INDENT_TWIPS = 360, ORDERED_PRESET_CONFIG, BULLET_PRESET_CONFIG, PRESET_TEMPLATES, LevelFormattingHelpers, PRESET_KIND_MAP, NUMBERING_PART = "word/numbering.xml", DEFAULT_PRESET_FOR_KIND, _setValueDelegate, PREVIEW_TEXT_MAX_LENGTH = 2000, BLOCK_PREVIEW_MAX_LENGTH = 200, EDGE_NODE_TYPES$1, DOCX_HEX_ID_LENGTH = 8, POINTS_TO_PIXELS, POINTS_TO_TWIPS = 20, PIXELS_TO_TWIPS, DEFAULT_TABLE_GRID_WIDTH_TWIPS = 1500, SETTINGS_PART = "word/settings.xml", WORD_DEFAULT_TBL_LOOK, FLAG_TO_OOXML_KEY, INVERTED_FLAGS, TABLE_ADAPTER_DISPATCH, ROW_TARGETED_TABLE_OPS, registered = false, STYLES_PART_ID = "word/styles.xml", stylesPartDescriptor, settingsPartDescriptor, RELS_PART_ID2 = "word/_rels/document.xml.rels", RELS_XMLNS$1 = "http://schemas.openxmlformats.org/package/2006/relationships", HEADER_RELATIONSHIP_TYPE$2 = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/header", FOOTER_RELATIONSHIP_TYPE$2 = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer", relsPartDescriptor, DOCUMENT_RELS_PATH$1 = "word/_rels/document.xml.rels", RELS_XMLNS2 = "http://schemas.openxmlformats.org/package/2006/relationships", HEADER_RELATIONSHIP_TYPE$1 = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/header", FOOTER_RELATIONSHIP_TYPE$1 = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer", WORDPROCESSINGML_XMLNS = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", OFFICE_DOCUMENT_RELS_XMLNS = "http://schemas.openxmlformats.org/officeDocument/2006/relationships", RELATIONSHIP_ID_PATTERN, HEADER_FILE_PATTERN$1, FOOTER_FILE_PATTERN$1, HISTORY_UNSAFE_OPS, IGNORED_ATTRIBUTE_KEYS, TRACK_CHANGE_MARK_NAMES, TRACK_CHANGE_IGNORED_ATTRIBUTE_KEYS, VOLATILE_PARAGRAPH_ATTRS, VOLATILE_IMAGE_ORIGINAL_ATTR_KEYS, SIMILARITY_THRESHOLD = 0.65, MIN_LENGTH_FOR_SIMILARITY = 4, COMMENT_ATTRS_DIFF_IGNORED_KEYS, setNestedValue = (target, path2, value) => {
208338
208345
  if (!path2.includes(".")) {
208339
208346
  target[path2] = value;
208340
208347
  return;
@@ -227364,9 +227371,9 @@ var Node$13 = class Node$14 {
227364
227371
  return false;
227365
227372
  return Boolean(checker(attrs));
227366
227373
  }, SuperToolbar, ICONS, TEXTS, tableActionsOptions;
227367
- var init_src_Dy7DgW_n_es = __esm(() => {
227374
+ var init_src_vGrmqC1j_es = __esm(() => {
227368
227375
  init_rolldown_runtime_B2q5OVn9_es();
227369
- init_SuperConverter_DjQ_Rpeg_es();
227376
+ init_SuperConverter_CFk0pxVl_es();
227370
227377
  init_jszip_ChlR43oI_es();
227371
227378
  init_uuid_qzgm05fK_es();
227372
227379
  init_constants_ep1_Gwqi_es();
@@ -235315,6 +235322,23 @@ function print() { __p += __j.call(arguments, '') }
235315
235322
  EDGE_NODE_TYPES$1 = new Set(SELECTION_EDGE_NODE_TYPES2);
235316
235323
  POINTS_TO_PIXELS = 96 / 72;
235317
235324
  PIXELS_TO_TWIPS = 1440 / 96;
235325
+ WORD_DEFAULT_TBL_LOOK = {
235326
+ firstRow: true,
235327
+ lastRow: false,
235328
+ firstColumn: true,
235329
+ lastColumn: false,
235330
+ noHBand: false,
235331
+ noVBand: true
235332
+ };
235333
+ FLAG_TO_OOXML_KEY = {
235334
+ headerRow: "firstRow",
235335
+ lastRow: "lastRow",
235336
+ firstColumn: "firstColumn",
235337
+ lastColumn: "lastColumn",
235338
+ bandedRows: "noHBand",
235339
+ bandedColumns: "noVBand"
235340
+ };
235341
+ INVERTED_FLAGS = new Set(["bandedRows", "bandedColumns"]);
235318
235342
  TABLE_ADAPTER_DISPATCH = {
235319
235343
  "tables.delete": (e, i4, o) => tablesDeleteAdapter(e, i4, o),
235320
235344
  "tables.clearContents": (e, i4, o) => tablesClearContentsAdapter(e, i4, o),
@@ -260618,8 +260642,8 @@ var init_zipper_DqXT7uTa_es = __esm(() => {
260618
260642
 
260619
260643
  // ../../packages/superdoc/dist/super-editor.es.js
260620
260644
  var init_super_editor_es = __esm(() => {
260621
- init_src_Dy7DgW_n_es();
260622
- init_SuperConverter_DjQ_Rpeg_es();
260645
+ init_src_vGrmqC1j_es();
260646
+ init_SuperConverter_CFk0pxVl_es();
260623
260647
  init_jszip_ChlR43oI_es();
260624
260648
  init_xml_js_BtmJ6bNs_es();
260625
260649
  init_constants_ep1_Gwqi_es();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc-dev/cli",
3
- "version": "0.3.0-next.30",
3
+ "version": "0.3.0-next.31",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "superdoc": "./dist/index.js"
@@ -22,19 +22,19 @@
22
22
  "typescript": "^5.9.2",
23
23
  "@superdoc/document-api": "0.0.1",
24
24
  "@superdoc/super-editor": "0.0.1",
25
- "superdoc": "1.20.0",
26
- "@superdoc/pm-adapter": "0.0.0"
25
+ "@superdoc/pm-adapter": "0.0.0",
26
+ "superdoc": "1.20.0"
27
27
  },
28
28
  "module": "src/index.ts",
29
29
  "publishConfig": {
30
30
  "access": "public"
31
31
  },
32
32
  "optionalDependencies": {
33
- "@superdoc-dev/cli-darwin-arm64": "0.3.0-next.30",
34
- "@superdoc-dev/cli-darwin-x64": "0.3.0-next.30",
35
- "@superdoc-dev/cli-linux-x64": "0.3.0-next.30",
36
- "@superdoc-dev/cli-linux-arm64": "0.3.0-next.30",
37
- "@superdoc-dev/cli-windows-x64": "0.3.0-next.30"
33
+ "@superdoc-dev/cli-darwin-arm64": "0.3.0-next.31",
34
+ "@superdoc-dev/cli-darwin-x64": "0.3.0-next.31",
35
+ "@superdoc-dev/cli-linux-arm64": "0.3.0-next.31",
36
+ "@superdoc-dev/cli-linux-x64": "0.3.0-next.31",
37
+ "@superdoc-dev/cli-windows-x64": "0.3.0-next.31"
38
38
  },
39
39
  "scripts": {
40
40
  "predev": "node scripts/ensure-superdoc-build.js",