From 1b5ae0cbf8ceb03aadb7e9d2968b55258239e923 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Thu, 3 Sep 2026 14:15:34 +0200 Subject: [PATCH] Rename the package to @larvit/adf-codec --- AGENTS.md | 2 +- README.md | 2 +- package-lock.json | 4 ++-- package.json | 4 ++-- todo-history.md | 6 ++++++ todo.md | 7 +------ 6 files changed, 13 insertions(+), 12 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index eddfd07..11a5001 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -73,7 +73,7 @@ they never reach a consumer. - One entrypoint: built JavaScript, `.d.ts` beside it. Do not add a TypeScript-source entrypoint — Node refuses to type-strip under `node_modules` (`ERR_UNSUPPORTED_NODE_MODULES_TYPE_STRIPPING`), so it cannot serve an npm consumer. -- Published to public npmjs as `@larvit/atlassian-adf-converter`. Public source: the Gitea repo +- Published to public npmjs as `@larvit/adf-codec`. Public source: the Gitea repo goes public, LICENSE in place, before the first publish. - Exact versions: `save-exact=true` in `.npmrc`. diff --git a/README.md b/README.md index 3e17f7d..baef79f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# @larvit/atlassian-adf-converter +# @larvit/adf-codec Lossless conversion between **Atlassian Document Format** (ADF), an extended markdown flavour, and an HTML dialect. diff --git a/package-lock.json b/package-lock.json index dbce450..403b660 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "@larvit/atlassian-adf-converter", + "name": "@larvit/adf-codec", "version": "0.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "@larvit/atlassian-adf-converter", + "name": "@larvit/adf-codec", "version": "0.0.0", "license": "MIT", "devDependencies": { diff --git a/package.json b/package.json index 2746c2c..fef13f5 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,12 @@ { - "name": "@larvit/atlassian-adf-converter", + "name": "@larvit/adf-codec", "version": "0.0.0", "private": true, "description": "Lossless conversion between Atlassian Document Format, extended markdown and HTML", "license": "MIT", "repository": { "type": "git", - "url": "git+https://gitea.larvit.se/larvit/atlassian-adf-converter.git" + "url": "git+https://gitea.larvit.se/larvit/adf-codec.git" }, "type": "module", "engines": { diff --git a/todo-history.md b/todo-history.md index b25df0f..d04b1fa 100644 --- a/todo-history.md +++ b/todo-history.md @@ -386,3 +386,9 @@ Under **3 — `markdownToAdf` (`0.1.0`)**: `index.ts` gains `markdownToAdf` here, and the README's status line with it: this is the last parser chunk, so `parsingDirectories` becomes `emittingDirectories` and the whole corpus round-trips both ways — `0.1.0`'s proof, which 4 widens rather than replaces. +- [x] **5a — Rename to `@larvit/adf-codec` (`0.1.0`).** Before the first publish, the name being + the published identity: `package.json` `name` and `repository`, the Gitea repo and its + remote, the README title, §6's published-as line, the checkout directory. + **Settled** (the maintainer, 2026-09-01): ADF's own `A` is "Atlassian", and "converter" is + the one-way lossy tool §2 exists to replace, where a codec is both directions. It names the + hub, not the formats around it. diff --git a/todo.md b/todo.md index 681631c..994d57f 100644 --- a/todo.md +++ b/todo.md @@ -138,12 +138,7 @@ The numbering is the order the work was planned in, not the order it ships. landing after the release leaves the README's canonical-fixpoint sentence claiming more than `0.1.0` keeps — 3e names three shapes that parse and then refuse — so the release narrows that sentence or lists them. -- [ ] **5a — Rename to `@larvit/adf-codec` (`0.1.0`).** Before the first publish, the name being - the published identity: `package.json` `name` and `repository`, the Gitea repo and its - remote, the README title, §6's published-as line, the checkout directory. - **Settled** (the maintainer, 2026-09-01): ADF's own `A` is "Atlassian", and "converter" is - the one-way lossy tool §2 exists to replace, where a codec is both directions. It names the - hub, not the formats around it. +- [x] **5a — Rename to `@larvit/adf-codec`.** - [ ] **6 — The HTML dialect spec (`0.3.0`).** Element-by-element mapping, the `data-*` fidelity scheme, the opaque-carry form, and the documented foreign-element set `htmlToAdf` accepts. - [ ] **7 — HTML, ship `0.3.0`.** `adfToHtml`, `htmlToAdf`, the composed `markdownToHtml` / -- 2.52.0