Skip to content

RubricLab/rubric

Repository files navigation

Rubric Monorepo

Home of Rubric Labs

This repo contains Rubric's, UI library, docs, and code config.

This makes it easier to

  • Share code across projects
  • Coordinate global style changes with a single PR
  • Skip common setup in new projects: Tailwind, ESLint, Typescript, etc.

What's inside?

This monorepo includes the following packages/apps:

Apps and Packages

  • docs: a Next.js app
  • ui: a stub React component library used by docs application
  • @rubriclab/eslint-config: eslint configurations (includes eslint-config-next and eslint-config-prettier)
  • tsconfig: tsconfig.jsons used throughout the monorepo
  • tailwind-config: tailwind.config.js used throughout the monorepo

Each package/app is 100% Typescript.

Utilities

This Turborepo has some additional tools already setup for you:

Build

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

bun build

Develop

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

bun dev

To develop a subrepo, run:

cd apps/[subrepo_name]
bun run dev

To add a dependency to a subrepo, run:

cd apps/[subrepo_name]
bun i dependency

To add a global dependency, run:

bun add -W dependency

Remote Caching

Turborepo can use a technique known as Remote Caching to share build artifacts across machines, enabling you to share build caches with your team and CI/CD pipelines.

By default, Turborepo will cache locally. Remote Caching has also been configured with Vercel by running:

npx turbo login
npx turbo link

Useful Links

Learn more about the power of Turborepo:

Releases

No releases published

Packages

No packages published