skilld 0.6.0 → 0.6.2
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/_chunks/npm.mjs +4 -2
- package/dist/_chunks/npm.mjs.map +1 -1
- package/dist/cli.mjs +3 -3
- package/dist/cli.mjs.map +1 -1
- package/package.json +1 -1
package/dist/_chunks/npm.mjs
CHANGED
|
@@ -246,7 +246,8 @@ function generateIssueIndex(issues) {
|
|
|
246
246
|
for (const issue of group) {
|
|
247
247
|
const reactions = issue.reactions > 0 ? ` (+${issue.reactions})` : "";
|
|
248
248
|
const state = issue.state === "open" ? "" : " [closed]";
|
|
249
|
-
|
|
249
|
+
const date = isoDate(issue.createdAt);
|
|
250
|
+
sections.push(`- [#${issue.number}](./issue-${issue.number}.md): ${issue.title}${reactions}${state} (${date})`);
|
|
250
251
|
}
|
|
251
252
|
sections.push("");
|
|
252
253
|
}
|
|
@@ -708,7 +709,8 @@ function generateDiscussionIndex(discussions) {
|
|
|
708
709
|
for (const d of group) {
|
|
709
710
|
const upvotes = d.upvoteCount > 0 ? ` (+${d.upvoteCount})` : "";
|
|
710
711
|
const answered = d.answer ? " [answered]" : "";
|
|
711
|
-
|
|
712
|
+
const date = isoDate(d.createdAt);
|
|
713
|
+
sections.push(`- [#${d.number}](./discussion-${d.number}.md): ${d.title}${upvotes}${answered} (${date})`);
|
|
712
714
|
}
|
|
713
715
|
sections.push("");
|
|
714
716
|
}
|