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

workspace-tools

Package Overview
Dependencies
Maintainers
2
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

workspace-tools - npm Package Compare versions

Comparing version 0.8.0 to 0.9.0

lib/workspaces/WorkspaceManager.d.ts

17

CHANGELOG.json

@@ -5,3 +5,18 @@ {

{
"date": "Fri, 19 Jun 2020 17:53:47 GMT",
"date": "Fri, 17 Jul 2020 19:15:58 GMT",
"tag": "workspace-tools_v0.9.0",
"version": "0.9.0",
"comments": {
"minor": [
{
"comment": "Add a new env variable to allow one to pick the preferred workspace manager",
"author": "kchau@microsoft.com",
"commit": "844da12e2501036e36cc5108a340620dabbd3d3a",
"package": "workspace-tools"
}
]
}
},
{
"date": "Fri, 19 Jun 2020 17:53:56 GMT",
"tag": "workspace-tools_v0.8.0",

@@ -8,0 +23,0 @@ "version": "0.8.0",

# Change Log - workspace-tools
This log was last generated on Fri, 19 Jun 2020 17:53:47 GMT and should not be manually modified.
This log was last generated on Fri, 17 Jul 2020 19:15:58 GMT and should not be manually modified.
<!-- Start content -->
## 0.9.0
Fri, 17 Jul 2020 19:15:58 GMT
### Minor changes
- Add a new env variable to allow one to pick the preferred workspace manager (kchau@microsoft.com)
## 0.8.0
Fri, 19 Jun 2020 17:53:47 GMT
Fri, 19 Jun 2020 17:53:56 GMT

@@ -11,0 +19,0 @@ ### Minor changes

@@ -10,3 +10,13 @@ "use strict";

const rushWorkspaces_1 = require("./rushWorkspaces");
const workspaceGetter = {
yarn: yarnWorkspaces_1.getYarnWorkspaces,
pnpm: pnpmWorkspaces_1.getPnpmWorkspaces,
rush: rushWorkspaces_1.getRushWorkspaces,
};
const preferred = process.env
.PREFERRED_WORKSPACE_MANAGER;
function getWorkspaces(cwd) {
if (preferred && workspaceGetter[preferred]) {
return workspaceGetter[preferred](cwd);
}
const yarnLockPath = find_up_1.default.sync("yarn.lock", { cwd });

@@ -13,0 +23,0 @@ if (yarnLockPath) {

2

package.json
{
"name": "workspace-tools",
"version": "0.8.0",
"version": "0.9.0",
"license": "MIT",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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