Skip to content

custom npm registry packages are not highlighting in package.json #5

@sculpt0r

Description

@sculpt0r

Summary

In package.json it is possible to highlight package description and it's newest version. However this does not work for packages installed from custom configured npm registries.

Description

Registry defined in https://docs.npmjs.com/cli/v11/configuring-npm/npmrc or https://bun.sh/docs/install/registries are not respected and the highlight does not appear.

Steps to reproduce:

  1. Define custom registry (eg. setup verdaccio localy)
  2. Publish custom package to registry from point 1 (use name that is not in npm)
  3. Instal package in a project
  4. Try to highlight package in package.json (perform editor:hover zed command)

Expected Behavior:
Description and latest version of package from custom npm registry should appear as it happens for packages from npm

Actual Behavior:
Nothing happened: no pop up shows

Zed Version and System Specs

Zed: v0.196.6 (Zed)
OS: macOS 15.5.0
Memory: 32 GiB
Architecture: aarch64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions