Get the latest tech news

We shrunk our Javascript monorepo git size


We really did this! We work in a very large Javascript monorepo at Microsoft we colloquially call 1JS. Using some new changes to the git client it went from 178GB to 5GB.

For many reasons, that's just too big, we have folks in Europe that can't even clone the repo due to it's size. We use them in the same way that Changesets work, accomplishing similar goals as semantic-release where we want to tell the packages how to automatically bump their semver ranges. If you work in a large-ish scale monorepo, and you have CHANGELOG.md or really any file that has a relatively long-ish name (>16 characters) which repeatedly gets updated, you may want to keep your eyes on this path walk stuff.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of javascript

javascript

Photo of Git

Git

Related news:

News photo

Should JavaScript be split into two languages?

News photo

Notes on the new Claude analysis JavaScript code execution tool

News photo

Show HN: I made a Sonic runner game in JavaScript