Rename the package to @larvit/adf-codec
CI / gate (push) Successful in 9s

This commit is contained in:
2026-09-03 14:15:34 +02:00
parent 754fae88a3
commit 1b5ae0cbf8
6 changed files with 13 additions and 12 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ they never reach a consumer.
- One entrypoint: built JavaScript, `.d.ts` beside it. Do not add a TypeScript-source entrypoint — - 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`), Node refuses to type-strip under `node_modules` (`ERR_UNSUPPORTED_NODE_MODULES_TYPE_STRIPPING`),
so it cannot serve an npm consumer. 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. goes public, LICENSE in place, before the first publish.
- Exact versions: `save-exact=true` in `.npmrc`. - Exact versions: `save-exact=true` in `.npmrc`.
+1 -1
View File
@@ -1,4 +1,4 @@
# @larvit/atlassian-adf-converter # @larvit/adf-codec
Lossless conversion between **Atlassian Document Format** (ADF), an extended markdown flavour, and Lossless conversion between **Atlassian Document Format** (ADF), an extended markdown flavour, and
an HTML dialect. an HTML dialect.
+2 -2
View File
@@ -1,11 +1,11 @@
{ {
"name": "@larvit/atlassian-adf-converter", "name": "@larvit/adf-codec",
"version": "0.0.0", "version": "0.0.0",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@larvit/atlassian-adf-converter", "name": "@larvit/adf-codec",
"version": "0.0.0", "version": "0.0.0",
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
+2 -2
View File
@@ -1,12 +1,12 @@
{ {
"name": "@larvit/atlassian-adf-converter", "name": "@larvit/adf-codec",
"version": "0.0.0", "version": "0.0.0",
"private": true, "private": true,
"description": "Lossless conversion between Atlassian Document Format, extended markdown and HTML", "description": "Lossless conversion between Atlassian Document Format, extended markdown and HTML",
"license": "MIT", "license": "MIT",
"repository": { "repository": {
"type": "git", "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", "type": "module",
"engines": { "engines": {
+6
View File
@@ -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 `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 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. 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.
+1 -6
View File
@@ -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 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 `0.1.0` keeps — 3e names three shapes that parse and then refuse — so the release narrows
that sentence or lists them. that sentence or lists them.
- [ ] **5a — Rename to `@larvit/adf-codec` (`0.1.0`).** Before the first publish, the name being - [x] **5a — Rename to `@larvit/adf-codec`.**
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.
- [ ] **6 — The HTML dialect spec (`0.3.0`).** Element-by-element mapping, the `data-*` fidelity - [ ] **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. scheme, the opaque-carry form, and the documented foreign-element set `htmlToAdf` accepts.
- [ ] **7 — HTML, ship `0.3.0`.** `adfToHtml`, `htmlToAdf`, the composed `markdownToHtml` / - [ ] **7 — HTML, ship `0.3.0`.** `adfToHtml`, `htmlToAdf`, the composed `markdownToHtml` /