From 9abd136ef78c806623ed3ca530c6dcf5c7aeade8 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 12 Nov 2024 22:25:34 +0000 Subject: [PATCH 1/2] fix(deps): update dependency starlight-links-validator to ^0.13.0 --- package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 9e0ee21a..aa3eff84 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "rehype-mathjax": "^6.0.0", "remark-math": "^6.0.0", "sharp": "^0.33.1", - "starlight-links-validator": "^0.12.0", + "starlight-links-validator": "^0.13.0", "tailwindcss": "^3.4.0" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5780bcff..233037ec 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -33,8 +33,8 @@ importers: specifier: ^0.33.1 version: 0.33.5 starlight-links-validator: - specifier: ^0.12.0 - version: 0.12.4(@astrojs/starlight@0.29.0(astro@4.16.10(@types/node@22.8.7)(rollup@4.24.4)(typescript@5.5.4)))(astro@4.16.10(@types/node@22.8.7)(rollup@4.24.4)(typescript@5.5.4)) + specifier: ^0.13.0 + version: 0.13.2(@astrojs/starlight@0.29.0(astro@4.16.10(@types/node@22.8.7)(rollup@4.24.4)(typescript@5.5.4)))(astro@4.16.10(@types/node@22.8.7)(rollup@4.24.4)(typescript@5.5.4)) tailwindcss: specifier: ^3.4.0 version: 3.4.14 @@ -2457,8 +2457,8 @@ packages: stacktracey@2.1.8: resolution: {integrity: sha512-Kpij9riA+UNg7TnphqjH7/CzctQ/owJGNbFkfEeve4Z4uxT5+JapVLFXcsurIfN34gnTWZNJ/f7NMG0E8JDzTw==} - starlight-links-validator@0.12.4: - resolution: {integrity: sha512-4MJ/BoTpdlKxfCL/pk931TGHYf7kNt812gRyNbhnIdwubjjzUy4J6J57TBY1yXcDVizWjHpGqHrqTeK0QhbemQ==} + starlight-links-validator@0.13.2: + resolution: {integrity: sha512-BP6vf+fj91LnQXPnggWVhZXhcSF1x6SHof0GRg+IGgY0idSbIU7OHE2SvLggs2fRZ5SflVqpCTpK0pQcOmYcDg==} engines: {node: '>=18.14.1'} peerDependencies: '@astrojs/starlight': '>=0.15.0' @@ -5863,7 +5863,7 @@ snapshots: as-table: 1.0.55 get-source: 2.0.12 - starlight-links-validator@0.12.4(@astrojs/starlight@0.29.0(astro@4.16.10(@types/node@22.8.7)(rollup@4.24.4)(typescript@5.5.4)))(astro@4.16.10(@types/node@22.8.7)(rollup@4.24.4)(typescript@5.5.4)): + starlight-links-validator@0.13.2(@astrojs/starlight@0.29.0(astro@4.16.10(@types/node@22.8.7)(rollup@4.24.4)(typescript@5.5.4)))(astro@4.16.10(@types/node@22.8.7)(rollup@4.24.4)(typescript@5.5.4)): dependencies: '@astrojs/starlight': 0.29.0(astro@4.16.10(@types/node@22.8.7)(rollup@4.24.4)(typescript@5.5.4)) '@types/picomatch': 2.3.3 From 578400a8b468f3a82fb98260b0556b706e6b20c1 Mon Sep 17 00:00:00 2001 From: Leon Bowie Date: Wed, 13 Nov 2024 13:52:46 +1300 Subject: [PATCH 2/2] Allow local links --- astro.config.mjs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/astro.config.mjs b/astro.config.mjs index 85c6c4a4..2d2b7a39 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -165,7 +165,9 @@ export default defineConfig({ sizes: '32x32' } }], - plugins: [starlightLinksValidator()], + plugins: [starlightLinksValidator({ + errorOnLocalLinks: false, + })], components: { Hero: './src/components/starlight/Hero.astro', TableOfContents: './src/components/starlight/TableOfContents.astro',