New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@likec4/generators

Package Overview
Dependencies
Maintainers
1
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@likec4/generators - npm Package Versions

13
10

1.0.0

Diff

Changelog

Source

1.0.0 (2024-05-17)

🚀 Features

  • View Editor
    VSCode Preview allows to change color, shape and switch auto-layout.
    Changes are persistent and update sources.

    Also available in preview (via CLI), but changes are not saved back.

  • LikeC4 views as webcomponents Generates JS with custom elements:

      <script src="https://published.website/likec4-views.js"></script>
      <likec4-view view-id="index"></likec4-view>    
    

    Always generated on likec4 build, but also available as likec4 gen webcomponent

  • New predicate include some._
    Expand and include nested elements only if they have in/out relationships (internals are not considered):

    view {
       include some._
    }
    

    Differs from include some.*, which includes all nested elements regardless of relationships.

    Almost the same as:

    view {
      include some
      include -> some.* ->
      exclude some.* -> some.*
    }
    
  • New predicate <->
    Include relationships of both directions between elements:

    view {
       include someA.* <-> someB.*
    }
    
  • CLI
    Builds and exports with pre-bundled CLI are 6-8x times faster
    Allow deep-linking in GitHub Pages, closes #661
    Set color-scheme on export to png, closes #685

  • New renderer
    Fast and responsive views on any device, based on xyflow

  • New sites
    https://docs.likec4.dev/ - (migration in progress...)
    https://playground.likec4.dev/ - dedicated for playgrounds

davydkov
published 1.0.0-rc.1 •

Changelog

Source

1.0.0-rc.1 (2024-05-06)

🚀 Features

  • LikeC4 views as webcomponents
    Generates JS with custom elements:

      <script src="https://published.website/likec4-views.js"></script>
      <likec4-view view-id="index"></likec4-view>    
    

    Always generated on likec4 build, but also available as likec4 gen webcomponent

  • New predicate include some._
    Expand and include nested elements only if they have in/out relationships (internals are not considered):

    view {
       include some._
    }
    

    Differs from include some.*, which includes all nested elements regardless of relationships.

    Almost the same as:

    view {
      include some
      include -> some.* ->
      exclude some.* -> some.*
    }
    
  • New predicate <->
    Include relationships of both directions between elements:

    view {
       include someA.* <-> someB.*
    }
    
  • Pre-bundled CLI
    Builds and exports are 6-8x times faster

  • New renderer
    Fast and responsive views on any device, based on xyflow

  • Editor
    VSCode Preview allows to change color, shape and switch auto-layout.
    Changes are persistent and update sources.

    Also available in preview (via CLI), but changes are not saved back.

In Progress

  • Editor: manual layout
  • New docs
davydkov
published 1.0.0-next.14 •

Changelog

Source

1.0.0-next.14 (2024-04-30)

PRE-RELEASE

davydkov
published 0.60.4 •

Changelog

Source

0.60.4 (2024-04-13)

Bug Fixes

  • diagrams: Icons do not render when expected in React app, see #649
  • deps: update dependencies
davydkov
published 1.0.0-next.11 •

Changelog

Source

1.0.0-next.11 (2024-04-11)

PRE-RELEASE

Features

davydkov
published 1.0.0-next.10 •

Changelog

Source

1.0.0-next.10 (2024-04-02)

Working on pre-release

davydkov
published 1.0.0-next.2 •

Changelog

Source

1.0.0-next.2 (2024-03-31)

Working on pre-release

davydkov
published 1.0.0-next.1 •

Changelog

Source

1.0.0-next.1 (2024-03-29)

Working on pre-release

davydkov
published 1.0.0-next.0 •

Changelog

Source

1.0.0-next.0 (2024-03-29)

Working on pre-release

davydkov
published 0.60.3 •

Changelog

Source

0.60.3 (2024-03-28)

Bug Fixes

  • layout: "fake" a node icon with a blue square to preserve space for real icons, see #577 (23b0881)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc