{"repo":"ojkelly/yarn.build","free":true,"listed":false,"github":"https://github.com/ojkelly/yarn.build","clone":"git clone https://github.com/ojkelly/yarn.build.git","description":"Build 🛠 and Bundle 📦 your local workspaces. Like Bazel, Buck, Pants and Please but for Yarn Berry. Build any language, mix javascript, typescript, golang and more in one polyglot repo. Ship your bundles to AWS Lambda, Docker, or any nodejs runtime.","language":"TypeScript","stars":331,"topics":["yarn","build","build-system","monorepo","yarn-plugin","javascript","typescript","script-runner","yarn2","build-tool"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"yarn.build yarn.BUILD is a plugin for Yarn 4 (berry). It uses your dependency graph to build just whats needed, when it's needed. You can setup a monorepo with a few backend packages, a server package, maybe a graphQL schema package, and a frontend package. And build it all, in the order it's needed. Then, only rebuild when something changes. See the full docs at yarn.BUILD To install for Yarn 4: Or install any of the commands individually with If you're upgrading the plugin the install location has changed to be under the @yarn.build namespace. If you have any yarn.build plugin previously installed you may need to remove the old one manually from .yarnrc.yml : OpenTelemetry Support yarn.build's build and test commands now come with optional OpenTelemetry (OTEL) instrumentation. To use it, you need to run an OTEL Collector with a http receiver: And set the appropirate envar for example OTEL EXPORTER OTLP ENDPOINT=http://localhost:4318 if you are running the collector on the same host as you're running yarn.build. NOTE: yarn.build doesn't currently support the grpc endpoint. Commands build Build your package and all dependencies. Run in the root of your project, or in a non-workspace folder to build everything. Run in a specific workspace to build that workspace and all of its dependencies in the correct order, only rebuidling what's changed. My builds are never cached? Yarn build tries to guess your input and output folders based on common conventions. If they're different yo","default_branch":null,"files":null,"tree":[],"storefront":"/r/ojkelly","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ojkelly/yarn.build/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}