Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support npm workspaces #104

Open
mikavilpas opened this issue Oct 9, 2023 · 0 comments
Open

Support npm workspaces #104

mikavilpas opened this issue Oct 9, 2023 · 0 comments

Comments

@mikavilpas
Copy link

I have an npm project that uses npm workspaces:

# workspace root contains the package file and the lock file
/package.json
/package-lock.json

# a workspace ("package") contains the package file only
/packages/my-package/package.json

Currently if I open my workspace root /, I see npm-gui shows the packages that are installed at the root level. This is as expected.

If I open my workspace at /packages/my-package, it shows the packages that are installed in that workspace, but the installed versions are reported as "missing".


To properly support workspaces, I think these things would be good:

  • when viewing /, provide a way to navigate to the workspaces (via a link)
  • similarly, when viewing /packages/my-workspace, provide a way to navigate back to the package root
  • correctly show the installed versions for workspace packages (they are listed in the root package-lock.json)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant