peaonunes / orion

In Loco's component library, based on React Semantic UI.

Home Page:https://inloco.github.io/orion

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Orion Monorepo

Dependabot Status

In Loco's monorepo for Orion and Atomic Bomb.

Please refer to their own README files for more info.

Contributing

Since we are using yarn workspaces, yarn is required.

Setup

To setup the project, you just need to have Yarn installed and run it to install the project's dependencies:

  yarn

Then run the command below to update build atomic-bomb:

  yarn atomic-bomb:build

Watch (Hot reloading)

To update css on file change:

  yarn orion:watch

Lint

We're using ESLint-Config-React-App to easily lint the source files.

Run it with:

  yarn run orion:lint

In order to update eslint configurations please refer to the package. In order to extend and add more rules edit .eslintrc.json file.

Storybook

We're using Storybook, to easily see and test the components.

Run it with:

  yarn orion:storybook

Then open it at the url indicated on the terminal, probably: http://localhost:9001/.

Release

To release, follow these steps:

  1. Run yarn release (yes, it's release, not publish!) or lerna publish (in this case you'll need a globally installed Lerna).
  2. Select the versions you wish to publish for each modified package.
  3. You're done!

Deploying Storybook

After releasing a new version, our gh page with Storybook is automatically deployed.

In case it's necessary to do this manually though, just run this simple yarn script:

yarn orion:deploy:storybook

About

In Loco's component library, based on React Semantic UI.

https://inloco.github.io/orion


Languages

Language:JavaScript 84.3%Language:CSS 15.5%Language:Shell 0.2%Language:HTML 0.0%