likec4 1.30.0 → 1.32.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.
package/README.md CHANGED
@@ -113,7 +113,7 @@ likec4 export png -o ./assets
113
113
  This command starts the local web server and uses Playwright to take screenshots.\
114
114
  If you plan to use it on CI, refer to [Playwright documentation](https://playwright.dev/docs/ci) for details.
115
115
 
116
- ### Export to Mermaid, Dot, D2
116
+ ### Export to Mermaid, Dot, D2, PlantUml
117
117
 
118
118
  Export to various formats via codegen:
119
119
 
@@ -122,6 +122,7 @@ likec4 codegen mmd
122
122
  likec4 codegen mermaid
123
123
  likec4 codegen dot
124
124
  likec4 codegen d2
125
+ likec4 codegen plantuml
125
126
  ```
126
127
 
127
128
  [📖 Read documentation](https://likec4.dev/tooling/cli/) for other CLI usage
@@ -1,7 +1,7 @@
1
- import type { ViewId } from '@likec4/core'
1
+ import type { ViewId } from 'likec4/model'
2
2
  import { $likec4data, $likec4model } from 'likec4:single-project'
3
3
 
4
- export const likeC4Model = $likec4model.get()
4
+ export const likec4model = $likec4model.get()
5
5
 
6
6
  export {
7
7
  IconRenderer as RenderIcon,
@@ -1,6 +1,6 @@
1
1
  export const ComponentName = {
2
2
  View: WEBCOMPONENT_PREFIX + '-view',
3
- Browser: WEBCOMPONENT_PREFIX + '-browser'
3
+ Browser: WEBCOMPONENT_PREFIX + '-browser',
4
4
  }
5
5
 
6
6
  let BASE = import.meta.env.BASE_URL
@@ -17,3 +17,4 @@ export const withOverviewGraph = __USE_OVERVIEW_GRAPH__ === true
17
17
  export const isDevelopment = import.meta.env.DEV
18
18
 
19
19
  export const krokiD2SvgUrl = import.meta.env.VITE_KROKI_D2_SVG_URL || 'https://kroki.io/d2/svg'
20
+ export const krokiPumlSvgUrl = import.meta.env.VITE_KROKI_D2_SVG_URL || 'https://kroki.io/plantuml/svg'