Skip to content

Question: How it knows location of package when we install it as npm package (monorepo style) #12

@smit1093

Description

@smit1093

Hi,

I am new to this lerna monorepo, I want to understand how this thing works, like how to publish to npm and use this package. Normally when we import an npm package it's automatically available to us, in the case of monorepo how package exporting works, because packages are inside the packages folder and can only be imported by going to that location and accessing it,. How it gets available to directly. I know a project like babel and react uses monorepo architecture but I don't how it works when install these types of packages and use it directly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions