likec4 1.49.0 → 1.50.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 (90) hide show
  1. package/__app__/src/likec4.js +17 -40
  2. package/__app__/src/routes/single.js +27 -20
  3. package/__app__/src/style.css +1 -1
  4. package/__app__/src/vendors.js +1152 -1013
  5. package/config/schema.json +16 -0
  6. package/dist/THIRD-PARTY-LICENSES.md +31 -1
  7. package/dist/_chunks/LikeC4.mjs +1154 -0
  8. package/dist/_chunks/binary.mjs +72 -0
  9. package/dist/_chunks/index.d.mts +11 -12
  10. package/dist/_chunks/index2.d.mts +166 -76
  11. package/dist/_chunks/libs/@chevrotain/cst-dts-gen.mjs +30 -0
  12. package/dist/_chunks/libs/@chevrotain/regexp-to-ast.mjs +8 -8
  13. package/dist/_chunks/libs/@chevrotain/types.d.mts +1 -0
  14. package/dist/_chunks/libs/@chevrotain/utils.mjs +1 -1
  15. package/dist/_chunks/libs/@hono/mcp.mjs +8 -8
  16. package/dist/_chunks/libs/@hono/node-server.mjs +1 -1
  17. package/dist/_chunks/libs/@logtape/logtape.mjs +3 -3
  18. package/dist/_chunks/libs/@lume/kiwi.mjs +1 -1
  19. package/dist/_chunks/libs/@modelcontextprotocol/sdk.d.mts +114 -14
  20. package/dist/_chunks/libs/@modelcontextprotocol/sdk.mjs +7 -7
  21. package/dist/_chunks/libs/@msgpack/msgpack.mjs +1 -1
  22. package/dist/_chunks/libs/@nanostores/react.d.mts +61 -1
  23. package/dist/_chunks/libs/@nanostores/react.mjs +1 -1
  24. package/dist/_chunks/libs/@smithy/is-array-buffer.mjs +1 -0
  25. package/dist/_chunks/libs/@smithy/util-base64.mjs +1 -1
  26. package/dist/_chunks/libs/ajv.mjs +1 -1
  27. package/dist/_chunks/libs/atomically.mjs +1 -1
  28. package/dist/_chunks/libs/birpc.mjs +1 -1
  29. package/dist/_chunks/libs/chevrotain-allstar.mjs +2 -2
  30. package/dist/_chunks/libs/chevrotain.mjs +35 -35
  31. package/dist/_chunks/libs/conf.mjs +1 -1
  32. package/dist/_chunks/libs/defu.mjs +1 -1
  33. package/dist/_chunks/libs/esm-env.mjs +1 -1
  34. package/dist/_chunks/libs/eventemitter3.mjs +1 -1
  35. package/dist/_chunks/libs/fast-equals.mjs +1 -1
  36. package/dist/_chunks/libs/find-up-simple.mjs +1 -1
  37. package/dist/_chunks/libs/get-port.mjs +1 -1
  38. package/dist/_chunks/libs/is-docker.mjs +1 -1
  39. package/dist/_chunks/libs/is-error-instance.mjs +1 -1
  40. package/dist/_chunks/libs/is-inside-container.mjs +1 -1
  41. package/dist/_chunks/libs/is-plain-obj.mjs +1 -1
  42. package/dist/_chunks/libs/isexe.mjs +1 -1
  43. package/dist/_chunks/libs/json5.mjs +10 -10
  44. package/dist/_chunks/libs/khroma.mjs +1 -1
  45. package/dist/_chunks/libs/ky.mjs +2 -2
  46. package/dist/_chunks/libs/langium.d.mts +4 -3
  47. package/dist/_chunks/libs/langium.mjs +20 -19
  48. package/dist/_chunks/libs/merge-error-cause.mjs +2 -2
  49. package/dist/_chunks/libs/p-limit.mjs +1 -1
  50. package/dist/_chunks/libs/p-queue.mjs +1 -1
  51. package/dist/_chunks/libs/package-manager-detector.mjs +1 -1
  52. package/dist/_chunks/libs/package-up.mjs +1 -1
  53. package/dist/_chunks/libs/pako.mjs +1 -0
  54. package/dist/_chunks/libs/parse-ms.mjs +1 -1
  55. package/dist/_chunks/libs/pathe.mjs +1 -1
  56. package/dist/_chunks/libs/picomatch.mjs +1 -1
  57. package/dist/_chunks/libs/pretty-ms.mjs +1 -1
  58. package/dist/_chunks/libs/remeda.mjs +2 -1
  59. package/dist/_chunks/libs/safe-stringify.mjs +1 -1
  60. package/dist/_chunks/libs/strip-indent.mjs +1 -1
  61. package/dist/_chunks/libs/tinyrainbow.mjs +1 -1
  62. package/dist/_chunks/libs/ts-graphviz.mjs +3 -3
  63. package/dist/_chunks/libs/ufo.mjs +1 -1
  64. package/dist/_chunks/libs/which.mjs +1 -1
  65. package/dist/_chunks/libs/word-wrap.mjs +2 -2
  66. package/dist/_chunks/rolldown-runtime.mjs +1 -1
  67. package/dist/_chunks/sequence.mjs +1 -0
  68. package/dist/_chunks/src.mjs +15 -0
  69. package/dist/_chunks/src2.mjs +499 -0
  70. package/dist/cli/index.mjs +75 -231
  71. package/dist/config/index.mjs +1 -1
  72. package/dist/index.d.mts +5 -3
  73. package/dist/index.mjs +1 -1
  74. package/dist/model/index.mjs +1 -1
  75. package/dist/vite-plugin/index.d.mts +3 -0
  76. package/dist/vite-plugin/index.mjs +1 -1
  77. package/dist/vite-plugin/internal.d.mts +1 -2
  78. package/dist/vite-plugin/internal.mjs +1 -1
  79. package/package.json +26 -26
  80. package/react/index.d.mts +2 -2
  81. package/react/index.mjs +36 -54
  82. package/vite-plugin-modules.d.ts +5 -0
  83. package/dist/_chunks/GraphvizBinaryAdapter.mjs +0 -72
  84. package/dist/_chunks/filenames.mjs +0 -14
  85. package/dist/_chunks/libs/@chevrotain/gast.mjs +0 -1
  86. package/dist/_chunks/libs/nanostores.d.mts +0 -63
  87. package/dist/_chunks/libs/nanostores.mjs +0 -1
  88. package/dist/_chunks/node.mjs +0 -481
  89. package/dist/_chunks/plugin.mjs +0 -322
  90. package/dist/_chunks/sequence-view.mjs +0 -1
