No description
Find a file
2020-06-18 16:05:11 +02:00
bin Closes #7 2020-03-02 12:41:20 +02:00
commands Closes #7 2020-03-02 12:41:20 +02:00
.gitignore Initial Creation of repository and basic repo management functions. 2019-09-09 12:07:10 +02:00
.npmrc Changing package name back, because I have no idea what I'm doing apparently. 2019-09-09 13:24:07 +02:00
package-lock.json Bump acorn from 7.0.0 to 7.1.1 2020-03-14 03:29:45 +00:00
package.json Bumping version 2020-01-27 14:40:30 +02:00
README.md Add boostrap and clean commands 2019-09-12 17:01:10 +02:00

Monomono

Monomono is a multi-package manager for nodejs projects.

Currently the project only supports nodejs projects in a mono-repo format.

The goal is to make it as extensible and customizable as possible to work for any project setup or environement.

Setup

Install package.

npm install monomono

Add script to package.json

"scripts": {
  "mono": "mono"
}

Usage

init

Will initialize a default mono.json config file and track all packages in the ./packages directory.

npm run mono init

sync

This will sync all version numbers in managed packages. If package two realies on package one and you update package one, this will update packages two's dependencies and automatically bump the version as a patch. This will be done for the entire dependency tree.

npm run mono sync

bootstrap

Run bootstrap command in all pacakges. In the case of node pacakges, it will run npm install.

npm run mono bootstrap

clean

Runs clean command in all packages. In the case of node pacakges, it will run rm -rf node_modules.

npm run mono clean

add

Tells mono to add a package to the managed packages list.

npm run mono add <directory>

remove

Removes a package from the managed packages list.

npm run mono remove <directory>

publish

Currently this is a node specific command. It will execute npm publish in all managed packages.

npm run mono publish

exec

Executes the given command line string in all managed packages.

npm run mono exec '<my command>'