microsoft / microsoft/nodejstools
Dependency list in package explorer
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 1.8k
- Forks
- 355
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I have the following situation in node.js projects in Visual Studio.
Npm package manager shows all packages regardless of their state (npm-node-explorer shows all the sub-dependencies of all the packages), as shown in the picture

The thing I don't understand about this "issue" is the fact that in other projects I don't see those "Installed, but not explicitly listed in package.json" npm packages. Here's an example of a project:

I found out that the "problem" is that the "_requiredBy" tag written in package.json files inside the dependencies folders in node_modules is missing.
Is there a way to see only installed and listed in package.json packages?
Best regards.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the affected and working Node.js projects in Visual Studio, focusing on npm-node-explorer, package.json, and the dependency metadata under node_modules. Investigate how the missing _requiredBy tag affects the displayed dependency list; done means the explorer shows only packages explicitly listed in package.json.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js
- Domain
- developer-experience
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100