You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
├── fixtures/ # Test fixtures (workspace scenarios)
104
108
└── utils/ # Utility tests
105
109
```
106
110
111
+
### Key concepts
112
+
113
+
-**Extractor**– Parses a supported file (`package.json`, `pnpm-workspace.yaml`, `.yarnrc.yml`) and extracts dependency information with AST ranges. Each file format has its own extractor in `src/core/extractors/`.
114
+
-**WorkspaceContext**– Holds per-workspace-folder state: detected package manager, resolved catalogs, and memoized dependency info. Created lazily and invalidated when workspace-level files change.
115
+
-**ResolvedDependencyInfo**– A dependency with its protocol resolved (e.g., `catalog:` → actual version, `npm:alias@version` → underlying package). Providers consume resolved dependencies instead of raw AST data.
116
+
-**Provider**– VS Code language feature (hover, completion, diagnostics, etc.) that operates on resolved dependencies.
117
+
107
118
## Code style
108
119
109
120
When committing changes, try to keep an eye out for unintended formatting updates. These can make a pull request look noisier than it really is and slow down the review process. Sometimes IDEs automatically reformat files on save, which can unintentionally introduce extra changes.
@@ -122,7 +133,7 @@ If you want to get ahead of any formatting issues, you can also run `pnpm lint:f
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@
27
27
28
28
-**Hover Information**– Quick links to package details and documentation on [npmx.dev](https://npmx.dev), with provenance verification status.
29
29
-**Version Completion**– Autocomplete package versions with provenance filtering and prerelease exclusion support.
30
+
-**Workspace-Aware Resolution**– Dependencies in `package.json`, `pnpm-workspace.yaml`, and `.yarnrc.yml` are resolved from a shared workspace context, including catalogs and workspace references.
30
31
-**Diagnostics**
31
32
- Deprecated package warnings with deprecation messages
0 commit comments