0.4.4 • Published 3 days ago

@somenergia/somenergia-ui v0.4.4

Weekly downloads
-
License
AGPL-3.0
Repository
github
Last release
3 days ago

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
0.4.4

3 days ago

0.4.3

14 days ago

0.4.2

17 days ago

0.4.1

27 days ago

0.4.0

28 days ago

0.3.2

2 months ago

0.3.1

3 months ago

0.3.0

3 months ago

0.2.0

4 months ago

0.1.7

4 months ago

0.1.6

4 months ago

0.1.5

5 months ago

0.1.4

5 months ago

0.1.3

5 months ago

0.1.2

5 months ago

0.1.1

5 months ago

0.1.0

5 months ago