Muhammad Sufiyaninnosufiyan.hashnode.dev·Nov 25, 2024Episode 9: Using Yarn Workspace Commands to Simplify Monorepo ManagementThe Problem with Changing Directories In a monorepo with multiple products and packages, you often: Jump between directories to run commands for different packages. Lose productivity managing these repetitive changes. Solution: Yarn Workspace Co...SMIT - Batch 10Nx
Muhammad Sufiyaninnosufiyan.hashnode.dev·Nov 25, 2024Episode 8: Understanding Bin Scripts and Their Use in Yarn WorkspacesWhat Are Bin Scripts? Bin scripts are executable files defined within a package that can be invoked: From other packages in the workspace. Globally when installed as a dependency. They’re commonly used for: CLIs (Command Line Interfaces), such a...SMIT - Batch 10nestjs
Muhammad Sufiyaninnosufiyan.hashnode.dev·Nov 25, 2024Episode 7:Understanding Hoisting in Yarn WorkspacesWhat Is Hoisting? Hoisting in Yarn Workspaces refers to the process of lifting dependencies from individual package directories to a shared node_modules folder at the root of the repository. This mechanism optimizes: Dependency Management: Avoids d...SMIT - Batch 10nestjs
Muhammad Sufiyaninnosufiyan.hashnode.dev·Nov 25, 2024Episode 6: Using Yarn Workspaces to Manage MonoreposWhat Are Workspaces? Workspaces are a powerful way to manage multiple packages within a single repository. They allow packages to: Interact as Dependencies: Automatically link packages together as dependencies via symlinks. Streamline Installatio...SMIT - Batch 10nestjs
Muhammad Sufiyaninnosufiyan.hashnode.dev·Nov 25, 2024Episode 5: Using Symlinks to Manage Monorepo ModulesIn the previous lesson, we explored the Node Modules Trick, renaming the packages folder to node_modules to allow Node.js to treat modules as standalone packages. In this lesson, we’ll use symlinks (symbolic links) for a more elegant and professional...SMIT - Batch 10Nx
Muhammad Sufiyaninnosufiyan.hashnode.dev·Nov 25, 2024Episode # 4 - Creating Your First Basic Monorepo: The Node Modules TrickIn this lesson, we’ll create a basic monorepo using Node.js module resolution and a clever technique we call the Node Modules Trick. This will allow us to structure and manage multiple modules in one repository effectively. Step 1: Setting Up the Pr...SMIT - Batch 10Node.js
Muhammad Sufiyaninnosufiyan.hashnode.dev·Nov 25, 2024Episode 3: Setting Up for Monorepo DevelopmentPrerequisites To follow along with this course, you’ll need to install two essential tools on your computer: Node.js Node.js is required to run JavaScript on your system and manage packages using npm. Download Node.js from Node.js Official Website...SMIT - Batch 10Node.js
Muhammad Sufiyaninnosufiyan.hashnode.dev·Nov 25, 2024Episode 2: What is a Monorepo?Introduction to Monorepos A monorepo (short for monolithic repository) is a single repository that stores all the code and assets for all your projects. Unlike the traditional approach of storing each project in its own separate repository, a monore...SMIT - Batch 10monorepo
Muhammad Sufiyaninnosufiyan.hashnode.dev·Nov 25, 2024Beginner-Friendly Guide to Monorepos: A Comprehensive Lecture - Ep#1Welcome to this lecture on Monorepos! We'll explore how monorepos solve common development challenges, why they are favored by industry giants, and how you can use this strategy for your projects. By the end of this lecture, you'll be equipped to sta...SMIT - Batch 10monorepo
Canopascanopas.hashnode.dev·Nov 11, 2024Building a Better Monorepo with TypeScript, Turborepo, or NxIntroduction Monorepo is a software development strategy that creates shared libraries and dependencies in a single repository. Monorepos offers a solution for crucial dependency management by centralizing codebases, improving collaboration, and stre...TypeScript