Summary
Verify and document CVE Lite CLI compatibility with NX workspaces, and fix any gaps found.
NX is a widely used monorepo build system for JavaScript and TypeScript projects. NX workspaces come in two forms:
Integrated repos - single root lockfile (package-lock.json, pnpm-lock.yaml, or yarn.lock) with all dependencies managed at the root. CVE Lite CLI likely works here already.
Package-based repos - each project under apps/ or libs/ has its own package.json and potentially its own lockfile. CVE Lite CLI's --search-depth flag may or may not discover these depending on the workspace structure.
What needs investigation
- Does
cve-lite . --search-depth 4 correctly discover lockfiles nested inside NX apps/ and libs/ directories?
- Does CVE Lite CLI handle the case where there is a root lockfile AND nested lockfiles (mixed)?
- Does the output correctly label findings by workspace project?
- Does
--search-depth need to be higher for deeply nested NX structures?
Acceptance criteria
References
Summary
Verify and document CVE Lite CLI compatibility with NX workspaces, and fix any gaps found.
NX is a widely used monorepo build system for JavaScript and TypeScript projects. NX workspaces come in two forms:
Integrated repos - single root lockfile (
package-lock.json,pnpm-lock.yaml, oryarn.lock) with all dependencies managed at the root. CVE Lite CLI likely works here already.Package-based repos - each project under
apps/orlibs/has its ownpackage.jsonand potentially its own lockfile. CVE Lite CLI's--search-depthflag may or may not discover these depending on the workspace structure.What needs investigation
cve-lite . --search-depth 4correctly discover lockfiles nested inside NXapps/andlibs/directories?--search-depthneed to be higher for deeply nested NX structures?Acceptance criteria
examples/if a gap is fixedReferences