Consume specific package and specific version from a monorepo in an external repo

anthony-dandrea

My lerna mono-repo is structured like:

# My mono-repo
├── lerna.json
├── package.json
└── packages
    ├── pck1 (1.0.0)
    └── pck2 (2.0.0) 

I have external-repo that wants to consume just pck2 version 1.0.0 from mono-repo. How would I do that in my package.json?

anthony-dandrea

Looks like I'd need to publish that package to npm(public or internal) with lerna. Then the external-repo just would consume that and be versioned.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Monorepo: How to consume a package from another project?

How to instruct yum to install a specific package (rpm) from a specific repo

Install package from conda for a specific version of python

Determine version of a specific package

Specific package version not available

Installing specific R package from specific branch from github repo on travis-ci

How to install a specific version of cocoapods repo

Installing specific package version with pip

Installing specific Package (New Version)

Installing specific version debian package

Installing a specific package version with yum

Conda search for a specific package version

install a specific version of winston package

how to install a specific package version

How to download a JAR from Github Package Registry for a specific Release version

Is it possible to use `git filter-repo` to remove a specific version of a file from a git repository?

How to consume messages from Kafka in Java, starting from a specific offset

Migrate repo from Github to a specific Gitlab group

Fetch specific commit from remote git repo

Fetch a specific file from a Git Repo into a fork

Hide specific file from Git public Repo

Can a specific file from a specific github repo tree be installed with pip?

Load a function from a specific package

How to uninstall specific version of a NuGet package?

Install private gitlab package with specific version

Specific package version with conda-forge

Cabal - how to install specific version of package

How to install a specific version of a package with pip?

How to install a specific version of a package with pip?