orogene
wireit
orogene | wireit | |
---|---|---|
4 | 16 | |
1,460 | 6,139 | |
0.8% | 0.8% | |
2.5 | 8.3 | |
3 months ago | 5 days ago | |
Rust | TypeScript | |
GNU General Public License v3.0 or later | Apache License 2.0 |
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.
orogene
-
Yarn 4.0
Interesting, but no support for workspaces yet: https://github.com/orogene/orogene/issues/161
-
Rome v12.1: a Rust-based linter formatter for TypeScript, JSX and JSON
Yarn is actually slower than npm these days. Here's some current benchmarks:
https://github.com/orogene/orogene/blob/main/BENCHMARKS.md
-
What happened to tink?
In short, Kat left npm at some point in 2019 after a whole debacle with leadership. For a while they were working on orogene with a couple other ex-npm people, but nothing came out of that. It's really a shame because it looked really promising and they had a lot of cool ideas.
wireit
- Wireit upgrades your NPM scripts to make them smarter and more efficient
- Wireit – Google's Alternative to TurboRepo, NX
- Wireit: Upgrade your NPM scripts to make them smarter and more efficient
-
Yarn 4.0
npm workspaces plus Wireit works far better than Lerna, in my experience.
https://github.com/google/wireit
Wireit's ability to specify actual script dependencies, do caching (and on Github actions), and it's long-running service script support make it much more useful and comprehensive than Lerna.
I agree that this should be built into npm. There's an RRFC for it here: https://github.com/npm/rfcs/issues/706
-
We built the fastest CI in the world. It failed
I must admit I'm a bigger fan of the wireit[0] approach, the only pause I have is its a Google project, my temptation is to fork it. The code isn't terribly complex
My biggest complaint with NX is: lack of a sane API for plugins, and it has more overhead than I'd care for. For the amount of complexity that NX has, I'd rather use Rush[1] which gives you everything NX does. My only complaint with Rush is that its development is really slow going, they really need to focus up on Rush plugins (they're good, but still experimental, and I'd love to see them clean up how `autoinstalls` work to be more intutive)
I'm on the fence about turbo from Vercel
[0]: https://github.com/google/wireit
[1]: https://rushjs.io/
-
Turbowatch – Extremely fast alternative to Nodemon
To further derail the conversation there's also https://github.com/google/wireit
-
With $8.6M in seed funding, Nx wants to take monorepos mainstream
There's also wireit made by Google which pairs well with Yarn/NPM workspaces
-
What are your thoughts on Wireit?
Google recently anounced wireit, a program that runs multiple NPM scripts that depend on one another. Combined with NPM Workspaces, it enables monorepo workflows that previously required tools like Yarn and Pnpm.
-
Best Practices for TypeScript Monorepo
etc.
where a bunch of related projects live top-level in a repo. Each project has a packages folder that includes the core implementation, as well as demos, framework-specific adaptors, etc.
In each package's package.json, I have a series of commands (convert the TS to JS, make a bundle, deploy to Firebase, etc.). Each command can depend on another, either in the same project or anywhere else in the file hierarchy.
This provides two benefits:
1. Iterating across packages is faster, because I don't have to worry about making sure each package rebuilds in the right order if I make a change in a library.
2. Filesystem concerns are separated: rollup only needs to worry about bundling, and it only needs to bundle web-facing projects. The only tool my libraries need is tsc.
(Using TypeScript and Rollup together is kind of a pain in the ass because you have to fiddle with picking the right TS plugin and configuring it. This is also often the long pole on doing a Rollup version upgrade. Decoupling the two makes Rollup way simpler/easier/nicer to use, which makes wireit awesome even if you don't have multiple packages.)
Here's a snippet from one of my package.jsons. They basically all look like this. (start is complicated because of https://github.com/google/wireit/issues/33. When that's resolved, it will be as simple as the others.)
"scripts": {
- Ask HN: Anyone Here Use Bazel for Front End (Vue, TypeScript) Monorepos?
What are some alternatives?
pnpm.io - pnpm's website
nx-dotnet - A Nx plugin adding support for .NET 5+ (or .net core) projects, featuring full project graph and generator support.
volt - An experimental package management tool for JavaScript. Upto 30x faster installation of dependencies using pre-flattened dependency trees.
moon - A build system and monorepo management tool for the web ecosystem, written in Rust.
pn - This is an experimental wrapper over the pnpm CLI written in Rust
ny - 🗽 Fast, Proxy Package Manager for JavaScript
starters - Starter repo (used by create-tamagui-app)
mirro-rs - An Arch Linux mirrorlist manager with a TUI
reamplify - Starter kit: Re-implementation of the AWS Amplify CLI in CDK
v8-runtime-tutorial - Source code for the tutorial series
turbowatch - Extremely fast file change detector and task orchestrator for Node.js.