New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mup

Package Overview
Dependencies
Maintainers
1
Versions
155
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mup - npm Package Compare versions

Comparing version 0.3.0 to 0.4.0

3

lib/actions.js

@@ -94,3 +94,4 @@ var nodemiral = require('nodemiral');

} else {
var taskList = taskLists.deploy(bundlePath, self.config.env, deployCheckWaitTime, appName);
var taskList = taskLists.deploy(bundlePath, self.config.env,
deployCheckWaitTime, appName, self.config.binaryNpmModules);
taskList.run(self.sessions, afterCompleted);

@@ -97,0 +98,0 @@ }

@@ -51,2 +51,4 @@ var cjson = require('cjson');

mupJson.binaryNpmModules = mupJson.binaryNpmModules || {};
return mupJson;

@@ -53,0 +55,0 @@ } else {

@@ -57,3 +57,3 @@ var nodemiral = require('nodemiral');

exports.deploy = function(bundlePath, env, deployCheckWaitTime, appName) {
exports.deploy = function(bundlePath, env, deployCheckWaitTime, appName, binaryNpmModules) {
var taskList = nodemiral.taskList("Deploying " + appName + " App");

@@ -71,3 +71,3 @@

env: env || {},
appName: appName
appName: appName,
}

@@ -81,3 +81,4 @@ });

deployCheckWaitTime: deployCheckWaitTime || 10,
appName: appName
appName: appName,
binaryNpmModules: binaryNpmModules
}

@@ -84,0 +85,0 @@ });

{
"name": "mup",
"version": "0.3.0",
"version": "0.4.0",
"description": "Production Quality Meteor Deplouments",

@@ -5,0 +5,0 @@ "dependencies": {

@@ -22,2 +22,3 @@ # Meteor UP

- [Muliple Deployments](#multiple-deployments)
- [Binary NPM Modules](#binary-npm-modules)

@@ -183,1 +184,17 @@ ### Features

Now setup both projects and deploy as you need.
### Binary NPM Modules
If you are using binary npm modules either with meteor-npm or with some other package you can't deploy and run your app by default. That's because, binaries in the bundle are not compatible with your deployment environment.
So, you need to specify binary modules and which packages are then as shown below in your `mup.json`.
{
...
"binaryNpmModules": {
"meteor-package-name": ["npm-module1", "npm-module2"]
}
...
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc