In below project, I want all dependencies of TodoList
will no be hosted to node_modules
in root directory of monorepo.
Below settings is not enough to reach this effect:
{
"private": true,
"workspaces": {
"packages": [ "BusinessRules", "Server", "TodoList" ],
"nohoist": [
"TodoList/**"
]
}
}
"TodoList/**/**"
is not enough too.
How to make all dependencies of TodoList
will be inside TodoList/node_modules
?