@nikhilsparrow/thrive-twigs
v1.0.0
Published
<p align="center"><img src="https://twigs.surveysparrow.com/img/logo-with-text.svg" width="200" alt="Twigs" /></p>
Readme
Welcome to Twigs monorepo
Packages
- react-components (
@nikhilsparrow/twigs-react) → React UI components - react-icons (
@nikhilsparrow/twigs-react-icons) → SVG Icons package built with React
monorepo
This repo is built with lerna to support monorepo. commands can be run from the root folder, and will be applicable for all of the packages under the monorepo
How to set-up
- Clone the repo
- install the dependencies using yarn
yarn install
Development
Twigs uses Stitches and Radix for most of its components.
Storybook is configured for components and icons, so you can run yarn storybook from the respective directory to start a development view.
$ git clone https://github.com/surveysparrow/twigs.git
$ cd twigs
$ yarn
$ yarn build
$ cd packages/react-components
$ yarn storybookOther scripts
build
npx lerna run buildbuild static storybook
npx lerna run build-storybookTo delete all node_modules folders (even from subpackages),
npx lerna clean -yIf you'd like to run command against one package alone, run
npx lerna run build --scope=package-name
