Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
"test": "node --test --import ./test/register-loader.js test/**/*.test.ts"
},
"dependencies": {
"@astrojs/check": "^0.9.4",
"@astrojs/partytown": "^2.1.4",
"@astrojs/starlight": "^0.36.0",
"@astrojs/vercel": "^8.2.8",
"@astrojs/check": "^0.9.9",
"@astrojs/partytown": "^2.1.7",
"@astrojs/starlight": "^0.38.4",
"@astrojs/vercel": "^10.0.6",
"@expressive-code/plugin-collapsible-sections": "^0.41.3",
"@expressive-code/plugin-line-numbers": "^0.41.3",
"@nomicfoundation/hardhat-errors": "^3.0.10",
"@types/tar-stream": "^3.1.4",
"astro": "^5.6.1",
"astro": "^6.2.2",
"cspell": "^9.2.2",
Comment on lines +22 to 31
"github-slugger": "^2.0.0",
"gsap": "^3.13.0",
Expand All @@ -37,8 +37,8 @@
"prettier-plugin-solidity": "2.1.0",
"sass": "^1.93.2",
"sharp": "^0.34.2",
"starlight-links-validator": "^0.18.0",
"starlight-sidebar-topics": "^0.6.1",
"starlight-links-validator": "^0.24.0",
"starlight-sidebar-topics": "^0.7.1",
"tar-stream": "^3.1.7",
"typescript": "5.9.3",
"undici": "^7.16.0"
Expand Down
2,143 changes: 1,056 additions & 1,087 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/components/starlight-overrides/Sidebar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import TopicsDropdown from "./TopicsDropdown.astro";
<Default><slot /></Default>

{/* Make the the nested group labels have the same size as links */}
{/* Based on SidebarSublist.astro of @astrojs/starlight@0.36.0 */}
{/* Based on SidebarSublist.astro of @astrojs/starlight@0.38.4 */}
<style is:global>
.sidebar-content details details .group-label > .large {
font-size: var(--sl-text-sm);
Expand Down
3 changes: 2 additions & 1 deletion src/content.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { defineCollection, z } from "astro:content";
import { defineCollection } from "astro:content";
import { z } from "astro/zod";
import { docsLoader } from "@astrojs/starlight/loaders";
import { docsSchema } from "@astrojs/starlight/schema";
import { githubReleases } from "./content/githubReleases";
Expand Down
2 changes: 1 addition & 1 deletion src/content/blogposts.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { defineCollection } from "astro:content";
import { z } from "astro:schema";
import { z } from "astro/zod";

const blogpostsCollectionSchema = z.object({
id: z.string(),
Expand Down
2 changes: 1 addition & 1 deletion src/content/community-plugins.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { defineCollection } from "astro:content";
import { z } from "astro:schema";
import { z } from "astro/zod";

import { styleText } from "node:util";
import path from "node:path";
Expand Down
2 changes: 1 addition & 1 deletion src/content/githubReleases.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { defineCollection } from "astro:content";
import { z } from "astro:schema";
import { z } from "astro/zod";

const githubRelaseApiSchema = z.object({
id: z.number(),
Comment on lines 4 to 5
Expand Down
2 changes: 1 addition & 1 deletion src/content/officialPlugins.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Loader } from "astro/loaders";
import { defineCollection } from "astro:content";
import { z } from "astro:schema";
import { z } from "astro/zod";

import fs from "node:fs/promises";
import path from "node:path";
Expand Down
5 changes: 2 additions & 3 deletions src/pages/llms.txt.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
import { getCollection } from "astro:content";
import type { StarlightSidebarTopicsUserConfig } from "starlight-sidebar-topics";
import type { StarlightUserConfig } from "@astrojs/starlight/types";
import { sidebarTopics } from "../sidebar";

type SidebarTopic = StarlightSidebarTopicsUserConfig[number];

// Sidebar items are a recursive union — Starlight types them via z.any(),
// so we narrow with property checks at runtime.
type SidebarItem = NonNullable<
Extract<SidebarTopic, { items: unknown }>["items"]
>[number];
type SidebarItem = NonNullable<StarlightUserConfig["sidebar"]>[number];

interface DocEntry {
id: string;
Expand Down
Loading