Skip to content

Commit

Permalink
Upgrade markdown-it-jsr-ref to 0.4.0
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
dahlia committed Oct 27, 2024
1 parent 6978db9 commit ee04cb7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 64 deletions.
11 changes: 0 additions & 11 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { transformerTwoslash } from "@shikijs/vitepress-twoslash";
import { Presets, SingleBar } from "cli-progress";
import abbr from "markdown-it-abbr";
import deflist from "markdown-it-deflist";
import footnote from "markdown-it-footnote";
Expand All @@ -8,20 +7,10 @@ import process from "node:process";
import { defineConfig } from "vitepress";
import { withMermaid } from "vitepress-plugin-mermaid";

const progress = new SingleBar({}, Presets.shades_classic);
let started = false;

const jsrRefPlugin = await jsrRef({
package: "@fedify/fedify",
version: "unstable",
cachePath: ".jsr-cache.json",
progress: (complete: number, total: number) => {
if (started) progress.update(complete);
else {
started = true;
progress.start(total, complete);
}
},
});

let extraNav: { text: string; link: string }[] = [];
Expand Down
3 changes: 1 addition & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,13 @@
"@types/better-sqlite3": "^7.6.11",
"@types/bun": "^1.1.9",
"amqplib": "^0.10.4",
"cli-progress": "^3.12.0",
"dayjs": "^1.11.13",
"hono": "^4.6.1",
"ioredis": "^5.4.1",
"markdown-it-abbr": "^2.0.0",
"markdown-it-deflist": "^3.0.0",
"markdown-it-footnote": "^4.0.0",
"markdown-it-jsr-ref": "^0.3.2",
"markdown-it-jsr-ref": "0.4.0",
"mermaid": "^10.9.1",
"postgres": "^3.4.4",
"stringify-entities": "^4.0.4",
Expand Down
56 changes: 5 additions & 51 deletions docs/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ee04cb7

Please sign in to comment.