Skip to content

Latest commit

 

History

History
66 lines (42 loc) · 1.18 KB

CONTRIBUTING.md

File metadata and controls

66 lines (42 loc) · 1.18 KB

Contributing to the project

Package Installation

If you're comfortable with monorepos, we recommend pnpm. It's faster and offers some useful CLI options like --filter.

Installing packages

When you first clone or create your monorepo, you'll need to:

  1. Make sure you're in the root directory of your monorepo
  2. Run the install command:
pnpm install

You'll now see node_modules folders appear in the root of your repository, and in each workspace.

Adding/removing/upgrading packages

You can add, remove and upgrade packages from within your monorepo using your package manager's built-in commands:

Install a package in a workspace

pnpm add <package> --filter <workspace>

Example:

pnpm add react --filter web

Remove a package from a workspace

pnpm uninstall <package> --filter <workspace>

Example:

pnpm uninstall react --filter web

Upgrade a package in a workspace

pnpm update <package> --filter <workspace>

Example:

pnpm update react --filter web

Running data warehouse

use npx ts-node to run the data warehouse

npx ts-node apps/../lib/[warehouse].ts