@@ -36,6 +36,14 @@
36
36
  "type": "string",
37
37
  "minLength": 1
38
38
  },
39
+ "metadata": {
40
+ "description": "Arbitrary metadata as key-value pairs for custom project information",
41
+ "type": "object",
42
+ "propertyNames": {
43
+ "type": "string"
44
+ },
45
+ "additionalProperties": {}
46
+ },
39
47
  "styles": {
40
48
  "description": "Project styles customization",
41
49
  "type": "object",
@@ -70,6 +78,14 @@
70
78
  },
71
79
  "manualLayouts": {
72
80
  "$ref": "#/$defs/ManualLayoutsConfig"
81
+ },
82
+ "inferTechnologyFromIcon": {
83
+ "description": "Automatically derive element technology from icon name when technology is not set explicitly.\nApplies to aws:, azure:, gcp:, and tech: icons. Bootstrap icons are excluded.\nDefaults to true.",
84
+ "type": "boolean"
85
+ },
86
+ "implicitViews": {
87
+ "description": "Auto-generate scoped views for elements without explicit views. Defaults to true.",
88
+ "type": "boolean"
73
89
  }
74
90
  },
75
91
  "required": [
@@ -1,7 +1,7 @@
1
1
  # Licenses of Bundled Dependencies
2
2
 
3
3
  The published artifact additionally contains code with the following licenses:
4
- Apache-2.0, BSD-2-Clause, BSD-3-Clause, ISC, MIT
4
+ Apache-2.0, BSD-2-Clause, BSD-3-Clause, ISC, MIT, (MIT AND Zlib)
5
5
 
6
6
  # Bundled Dependencies
7
7
 
@@ -1358,6 +1358,36 @@ Repository: https://github.com/antfu-collective/package-manager-detector
1358
1358
 
1359
1359
  ---------------------------------------
1360
1360
 
1361
+ ## pako
1362
+
1363
+ License: (MIT AND Zlib)
1364
+ By: Andrei Tuputcyn, Vitaly Puzrin, Friedel Ziegelmayer, Kirill Efimov, Jean-loup Gailly, Mark Adler
1365
+ Repository: https://github.com/nodeca/pako
1366
+
1367
+ > (The MIT License)
1368
+ >
1369
+ > Copyright (C) 2014-2017 by Vitaly Puzrin and Andrei Tuputcyn
1370
+ >
1371
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
1372
+ > of this software and associated documentation files (the "Software"), to deal
1373
+ > in the Software without restriction, including without limitation the rights
1374
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1375
+ > copies of the Software, and to permit persons to whom the Software is
1376
+ > furnished to do so, subject to the following conditions:
1377
+ >
1378
+ > The above copyright notice and this permission notice shall be included in
1379
+ > all copies or substantial portions of the Software.
1380
+ >
1381
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1382
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1383
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1384
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1385
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1386
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1387
+ > THE SOFTWARE.
1388
+
1389
+ ---------------------------------------
1390
+
1361
1391
  ## pathe
1362
1392
 
1363
1393
  License: MIT