Giter Club home page Giter Club logo

mrpm's Introduction

mrpm

npm npm npm npm npm npm Build Status

MonoRepo Package Manager.
This is the CLI tool that runs the npm command for each monorepo projects.

Inspired by mariuslundgard/monorepo.

Why?

It was created to execute a simple npm command in order of dependencies.

Usage

install

npm i -D mrpm

Example of dir & package.json

pkgroot
+--packages
|  +--subpkg1
|  |  `--package.json
|  `--subpkg2
|     `--package.json
`--package.json

pkgroot/package.json

{
  //...
  "private": true,
  //...
  "scripts": {
    "test": "mrpm run test",
    "build": "mrpm run build",
    //...
  },
  //...
}

pkgroot/packages/subpkg1/package.json or
pkgroot/packages/subpkg2/package.json

{
  // If `private` is set to `true`, it will be excluded from `publish`
  // "private": true,
  //...
  "scripts": {
    "test": "...",
    "build": "...",
    //...
  },
  //...
}

Example of commands

  • npm install for each monorepo projects.
mrpm install
  • npm update for each monorepo projects.
mrpm update
  • npm publish for each monorepo projects.
mrpm publish
  • npm run script for each monorepo projects.
mrpm run xxx
  • npm prune for each monorepo projects.
mrpm prune

Options

  • --mrpm-max-workers=<num>

Specifies the maximum number of workers the worker-pool will spawn for running commands.

Example of Deploy with Travis CI.

files

  • package.json
  • .travis.yml
  • deploy.sh

package.json

{
  //...
  "private": true,
  //...
  "scripts": {
    //...
    "publish:all": "mrpm publish",
    //...
  },
  "devDependencies": {
    "mrpm": "x.x.x"
  }
}

.travis.yml

language: node_js
node_js:
  - "node"

deploy:
  provider: script
  script: sh $TRAVIS_BUILD_DIR/deploy.sh

deploy.sh

#!/usr/bin/env bash

npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
npm run publish:all

mrpm's People

Contributors

greenkeeper[bot] avatar ota-meshi avatar renovate-bot avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

kevnz

mrpm's Issues

An in-range update of vue is breaking the build 🚨

There have been updates to the vue monorepo:

    • The dependency vue was updated from 2.6.1 to 2.6.2.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

This monorepo update includes releases of one or more dependencies which all belong to the vue group definition.

vue is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Release Notes for v2.6.2

Improvements

  • expose all scoped slots on this.$slots. 0129b0e, closes #9421

    • This ensures normal slots using the new v-slot syntax can still be accessed on this.$slots.

Bug Fixes

  • always set transformed model value on attrs b034abf (Fixes v-select issue in Vuetify)
  • restore slot-scope + v-if behavior 44a4ca3, closes #9422
Commits

The new version differs by 5 commits.

  • ee9b684 build: release 2.6.2
  • 2279509 build: build 2.6.2
  • 44a4ca3 fix: restore slot-scope + v-if behavior
  • 0129b0e feat: expose all scoped slots on this.$slots
  • b034abf fix: always set transformed model value on attrs

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of vue-cheetah-grid is breaking the build 🚨


☝️ Important announcement: Greenkeeper will be saying goodbye 👋 and passing the torch to Snyk on June 3rd, 2020! Find out how to migrate to Snyk and more at greenkeeper.io


The dependency vue-cheetah-grid was updated from 0.19.2 to 0.20.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

vue-cheetah-grid is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Release Notes for v0.20.0

⭐️ Features

  • #216 Added disabled option to grid.

🐛 Bugfixes

  • #215 Fixed bug that scroll was returned to focus by shift key.
  • #215 Fixed bug that input of type="number" cannot be started input with a minus sign.
FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of vue-cheetah-grid is breaking the build 🚨

The dependency vue-cheetah-grid was updated from 0.8.1 to 0.8.2.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

vue-cheetah-grid is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Release Notes for 0.8.2

Features

  • #108 Added the theme property to vue-cheetah-grid.

Bugfixes

  • #105 Fixed: redrawing is done when column width is reduced.
FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Action required: Greenkeeper could not be activated 🚨

🚨 You need to enable Continuous Integration on all branches of this repository. 🚨

To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.

Since we didn’t receive a CI status on the greenkeeper/initial branch, it’s possible that you don’t have CI set up yet. We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.

If you have already set up a CI for this repository, you might need to check how it’s configured. Make sure it is set to run on all new branches. If you don’t want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/.

Once you have installed and configured CI on this repository correctly, you’ll need to re-trigger Greenkeeper’s initial pull request. To do this, please delete the greenkeeper/initial branch in this repository, and then remove and re-add this repository to the Greenkeeper App’s white list on Github. You'll find this list on your repo or organization’s settings page, under Installed GitHub Apps.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.