Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide an option that allows Deno to ignore non-existent workspace members or to do so automatically #27538

Open
eavidy opened this issue Jan 3, 2025 · 0 comments

Comments

@eavidy
Copy link

eavidy commented Jan 3, 2025

My project (ProjectMain) uses git submodules to reference another repository's deno project (ProjectA). ProjectA has its
own deno.json. I added ProjectA to the workspace of ProjectMain.

The deno.json of ProjectMain

{
  "workspace": ["core", "project_a"]
}

If I run deno, I get some warnings, such as
Warning "nodeModulesDir" field can only be specified in the workspace root deno.json file.. However, I cannot modify
the deno.json of the sub-modules. I hope deno can automatically ignore it. Or provide some option to ignore it.

Another issue is that if I don't clone the submodules (sometimes submodules are not necessary), I won't be able to run
Deno in the workspace directory, and the Deno language server in VSCode won't start either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant