Skip to content

Commit cfa95e2

Browse files
dahliaclaude
andcommitted
Add missing JSR ref configurations for new packages
Added jsrRef configurations for @logtape/drizzle-orm, @logtape/express, and @logtape/fastify packages to enable automatic JSR documentation reference links in the VitePress documentation. Co-Authored-By: Claude <[email protected]>
1 parent 889cae0 commit cfa95e2

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

docs/.vitepress/config.mts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,24 @@ const jsrRef_adaptor_winston = await jsrRef({
8181
cachePath: ".jsr-cache-adaptor-winston.json",
8282
});
8383

84+
const jsrRef_drizzle_orm = await jsrRef({
85+
package: "@logtape/drizzle-orm",
86+
version: jsrRefVersion,
87+
cachePath: ".jsr-cache-drizzle-orm.json",
88+
});
89+
90+
const jsrRef_express = await jsrRef({
91+
package: "@logtape/express",
92+
version: jsrRefVersion,
93+
cachePath: ".jsr-cache-express.json",
94+
});
95+
96+
const jsrRef_fastify = await jsrRef({
97+
package: "@logtape/fastify",
98+
version: jsrRefVersion,
99+
cachePath: ".jsr-cache-fastify.json",
100+
});
101+
84102
let extraNav: { text: string; link: string }[] = [];
85103
if (process.env.EXTRA_NAV_TEXT && process.env.EXTRA_NAV_LINK) {
86104
extraNav = [
@@ -250,6 +268,9 @@ export default defineConfig({
250268
md.use(jsrRef_windows_eventlog);
251269
md.use(jsrRef_adaptor_pino);
252270
md.use(jsrRef_adaptor_winston);
271+
md.use(jsrRef_drizzle_orm);
272+
md.use(jsrRef_express);
273+
md.use(jsrRef_fastify);
253274
},
254275
},
255276
sitemap: {

0 commit comments

Comments
 (0)