New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@turbo/workspaces

Package Overview
Dependencies
Maintainers
2
Versions
635
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turbo/workspaces

Tools for working with package managers

latest
Source
npmnpm
Version
2.9.5
Version published
Weekly downloads
644K
-8.09%
Maintainers
2
Weekly downloads
 
Created
Source

@turbo/workspaces

Easily convert your repo between package managers. Supports both non-monorepos and monorepos (using package manager workspaces).

CLI

Usage: @turbo/workspaces [options] [command]

Tools for working with package manager workspaces

Options:
  -v, --version                               output the current version
  -h, --help                                  display help for command

Commands:
  convert [options] [path] [package-manager]  Convert project between workspace managers
  summary [path]                              Display a summary of the specified project
  help [command]                              display help for command

Node API

Methods are also available via the Node API:

import { convert, getWorkspaceDetails } from "@turbo/workspaces";

// detect the package manager
const project = getWorkspaceDetails({
  root: process.cwd()
});

// if the package manager is not pnpm, convert to pnpm
if (project.packageManager !== "pnpm") {
  await convert({
    root: process.cwd(),
    to: "pnpm",
    options: {
      dry: false,
      install: true
    }
  });
}

For more information about Turborepo, visit turborepo.dev and follow us on X (@turborepo)!

FAQs

Package last updated on 07 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts