nestjs-components icon indicating copy to clipboard operation
nestjs-components copied to clipboard

(chore) improve the `repository` entry on `package.json` to follow the monorepo structure

Open micalevisk opened this issue 3 years ago • 1 comments

For instance, if you change this:

https://github.com/algoan/nestjs-components/blob/f58e1812b9e1d9b55e54321b47e146fd8f330e44/packages/pagination/package.json#L13-L16

to this:

  "repository": {
    "url": "https://github.com/algoan/nestjs-components",
    "directory": "packages/pagination"
  },

then the repository link on NPM website will bring us to the ./packages/pagination dir instead of the root of the project

micalevisk avatar Mar 05 '22 17:03 micalevisk

Hey @micalevisk, thank you for your suggestion! Indeed, this is will be better on npm

ccoeurderoy avatar Mar 07 '22 09:03 ccoeurderoy