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
{{ message }}
Repository navigation
Derive resources from a workspace: dependency #108
file: and link: both name a path, so they resolve lexically. workspace: names a member — the package manager finds it by matching the name against workspaces in the root package.json, or pnpm-workspace.yaml. There is no path in the specifier to resolve, so localDependencyPath returns nothing and the dependency contributes no resource.
A module importing such a package therefore fails in its container: the symlink the package manager made points outside the module directory, and nothing put that directory in the module context.
Closing it means reading the workspace root's member globs and matching the dependency name against each candidate's package.jsonname. Doable, and a pnpm monorepo is where it bites first.
Until then the import has to be written relatively, or the package has to be declared with file:.
Activity
feat: follow imports transitively, and drop dagger.include
feat: derive a module's sources from what its code imports (#106)
feat: build a module from the files its code imports, not the caller'…