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/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-B1DE3jIQ.js"></script>
20
- <link rel="stylesheet" crossorigin href="/assets/index-DP6ckDih.css">
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));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "github-reporadar",
3
- "version": "0.11.0",
3
+ "version": "0.12.0",
4
4
  "description": "自分のGitHub活動を一晩ぶん眺める計器盤。npx github-reporadarでローカルに開く",
5
5
  "license": "MIT",
6
6
  "bin": {