What to do if the package doesn't exist yet on the npm?
Opened this issue · 1 comments
Hi, I am trying to setup in the best way my production line.
I have it working perfectly, but adding a new package to my sandbox dir is a little pain because my package doesn't exist in npm yet. So, I can only add new packages by removing before the symlinked dependency from the package.json, add the new dependency, then add again the symlink as npm i
will remove the symlink dir.
Any way to skip this, without publishing the npm package?
Also, just for public information as this may be useful for others, I have this script in my sandbox package.json, that will create the symlink and call metro-with-symlinks:
"setSymlink": "npx symlink-dir .. ./node_modules/pagescrollview && npx metro-with-symlinks"
Sorry I'm not actively maintaining this anymore. But PRs are welcome