holepunchto / pear

combined Peer-to-Peer (P2P) Runtime, Development & Deployment tool
https://docs.pears.com/
Apache License 2.0
91 stars 9 forks source link

added --node flag to init cmd #27

Closed rafapaezbas closed 6 months ago

mafintosh commented 6 months ago

killer

mattdesl commented 6 months ago

there is a discrepancy, two modules exist but carry different versions on npm. is that intentional?

     'bare-fs': '^2.1.5',
     fs: 'npm:bare-node-fs',
mattdesl commented 6 months ago

oh, confusing - all the dependencies are like that. there are two versions on npm of each? is that documented anywhere?

mafintosh commented 6 months ago

Its my quick hack from yesterday to make npm dedupe it on disk so there is only one bare-fs.

mafintosh commented 6 months ago

documented here https://github.com/holepunchto/bare-node

mattdesl commented 6 months ago

Perhaps an alias or import resolution map feature would be useful. The current approach seems prone to errors and lagging behind the base bare-x modules.

mafintosh commented 6 months ago

yea on our radar, would set the process object also.