Closed navarroaxel closed 2 years ago
Note to the maintainers: you can change the Fork pull request workflows from outside collaborators
setting here https://github.com/unjs/defu/settings/actions
from Require approval for first-time contributors
to Require approval for first-time contributors who are new to GitHub
, to skip the requirement to approve the run for the GH action to non-new GH users.
Thanks for PR @navarroaxel. But as you can spot in the linked docs, shortcut syntax is also supported and I prefer smaller package.json to be shipped:
Thanks for PR @navarroaxel. But as you can spot in the linked docs, shortcut syntax is also supported and I prefer smaller package.json to be shipped:
@pi0 then why the repository
link is not listed in the npm page for this package? :thinking:
Maybe the homepage link is required to display the repository link. I always see both links.
I'm aware. Sadly this is a recent UI change that stopped npm from showing using shorthand syntax. And wasn't requiring homepage either. Let me do a quick research if it is an intentional change by npm and if it is, we need to update dozens of unjs repos at least :}
Hi @navarroaxel. I think finally npm folks resolved the issue to show homepage with repository
shorthand field. It fixed after recent npm publish.
BTW thanks for caring to make this <3
Fix the repository handling in
package.json
based on the official doc page: https://docs.npmjs.com/cli/v6/configuring-npm/package-json#repositoryAdd the homepage link to the repository based on https://docs.npmjs.com/cli/v6/configuring-npm/package-json#homepage