# @vdtn359/mono-install

> ![CI Build](https://travis-ci.org/vdtn359/mono-install.svg?branch=master) [![npm version](https://badge.fury.io/js/%40vdtn359%2Fmono-install.svg)](https://badge.fury.io/js/%40vdtn359%2Fmono-install)

Latest version **1.1.4** (published 2022-02-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install @vdtn359/mono-install
pnpm add @vdtn359/mono-install
yarn add @vdtn359/mono-install
bun add @vdtn359/mono-install
```

Provides the command `mono-install`.

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.4 |
| Published | 2022-02-21 |
| First published | 2020-03-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 28.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | vdtn359 |

## Links

- npm: https://www.npmjs.com/package/@vdtn359/mono-install
- Repository: git@github.com:vdtn359/@vdtn359/mono-install
- npm.io page: https://npm.io/package/@vdtn359/mono-install

## Dependencies (4)

- [cpy](https://npm.io/package/cpy.md) ^8.1.2
- [yargs](https://npm.io/package/yargs.md) 17.3.1
- [fs-extra](https://npm.io/package/fs-extra.md) 10.0.0
- [@vdtn359/package-manager-utils](https://npm.io/package/@vdtn359/package-manager-utils.md) 1.0.4

## Recent versions

- 1.1.4 (latest) — 2022-02-21
- 1.1.3 — 2022-02-21
- 1.1.2 — 2020-05-02
- 1.1.1 — 2020-04-15
- 1.1.0 — 2020-04-15
- 1.0.2 — 2020-03-29
- 1.0.1 — 2020-03-26
- 1.0.0 — 2020-03-24

## README

## mono-install

![CI Build](https://travis-ci.org/vdtn359/mono-install.svg?branch=master) [![npm version](https://badge.fury.io/js/%40vdtn359%2Fmono-install.svg)](https://badge.fury.io/js/%40vdtn359%2Fmono-install)

#### 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

```$xslt
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
```

---
_Source: https://npm.io/package/@vdtn359/mono-install · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
