Socket
Book a DemoInstallSign in
Socket

mgp

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mgp

Meteor git packages

latest
Source
npmnpm
Version
1.3.0
Version published
Maintainers
1
Created
Source

Meteor Git Packages Build Status

This tools helps you share private meteor packages.

Getting Started

  • npm install -g mgp

  • Add git-packages.json to the root of your project.

{
  "my:private-package": {
    "git": "git@github.com:my/private-packages.git",
    "version": "commithashortag",
    "path": "optional/directory/path"
  },
  "my:other-private-package": {
    "git": "git@github.com:my/private-packages.git",
    "version": "commithashortag"
  },
  "my:yet-another-private-package": {
    "git": "git@github.com:my/private-packages.git",
    "branch": "dev"
  }
}
  • Run mgp in your meteor directory to copy the packages from github or mgp my:private-package to copy an individual package.

You can also run mgp --https to convert github ssh urls to https. This is useful for using .netrc on build machines.

  • Add local-packages.json to the root of your project:
{
  "my:private-package": {
    "path": "~/path/to/private-package"
  },
  "my:other-private-package": {
    "path": "relative/path/to/other-private-package"
  }
}
  • Run mgp link in your meteor directory to symlink your local packages or mgp link my:private-package to symlink an individual package.

Keywords

meteor

FAQs

Package last updated on 08 Nov 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts