Giter Site home page Giter Site logo

jhasuraj01 / monorepo Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 2.0 220 KB

pnpm multi-package monorepo template powered by nx

License: MIT License

TypeScript 86.84% Batchfile 2.66% JavaScript 6.12% Shell 4.37%
multi-package nx-workspace pnpm-monorepo pnpm-workspace

monorepo's Introduction

Monorepo Template

Installation

pnpm i

To add a dependency to all packages in your workspace using pnpm, you can use the following command:

pnpm -r <package-name>

Tip

Replace <package-name> with the name of the package you want to add. This command will install the specified package in all packages within your workspace that have it listed as a dependency.

If you want to specify whether the package should be a regular dependency, a dev dependency, or an optional dependency, you can use the appropriate flags:

  • To install as a regular dependency:

    pnpm -r <package-name>
  • To install as a dev dependency:

    pnpm -r <package-name> -D
  • To install as an optional dependency:

    pnpm -r <package-name> -O

Remember that this command operates within the context of your workspace, so it will affect all packages that share dependencies. Happy coding! ๐Ÿš€

Commitlint

Commitlint is a tool to help enforce a consistent commit style. This helps with versioning, generating changelogs, and navigating the commit history. Here are some common types of commits:

  • build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
  • chore: Regular code maintenance tasks.
  • ci: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
  • docs: Documentation only changes.
  • feat: A new feature.
  • fix: A bug fix.
  • perf: A code change that improves performance.
  • refactor: A code change that neither fixes a bug nor adds a feature.
  • revert: Reverts a previous commit.
  • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc).
  • test: Adding missing tests or correcting existing tests.

For more information, refer to the following resources:

monorepo's People

Contributors

jhasuraj01 avatar vedang12d avatar

Watchers

 avatar

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.