var childProcess = require('child_process');
var fs = require('fs');
var path = require('path');

function isMangarack(key) {
    return /^mangarack/.test(key);
}

fs.readdirSync(__dirname).forEach(function(folderName) {
    if (!isMangarack(folderName)) return;
    var fullPath = path.join(__dirname, folderName);
    childProcess.execSync('npm publish', {cwd: fullPath, stdio: [0, 1, 2]}});
});

var childProcess = require('child_process');
var fs = require('fs');
var path = require('path');

function isMangarack(key) {
    return /^mangarack/.test(key);
}

fs.readdirSync(__dirname).forEach(function(folderName) {
    if (!isMangarack(folderName)) return;
    var fullPath = path.join(__dirname, folderName);
    childProcess.execSync('npm publish', {cwd: fullPath, stdio: [0, 1, 2]});
});

Fix the npm update utility.
Fix the npm update utility.
