Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sujaykundu777/ritro-ui-components

Ritro UI - reusuable react components
https://github.com/sujaykundu777/ritro-ui-components

design-system

Last synced: 25 days ago
JSON representation

Ritro UI - reusuable react components

Awesome Lists containing this project

README

        

# ritro-ui-components
Ritro UI monorepo

### initialize lerna
npx lerna init

## updating yarn
[docs ref link](https://yarnpkg.com/getting-started/install)
yarn set version stable
yarn install

## Creating packages
npm install --global lerna
lerna create

# setup storybook
yarn dlx storybook@latest init

### adding dependencies

#### adding depencies
yarn add

#### adding peer dependencies
yarn add -P

#### adding dev dependencies
yarn add -D

### adding dependencies to workspaces
yarn workspace add

### adding dev depencies to workspaces
yarn workspace add -D

### adding peer depencies to workspaces
yarn workspace add -P

### by default yarn uses pnp, but that can be changed by configuring .yarnrc.yml

[Yarn config](https://yarnpkg.com/features/pnp)