Skip to content

Commit 0f2a89f

Browse files
authored
fix: default root component to empty string to match previous behavior (#166)
1 parent 95118ec commit 0f2a89f

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

lib/content/release-please-config.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
{"type":"chore","hidden":true}
99
],
1010
"packages": {
11-
"{{#unless pkgRelPath}}.{{/unless}}{{pkgRelPath}}": {}
11+
"{{#unless pkgRelPath}}.{{/unless}}{{pkgRelPath}}": {
12+
{{#unless pkgRelPath}}"package-name": ""{{/unless}}
13+
}
1214
}
1315
}

release-please-config.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
}
2828
],
2929
"packages": {
30-
".": {}
30+
".": {
31+
"package-name": ""
32+
}
3133
}
3234
}

tap-snapshots/test/apply/full-content.js.test.cjs

+6-2
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,9 @@ release-please-config.json
599599
}
600600
],
601601
"packages": {
602-
".": {}
602+
".": {
603+
"package-name": ""
604+
}
603605
}
604606
}
605607
`
@@ -1399,7 +1401,9 @@ release-please-config.json
13991401
}
14001402
],
14011403
"packages": {
1402-
".": {},
1404+
".": {
1405+
"package-name": ""
1406+
},
14031407
"workspaces/a": {},
14041408
"workspaces/b": {}
14051409
}

0 commit comments

Comments
 (0)