Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions packages/angular/ssr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@
"ssr",
"universal"
],
"repository": {
"type": "git",
"url": "git+https://github.com/angular/angular-cli.git"
},
Comment on lines +11 to +14
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

In a monorepo, it is recommended to include the directory property within the repository object for sub-packages. This allows tools and registries (like npmjs.com) to correctly link to the source code of the specific package.

Suggested change
"repository": {
"type": "git",
"url": "git+https://github.com/angular/angular-cli.git"
},
"repository": {
"type": "git",
"url": "git+https://github.com/angular/angular-cli.git",
"directory": "packages/angular/ssr"
},

"author": "Angular Authors",
"license": "MIT",
"bugs": {
"url": "https://github.com/angular/angular-cli/issues"
},
"homepage": "https://github.com/angular/angular-cli",
"ng-add": {
"save": "dependencies"
},
Expand Down
Loading