Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

npm improvements #27

Open
mcoops opened this issue Jun 15, 2021 · 0 comments
Open

npm improvements #27

mcoops opened this issue Jun 15, 2021 · 0 comments

Comments

@mcoops
Copy link
Owner

mcoops commented Jun 15, 2021

If there is no yarn.lock or package-lock.json, then process the node_modules directory manually.

Along the lines of:

for modules in node_modules./* {
     output = append(output, {modules[name] modules[version]})
}

This should also account for any transient dependencies too by processing everything in the main node_modules directory.

Not sure yet the best way to approach this, but prob the safest will be to just apply this logic recursively i think, that should be ok and give the best results.

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

No branches or pull requests

1 participant