[Feature] Better way to link, only for development?
Wondering if there's a way to link packages during local development that doesn't update the package.json, so that I could .gitignore it, preferably without affecting the existing lockfile.
I'd prefer not to break CI by accidentally having anyone modify resolutions, but there's also the fact that if it the file is ignored by git, it may end up making it hard to know whether or not you're using a linked instance or the published instance.
Maybe this option already exists, but my intuition tells me that a .yarnlinks.yml or something would be easy enough to add to .gitignore, and a command like yarn link list would make it easy to tell what's linked right now, perhaps hiding the workspace links by default.
@kevin-lindsay-1 Any progress/idea on this? I have the exact same problem here. Want to link just for development, but having resolutions hard set to a local folder in package.json breaks yarn install in other environments different than dev env. Maybe it should be a way to βignoreβ resolutions or having a way to conditionally set the resolution (if the the folder in portal:/path/to/local/folder exists).
npm init @shopify/app@latest