Project
Index
Constructors
constructor
Properties
readonlyroot
Methods
createWorkspaceMetadata
getPackage
Return the contents of the root
package.json
.Type parameters
getWorkspaceGlobs
Return a list of all workspace globs as they are configured in
package.json
orlerna.json
. Glob patterns will always use forward slashes, regardless of OS.
getWorkspacePackagePaths
Return a list of all workspace package paths, resolved against the file system. Absolute file paths are returned unless the
relative
option is true.
getWorkspacePackages
Return all
package.json
s across all workspaces and their packages. Once loaded, append workspace path metadata.Type parameters
staticnormalizeGlob
Normalize a glob pattern or path for use on POSIX and Windows machines.
Create a workspace metadata object composed of absolute file paths.