Skip to content

🏗 2.x: Monorepo Structure with npm Workspaces #822

@elrrrrrrr

Description

@elrrrrrrr
  1. 📂 Project Organization

    • Split into independent packages:
      • @ant-design/x
      • @ant-design/x-card
      • @ant-design/x-sdk
      • @ant-design/x-markdown
  2. 🔧 npm Workspaces Integration

    • Uses native npm workspaces ("workspaces" in package.json) for:
      • Shared dependency hoisting
      • Cross-package script execution
      • Streamlined development

Why This Matters

  • ✅ Consistent versioning & dependency management
  • ⚡ Faster local development with linked packages
  • 🛠️ Standard monorepo tooling compatibility
  • 🌖 Changesets & Workflow Orchestration by utoo

Metadata

Metadata

Assignees

Labels

2.xAnt Design X 2.xenhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions