Last active
December 2, 2021 10:24
-
-
Save squidfunk/932be7f6a82a09c4db46466b7cbe3c2e to your computer and use it in GitHub Desktop.
Retrieve lerna packages programmatically
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { Project } = require("@lerna/project") | |
const packages = Project.getPackagesSync("path/to/lerna.json") | |
console.log(packages) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment