Giter Site home page Giter Site logo

som-energia / somenergia-ui Goto Github PK

View Code? Open in Web Editor NEW
0.0 7.0 0.0 6.26 MB

Common components for Som Energia UI projects

Home Page: https://som-energia.github.io/somenergia-ui/

License: GNU Affero General Public License v3.0

JavaScript 87.26% HTML 0.52% CSS 2.92% MDX 9.29%

somenergia-ui's Introduction

somenergia-ui

Common React/MUI components for Som Energia UI projects

Documentation

Install

npm install --save @somenergia/somenergia-ui

Adding dependencies

  • Do not add them in package.json's dependencies key
  • Add them both in peerDependencies and developmentDependencies
  • Ensure they are filtered by the externals in vite-config.js' build.rollupOptions.externals
  • If the build creates a vendor-***.js as output, means that you failed to filter it
  • To know wich module is generating the vendor-***.js, you can get the name of the library by uncomenting the code in vite-config.js (build.rollupOptions.output.manualChunks)

Using unreleased components in another project

First build the library locally

npm run build

From the other project run:

npm install ../somenergia-ui

Release process

  • Update version package.json and CHANGES.md
  • Tag the release somenergia-ui-M.m.p
  • On pushing the version tag, automated CI will publish the package in npm
  • Right now the storybook of the CI is failing so the following command must be run by hand
npm run deploy-storybook

somenergia-ui's People

Contributors

vokimon avatar maritesomenergia avatar javikalsan avatar marta197 avatar joanafigueira avatar beatrigz avatar dukenuken09 avatar

Watchers

 avatar  avatar Roger avatar Dani Estanyol avatar Juan Pedro Sánchez avatar Diego Quintana avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.