pmnpx
is a startup package for monorepo tool pmnps
Install this package in global can help you using pmnps more easier.
npm install pmnpx -g
Start it in any dir. It always find a nearest pmnps package to this dir.
- <system global>
- node_modules
- pmnps
- pmnpx
- homedir
- workspace
- project1
- node_modules
- pmnps
- packages
- platforms
- platA
- package.json
- package.json
- project2
- package.json
For example:
Normal usage.
// dir homedir/workspace/project1
$ pmnpx start
// use pmnps in homedir/workspace/project1/node_modules/pmnps
Deep usage
// dir homedir/workspace/project1/platforms/platA
$ pmnpx start
// use pmnps in homedir/workspace/project1/node_modules/pmnps
None usage
// dir homedir/workspace/project2
$ pmnpx start
// use pmnps in <system global>/node_modules/pmnps
The command detail is same with pmnps command.