Skip to content

Links to GitHub monorepos with .git are incorrect #2142

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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