Package name. Asserts if not available. Must call init() first.
Is this package private?
Current version of the package.
Workspaces as defined in the package file, if you are using npm-style workspaces.
All of the child packages. Depending on opts.private, may not include private packages.
Delete the given fields from all packages.
Field names to delete.
Promise of this, for chaining.
Get the set of local dependencies. Which of the local pacakges does this package depend upon?
The names of the local packages.
The local packages we depend on.
Execute a command in the directory for this pacakge.
Options for spawn. {stdion: 'inherit'}
is recommended.
Shell command.
Results of execution when complete.
Execute the given script in the directories of this package and all sub-projects. If one script fails, execution stops.
Options for exec.
Shell script to run.
Array of execution results. If one execution fails, the last result will have "ok: false".
Initialize this package, and all of the sub-packages. Compute the dependency topology.
A promise that completes when all reads are done.
Save this package and any sub-package files, if they are dirty.
If true, add the changed files to the pending git commit.
Promise of this, for chaining.
Set the version of all sub-packages to the version of the root package.
Representation for the root package of the monorepo.