Optional
A set of key value pairs that will only be used as packageJson values when not found in the workspace packageJson
{} Copy
{}
A list of packageJson keys from the workspace root package.json to autofill in built artifacts
Keys already present in the package's packageJson file will take precendence if they are objects or arrays, otherwise overwritten
DEFAULT_AUTO_METADATA_KEYS_FROM_WORKSPACE - ["license", "author", "homepage", "bugs", "keywords", "config", "engines"] Copy
DEFAULT_AUTO_METADATA_KEYS_FROM_WORKSPACE - ["license", "author", "homepage", "bugs", "keywords", "config", "engines"]
An optional Logger target.
undefined Copy
undefined
Keys that you must define yourself. This plugin can't figure them out for you, but it can add their keys as empty values into the source packageJson. When one is missing or empty, the build is aborted!
DEFAULT_AUTO_METADATA_MANDATORY_KEYS - ["name", "description", "version"] Copy
DEFAULT_AUTO_METADATA_MANDATORY_KEYS - ["name", "description", "version"]
A set of key value pairs that will always be used and overwrite everything else
AutoMetadata
A set of key value pairs that will only be used as packageJson values when not found in the workspace packageJson