When working with JavaScript or TypeScript projects, two key choices often come up: Which package manager to use? (npm, Yarn, pnpm, Bun) How to manage multiple packages in one repo? (Turborepo, Nx) Both decisions can affect speed, developer exper...
Ever wondered what lurks in the depths of your node_modules folder? Adding or updating a dependency in your monorepo can create complex, hard-to-debug problems when not set up properly. It's like a hidden landmine, waiting to explode at any moment. �...
Note: This article was originally published on November 1, 2022. Some information may be outdated. Managing multiple front-end projects or packages in a single codebase can be a pain. That’s where monorepos come in. Monorepos allow you to keep multi...
"Bhai har project mein tsconfig.json copy karna band karo… welcome to reusability, the Turborepo way!" 🧠 Why You Should Care When working with monorepos, we often have multiple projects like: apps/server (Node.js backend) apps/web (Next.js front...
In this article, we will review semver-check.ts file in Zod source code. We will look at: Where is semver-check.ts file located in Zod codebase? What does the code inside semver-check.ts file tell us? How is semver-check used? Where is semver-c...
With the latest changes in TailwindCSS v4, setting up Tailwind and having a shared config across your apps in a monorepo can be challenging. In this article, I’ll walk you through how to set up Tailwind and create a shared config that keeps your styl...
💡 TL;DR: See my Typescript GitHub template, the Readme includes how to get started If you have read any of my other posts, you are likely aware that my primary coding stack is based on TypeScript. Working in modern JavaScript can be complex; a mod...
I’ve never used it, but I always wanted to, so here we go. I know it’s something that’s done at the beginning, but we’re not that far from it. For the moment, I just want to use Husky for commit lint because I like my commits well defined and not jus...
Ever wondered why that mysterious package-lock.json file appears in your Node.js projects? You're not alone. For many developers, it's just "that file npm creates" that we've been told not to delete. But understanding what it actually does can save c...
Introduction: The Monorepo Maze & The Serverless Prize Building full-stack apps with separate frontend and backend codebases is standard, but managing them can become cumbersome. Monorepos, powered by tools like Turborepo and pnpm, offer a streamline...