mdts 0.5.0 → 0.6.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.
Files changed (49) hide show
  1. package/dist/cli.js +2 -1
  2. package/dist/frontend/bundle.js +9280 -484
  3. package/dist/frontend/markdown.css +3 -3
  4. package/dist/frontend/node_modules_mermaid-js_parser_dist_chunks_mermaid-parser_core_architecture-O4VJ6CD3_mjs.bundle.js +22 -0
  5. package/dist/frontend/node_modules_mermaid-js_parser_dist_chunks_mermaid-parser_core_gitGraph-ZV4HHKMB_mjs.bundle.js +22 -0
  6. package/dist/frontend/node_modules_mermaid-js_parser_dist_chunks_mermaid-parser_core_info-63CPKGFF_mjs.bundle.js +22 -0
  7. package/dist/frontend/node_modules_mermaid-js_parser_dist_chunks_mermaid-parser_core_packet-HUATNLJX_mjs.bundle.js +22 -0
  8. package/dist/frontend/node_modules_mermaid-js_parser_dist_chunks_mermaid-parser_core_pie-WTHONI2E_mjs.bundle.js +22 -0
  9. package/dist/frontend/node_modules_mermaid-js_parser_dist_chunks_mermaid-parser_core_radar-NJJJXTRR_mjs.bundle.js +22 -0
  10. package/dist/frontend/node_modules_mermaid-js_parser_dist_chunks_mermaid-parser_core_treemap-75Q7IDZK_mjs.bundle.js +22 -0
  11. package/dist/frontend/node_modules_mermaid_dist_chunks_mermaid_core_classDiagram-M3E45YP4_mjs.bundle.js +22 -0
  12. package/dist/frontend/node_modules_mermaid_dist_chunks_mermaid_core_classDiagram-v2-YAWTLIQI_mjs.bundle.js +22 -0
  13. package/dist/frontend/node_modules_mermaid_dist_chunks_mermaid_core_diagram-5UYTHUR4_mjs.bundle.js +32 -0
  14. package/dist/frontend/node_modules_mermaid_dist_chunks_mermaid_core_infoDiagram-LHK5PUON_mjs.bundle.js +22 -0
  15. package/dist/frontend/node_modules_mermaid_dist_chunks_mermaid_core_pieDiagram-NIOCPIFQ_mjs.bundle.js +32 -0
  16. package/dist/frontend/node_modules_mermaid_dist_chunks_mermaid_core_stateDiagram-v2-5AN5P6BG_mjs.bundle.js +22 -0
  17. package/dist/frontend/vendors-node_modules_cytoscape_dist_cytoscape_esm_mjs.bundle.js +22 -0
  18. package/dist/frontend/vendors-node_modules_dagre-d3-es_src_dagre_index_js.bundle.js +682 -0
  19. package/dist/frontend/vendors-node_modules_dagre-d3-es_src_graphlib_index_js.bundle.js +42 -0
  20. package/dist/frontend/vendors-node_modules_katex_dist_katex_mjs.bundle.js +22 -0
  21. package/dist/frontend/vendors-node_modules_lodash-es__baseClone_js-node_modules_lodash-es__baseFlatten_js-node_modu-64f2a5.bundle.js +852 -0
  22. package/dist/frontend/vendors-node_modules_lodash-es__basePickBy_js-node_modules_lodash-es__hasUnicode_js-node_modu-b1bc3b.bundle.js +232 -0
  23. package/dist/frontend/vendors-node_modules_mermaid-js_parser_dist_mermaid-parser_core_mjs.bundle.js +1582 -0
  24. package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_architectureDiagram-SUXI7LT5_mjs.bundle.js +74 -0
  25. package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_blockDiagram-6J76NXCF_mjs.bundle.js +52 -0
  26. package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_c4Diagram-6F6E4RAY_mjs.bundle.js +32 -0
  27. package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_chunk-OW32GOEJ_mjs.bundle.js +42 -0
  28. package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_chunk-SZ463SBG_mjs.bundle.js +52 -0
  29. package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_dagre-JOIXM2OF_mjs.bundle.js +42 -0
  30. package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_diagram-VMROVX33_mjs.bundle.js +42 -0
  31. package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_diagram-ZTM2IBQH_mjs.bundle.js +32 -0
  32. package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_erDiagram-3M52JZNH_mjs.bundle.js +52 -0
  33. package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_flowDiagram-KYDEHFYC_mjs.bundle.js +62 -0
  34. package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_ganttDiagram-EK5VF46D_mjs.bundle.js +52 -0
  35. package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_gitGraphDiagram-GW3U2K7C_mjs.bundle.js +42 -0
  36. package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_journeyDiagram-EWQZEKCU_mjs.bundle.js +42 -0
  37. package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_kanban-definition-ZSS6B67P_mjs.bundle.js +32 -0
  38. package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_mindmap-definition-6CBA2TL7_mjs.bundle.js +52 -0
  39. package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_quadrantDiagram-2OG54O6I_mjs.bundle.js +22 -0
  40. package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_requirementDiagram-QOLK2EJ7_mjs.bundle.js +42 -0
  41. package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_sankeyDiagram-4UZDY2LN_mjs.bundle.js +162 -0
  42. package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_sequenceDiagram-SKLFT4DO_mjs.bundle.js +42 -0
  43. package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_stateDiagram-MI5ZYTHO_mjs.bundle.js +22 -0
  44. package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_timeline-definition-MYPXXCX6_mjs.bundle.js +22 -0
  45. package/dist/frontend/vendors-node_modules_mermaid_dist_chunks_mermaid_core_xychartDiagram-H2YORKM3_mjs.bundle.js +22 -0
  46. package/dist/server/routes/outline.js +2 -1
  47. package/dist/server/server.js +27 -15
  48. package/dist/utils/logger.js +12 -0
  49. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -8,6 +8,7 @@ const commander_1 = require("commander");
8
8
  const fs_1 = require("fs");
9
9
  const path_1 = __importDefault(require("path"));
10
10
  const server_1 = require("./server/server");
11
+ const logger_1 = require("./utils/logger");
11
12
  const DEFAULT_PORT = 8521;
12
13
  const DEFAULT_DIRECTORY = '.';
13
14
  class CLI {
@@ -24,7 +25,7 @@ class CLI {
24
25
  (0, server_1.serve)(absoluteDirectory, port);
25
26
  const readmePath = path_1.default.join(absoluteDirectory, 'README.md');
26
27
  const initialPath = (0, fs_1.existsSync)(readmePath) ? '/README.md' : '';
27
- console.log(`🌐 Opening browser at http://localhost:${port}${initialPath}...`);
28
+ logger_1.logger.log(`🌐 Opening browser at http://localhost:${port}${initialPath}...`);
28
29
  open(`http://localhost:${port}${initialPath}`);
29
30
  });
30
31
  program.parse(process.argv);