@lerna/run
Advanced tools
Comparing version 3.0.0-beta.9 to 3.0.0-beta.10
@@ -6,2 +6,19 @@ # Change Log | ||
<a name="3.0.0-beta.10"></a> | ||
# [3.0.0-beta.10](https://github.com/lerna/lerna/compare/v3.0.0-beta.9...v3.0.0-beta.10) (2018-03-27) | ||
### Features | ||
* **commands:** Delay require of command instantiation ([a1284f3](https://github.com/lerna/lerna/commit/a1284f3)) | ||
### BREAKING CHANGES | ||
* **commands:** The default export of command packages is now a factory, not the subclass (which is now a named export). | ||
<a name="3.0.0-beta.9"></a> | ||
@@ -8,0 +25,0 @@ # [3.0.0-beta.9](https://github.com/lerna/lerna/compare/v3.0.0-beta.8...v3.0.0-beta.9) (2018-03-24) |
"use strict"; | ||
const filterable = require("@lerna/filter-options"); | ||
const RunCommand = require("."); | ||
@@ -45,3 +44,3 @@ /** | ||
exports.handler = function handler(argv) { | ||
return new RunCommand(argv); | ||
return require(".")(argv); | ||
}; |
@@ -11,2 +11,8 @@ "use strict"; | ||
module.exports = factory; | ||
function factory(argv) { | ||
return new RunCommand(argv); | ||
} | ||
class RunCommand extends Command { | ||
@@ -119,2 +125,2 @@ get requiresGit() { | ||
module.exports = RunCommand; | ||
module.exports.RunCommand = RunCommand; |
{ | ||
"name": "@lerna/run", | ||
"version": "3.0.0-beta.9", | ||
"version": "3.0.0-beta.10", | ||
"description": "TODO", | ||
@@ -37,4 +37,4 @@ "keywords": [ | ||
"dependencies": { | ||
"@lerna/batch-packages": "^3.0.0-beta.1", | ||
"@lerna/command": "^3.0.0-beta.9", | ||
"@lerna/batch-packages": "^3.0.0-beta.10", | ||
"@lerna/command": "^3.0.0-beta.10", | ||
"@lerna/filter-options": "^3.0.0-beta.9", | ||
@@ -46,3 +46,3 @@ "@lerna/npm-run-script": "^3.0.0-beta.0", | ||
}, | ||
"gitHead": "70528f23cad0186fdf7529fe32148cc1eff21272" | ||
"gitHead": "c52f8713303b246e6d701950cd78ca6f9bd55503" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7427
138