Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@wixc3/codux-librarian

Package Overview
Dependencies
Maintainers
0
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wixc3/codux-librarian

`codux-librarian` is a CLI tool for packaging libraries of third-party boards into a format that can be consumed by the Add Panel in Codux.

  • 0.5.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

Codux Librarian

codux-librarian is a CLI tool for packaging libraries of third-party boards into a format that can be consumed by the Add Panel in Codux.

This tool generates an NPM package containing the library's boards. This package then can be added as a dependency to the user's project. Once the user's project is opened in Codux, the packaged boards will be visible in the "libraries" section of the Add Panel.

Usage

  1. Add codux-librarian as a dev dependency to the project from which you want to provide boards to other projects.

    $ npm install --save-dev @wixc3/codux-librarian
    
  2. Create codux-librarian.config.json in the root directory of that project, and fill it in according to the format described in the LibrarianConfig interface.

  3. Run npx codux-librarian build.

  4. A new directory with the resulting package will be created. Publish this package to NPM.

  5. Add it as a dev dependency to the project that will be consuming the boards.

  6. Add the following setting to codux.config.json of the project consuming the boards:

    {
      "addPanel": {
        "assets": ["name-of-the-resulting-package"]
      }
    }
    

Limitations

  1. Boards that import components using a relative path are not currently supported. Components have to be imported from external package.
  2. Boards containing multiple return statements are not currently supported.
  3. Board cover images have to be imported using a relative path to the image file, extension included.

FAQs

Package last updated on 29 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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