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.
Delete 0 or more fields from this file.
List of fields to delete.
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.
Read file in preparation for further processing. Must be called and awaited, before anything else.
This, for chaining.
Save the file if it is dirty.
If true, also perform a "git add" on this file after saving.
This, for chaining.
Representation of a single package.json file.
Example