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

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

Closed
gnidan opened this issue Apr 24, 2021 · 2 comments
Closed

Comments

@gnidan
Copy link
Contributor

gnidan commented Apr 24, 2021

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)

@Rishabhraghwendra18
Copy link

Hi . First timer this side . Is this issue open ?

@haltman-at
Copy link
Contributor

Oops, no, this should be closed now! Thanks for catching this!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants