{"id":15982285,"url":"https://github.com/ota-meshi/mrpm","last_synced_at":"2025-08-25T13:18:39.280Z","repository":{"id":32402809,"uuid":"130689508","full_name":"ota-meshi/mrpm","owner":"ota-meshi","description":"npm package","archived":false,"fork":false,"pushed_at":"2024-12-17T19:07:39.000Z","size":195,"stargazers_count":3,"open_issues_count":11,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-27T05:24:29.813Z","etag":null,"topics":["cli","monorepo","nodejs","npm","package"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/mrpm","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ota-meshi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-23T11:56:46.000Z","updated_at":"2022-02-02T07:13:41.000Z","dependencies_parsed_at":"2024-03-24T16:25:01.063Z","dependency_job_id":"d2d785cf-adc3-4254-9f4e-2393549051d7","html_url":"https://github.com/ota-meshi/mrpm","commit_stats":{"total_commits":48,"total_committers":5,"mean_commits":9.6,"dds":"0.35416666666666663","last_synced_commit":"c9f9e4a9d4abf8a267abb57f166482c9c9566da4"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ota-meshi%2Fmrpm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ota-meshi%2Fmrpm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ota-meshi%2Fmrpm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ota-meshi%2Fmrpm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ota-meshi","download_url":"https://codeload.github.com/ota-meshi/mrpm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243806032,"owners_count":20350773,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","monorepo","nodejs","npm","package"],"created_at":"2024-10-08T01:02:16.100Z","updated_at":"2025-03-16T07:31:37.963Z","avatar_url":"https://github.com/ota-meshi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mrpm\n\n[![npm](https://img.shields.io/npm/l/mrpm.svg)](https://www.npmjs.com/package/mrpm)\n[![npm](https://img.shields.io/npm/v/mrpm.svg)](https://www.npmjs.com/package/mrpm)\n[![npm](https://img.shields.io/npm/dw/mrpm.svg)](http://www.npmtrends.com/mrpm)\n[![npm](https://img.shields.io/npm/dm/mrpm.svg)](http://www.npmtrends.com/mrpm)\n[![npm](https://img.shields.io/npm/dy/mrpm.svg)](http://www.npmtrends.com/mrpm)\n[![npm](https://img.shields.io/npm/dt/mrpm.svg)](http://www.npmtrends.com/mrpm)\n[![Build Status](https://travis-ci.org/ota-meshi/mrpm.svg?branch=master)](https://travis-ci.org/ota-meshi/mrpm)\n\nMonoRepo Package Manager.  \nThis is the CLI tool that runs the npm command for each monorepo projects.\n\nInspired by [mariuslundgard/monorepo](https://github.com/mariuslundgard/monorepo).\n\n## Why?\n\nIt was created to execute a simple npm command in order of dependencies.\n\n## Usage\n### install\n\n```bash\nnpm i -D mrpm\n```\n\n### Example of dir \u0026 package.json\n\n```\npkgroot\n+--packages\n|  +--subpkg1\n|  |  `--package.json\n|  `--subpkg2\n|     `--package.json\n`--package.json\n```\n\n`pkgroot/package.json`\n\n```json5\n{\n  //...\n  \"private\": true,\n  //...\n  \"scripts\": {\n    \"test\": \"mrpm run test\",\n    \"build\": \"mrpm run build\",\n    //...\n  },\n  //...\n}\n```\n\n`pkgroot/packages/subpkg1/package.json` or  \n`pkgroot/packages/subpkg2/package.json` \n\n```json5\n{\n  // If `private` is set to `true`, it will be excluded from `publish`\n  // \"private\": true,\n  //...\n  \"scripts\": {\n    \"test\": \"...\",\n    \"build\": \"...\",\n    //...\n  },\n  //...\n}\n```\n\n### Example of commands\n\n* `npm install` for each monorepo projects.\n\n```bash\nmrpm install\n```\n\n* `npm update` for each monorepo projects.\n\n```bash\nmrpm update\n```\n\n* `npm publish` for each monorepo projects.\n\n```bash\nmrpm publish\n```\n\n* `npm run` script for each monorepo projects.\n\n```bash\nmrpm run xxx\n```\n\n* `npm prune` for each monorepo projects.\n\n```bash\nmrpm prune\n```\n\n### Options\n\n* `--mrpm-max-workers=\u003cnum\u003e`\n\nSpecifies the maximum number of workers the worker-pool will spawn for running commands.\n\n## Example of Deploy with [Travis CI](https://travis-ci.org/).\n\n### files\n\n* `package.json`\n* `.travis.yml`\n* `deploy.sh`\n\n### package.json\n\n```json5\n{\n  //...\n  \"private\": true,\n  //...\n  \"scripts\": {\n    //...\n    \"publish:all\": \"mrpm publish\",\n    //...\n  },\n  \"devDependencies\": {\n    \"mrpm\": \"x.x.x\"\n  }\n}\n```\n\n### .travis.yml\n\n```yml\nlanguage: node_js\nnode_js:\n  - \"node\"\n\ndeploy:\n  provider: script\n  script: sh $TRAVIS_BUILD_DIR/deploy.sh\n```\n\n### deploy.sh\n\n```sh\n#!/usr/bin/env bash\n\nnpm config set //registry.npmjs.org/:_authToken $NPM_TOKEN\nnpm run publish:all\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fota-meshi%2Fmrpm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fota-meshi%2Fmrpm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fota-meshi%2Fmrpm/lists"}