Skip to content

Add repository.directory to each package.json #2260

Open
@aaronadamsCA

Description

@aaronadamsCA

Please consider adding repository.directory to your package.json files:

https://docs.npmjs.com/cli/v11/configuring-npm/package-json#repository

If the package.json for your package is not in the root directory (for example if it is part of a monorepo), you can specify the directory in which it lives:

{
  "repository": {
    "type": "git",
    "url": "git+https://github.com/npm/cli.git",
    "directory": "workspaces/libnpmpublish"
  }
}

I think this should help Renovate pick up each package's CHANGELOG.md, which would make reviewing new point releases a lot easier. Thanks!

Metadata

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