Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support monorepos / repository.directory #279

Open
tunnckoCore opened this issue Oct 13, 2019 · 0 comments
Open

support monorepos / repository.directory #279

tunnckoCore opened this issue Oct 13, 2019 · 0 comments

Comments

@tunnckoCore
Copy link

tunnckoCore commented Oct 13, 2019

Currently, to support that we need to pass a full location link to package (e.g. https://github.com/user/repo/packages/foobar to the repository field, which isn't recommended in general.

There's also another reason for me to use the repository field that way, and it's because npm's package page doesn't respect repository.directory too (the "repository" link).

The only left possible workaround is to put it on the homepage but if you want to have a website there it's not an option.

For this purpose, we can instead use package-json or such package, to get the current package.json for a package.

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

No branches or pull requests

1 participant