You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Meaning that yarn install is all I have to do to setup a project, rm -rf path/to/project/repo to remove the project and all it's dependencies, and, with zero-install, yarn stop && git pull && yarn start to deploy to production.
How awesome would that be..
The text was updated successfully, but these errors were encountered:
It would be interesting, for sure! Binaries are an "install" target like many others, and we certainly could support them. In fact, it'll likely be needed at some point if we eventually want to support compiled languages such as C/C++ - where we don't always want to install the packages from source.
One caveat (and I know others are looking to solve it) is that binaries are typically platform-specific. It means that we would need some way to use different "flavors" of packages depending on the host. I have some ideas as to how to fix this (the resolver would ignore any platform-specific information, but the fetcher would extend the resolved data with platform-specific ones), but it'll need to be put to the test 🙂
You mention that Yarn berry is designed to be able to support packages for PHP, Python, Ruby, etc. I was wondering if it's also designed for binaries.
Imagine
Meaning that
yarn install
is all I have to do to setup a project,rm -rf path/to/project/repo
to remove the project and all it's dependencies, and, with zero-install,yarn stop && git pull && yarn start
to deploy to production.How awesome would that be..
The text was updated successfully, but these errors were encountered: