1.0.1 • Published 14 days ago

mono-vir v1.0.1

Weekly downloads
-
License
(MIT or CC0 1.0)
Repository
github
Last release
14 days ago

mono-vir

Super simple npm mono-repo tooling.

Uses npm workspaces and package.json dependencies to determine build order.

Features

Installation

npm i mono-vir

Usage

Note: You must first setup npm workspaces (use a workspaces property in your package.json).

mono-vir <command> <command-inputs>
  • <command>: the mono-vir command you wish to run.
  • <command-inputs>: inputs to the mono-vir command in the bullet above.

for-each

for-each will run a given bash command for each workspace package. The <command-inputs> are considered the bash command to run. Projects will be run in order based on their dependency graph.

Examples:

  • run type checking for each workspace package:
    npx mono-vir for-each tsc --noEmit
  • run "npm start" for each workspace package:
    npx mono-vir for-each npm start

for-each-async

for-each-async is exactly the same as for-each but it runs the command for each package in parallel.

Full Example

To see an example repo setup that this package works for, go to this package's test files: https://github.com/electrovir/mono-vir/tree/main/test-files/augment-vir

1.0.1

14 days ago

1.0.0

3 months ago

0.1.7

6 months ago

0.1.6

7 months ago

0.1.5

8 months ago

0.1.4

11 months ago

0.1.3

12 months ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.1

1 year ago

0.0.0

1 year ago