All Projects → natterstefan → react-component-library-lerna

natterstefan / react-component-library-lerna

Licence: Apache-2.0 License
Build your own React component library managed with lerna, presented with storybook and published in private npm registry.

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to react-component-library-lerna

React Ssr Starter
All have been introduced React environment
Stars: ✭ 20 (-63.64%)
Mutual labels:  stylelint, eslint, styled-components, jest, prettier
Lerna Yarn Workspaces Monorepo
🐉 A Monorepo with multiple packages and a shared build, test, and release process.
Stars: ✭ 201 (+265.45%)
Mutual labels:  styled-components, jest, monorepo, storybook
Express React Boilerplate
🚀🚀🚀 This is a tool that helps programmers create Express & React projects easily base on react-cool-starter.
Stars: ✭ 32 (-41.82%)
Mutual labels:  eslint, jest, prettier, storybook
Simple React Calendar
A simple react based calendar component to be used for selecting dates and date ranges
Stars: ✭ 97 (+76.36%)
Mutual labels:  eslint, jest, prettier, storybook
React Typescript Web Extension Starter
🖥 A Web Extension starter kit built with React, TypeScript, SCSS, Storybook, Jest, EsLint, Prettier, Webpack and Bootstrap. Supports Google Chrome + Mozilla Firefox + Brave Browser 🔥
Stars: ✭ 510 (+827.27%)
Mutual labels:  eslint, jest, prettier, storybook
Reeakt
A modern React boilerplate to awesome web applications
Stars: ✭ 116 (+110.91%)
Mutual labels:  eslint, styled-components, jest, prettier
Nextjs Ts
Opinionated Next JS project boilerplate with TypeScript and Redux
Stars: ✭ 134 (+143.64%)
Mutual labels:  stylelint, jest, prettier
Express Webpack React Redux Typescript Boilerplate
🎉 A full-stack boilerplate that using express with webpack, react and typescirpt!
Stars: ✭ 156 (+183.64%)
Mutual labels:  stylelint, eslint, jest
figma-plugin-typescript-boilerplate
Figma plugin TypeScript boilerplate to start developing right away
Stars: ✭ 43 (-21.82%)
Mutual labels:  stylelint, eslint, prettier
nextjs-starter-kit
NextJS Starter Kit with Testing Frameworks and CI/CD
Stars: ✭ 30 (-45.45%)
Mutual labels:  eslint, jest, storybook
Wemake Vue Template
Bleeding edge vue template focused on code quality and developer happiness.
Stars: ✭ 645 (+1072.73%)
Mutual labels:  stylelint, eslint, jest
reactjs-vite-tailwindcss-boilerplate
ReactJS + Vite boilerplate to be used with Tailwindcss.
Stars: ✭ 103 (+87.27%)
Mutual labels:  eslint, jest, prettier
smores-react
🍭 Marshmallow React components
Stars: ✭ 34 (-38.18%)
Mutual labels:  styled-components, storybook, component-library
medly-components
🧩 Medly components provides numerous themable react components, each with multiple varitaions of sizes, colors, position etc.
Stars: ✭ 66 (+20%)
Mutual labels:  styled-components, jest, storybook
Front End Guide
📚 Study guide and introduction to the modern front end stack.
Stars: ✭ 14,073 (+25487.27%)
Mutual labels:  stylelint, eslint, jest
Jest Styled Components Stylelint
Run stylelint on your styled-components styles at runtime.
Stars: ✭ 25 (-54.55%)
Mutual labels:  stylelint, styled-components, jest
zero
📦 A zero config scripts library
Stars: ✭ 17 (-69.09%)
Mutual labels:  eslint, jest, prettier
nimbus
Centralized CLI for JavaScript and TypeScript developer tools.
Stars: ✭ 112 (+103.64%)
Mutual labels:  eslint, jest, prettier
Express-REST-API-Template
Minimal starter project for a Node.js RESTful API based off express generator
Stars: ✭ 26 (-52.73%)
Mutual labels:  eslint, jest, prettier
generator-node
🔧 Yeoman generator for Node projects.
Stars: ✭ 16 (-70.91%)
Mutual labels:  eslint, jest, prettier

React Component Library with Lerna

Dependencies DevDependencies Known Vulnerabilities GitHub license PRs Welcome

Build your own React component library managed with lerna and presented with storybook.

Features

Getting started

Use yarn instead of npm, because we rely on yarn's workspaces feature.

yarn
yarn bootstrap
yarn start

Now you can open storybook at http://localhost:9001.

Docs

Please, be patient. I will soon add "How to" sections. They are going to tell you:

  • how to use this example component library for your own projects,
  • some things I learned about lerna and monorepos (eg. yarn workspaces are pretty neat),
  • how to use storybook (eg. creating stories, ...),
  • how to publish packages to your private npm registry (eg. with verdaccio),
  • and finally how to create a docker image with an example app.

Stay tuned!

How to add new dependencies

Adding devDependencies looks like this:

yarn add <package-name> --dev -W

This will add the dependency too the root package.json and make it available to all packages.

Adding a new dependency for all or one of the packages looks like this:

npx lerna add <package-name>

One can read more about the command (eg. how to scope it, etc.) here.

How to test publishing

This repository comes with a pre-configured verdaccio (private npm registry) setup. All you need to do is start it with:

cd localdev
docker-compose -d # will start the verdaccio docker image

Now, open http://localhost:4873/. You should see the UI of verdaccio on your screen now. That's great. Because it means you can now publish the packages to this npm registry. Usually you have to login to the registry, but the .npmrc already includes the _authToken. So yarn publish in one of the packages will publish it, or with yarn publish in the root folder (uses lerna).

In order to publish your packages to npm, simply change the registry property in each package.json's publishConfig.

Contribution

PRs are welcome and I am happy if you want to contribute! Just let me know, please.

Forks

If this repository is forked and I see further progress on the forked repo, I am very happy to list your work here. It's awesome to see, when people start using and moving this repository even further.

Licence

Apache 2.0

Maintainers


Stefan Natter
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].