@livekit/changesets-changelog-github 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -101,11 +101,11 @@ var changelogFunctions = {
|
|
|
101
101
|
};
|
|
102
102
|
})();
|
|
103
103
|
const users = usersFromSummary.length ? usersFromSummary.map((userFromSummary) => `@${userFromSummary}`).join(", ") : links.user;
|
|
104
|
-
const pullRequest = links.pull ?
|
|
104
|
+
const pullRequest = links.pull ? `- ${links.pull}` : links.commit ? `- ${links.commit}` : "";
|
|
105
105
|
const suffix = users === null ? "" : `(${users})`;
|
|
106
106
|
return `
|
|
107
107
|
|
|
108
|
-
- ${firstLine} ${pullRequest}
|
|
108
|
+
- ${firstLine} ${pullRequest} ${suffix}
|
|
109
109
|
${futureLines.map((l) => ` ${l}`).join("\n")}`;
|
|
110
110
|
}
|
|
111
111
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -78,11 +78,11 @@ var changelogFunctions = {
|
|
|
78
78
|
};
|
|
79
79
|
})();
|
|
80
80
|
const users = usersFromSummary.length ? usersFromSummary.map((userFromSummary) => `@${userFromSummary}`).join(", ") : links.user;
|
|
81
|
-
const pullRequest = links.pull ?
|
|
81
|
+
const pullRequest = links.pull ? `- ${links.pull}` : links.commit ? `- ${links.commit}` : "";
|
|
82
82
|
const suffix = users === null ? "" : `(${users})`;
|
|
83
83
|
return `
|
|
84
84
|
|
|
85
|
-
- ${firstLine} ${pullRequest}
|
|
85
|
+
- ${firstLine} ${pullRequest} ${suffix}
|
|
86
86
|
${futureLines.map((l) => ` ${l}`).join("\n")}`;
|
|
87
87
|
}
|
|
88
88
|
};
|
package/package.json
CHANGED