Socket
Socket
Sign inDemoInstall

@lerna/project

Package Overview
Dependencies
100
Maintainers
2
Versions
76
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.1.8 to 5.2.0

23

index.js

@@ -22,2 +22,3 @@ "use strict";

* @property {string[]} packages
* @property {boolean} useNx
* @property {boolean} useWorkspaces

@@ -113,3 +114,3 @@ * @property {string} version

dedent`
Yarn workspaces need to be defined in the root package.json.
Workspaces need to be defined in the root package.json.
See: https://github.com/lerna/lerna/blob/master/commands/bootstrap/README.md#--use-workspaces

@@ -123,3 +124,21 @@ `

return this.config.packages || [Project.PACKAGE_GLOB];
if (this.manifest.get("workspaces")) {
log.warn(
"EWORKSPACES",
dedent`
Workspaces exist in the root package.json, but Lerna is not configured to use them.
To fix this and have Lerna use workspaces to resolve packages, set \`useWorkspaces: true\` in lerna.json.
`
);
}
if (this.config.packages) {
return this.config.packages;
}
log.warn(
"EPACKAGES",
`No packages defined in lerna.json. Defaulting to packages in ${Project.PACKAGE_GLOB}`
);
return [Project.PACKAGE_GLOB];
}

@@ -126,0 +145,0 @@

8

package.json
{
"name": "@lerna/project",
"version": "5.1.8",
"version": "5.2.0",
"description": "Lerna project configuration",

@@ -35,4 +35,4 @@ "keywords": [

"dependencies": {
"@lerna/package": "5.1.8",
"@lerna/validation-error": "5.1.8",
"@lerna/package": "5.2.0",
"@lerna/validation-error": "5.2.0",
"cosmiconfig": "^7.0.0",

@@ -49,3 +49,3 @@ "dedent": "^0.7.0",

},
"gitHead": "c567a29d352bc97dfc4e3dc5dd0799fc35db2026"
"gitHead": "4f43ba15b0024f87ec04c68522c78bcd1edbc185"
}
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc