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
We need to make workspaces work well when your cwd or script specified is in a package. Probably if a deno.json contains a name and version, we should continue searching the directory tree for the root deno.json
dsherret
changed the title
Workspace should be detected when in a package of a workspace
Workspace should be detected when cwd is in a package of a workspace
Mar 13, 2024
Adds much better support for the unstable Deno workspaces as well as
support for npm workspaces. npm workspaces is still lacking in that we
only install packages into the root node_modules folder. We'll make it
smarter over time in order for it to figure out when to add node_modules
folders within packages.
This includes a breaking change in config file resolution where we stop
searching for config files on the first found package.json unless it's
in a workspace. For the previous behaviour, the root deno.json needs to
be updated to be a workspace by adding `"workspace":
["./path-to-pkg-json-folder-goes-here"]`. See details in
denoland/deno_config#66Closesdenoland#24340Closesdenoland#24159Closesdenoland#24161Closesdenoland#22020Closesdenoland#18546Closesdenoland#16106Closesdenoland#24160
We need to make workspaces work well when your cwd or script specified is in a package. Probably if a deno.json contains a name and version, we should continue searching the directory tree for the root deno.json
While doing this, add tests for #22004
The text was updated successfully, but these errors were encountered: