lerna-schema.json has incorrect defintion for "contents" option (should be type: "string") #466
Closed
Description
Discussed in #459
Originally posted by chandu-ex January 25, 2023
As per lerna documentation @ https://github.com/lerna/lerna/blob/main/commands/publish/README.md#--contents-dir the expected value is a directory name (e.g: dist, build etc.)
But in the lerna-schema.json definition of this @lerna-lite/cli package (https://github.com/lerna-lite/lerna-lite/blob/main/packages/cli/schemas/lerna-schema.json#L1626) the definition is marked as boolean
Shouldn't this be a string type i.e.
"contents": {
"type": "string",
"description": "For `lerna bootstrap`, `lerna link`, and `lerna publish`, the subdirectory to use as the source of any links. Must apply to ALL packages."
}
Metadata
Assignees
Labels
No labels