Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Not all packages' package.json files include repository field + directory #3998

@gnidan

Description

@gnidan

NPM respects the repository field, and it allows us to specify subdirectory, i.e. for monorepo purposes!

All packages in this monorepo should probably have this populated, e.g.:

{
  "name": "@truffle/core",
  /* ... */
  "repository": {
    "type": "git",
    "url": "https://github.com/trufflesuite/truffle.git",
    "directory": "packages/core"
  },
  /* ... */
}

(Raised by @haltman-at here)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions