Giter Club home page Giter Club logo

nx-monorepo's Introduction

NX Monorepo Starter

Before you start

  • Node v16.19.0+
  • TODO: Autoformat on Save in VSCode instructions

Getting Started

  • npm install
  • npm run start:client

Features

  • NX Monorepo
  • TypeScript
  • Prettier
  • ESLint (Prettier configured as ESLint rule to enable auto save fixes)
  • Components package using Radix UI and styled with Tailwind (Thanks to @shadcn)
  • Husky
    • Pre-commit linting
    • Commit Message checking for conventional commits with commitlint
  • React
  • Vite
  • Vitest
  • Cypress

NX Dev Basics

TODO: project.json vs package.json TODO: Installing Dependencies TODO: Generating Libs

Common Scripts

Generate Lib

"npx nx g @nx/js:library my-lib --bundler=vite --publishable --unitTestRunner=vitest" --importPath=@myorg/components

Contribution Guide

TODO: Conventional Commits TODO: Pull Request Template TODO: Protect Master Branch

Understand this workspace

Run nx graph to see a diagram of the dependencies of the projects.

Remote caching

Run npx nx connect-to-nx-cloud to enable remote caching and make CI faster.

Further help

Visit the Nx Documentation to learn more.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.