github-reporadar 0.11.0 → 0.12.0
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/DESIGN.md +1 -1
- package/README.md +4 -6
- package/dist/assets/index-BkaUjLCS.css +1 -0
- package/dist/assets/index-SBd4lh4k.js +90 -0
- package/dist/index.html +2 -2
- package/dist-cli/cli.js +3 -3
- package/package.json +1 -1
- package/dist/assets/index-B1DE3jIQ.js +0 -90
- package/dist/assets/index-DP6ckDih.css +0 -1
package/dist/index.html
CHANGED
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap"
|
|
17
17
|
rel="stylesheet"
|
|
18
18
|
/>
|
|
19
|
-
<script type="module" crossorigin src="/assets/index-
|
|
20
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
19
|
+
<script type="module" crossorigin src="/assets/index-SBd4lh4k.js"></script>
|
|
20
|
+
<link rel="stylesheet" crossorigin href="/assets/index-BkaUjLCS.css">
|
|
21
21
|
</head>
|
|
22
22
|
<body>
|
|
23
23
|
<div id="root"></div>
|
package/dist-cli/cli.js
CHANGED
|
@@ -929,12 +929,12 @@ function diffWikiPages(prev, next, now, opts = {}) {
|
|
|
929
929
|
for (const page of next) {
|
|
930
930
|
const b = before.get(page.id);
|
|
931
931
|
if (!b) {
|
|
932
|
-
if (!since || !page.createdAt || page.createdAt <= since || page.byMe) continue;
|
|
932
|
+
if (!since || !page.createdAt || page.createdAt <= since || page.byMe !== false) continue;
|
|
933
933
|
out.push({ id: `wiki:${page.id}:added`, kind: "wiki_added", ...base(page) });
|
|
934
934
|
continue;
|
|
935
935
|
}
|
|
936
936
|
if (!page.lastModified || page.lastModified <= b.lastModified) continue;
|
|
937
|
-
if (page.byMe) continue;
|
|
937
|
+
if (page.byMe !== false) continue;
|
|
938
938
|
out.push({ id: `wiki:${page.id}:${page.lastModified}`, kind: "wiki_updated", ...base(page) });
|
|
939
939
|
}
|
|
940
940
|
return out;
|
|
@@ -1200,7 +1200,7 @@ async function writeConfluence(opts, repos, now, readJson, log, since) {
|
|
|
1200
1200
|
const pages = await fetchConfluencePages(opts.confluence, repos.map((r) => r.nameWithOwner));
|
|
1201
1201
|
const myAccountId = pages.length === 0 ? null : await fetchMyAccountId(opts.confluence);
|
|
1202
1202
|
if (pages.length > 0 && myAccountId === null) {
|
|
1203
|
-
log(`Confluence: 自分のaccountId
|
|
1203
|
+
log(`Confluence: 自分のaccountIdを取れませんでした。誰が更新したか分からないので、この同期ではWikiの更新を受信箱に出しません`);
|
|
1204
1204
|
}
|
|
1205
1205
|
const drifts = driftingPages(pages, repos.map((r) => ({ nameWithOwner: r.nameWithOwner, pushedAt: r.pushedAt })));
|
|
1206
1206
|
writeFileSync(join(opts.dataDir, "confluence.json"), JSON.stringify(drifts, null, 2));
|