forked from atlassian/lerna-semantic-release
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(package): add lerna 3.0.0 support
affects: lerna-semantic-release-io, lerna-semantic-release-utils ISSUES CLOSED: atlassian#93
- Loading branch information
1 parent
c984ed0
commit f299a02
Showing
6 changed files
with
3,715 additions
and
138 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
var Repository = require('lerna/lib/Repository'); | ||
var PackageUtilities = require('lerna/lib/PackageUtilities'); | ||
const { getPackages } = require("@lerna/project"); | ||
|
||
module.exports = { | ||
getAllPackages: function () { | ||
var repository = new Repository(); | ||
return PackageUtilities.getPackages(repository); | ||
return getPackages() | ||
} | ||
}; |
This file contains 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
Oops, something went wrong.