GitShow/antfu/vscode-pnpm-catalog-lens
antfu

vscode-pnpm-catalog-lens

Show versions inline for PNPM/Yarn/Bun catalogfield

by antfu
pnpmpnpm-monorepopnpm-workspacevscode-extension
Star on GitHubForkWebsitenpm

TypeScript

256 stars24 forks12 contributorsQuiet · 3mo agoSince 2024v1.0.2MIT

Meet the team

See all 12 on GitHub →
antfu
antfu37 contributions
jinghaihan
jinghaihan4 contributions
Debbl
Debbl2 contributions
sxzz
sxzz2 contributions
Rascal-Coder
Rascal-Coder1 contribution
Daydreamer-riri
Daydreamer-riri1 contribution
9romise
9romise1 contribution
YangJonghun
YangJonghun1 contribution

Languages

View on GitHub →
TypeScript99.5%
JavaScript0.5%

Recent PRs & issues

Quiet · 1 in progress · Last activity 3mo ago
See all on GitHub →
benny123tw
feat: hover package info on catalog entries (pnpm / yarn / bun)OpenPR

Description Adds a hover provider that shows package description, latest version (with relative publish time), and homepage when you hover a catalog entry. Works across all three supported workspace formats: pnpm: yarn: bun: root (root-level / plus the legacy / shape) Uses pacote to fetch package metadata. Handles , scoped packages, auth tokens, and registry resolution natively. Thanks to @ikeyan for the suggestion. Linked Issues resolves #4 Additional context 1. Respects (same gate VS Code's built-in npm extension uses for hovers.) Off → no hover. 2. helper for relative date formatting is adapted from VS Code's npm extension date.ts Demo: https://github.com/user-attachments/assets/4b605690-111f-44fa-a3f5-e21517bd5354

benny123tw · 1mo ago
RYGRIT
Avoid error log for Bun workspaces without bun.lockOpenIssue

Describe the bug When opening a inside a Bun workspace, the extension logs: I tracked this down to , and disabling the extension makes the message go away. In my case the workspace is using Bun, but there is no / yet. VS Code is also configured with . I think this case should not be treated as an error. If no is present, maybe the extension can fall back to other Bun signals, for example: in the root Bun workspace/catalog fields in the root At minimum, this log probably should not be . Reproduction 1. Create a Bun workspace with catalogs in root 2. Do not generate / 3. Open a child package 4. Check the Debug Console System Info Used Package Manager bun Validations [x] Follow our Code of Conduct [x] Read the Contributing Guide. [x] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate. [x] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead. [x] The provided reproduction is a minimal reproducible of the bug. Contributions [x] I am willing to submit a PR to fix this issue [ ] I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)

RYGRIT · 2mo ago
benkeen
Support for Rush monoreposOpenIssue

Clear and concise description of the problem Rush stores the pnpm-workspace.yaml file (and other pkg managers' workspace files) in a custom location: common/temp. So it's not being picked up by this plugin. Suggested solution @antfu, would you accept a PR to add a new setting that would allow the script to look for the pnpm-workspace.yaml file in a custom location? It would be defaulted to monorepo root - so it wouldn't be a breaking change for anyone. Alternative _No response_ Additional context _No response_ Validations [x] Follow our Code of Conduct [x] Read the Contributing Guide. [x] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

benkeen · 3mo ago

Recent fixes

View closed PRs →
9romise
feat: detect package manager automatically with the vscode commandMergedPR

Please be aware that vibe-coding contributions are 🚫 STRICTLY PROHIBITED. We are humans behind these open source projects, trying hard to maintain good quality and a healthy community. Not only do vibe-coding contributions pollute the code, but they also drain A LOT of unnecessary energy and time from maintainers and toxify the community and collaboration. All vibe-coded, AI-generated PRs will be rejected and closed without further notice. In severe cases, your account might be banned organization-wide and reported to GitHub. PLEASE SHOW SOME RESPECT and do not do so. Before submitting the PR, please make sure you do the following: Read the Contributing Guide. Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate. Provide a description in this PR that addresses what the PR is solving and WHY**, or reference the issue that it solves (e.g. ). Ideally, include relevant tests that fail without this PR but pass with it. [x] Linked Issues fixes # Additional context

9romise · 3mo ago
9romise
perf: use workspace folder path as cache key for lookupMergedPR

Please be aware that vibe-coding contributions are 🚫 STRICTLY PROHIBITED. We are humans behind these open source projects, trying hard to maintain good quality and a healthy community. Not only do vibe-coding contributions pollute the code, but they also drain A LOT of unnecessary energy and time from maintainers and toxify the community and collaboration. All vibe-coded, AI-generated PRs will be rejected and closed without further notice. In severe cases, your account might be banned organization-wide and reported to GitHub. PLEASE SHOW SOME RESPECT and do not do so. Before submitting the PR, please make sure you do the following: Read the Contributing Guide. Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate. Provide a description in this PR that addresses what the PR is solving and WHY**, or reference the issue that it solves (e.g. ). Ideally, include relevant tests that fail without this PR but pass with it. [x] ~~Please merge #34 first.~~ Edit after merged: This PR also migrate manual package manager detection to the vscode command Linked Issues fixes # Additional context

9romise · 3mo ago
Debbl
feat: bun root catalogsMergedPR

support top level catalogs for bun. https://bun.com/docs/pm/catalogs [x] Linked Issues fixes # Additional context

Debbl · 5mo ago
Structured data for AI agents

Repository: antfu/vscode-pnpm-catalog-lens. Description: Show versions inline for PNPM/Yarn/Bun catalogfield Stars: 256, Forks: 24. Primary language: TypeScript. Languages: TypeScript (99.5%), JavaScript (0.5%). License: MIT. Homepage: https://marketplace.visualstudio.com/items?itemName=antfu.pnpm-catalog-lens Topics: pnpm, pnpm-monorepo, pnpm-workspace, vscode-extension. Latest release: v1.0.2 (5mo ago). Open PRs: 1, open issues: 4. Last activity: 3mo ago. Top contributors: antfu, jinghaihan, Debbl, sxzz, Rascal-Coder, Daydreamer-riri, 9romise, YangJonghun, njzydark, pacexy and others.

·@ofershap

Replace github.com with gitshow.dev