Skip to content

Commit

Permalink
fix(infrastructure): Update publishConfig.ignore to commands.publish.…
Browse files Browse the repository at this point in the history
…ignore. (#383)
  • Loading branch information
yeelan0319 committed Mar 7, 2017
1 parent 48e72ba commit cc939ea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{
"lerna": "2.0.0-beta.36",
"version": "independent",
"publishConfig": {
"ignore": [
"*.md"
]
"commands": {
"publish": {
"ignore": [
"*.md"
]
}
},
"packages": [
"packages/*"
Expand Down
2 changes: 1 addition & 1 deletion scripts/lib/get-updated-pkgs.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ module.exports = function() {
const origBarDescriptor = Object.getOwnPropertyDescriptor(progressBar, 'bar');
const lernaCommand = {
repository,
getOptions: () => lernaJson.publishConfig,
getOptions: () => lernaJson.commands.publish,
};
const collector = new UpdatedPackagesCollector(lernaCommand);

Expand Down

0 comments on commit cc939ea

Please sign in to comment.