1.3.1 • Published 3 years ago

mpn.cli v1.3.1

Weekly downloads
1
License
ISC
Repository
github
Last release
3 years ago

mpn

Quick start

Install

npm i -g mpn.cli

Usage

cd ~/Projects/example # go to project root
mpn link ~/Projects/example-module # link example-module to current package
mpn start # choose scripts to run dev process or simply use "npm run ..."

# Or you can use autoresolve module

mpn config set resolve=~/Projects 
cd ~/Projects/example
mpn link example-module # now folder path resolves automaticaly
mpn start

List of available commands

mpn link [package_name_or_path] - Link package to current
      -l - List all linked packages

mpn unlink [package_name_or_path|--all] - Unlink package from current
  --all - unlink all

mpn start - Run build process in current package and all linked packages.

mpn deps-diff path_to_package [path_to_package - default to 'CWD'] - Get dependencies difference between given packages.

mpn config [get|set] [path][=value]
  Available options:
  - resolve - Path to folder(s) where mpn will looks for modules by names

mpn pack [package_name_or_path] - Pack and install package as file

mpn completion [setup|cleanup] - initialize completion
  - Support 'zsh', 'bash', 'fish'
  - Requires 'bash-completion' package for bash
  - For 'bash' users on MacOS see https://davidalger.com/posts/bash-completion-on-os-x-with-brew/

mpn help - for help
1.3.1

3 years ago

1.3.0

5 years ago

1.2.3

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.0

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago