Skip to content

Commit

Permalink
fix: default root component to empty string to match previous behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed Aug 25, 2022
1 parent 95118ec commit ff5b7fd
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
4 changes: 3 additions & 1 deletion lib/content/release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
{"type":"chore","hidden":true}
],
"packages": {
"{{#unless pkgRelPath}}.{{/unless}}{{pkgRelPath}}": {}
"{{#unless pkgRelPath}}.{{/unless}}{{pkgRelPath}}": {
{{#unless pkgRelPath}}"component": ""{{/unless}}
}
}
}
4 changes: 3 additions & 1 deletion release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
}
],
"packages": {
".": {}
".": {
"component": ""
}
}
}
8 changes: 6 additions & 2 deletions tap-snapshots/test/apply/full-content.js.test.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,9 @@ release-please-config.json
}
],
"packages": {
".": {}
".": {
"component": ""
}
}
}
`
Expand Down Expand Up @@ -1399,7 +1401,9 @@ release-please-config.json
}
],
"packages": {
".": {},
".": {
"component": ""
},
"workspaces/a": {},
"workspaces/b": {}
}
Expand Down

0 comments on commit ff5b7fd

Please # to comment.