-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pnpm support #35
Comments
@brettz9 very interesting — i'm uninitiated about pnpm — for importly to support it, i'm unsure about what changes need to be made? importly operates by reading a
if your pnpm projects have a package-lock.json for importly, then i suspect that importly might work as-is. it may be worth noting that
let me know if this helps, or if you're having issues running importly in your pnpm projects, or if importly requires some changes to become compatible. 👋 🍺 |
Hi,
pnpm indeed follows a different difrectory structure than npm: https://pnpm.io/motivation (see also the links on the page). I haven't explored it deeply enough to know how it might be done, but:
No, as per above, they use their own lock files, along with saving to different locations (though still respecting Node's resolution algorithm).
Ok, good to know. Still, if it could be done in a way that is aware of pnpm this might still be ideal (especially as more of us concerned with hard drive space may also be on slower connections).
Thanks for the info... However, it seems I won't be able to get the subdependencies since I still apparently need to supply a Btw, FWIW, came across one other use case for your tool besides for direct browser usage--template libraries which wish to allow Node resolution within evaluated client-side templates without forcing the browser to traverse Best wishes... |
@brettz9 thanks for the detailed info! if i'm understanding this right, to add pnpm support,
I'd be happy to collaborate here and merge a pull request, though i personally don't have time now to do the implementation. if you'd like to chat in realtime, you can ping me in this discord group, i'd be happy to be of assistance.
very fascinating, i'd love to learn more about this use-case, especially if we can improve importly for the purpose 🍻 cheers! |
Any chance you could add pnpm support? I save so much hard-drive space with all my projects by using pnpm, so it'd be nice to get the benefits of your project on my pnpm projects.
The text was updated successfully, but these errors were encountered: