Add repository.directory
field to package.json
#268
Labels
🏗 area/tools
This affects tooling
💪 phase/solved
Post is done
🐢 platform/node
This affects Node
👶 semver/patch
This is a backwards-compatible fix
🦋 type/enhancement
This is great to have
Initial checklist
Problem
I executed the
npm repo remark-lint
command on my terminal, but https://github.com/remarkjs/remark-lint/tree/main opens unexpectedly on my browser, instead of https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint.I think it useful to open https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint, like
@babel-core
.For example, when executing
npm repo @babel-core
, https://github.com/babel/babel/tree/master/packages/babel-core opens.We can say that to other packages in this mono repo, like
unified-lint-rule
.See also:
Solution
What about adding the
repository.directory
field topackage.json
of all the published packages, like@babel/core
?For example:
remark-lint/packages/remark-lint/package.json
Line 16 in b9d3848
See also:
Alternatives
I don't have any alternatives.
The text was updated successfully, but these errors were encountered: