Think Throothinkthroo.hashnode.dev·Nov 27, 2024How CodeMirror v6 dev setup installs packages without a monorepoIn the article, we looked at:1. How CodeMirror v6 setup command processes CLI arguments?2. How CodeMirror v6 dev setup retrieves packages without a monorepo This leads to the next question how are packages installed as part development environment se...Open Source
Think Throothinkthroo.hashnode.dev·Nov 26, 2024How CodeMirror v6 dev setup retrieves packages without a monorepoIn the OSS community, it is quite common to come across monorepo projects where the workspaces and packages are all in a single repository. CodeMirror has a different style to the way packages are managed, each package that is used is a repository on...npm
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