MCPcopy Create free account
hub / github.com/plotly/plotly.js / _publishToNPM

Function _publishToNPM

tasks/sync_packages.js:310–319  ·  view source on GitHub ↗
(d, pkgPath)

Source from the content-addressed store, hash-verified

308}
309
310function _publishToNPM(d, pkgPath) {
311 return function(cb) {
312 if(process.env.DRYRUN) {
313 console.log('dry run, did not publish ' + d.name);
314 cb();
315 return;
316 }
317 exec('npm publish' + tag, {cwd: pkgPath}, cb).stdout.pipe(process.stdout);
318 };
319}

Callers 2

syncPartialBundlePkgFunction · 0.85
syncLocalesPkgFunction · 0.85

Calls 1

execFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…