-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
In some styles of monorepos, multiple packages are published in that single repo. So the structure might be something like this:
index.js
package.json
utils/
index.js
packages/
package-1/
index.js
package.json
package-2/
index.js
package.json
In this case, using require-self-ref from inside the packages would resolve to the local package.json rather than the global one.
Is this the check for determining root status?
https://github.com/lasso-js/lasso-package-root/blob/2cde1a0830a21474a841d9bedd7512e1ab8fdac4/src/index.js#L16
Maybe it could check for a specific field to opt-out of being considered root.
Metadata
Metadata
Assignees
Labels
No labels