Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lerna/run-lifecycle

Package Overview
Dependencies
Maintainers
4
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lerna/run-lifecycle - npm Package Compare versions

Comparing version 3.0.0-beta.0 to 3.0.0-rc.0

CHANGELOG.md

7

package.json
{
"name": "@lerna/run-lifecycle",
"version": "3.0.0-beta.0",
"description": "TODO",
"version": "3.0.0-rc.0",
"description": "An internal Lerna tool",
"keywords": [

@@ -33,6 +33,7 @@ "lerna",

"dependencies": {
"@lerna/npm-conf": "^3.0.0-rc.0",
"npm-lifecycle": "^2.0.0",
"npmlog": "^4.1.2"
},
"gitHead": "349b9c765bcbf38988d1fcd48313422417a04c8f"
"gitHead": "1ab24c152d3ff5c2b9453bcaafeb4b5e432b2410"
}
# `@lerna/run-lifecycle`
> description TODO
> An internal Lerna tool
## Usage
TODO
You probably shouldn't, at least directly.
Install [lerna](https://www.npmjs.com/package/lerna) for access to the `lerna` CLI.

@@ -5,4 +5,6 @@ "use strict";

const npmLifecycle = require("npm-lifecycle");
const npmConf = require("@lerna/npm-conf");
module.exports = runLifecycle;
module.exports.createRunner = createRunner;

@@ -38,1 +40,15 @@ function runLifecycle(pkg, stage, opts) {

}
function createRunner(commandOptions) {
const cfg = npmConf(commandOptions);
return (pkg, stage) => {
if (pkg.scripts && pkg.scripts[stage]) {
return runLifecycle(pkg, stage, cfg).catch(err => {
log.error("lifecycle", `error running ${stage} in ${pkg.name}\n`, err.stack || err);
});
}
return Promise.resolve();
};
}
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