Tag

lerna

1 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
May 6, 2023 · Backend Development

Monorepo Overview, Evolution, Pros & Cons, Pitfalls, and Tool Selection

This article explains what a monorepo is, traces its evolution from single‑repo monoliths to multi‑repo and back to a single repository with many modules, compares its advantages and disadvantages, lists common pitfalls, and evaluates major tooling options such as Turborepo, Rush, Nx, Lerna, Yarn and pnpm for different project sizes.

NxRepository Managementlerna
0 likes · 21 min read
Monorepo Overview, Evolution, Pros & Cons, Pitfalls, and Tool Selection
政采云技术
政采云技术
Mar 15, 2022 · Frontend Development

Deep Dive into Lerna: Architecture, Source Code Analysis, and Monorepo Workflow

This article provides a comprehensive analysis of Lerna, a popular tool for managing multi-package JavaScript repositories, by dissecting its CLI initialization process, command execution architecture, and core source code modules to help developers understand monorepo workflows and optimize frontend engineering practices.

CLI ArchitectureJavaScript ToolingPackage Management
0 likes · 16 min read
Deep Dive into Lerna: Architecture, Source Code Analysis, and Monorepo Workflow
Tencent Cloud Developer
Tencent Cloud Developer
Feb 17, 2022 · Frontend Development

Exploring Monorepo Strategies and Practices for Front‑end Development

The article explains how adopting a monorepo—housing multiple independent front‑end packages in a single Git repository—simplifies code sharing, tooling, and documentation for Vue 3 component collections, compares it with monolith and multi‑repo approaches, outlines essential tools such as pnpm, Changesets, Turborepo, ESLint, and Vitepress, and provides step‑by‑step setup guidance, concluding that monorepos are effective for moderately sized front‑end projects despite potential scaling and permission challenges.

Front-endPackage Managementlerna
0 likes · 27 min read
Exploring Monorepo Strategies and Practices for Front‑end Development
Xianyu Technology
Xianyu Technology
Jan 18, 2022 · Frontend Development

Design and Implementation of Xianyu Front-end Component Library

The Xianyu front‑end component library was designed as a Lerna‑based multi‑package system that unifies UI specifications, provides reusable atomic to industry‑specific components, employs CSS modules and strict linting, and uses Storybook for documentation, ultimately boosting development efficiency, quality, and cross‑team consistency across the product’s many business lines.

StorybookTypeScriptUI design
0 likes · 11 min read
Design and Implementation of Xianyu Front-end Component Library
TikTok Frontend Technology Team
TikTok Frontend Technology Team
Oct 11, 2021 · Frontend Development

Deep Dive into Lerna Publish: Initialization, Scenarios, and Execution Flow

This article explains how the Lerna publish command works, detailing the different publishing scenarios, the internal initialization steps such as configureProperties and initialize, and the final execution phase that validates npm access, updates dependencies, packs packages, and publishes them to the npm registry.

JavaScriptPackage Managementlerna
0 likes · 26 min read
Deep Dive into Lerna Publish: Initialization, Scenarios, and Execution Flow
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 16, 2021 · Mobile Development

Building a React Native Component Library with Lerna, Yarn Workspaces, and Automated Tooling

This tutorial walks through creating a production‑ready React Native UI component library named vant‑react‑native, covering monorepo setup with Lerna, package naming, Yarn workspaces, commit and code standards, icon generation, on‑demand loading, debugging, documentation with Dumi, CI/CD deployment, and unit testing.

BabelReact NativeYarn Workspaces
0 likes · 24 min read
Building a React Native Component Library with Lerna, Yarn Workspaces, and Automated Tooling
ByteFE
ByteFE
Jul 14, 2021 · Mobile Development

Building a React Native Component Library with Lerna, Yarn Workspaces, and Automated Tooling

This comprehensive tutorial walks through creating a React Native component library using Lerna monorepo, Yarn workspaces, code standards, automated builds, unit testing, documentation with Dumi, and on-demand loading techniques, providing practical guidance for developers to manage, test, and publish reusable UI components.

On-demand LoadingReact NativeYarn Workspaces
0 likes · 29 min read
Building a React Native Component Library with Lerna, Yarn Workspaces, and Automated Tooling
Taobao Frontend Technology
Taobao Frontend Technology
Mar 11, 2021 · Frontend Development

Mastering Monorepo: Boost Code Reuse and Collaboration in JavaScript Projects

This article explains the monorepo strategy, its advantages and drawbacks, and provides step‑by‑step guidance on setting up a project‑level monorepo using tools like Volta, Yarn workspaces, Lerna, scripty, and commitlint, helping developers streamline code reuse, dependency management, and version synchronization across multiple JavaScript packages.

JavaScriptcommitlintfrontend
0 likes · 27 min read
Mastering Monorepo: Boost Code Reuse and Collaboration in JavaScript Projects
Tencent Music Tech Team
Tencent Music Tech Team
Jul 10, 2020 · Operations

Implementing a Monorepo with Lerna, Yarn Workspaces, and TypeScript for Automated NPM Package Publishing

By migrating the “全民 K 歌” base library to a monorepo using Lerna, Yarn workspaces, and TypeScript, the team unified dependency management, enabled topological builds, enforced master‑only versioning with conventional commits, and automated CI‑driven publishing—including beta canary releases—significantly speeding iteration and improving maintenance.

CI/CDTypeScriptYarn Workspaces
0 likes · 15 min read
Implementing a Monorepo with Lerna, Yarn Workspaces, and TypeScript for Automated NPM Package Publishing
Sohu Tech Products
Sohu Tech Products
Sep 4, 2019 · Frontend Development

Organizing a Vue Component Library with Mono‑repo, Scripts, and Lerna

This article explains how to structure a Vue component library using a mono‑repo approach, set up the project with @vue/cli, manage component creation, demo examples, build and publish scripts, enforce code formatting with ESLint, and handle versioning and changelogs with Lerna.

CLIMono-repoVue
0 likes · 13 min read
Organizing a Vue Component Library with Mono‑repo, Scripts, and Lerna
360 Tech Engineering
360 Tech Engineering
Aug 14, 2019 · Frontend Development

Managing Multi‑Package Projects with Lerna: Concepts, Configuration, and Commands

This article explains the challenges of collaborating on multiple tightly coupled JavaScript packages, compares multirepo, monorepo and submodule strategies, introduces Lerna as a monorepo tool, and provides detailed guidance on its configuration, modes, and command‑line usage for efficient package management.

JavaScriptPackage ManagementTooling
0 likes · 8 min read
Managing Multi‑Package Projects with Lerna: Concepts, Configuration, and Commands
vivo Internet Technology
vivo Internet Technology
Jul 31, 2019 · Frontend Development

Using Lerna to Manage a JavaScript Monorepo: Workflow, Configuration, and Best Practices

Using Lerna, the article shows how to convert a multi‑package JavaScript project into a production‑ready monorepo by initializing Lerna, hoisting dependencies, automating versioning and publishing, integrating commit‑linting, code‑style tools, Babel builds, and VSCode debugging for streamlined development.

CIJavaScriptPackage Management
0 likes · 19 min read
Using Lerna to Manage a JavaScript Monorepo: Workflow, Configuration, and Best Practices