Skip to content

DorijanH/ui

This branch is 33 commits behind Enterwell/ui:main.

Folders and files

NameName
Last commit message
Last commit date
Feb 6, 2024
Feb 6, 2024
Feb 6, 2024
Oct 15, 2023
Sep 7, 2023
Sep 7, 2023
Sep 7, 2023
Oct 31, 2023
Feb 5, 2024
Feb 6, 2024
Sep 7, 2023
Sep 10, 2023
Sep 7, 2023
Sep 7, 2023
Sep 20, 2023

Repository files navigation

logo

Enterwell UI

Collection of UI packages used for Enterwell projects.

What's inside?

This repository includes the following:

Packages

  • @enterwell/react-ui npm version - React component library
  • @enterwell/react-hooks npm version - React hooks library
  • @enterwell/react-mui-hooks npm version - React MUI hooks library

Other (not published)

  • docs - Documentation app (built with nextra) available at enterwell.github.io/ui
  • eslint-config-custom - eslint configurations (includes eslint-config-next)
  • tsconfig - tsconfig.jsons used throughout the monorepo

Development

Requirements

Open workspace file ui.code-workspace with VS Code or your favorite editor.

Build

To build all apps and packages, run the following command:

pnpm i
pnpm build

Develop

To develop all apps and packages, run the following command:

pnpm i
pnpm dev

Code generator

Run following command (from root) and select appropriate generator and modify generated files.

pnpm turbo gen

Available generators:

Generator Description Command
component Creates react component in react-ui package along with basic documentation. pnpm turbo gen component
react-hook Creates react hook in react-hooks package alogn with basic documentation. pnpm turbo gen react-hook
react-mui-hook Creates react hook in react-mui-hooks package alogn with basic documentation. pnpm turbo gen react-mui-hook

Packages

No packages published

Languages

  • TypeScript 77.2%
  • MDX 13.5%
  • JavaScript 6.0%
  • Handlebars 2.1%
  • CSS 1.2%