Skip to content

Links to GitHub monorepos with .git are incorrect #2142

@lishaduck

Description

@lishaduck

Describe the bug

The link in the header to the github repo for https://npmx.dev/package/@astrojs/ts-plugin is incorrect, it links to https://github.com/withastro/astro.git/tree/HEAD/packages/language-tools/ts-plugin instead of https://github.com/withastro/astro.git/tree/HEAD/packages/language-tools/ts-plugin (note the extra .git). GitHub 404s on the former but not the latter.

Additional context

The package doesn't have a similar link on the npm page & passes publint, so I assume it's an npmx bug and not a package misconfiguration, which looks correct IIUC how npm wants it formatted.

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions