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
[Feature] Add support ignoring parent node_modules for monorepos? #73
In version 2 you can pass additionalModuleDirs to options. Do you think this functionality (looking up the tree) is still needed?
Yes its needed. Why should a package explicitly point to a directory, which is out of responsibility of this package? (node_modules in monorepo root for example).
Maybe it could be an option such as scanParents or something like this. Although personally I'm OK with additionalModuleDirs because in my monorepo projects I have project-specific build setups anyway.
Activity
MaxmaxmaximusGitHub commentedon May 26, 2020
like this
utils.js:liady commentedon Jul 8, 2020
In version 2 you can pass
additionalModuleDirsto options. Do you think this functionality (looking up the tree) is still needed?MaxmaxmaximusGitHub commentedon Aug 3, 2020
@liady this functionality should work by default since
node_moduleshas tree-floating semantics.aprilandjan commentedon Aug 9, 2020
@liady Yeah this is definitely needed when using
yarn workspaceorlerna, it will be good if it matches with current module resolving strategies.akomm commentedon May 10, 2021
Yes its needed. Why should a package explicitly point to a directory, which is out of responsibility of this package? (node_modules in monorepo root for example).
Kadeluxe commentedon May 25, 2021
Maybe it could be an option such as
scanParentsor something like this. Although personally I'm OK withadditionalModuleDirsbecause in my monorepo projects I have project-specific build setups anyway.Fix open issues: add monorepo support, TypeScript defs, and validatio…