From 1bad52b60facffb45acbf2702291309e82790a08 Mon Sep 17 00:00:00 2001 From: baseballyama Date: Sun, 5 Jul 2026 11:42:52 +0900 Subject: [PATCH] fix(release): point package metadata at office-kit/docx repo The repo was transferred from baseballyama/word-kit to office-kit/docx, but package.json "repository.url" still referenced the old slug. npm provenance is signed with the Actions repo (office-kit/docx), so publish failed E422: provenance repository did not match package.json. Update repository/homepage/bugs in both packages, plus the stale site and CONTRIBUTING links, to the current slug. Co-Authored-By: Claude Opus 4.8 (1M context) Claude-Session: https://claude.ai/code/session_013A1Lh6BeJKb2fNsfxQnv9x --- CONTRIBUTING.md | 4 ++-- package.json | 6 +++--- packages/preview/package.json | 6 +++--- site/src/lib/components/SiteHeader.svelte | 2 +- site/src/routes/+layout.svelte | 2 +- site/src/routes/+page.svelte | 2 +- site/src/routes/api/+page.svelte | 2 +- site/src/routes/docs/getting-started/+page.svelte | 2 +- site/src/routes/llms-full.txt/+server.ts | 2 +- site/src/routes/llms.txt/+server.ts | 2 +- 10 files changed, 15 insertions(+), 15 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 65a5947..b3680f0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -21,8 +21,8 @@ land a change. ```sh # Requires Node 22+ and pnpm. -git clone --recurse-submodules https://github.com/baseballyama/word-kit -cd word-kit +git clone --recurse-submodules https://github.com/office-kit/docx +cd docx pnpm install ``` diff --git a/package.json b/package.json index 2949466..57f39cc 100644 --- a/package.json +++ b/package.json @@ -9,15 +9,15 @@ "word", "wordprocessingml" ], - "homepage": "https://github.com/baseballyama/word-kit#readme", + "homepage": "https://github.com/office-kit/docx#readme", "bugs": { - "url": "https://github.com/baseballyama/word-kit/issues" + "url": "https://github.com/office-kit/docx/issues" }, "license": "MIT", "author": "Yuichiro Yamashita", "repository": { "type": "git", - "url": "git+https://github.com/baseballyama/word-kit.git" + "url": "git+https://github.com/office-kit/docx.git" }, "files": [ "dist", diff --git a/packages/preview/package.json b/packages/preview/package.json index 9e24b7a..a14549c 100644 --- a/packages/preview/package.json +++ b/packages/preview/package.json @@ -10,15 +10,15 @@ "word", "wordprocessingml" ], - "homepage": "https://github.com/baseballyama/word-kit#readme", + "homepage": "https://github.com/office-kit/docx#readme", "bugs": { - "url": "https://github.com/baseballyama/word-kit/issues" + "url": "https://github.com/office-kit/docx/issues" }, "license": "MIT", "author": "Yuichiro Yamashita", "repository": { "type": "git", - "url": "git+https://github.com/baseballyama/word-kit.git", + "url": "git+https://github.com/office-kit/docx.git", "directory": "packages/preview" }, "files": [ diff --git a/site/src/lib/components/SiteHeader.svelte b/site/src/lib/components/SiteHeader.svelte index c5ba019..39cd333 100644 --- a/site/src/lib/components/SiteHeader.svelte +++ b/site/src/lib/components/SiteHeader.svelte @@ -8,7 +8,7 @@ { path: '/docs/recipes', label: 'Recipes' }, { path: '/playground', label: 'Playground' }, { path: '/api', label: 'API' }, - { path: 'https://github.com/baseballyama/word-kit', label: 'GitHub', external: true }, + { path: 'https://github.com/office-kit/docx', label: 'GitHub', external: true }, ]; function resolve(link: (typeof links)[number]): string { diff --git a/site/src/routes/+layout.svelte b/site/src/routes/+layout.svelte index 74a49f1..34d6935 100644 --- a/site/src/routes/+layout.svelte +++ b/site/src/routes/+layout.svelte @@ -21,7 +21,7 @@ diff --git a/site/src/routes/docs/getting-started/+page.svelte b/site/src/routes/docs/getting-started/+page.svelte index 3320e78..85af233 100644 --- a/site/src/routes/docs/getting-started/+page.svelte +++ b/site/src/routes/docs/getting-started/+page.svelte @@ -87,7 +87,7 @@
  • Recipes — common scenarios, copy-paste ready
  • API reference — every public export, grouped by area
  • Playground — drop a .docx and see preview
  • -
  • GitHub — source + issues
  • +
  • GitHub — source + issues
  • diff --git a/site/src/routes/llms-full.txt/+server.ts b/site/src/routes/llms-full.txt/+server.ts index d8ea7d9..b593fc2 100644 --- a/site/src/routes/llms-full.txt/+server.ts +++ b/site/src/routes/llms-full.txt/+server.ts @@ -25,7 +25,7 @@ const PREAMBLE = `# word-kit — full documentation This file is the concatenation of every page on the word-kit docs site, intended for LLM ingestion in a single fetch. Page boundaries are marked with H1 headings prefixed by the source path. The companion index at \`/llms.txt\` lists the same pages with one-line descriptions. -Source repo: https://github.com/baseballyama/word-kit +Source repo: https://github.com/office-kit/docx `; const PROJECT_OVERVIEW = `OOXML-compliant (ECMA-376 Part 1 — WordprocessingML) Word \`.docx\` library for Node 22+ and modern browsers. Function-first API: every operation is a standalone, tree-shakeable export, never a method on a class. Lossless round-trip for every element the library does not yet model, so hand-designed templates survive intact. diff --git a/site/src/routes/llms.txt/+server.ts b/site/src/routes/llms.txt/+server.ts index e6a7551..7846a3b 100644 --- a/site/src/routes/llms.txt/+server.ts +++ b/site/src/routes/llms.txt/+server.ts @@ -42,7 +42,7 @@ Pre-1.0. Core (\`openDocx\` / \`createDocx\` / \`toUint8Array\`) is stable and l ## Source -- [GitHub repository](https://github.com/baseballyama/word-kit) +- [GitHub repository](https://github.com/office-kit/docx) - [Sibling project: xlsx-kit](https://github.com/baseballyama/xlsx-kit) `;