package-json-type
    Preparing search index...

    Interface IWorkspaces

    Workspaces configuration for monorepos. Allows defining glob patterns for workspace packages.

    {
    "workspaces": {
    "packages": ["packages/*"],
    "nohoist": ["**/react-native"]
    }
    }
    interface IWorkspaces {
        nohoist?: string[];
        packages?: string[];
    }
    Index

    Properties

    Properties

    nohoist?: string[]

    Packages that should not be hoisted to the root node_modules (Yarn only).

    packages?: string[]

    Glob patterns of workspace packages.