@vdtn359/mono-install
TypeScript icon, indicating that this package has built-in type declarations

1.1.4 • Public • Published

mono-install

CI Build npm version

Overview

A package that will resolve local dependencies in a package.json and install them correctly without the need of publishing the local dependencies to npm. This will help reduce the complexity when dealing with monorepo application deployment.

Features

  • Support npm local package
  • Support pnpm workspace

Installation

npm i -g mono-install

Usage

mono-install [args] -- [install args]

Options:
  --help              Show help                                        [boolean]
  --version           Show version number                              [boolean]
  --install-dir, -i   The installation directory                       [string]
                      will create a new one if it does not exist
  --package-json, -p  package.json location                             [string]
  --package-lock, -l  Lock file (package-lock.json, pnpm-lock.yaml) location
                                                                        [string]
  --engine, -e        Engine to use
                              [string] [choices: "npm", "pnpm"] [default: "npm"]

Eg.

 mono-install --engine pnpm --install-dir build --package-json ./package.json --package-lock ../../pnpm-lock.yaml

Readme

Keywords

none

Package Sidebar

Install

npm i @vdtn359/mono-install

Weekly Downloads

80

Version

1.1.4

License

MIT

Unpacked Size

29.2 kB

Total Files

21

Last publish

Collaborators

  • vdtn359