Skip to main content

tools-workspaces

@rnx-kit/tools-workspaces is a collection of tools for working with workspaces.

It currently supports:

CategoryFunctionDescription
-findWorkspacePackages()Returns a list of all packages declared under workspaces.
-findWorkspacePackagesSync()Returns a list of all packages declared under workspaces synchronously.
-findWorkspaceRoot()Returns the root of the workspace; undefined if not a workspace.
-findWorkspaceRootSync()Returns the root of the workspace synchronously; undefined if not a workspace.