Skip to content

lerna-schema.json has incorrect defintion for "contents" option (should be type: "string") #466

Closed
@ghiscoding

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions