Skip to content

Repository files navigation

Kompare Monorepo

A pnpm-based monorepo for the Kompare project, using Turborepo for task orchestration.

Structure

kompare-extension/
├── apps/
│   └── extension/          # Browser extension (Chrome)
├── packages/               # Shared packages (future)
├── package.json            # Root workspace config
├── pnpm-workspace.yaml     # Workspace definition
├── pnpm-lock.yaml          # Single lock file
├── turbo.jsonc             # Turborepo configuration
└── tsconfig.json           # Root TypeScript config

Getting Started

Prerequisites

  • Node.js v18+
  • pnpm v10.8.0+

Installation

# Install all dependencies
pnpm install

Development

# Run all apps in dev mode
pnpm dev

# Run specific app
pnpm --filter @kompare/extension dev

Build

# Build all apps
pnpm build

# Build specific app
pnpm --filter @kompare/extension build

Other Commands

# Type check all apps
pnpm typecheck

# Lint all apps
pnpm lint

Adding a New App

  1. Create a new directory under apps/
  2. Add a package.json with a scoped name (e.g., @kompare/api)
  3. The app will automatically be included in the workspace

Adding Shared Packages

  1. Create a new directory under packages/
  2. Add packages/* to pnpm-workspace.yaml
  3. Reference shared packages using "@kompare/shared": "workspace:*"

About

Kompare is a powerful Chrome extension for viewing conversion rates for multiple fiat and crypto currencies.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages