svallory / moonrepo-template

Monorepo template using moon, proto, node 20, Yarn 4, Packemon, ESLint, Jest, Prettier, TypeScript, Vite, Vitest, Astro.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

moonrepo Monorepo Template

Monorepo template using moon, Yarn, Packemon, ESLint, Jest, Prettier, TypeScript, Vite, Vitest, Astro.

Read also:

This template was based on the moonrepo examples repository

A collection of packages and applications using moon and popular tooling.

Usage

To begin, we suggest installing moon globally: https://moonrepo.dev/docs/install

Once installed, run the following commands for common tasks:

  • moon check --all - Run all tasks (below).
  • moon run :build - Build all projects.
  • moon run :lint - Lint code in all projects.
  • moon run :test - Run tests in all projects.
  • moon run :format - Format code in all projects.
  • moon run :typecheck - Type check code in all projects.

Tasks can also be focused to individual projects. The list of projects can be found in .moon/workspace.yml.

  • moon check <project>
  • moon run <project>:<task>
  • moon run <project>:dev - For applications, starts the development server.

JavaScript

The following tools are configured as moon tasks.

  • ESLint
  • Jest
  • Packemon
  • Prettier
  • TypeScript
  • Vite + Vitest

Frameworks

The following frameworks have been integrated into this template.

About

Monorepo template using moon, proto, node 20, Yarn 4, Packemon, ESLint, Jest, Prettier, TypeScript, Vite, Vitest, Astro.

License:MIT License


Languages

Language:JavaScript 100.0%