3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-19 14:45:44 +01:00

Answer prose round 1: 0 🔴, 4 🟡; say what each package was given, drop our row's version, state the pin invariant

This commit is contained in:
2026-10-14 20:02:04 +02:00
committed by Lillem4n
parent 63494c5657
commit faf43dcd3a
4 changed files with 13 additions and 10 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ const show = (label, call) => {
for (const [name, { toAdf, toMarkdown }] of Object.entries(converters)) {
const manifest = JSON.parse(readFileSync(`node_modules/${name}/package.json`, "utf8"));
console.log(`\n## ${name} ${manifest.version}`);
console.log("runtime dependencies:", Object.keys(manifest.dependencies ?? {}).length);
console.log("direct runtime dependencies:", Object.keys(manifest.dependencies ?? {}).length);
const written = toMarkdown && show("ADF to markdown", () => toMarkdown(roundTripDoc));
if (written !== undefined) {
const readBack = toAdf && show("read back", () => toAdf(written));
+1 -1
View File
@@ -1,5 +1,5 @@
#!/bin/sh
# Re-checks the README's comparison table against each package's published version.
# Keep these versions and --before in step with the README's comparison table.
set -eu
here=$(cd "$(dirname "$0")" && pwd)
node_image=node:24.21.0-alpine3.24