Buck
lerna
Our great sponsors
Buck | lerna | |
---|---|---|
14 | 162 | |
8,564 | 35,328 | |
- | 0.3% | |
3.9 | 9.1 | |
6 months ago | 9 days ago | |
Java | TypeScript | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Buck
-
Go Dependency management in large company projects - How do you do it?
Hyper-large tech companies managing hyper-large monorepos using Bazel (google), buck (Facebook), please (thought machine), pants (Twitter, Foursquare & Square) enjoy them but also have a lot of resources devoted to running and maintaining it.
-
Compiling a single-file app with csc.dll
We use Buck company wide. Our packaging / deployment system, for example, expects to be given a Buck target to build, not a pre-built binary - I can’t just build my app with dotnet and upload it. While it is possible for a Buck target to be a simple bash command (i.e dotnet publish), doing so makes the target “opaque” - Buck wouldn’t have any knowledge of my app’s build graph so I’d lose many of the benefits it gives us (incremental cached builds etc.)
-
Just: A Command Runner
Oh excellent, then better (and more portable!) tools are available:
and, if you hate yourself: https://bazel.build
-
Meta lays off 11,000 people
I’m feeling sorry for everyone affected.
Let’s hope that this isn’t going to impact Buck [0] too much. It’s one of the best things Facebook has ever made.
-
Dev Discussions: Everything You Need to Know about Monorepos with Juri Strumpflohner of Nrwl
Pioneered by tech giants like Google and Meta with tools like Bazel and Buck, monorepos are seeing widespread adoption across companies of all sizes and industries.
-
Using URLs for dependency management
Buck has a http_file() that you can use this way, and it has first-class support for Java.
-
Is it possible to be an android developer ONLY with the documentation?
That's a good bridge into saying that we don't use pretty much any standard tooling. Our build system is Buck, we use Mercurial instead of Git, and the IDE of choice seems to be Visual Studio (although Android Studio is supported, with some custom plugins required).
-
Best/Worst C++ IDE you have ever used?
Didn't know it was python based. Their github repo shows 90% of the code is java, only 2% is python. Regardless, C++ build systems should be written by people who are familiar with C++ and the specific problems they need to solve. That means the build system should be written in C++ or C and not in java, lua, or python. I certainly do not want to install python just to build my C++ programs in a CI environment, it just increases my build complexity and attack surface
- Are there any java build tools which have not been written in Java?, If not, what could be the reason?
-
Is anyone using TDD on a significant Android app? Any tips?
The landing page of https://buck.build/ explains some of the most basic stuff. This Meta Engineering blog post summarizes some of the deeper optimizations possible through buck: https://engineering.fb.com/2017/11/09/android/rethinking-android-app-compilation-with-buck/
lerna
-
Add Step-up Authentication Using Angular and NestJS
Open the project up in your favorite IDE. Let's take a quick look at the project organization. The project has an Angular frontend and NestJS API backend housed in a Lerna monorepo. If you are curious about how to recreate the project, check out the repo's README file. I'll include all the npx commands, CLI commands, and the manual steps used to create the project.
-
Things I learned while building projects with NX
Lerna currently maintained by Nx team
- tsParticles 3.0.0 is out. Breaking changes ahead.
-
Nx 16.8 Release!!!
On Netlify's enterprise tier, approximately 46% of builds are monorepos, with the majority leveraging Nx and Lerna. Recognizing this trend, Netlify has focused on enhancing the setup and deployment experiences for monorepo projects. In particular they worked on an "automatic monorepo detection" feature. When you connect your project to GitHub, Netlify automatically detects if it's part of a monorepo, reads the relevant settings, and pre-configures your project. This eliminates the need for manual setup. This feature also extends to local development via the Netlify CLI.
- Mocha/Chai with TypeScript (2023 update)
-
Help with library implementation in a big webapp
This is the exact problem monorepos were born to solve. Not only will a monorepo let you share UI components, you'll be able to gradually add shared application logic as well (for instance, do all of your apps have their own logic for connecting to a database? you could roll that into a shared library with a monorepo). There are a lot of tools for accomplishing this in JS, but probably the most popular is lerna, which is built on top of NX (though lots of teams roll their own monorepo in nx without lerna, which IMO is a totally valid option).
-
How to Build and Publish Your First React NPM Package
To begin, you need to prepare your environment. A few ways to build a React package include tools like Bit, Storybook, Lerna, and TSDX. However, for this tutorial, you will use a zero-configuration bundler for tiny modules called Microbundle.
-
Utility for making sure that I'm using the right `@types/react`
If so, are you using a monorepo tool like Nx or Lerna? If not, start there and see if it solves your problem.
-
[AskJS] Is there a silver bullet for consuming Typescript libraries in a Monorepo?
I mean I don't know what your monorepo looks like, but for example infernojs (actually written with typescript) uses lerna, and lerna seems simpler than typescript references
-
Understanding npm Versioning
Tools for publishing, such as Lerna (when using the --conventional-commit flag), follow this convention when incrementing package versions and generating changelog files.
What are some alternatives?
Bazel - a fast, scalable, multi-language and extensible build system
turborepo - Incremental bundler and build system optimized for JavaScript and TypeScript, written in Rust – including Turborepo and Turbopack. [Moved to: https://github.com/vercel/turbo]
Gradle - Adaptable, fast automation for all
nx - Smart Monorepos · Fast CI
Apache Maven - Apache Maven core
changesets - 🦋 A way to manage your versioning and changelogs with a focus on monorepos
pants - The Pants Build System
pnpm - Fast, disk space efficient package manager
git-lfs - Git extension for versioning large files
webpack - A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.
nvim-lspconfig - Quickstart configs for Nvim LSP
single-spa - The router for easy microfrontends