@rnx-kit/tools-workspaces
TypeScript icon, indicating that this package has built-in type declarations

0.2.2 • Public • Published

@rnx-kit/tools-workspaces

Build npm version

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

It currently supports:

Category Type Name Description
types WorkspacesInfo Helper interface that caches results in-between calls and can test if a package is in the workspace without having to load all the packages (in most cases)
Category Function Description
- 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.

Readme

Keywords

none

Package Sidebar

Install

npm i @rnx-kit/tools-workspaces

Weekly Downloads

27,263

Version

0.2.2

License

MIT

Unpacked Size

46.3 kB

Total Files

26

Last publish

Collaborators

  • jasonvmorse
  • acoates
  • rnbot
  • tido64
  • rnsdkbot
  • hansenyy
  • kelset