If the manifest references a relative path (e.g., "my-lib": "file:../libraries/my-lib" ), dodirepack locates ../libraries/my-lib relative to the project root and bundles it into the archive under a virtualized structure (e.g., __local_deps/my-lib ).
/workspace ├── /backend (Main app) │ └── package.json (depends on ../common-lib) └── /common-lib (Shared code) dispatch dodirepack