From 222cc3abfac505a5c3fd9cb97dc3a5e2bbe320a6 Mon Sep 17 00:00:00 2001 From: trueberryless Date: Tue, 15 Apr 2025 14:16:59 +0200 Subject: [PATCH 1/3] feat: add links-validator --- astro.config.mts | 2 ++ package.json | 69 ++++++++++++++++++++-------------------- pnpm-lock.yaml | 82 +++++++++++++++++++++++++++++++++--------------- 3 files changed, 93 insertions(+), 60 deletions(-) diff --git a/astro.config.mts b/astro.config.mts index 6ca52ef4..5e542f66 100644 --- a/astro.config.mts +++ b/astro.config.mts @@ -2,6 +2,7 @@ import starlight from '@astrojs/starlight'; import ui from '@studiocms/ui'; import { defineConfig } from 'astro/config'; import starlightImageZoom from 'starlight-image-zoom'; +import starlightLinksValidator from 'starlight-links-validator' import starlightSidebarTopics from 'starlight-sidebar-topics'; import getCoolifyURL from './hostUtils.ts'; import rehypePlugins from './src/plugins/rehypePluginKit.ts'; @@ -133,6 +134,7 @@ export default defineConfig({ ], plugins: [ ...typeDocPlugins, + starlightLinksValidator(), starlightImageZoom(), starlightSidebarTopics([ { diff --git a/package.json b/package.json index 5f182db8..f204922a 100644 --- a/package.json +++ b/package.json @@ -21,55 +21,56 @@ "ci:lunaria:report": "pnpm tsm --require=./scripts/filter-warnings.cjs ./scripts/lunaria-report-bot.ts" }, "dependencies": { - "studiocms": "0.1.0-beta.13", - "@studiocms/blog": "0.1.0-beta.13", - "@studiocms/devapps": "0.1.0-beta.13", - "@studiocms/ui": "^0.4.16", - "@studiocms/mdx": "0.1.0-beta.13", - "@studiocms/markdoc": "0.1.0-beta.13", + "@11ty/eleventy-fetch": "^5.0.2", "@actions/core": "^1.11.1", - "astro": "^5.5.4", "@astrojs/check": "^0.9.4", - "@astrojs/starlight": "^0.32.4", "@astrojs/db": "^0.14.8", "@astrojs/node": "^9.1.3", - "@astrojs/web-vitals": "^3.0.1", "@astrojs/react": "^4.2.1", - "sharp": "^0.33.5", - "typescript": "^5.8.2", - "astro-integration-kit": "^0.18.0", - "knip": "^5.46.0", - "tsm": "^2.3.0", + "@astrojs/starlight": "^0.32.4", + "@astrojs/web-vitals": "^3.0.1", "@biomejs/biome": "1.9.4", + "@docsearch/css": "^3.6.0", + "@docsearch/js": "^3.6.0", + "@fontsource-variable/onest": "5.1.1", "@lunariajs/core": "https://pkg.pr.new/lunariajs/lunaria/@lunariajs/core@4c8b9b0", - "expressive-code-twoslash": "^0.4.0", "@shikijs/colorized-brackets": "^3.2.1", - "starlight-package-managers": "^0.10.0", - "@11ty/eleventy-fetch": "^5.0.2", - "starlight-sidebar-topics": "^0.6.0", + "@studiocms/blog": "0.1.0-beta.13", + "@studiocms/devapps": "0.1.0-beta.13", + "@studiocms/markdoc": "0.1.0-beta.13", + "@studiocms/mdx": "0.1.0-beta.13", + "@studiocms/ui": "^0.4.16", "@types/hast": "^3.0.4", - "p-retry": "^6.2.1", + "@types/html-escaper": "^3.0.4", + "@types/mdast": "^4.0.4", + "astro": "^5.5.4", "astro-embed": "^0.9.0", + "astro-integration-kit": "^0.18.0", + "expressive-code-twoslash": "^0.4.0", + "fast-glob": "^3.3.3", + "hast-util-to-string": "^3.0.1", + "hastscript": "^9.0.1", + "html-escaper": "^3.0.3", + "knip": "^5.46.0", + "p-retry": "^6.2.1", + "rehype-autolink-headings": "^7.1.0", + "rehype-external-links": "^3.0.0", + "rehype-slug": "^6.0.0", + "sharp": "^0.33.5", + "starlight-image-zoom": "^0.11.1", + "starlight-links-validator": "^0.16.0", + "starlight-package-managers": "^0.10.0", + "starlight-sidebar-topics": "^0.6.0", "starlight-typedoc": "^0.21.0", + "studiocms": "0.1.0-beta.13", + "tsm": "^2.3.0", "typedoc": "^0.28.1", - "typedoc-plugin-markdown": "^4.6.0", "typedoc-plugin-frontmatter": "^1.3.0", + "typedoc-plugin-markdown": "^4.6.0", "typedoc-plugin-zod": "^1.4.0", - "starlight-image-zoom": "^0.11.1", - "hastscript": "^9.0.1", - "hast-util-to-string": "^3.0.1", - "rehype-slug": "^6.0.0", - "rehype-autolink-headings": "^7.1.0", - "rehype-external-links": "^3.0.0", - "@types/html-escaper": "^3.0.4", - "html-escaper": "^3.0.3", - "@fontsource-variable/onest": "5.1.1", - "unified": "^11.0.5", + "typescript": "^5.8.2", "ultrahtml": "^1.5.3", - "@docsearch/css": "^3.6.0", - "@docsearch/js": "^3.6.0", - "fast-glob": "^3.3.3", - "@types/mdast": "^4.0.4", + "unified": "^11.0.5", "unist-util-visit": "^5.0.0" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bd948186..0f4f7578 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -52,19 +52,19 @@ importers: version: 3.2.1 '@studiocms/blog': specifier: 0.1.0-beta.13 - version: 0.1.0-beta.13(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(studiocms@0.1.0-beta.13(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0))(@astrojs/markdown-remark@6.3.1)(@astrojs/web-vitals@3.0.1(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0)))(@libsql/client@0.14.0)(@types/react@19.0.10)(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(react@19.0.0)(vite@6.2.0(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)))(vite@6.2.0(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)) + version: 0.1.0-beta.13(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(studiocms@0.1.0-beta.13(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0))(@astrojs/markdown-remark@6.3.1)(@astrojs/web-vitals@3.0.1(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0)))(@libsql/client@0.14.0)(@types/react@19.0.10)(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(react@19.0.0)(vite@6.2.3(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)))(vite@6.2.3(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)) '@studiocms/devapps': specifier: 0.1.0-beta.13 - version: 0.1.0-beta.13(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0))(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(studiocms@0.1.0-beta.13(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0))(@astrojs/markdown-remark@6.3.1)(@astrojs/web-vitals@3.0.1(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0)))(@libsql/client@0.14.0)(@types/react@19.0.10)(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(react@19.0.0)(vite@6.2.0(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)))(vite@6.2.0(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)) + version: 0.1.0-beta.13(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0))(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(studiocms@0.1.0-beta.13(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0))(@astrojs/markdown-remark@6.3.1)(@astrojs/web-vitals@3.0.1(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0)))(@libsql/client@0.14.0)(@types/react@19.0.10)(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(react@19.0.0)(vite@6.2.3(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)))(vite@6.2.3(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)) '@studiocms/markdoc': specifier: 0.1.0-beta.13 - version: 0.1.0-beta.13(@astrojs/react@4.2.1(@types/node@22.13.5)(@types/react-dom@19.0.4(@types/react@19.0.10))(@types/react@19.0.10)(jiti@2.4.2)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(yaml@2.7.0))(@types/react@19.0.10)(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(studiocms@0.1.0-beta.13(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0))(@astrojs/markdown-remark@6.3.1)(@astrojs/web-vitals@3.0.1(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0)))(@libsql/client@0.14.0)(@types/react@19.0.10)(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(react@19.0.0)(vite@6.2.0(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)))(vite@6.2.0(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)) + version: 0.1.0-beta.13(@astrojs/react@4.2.1(@types/node@22.13.5)(@types/react-dom@19.0.4(@types/react@19.0.10))(@types/react@19.0.10)(jiti@2.4.2)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(yaml@2.7.0))(@types/react@19.0.10)(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(studiocms@0.1.0-beta.13(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0))(@astrojs/markdown-remark@6.3.1)(@astrojs/web-vitals@3.0.1(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0)))(@libsql/client@0.14.0)(@types/react@19.0.10)(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(react@19.0.0)(vite@6.2.3(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)))(vite@6.2.3(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)) '@studiocms/mdx': specifier: 0.1.0-beta.13 - version: 0.1.0-beta.13(acorn@8.14.0)(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(studiocms@0.1.0-beta.13(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0))(@astrojs/markdown-remark@6.3.1)(@astrojs/web-vitals@3.0.1(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0)))(@libsql/client@0.14.0)(@types/react@19.0.10)(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(react@19.0.0)(vite@6.2.0(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)))(vite@6.2.0(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)) + version: 0.1.0-beta.13(acorn@8.14.0)(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(studiocms@0.1.0-beta.13(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0))(@astrojs/markdown-remark@6.3.1)(@astrojs/web-vitals@3.0.1(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0)))(@libsql/client@0.14.0)(@types/react@19.0.10)(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(react@19.0.0)(vite@6.2.3(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)))(vite@6.2.3(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)) '@studiocms/ui': specifier: ^0.4.16 - version: 0.4.16(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(vite@6.2.0(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)) + version: 0.4.16(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(vite@6.2.3(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)) '@types/hast': specifier: ^3.0.4 version: 3.0.4 @@ -119,6 +119,9 @@ importers: starlight-image-zoom: specifier: ^0.11.1 version: 0.11.1(@astrojs/starlight@0.32.4(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))) + starlight-links-validator: + specifier: ^0.16.0 + version: 0.16.0(@astrojs/starlight@0.32.4(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))) starlight-package-managers: specifier: ^0.10.0 version: 0.10.0(@astrojs/starlight@0.32.4(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))) @@ -130,7 +133,7 @@ importers: version: 0.21.0(@astrojs/starlight@0.32.4(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0)))(typedoc-plugin-markdown@4.6.0(typedoc@0.28.1(typescript@5.8.2)))(typedoc@0.28.1(typescript@5.8.2)) studiocms: specifier: 0.1.0-beta.13 - version: 0.1.0-beta.13(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0))(@astrojs/markdown-remark@6.3.1)(@astrojs/web-vitals@3.0.1(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0)))(@libsql/client@0.14.0)(@types/react@19.0.10)(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(react@19.0.0)(vite@6.2.0(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)) + version: 0.1.0-beta.13(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0))(@astrojs/markdown-remark@6.3.1)(@astrojs/web-vitals@3.0.1(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0)))(@libsql/client@0.14.0)(@types/react@19.0.10)(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(react@19.0.0)(vite@6.2.3(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)) tsm: specifier: ^2.3.0 version: 2.3.0 @@ -1391,6 +1394,9 @@ packages: '@types/node@22.13.5': resolution: {integrity: sha512-+lTU0PxZXn0Dr1NBtC7Y8cR21AJr87dLLU953CWA6pMxxv/UDc7jYAY90upcrie1nRcD6XNG5HOYEDtgW5TxAg==} + '@types/picomatch@3.0.2': + resolution: {integrity: sha512-n0i8TD3UDB7paoMMxA3Y65vUncFJXjcUf7lQY7YyKGl6031FNjfsLs6pdLFCy2GNFxItPJG8GvvpbZc2skH7WA==} + '@types/react-dom@19.0.4': resolution: {integrity: sha512-4fSQ8vWFkg+TGhePfUzVmat3eC14TXYSsiiDSLI0dVLsrm9gZFABjPy/Qu6TKgl1tq1Bu1yDsuQgY3A3DOjCcg==} peerDependencies: @@ -3391,6 +3397,12 @@ packages: peerDependencies: '@astrojs/starlight': '>=0.32.0' + starlight-links-validator@0.16.0: + resolution: {integrity: sha512-wInToor19C7UxhesPuxTBIhB1LH1wzNQHD4HaumfcB+yFhg5u80yQEnkZDrABHrUEEEwFm//NoZbWhnUj1m2ug==} + engines: {node: '>=18.17.1'} + peerDependencies: + '@astrojs/starlight': '>=0.32.0' + starlight-package-managers@0.10.0: resolution: {integrity: sha512-ndliTHXzaCIQ2FFnq5KIH5Uhs9FCACeS3XQMtx/35aSPXzeGsoGxBNreC1zBif4yzGZRCJN3kXBqjUO82WDtcA==} engines: {node: '>=18.17.1'} @@ -4958,13 +4970,13 @@ snapshots: '@img/sharp-win32-x64@0.33.5': optional: true - '@inox-tools/inline-mod@2.0.3(vite@6.2.0(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0))': + '@inox-tools/inline-mod@2.0.3(vite@6.2.3(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0))': dependencies: '@inox-tools/utils': 0.3.1 debug: 4.4.0 typescript: 5.8.2 optionalDependencies: - vite: 6.2.0(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0) + vite: 6.2.3(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0) transitivePeerDependencies: - supports-color @@ -5359,15 +5371,15 @@ snapshots: ignore: 5.3.2 p-map: 4.0.0 - '@studiocms/blog@0.1.0-beta.13(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(studiocms@0.1.0-beta.13(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0))(@astrojs/markdown-remark@6.3.1)(@astrojs/web-vitals@3.0.1(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0)))(@libsql/client@0.14.0)(@types/react@19.0.10)(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(react@19.0.0)(vite@6.2.0(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)))(vite@6.2.0(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0))': + '@studiocms/blog@0.1.0-beta.13(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(studiocms@0.1.0-beta.13(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0))(@astrojs/markdown-remark@6.3.1)(@astrojs/web-vitals@3.0.1(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0)))(@libsql/client@0.14.0)(@types/react@19.0.10)(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(react@19.0.0)(vite@6.2.3(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)))(vite@6.2.3(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0))': dependencies: '@astrojs/rss': 4.0.11 astro: 5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0) astro-integration-kit: 0.18.0(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0)) - studiocms: 0.1.0-beta.13(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0))(@astrojs/markdown-remark@6.3.1)(@astrojs/web-vitals@3.0.1(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0)))(@libsql/client@0.14.0)(@types/react@19.0.10)(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(react@19.0.0)(vite@6.2.0(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)) - vite: 6.2.0(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0) + studiocms: 0.1.0-beta.13(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0))(@astrojs/markdown-remark@6.3.1)(@astrojs/web-vitals@3.0.1(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0)))(@libsql/client@0.14.0)(@types/react@19.0.10)(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(react@19.0.0)(vite@6.2.3(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)) + vite: 6.2.3(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0) - '@studiocms/devapps@0.1.0-beta.13(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0))(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(studiocms@0.1.0-beta.13(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0))(@astrojs/markdown-remark@6.3.1)(@astrojs/web-vitals@3.0.1(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0)))(@libsql/client@0.14.0)(@types/react@19.0.10)(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(react@19.0.0)(vite@6.2.0(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)))(vite@6.2.0(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0))': + '@studiocms/devapps@0.1.0-beta.13(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0))(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(studiocms@0.1.0-beta.13(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0))(@astrojs/markdown-remark@6.3.1)(@astrojs/web-vitals@3.0.1(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0)))(@libsql/client@0.14.0)(@types/react@19.0.10)(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(react@19.0.0)(vite@6.2.3(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)))(vite@6.2.3(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0))': dependencies: '@astrojs/db': 0.14.8(@types/react@19.0.10)(react@19.0.0) astro: 5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0) @@ -5375,19 +5387,19 @@ snapshots: cheerio: 1.0.0 html-entities: 2.5.2 turndown: 7.2.0 - vite: 6.2.0(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0) + vite: 6.2.3(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0) optionalDependencies: - studiocms: 0.1.0-beta.13(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0))(@astrojs/markdown-remark@6.3.1)(@astrojs/web-vitals@3.0.1(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0)))(@libsql/client@0.14.0)(@types/react@19.0.10)(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(react@19.0.0)(vite@6.2.0(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)) + studiocms: 0.1.0-beta.13(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0))(@astrojs/markdown-remark@6.3.1)(@astrojs/web-vitals@3.0.1(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0)))(@libsql/client@0.14.0)(@types/react@19.0.10)(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(react@19.0.0)(vite@6.2.3(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)) - '@studiocms/markdoc@0.1.0-beta.13(@astrojs/react@4.2.1(@types/node@22.13.5)(@types/react-dom@19.0.4(@types/react@19.0.10))(@types/react@19.0.10)(jiti@2.4.2)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(yaml@2.7.0))(@types/react@19.0.10)(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(studiocms@0.1.0-beta.13(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0))(@astrojs/markdown-remark@6.3.1)(@astrojs/web-vitals@3.0.1(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0)))(@libsql/client@0.14.0)(@types/react@19.0.10)(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(react@19.0.0)(vite@6.2.0(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)))(vite@6.2.0(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0))': + '@studiocms/markdoc@0.1.0-beta.13(@astrojs/react@4.2.1(@types/node@22.13.5)(@types/react-dom@19.0.4(@types/react@19.0.10))(@types/react@19.0.10)(jiti@2.4.2)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(yaml@2.7.0))(@types/react@19.0.10)(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(studiocms@0.1.0-beta.13(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0))(@astrojs/markdown-remark@6.3.1)(@astrojs/web-vitals@3.0.1(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0)))(@libsql/client@0.14.0)(@types/react@19.0.10)(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(react@19.0.0)(vite@6.2.3(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)))(vite@6.2.3(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0))': dependencies: '@markdoc/markdoc': 0.5.1(@types/react@19.0.10)(react@19.0.0) astro: 5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0) astro-integration-kit: 0.18.0(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0)) react: 19.0.0 react-dom: 19.0.0(react@19.0.0) - studiocms: 0.1.0-beta.13(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0))(@astrojs/markdown-remark@6.3.1)(@astrojs/web-vitals@3.0.1(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0)))(@libsql/client@0.14.0)(@types/react@19.0.10)(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(react@19.0.0)(vite@6.2.0(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)) - vite: 6.2.0(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0) + studiocms: 0.1.0-beta.13(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0))(@astrojs/markdown-remark@6.3.1)(@astrojs/web-vitals@3.0.1(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0)))(@libsql/client@0.14.0)(@types/react@19.0.10)(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(react@19.0.0)(vite@6.2.3(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)) + vite: 6.2.3(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0) optionalDependencies: '@astrojs/react': 4.2.1(@types/node@22.13.5)(@types/react-dom@19.0.4(@types/react@19.0.10))(@types/react@19.0.10)(jiti@2.4.2)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(yaml@2.7.0) transitivePeerDependencies: @@ -5425,7 +5437,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@studiocms/mdx@0.1.0-beta.13(acorn@8.14.0)(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(studiocms@0.1.0-beta.13(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0))(@astrojs/markdown-remark@6.3.1)(@astrojs/web-vitals@3.0.1(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0)))(@libsql/client@0.14.0)(@types/react@19.0.10)(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(react@19.0.0)(vite@6.2.0(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)))(vite@6.2.0(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0))': + '@studiocms/mdx@0.1.0-beta.13(acorn@8.14.0)(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(studiocms@0.1.0-beta.13(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0))(@astrojs/markdown-remark@6.3.1)(@astrojs/web-vitals@3.0.1(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0)))(@libsql/client@0.14.0)(@types/react@19.0.10)(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(react@19.0.0)(vite@6.2.3(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)))(vite@6.2.3(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0))': dependencies: '@mdx-js/mdx': 3.1.0(acorn@8.14.0) astro: 5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0) @@ -5434,21 +5446,21 @@ snapshots: react-dom: 19.0.0(react@19.0.0) rehype-highlight: 7.0.2 remark-gfm: 4.0.1 - studiocms: 0.1.0-beta.13(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0))(@astrojs/markdown-remark@6.3.1)(@astrojs/web-vitals@3.0.1(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0)))(@libsql/client@0.14.0)(@types/react@19.0.10)(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(react@19.0.0)(vite@6.2.0(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)) + studiocms: 0.1.0-beta.13(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0))(@astrojs/markdown-remark@6.3.1)(@astrojs/web-vitals@3.0.1(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0)))(@libsql/client@0.14.0)(@types/react@19.0.10)(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(react@19.0.0)(vite@6.2.3(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)) unified: 11.0.5 - vite: 6.2.0(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0) + vite: 6.2.3(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0) transitivePeerDependencies: - acorn - supports-color - '@studiocms/ui@0.4.16(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(vite@6.2.0(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0))': + '@studiocms/ui@0.4.16(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(vite@6.2.3(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0))': dependencies: '@iconify-json/heroicons': 1.2.2 '@iconify/types': 2.0.0 astro: 5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0) astro-transition-event-polyfill: 1.1.0(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0)) pathe: 1.1.2 - vite: 6.2.0(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0) + vite: 6.2.3(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0) '@types/acorn@4.0.6': dependencies: @@ -5534,6 +5546,8 @@ snapshots: dependencies: undici-types: 6.20.0 + '@types/picomatch@3.0.2': {} + '@types/react-dom@19.0.4(@types/react@19.0.10)': dependencies: '@types/react': 19.0.10 @@ -8091,6 +8105,22 @@ snapshots: transitivePeerDependencies: - supports-color + starlight-links-validator@0.16.0(@astrojs/starlight@0.32.4(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))): + dependencies: + '@astrojs/starlight': 0.32.4(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0)) + '@types/picomatch': 3.0.2 + github-slugger: 2.0.0 + hast-util-from-html: 2.0.3 + hast-util-has-property: 3.0.0 + is-absolute-url: 4.0.1 + kleur: 4.1.5 + mdast-util-mdx-jsx: 3.2.0 + mdast-util-to-string: 4.0.0 + picomatch: 4.0.2 + unist-util-visit: 5.0.0 + transitivePeerDependencies: + - supports-color + starlight-package-managers@0.10.0(@astrojs/starlight@0.32.4(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))): dependencies: '@astrojs/starlight': 0.32.4(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0)) @@ -8142,7 +8172,7 @@ snapshots: strnum@1.1.2: {} - studiocms@0.1.0-beta.13(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0))(@astrojs/markdown-remark@6.3.1)(@astrojs/web-vitals@3.0.1(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0)))(@libsql/client@0.14.0)(@types/react@19.0.10)(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(react@19.0.0)(vite@6.2.0(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)): + studiocms@0.1.0-beta.13(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0))(@astrojs/markdown-remark@6.3.1)(@astrojs/web-vitals@3.0.1(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0)))(@libsql/client@0.14.0)(@types/react@19.0.10)(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(react@19.0.0)(vite@6.2.3(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)): dependencies: '@astrojs/db': 0.14.8(@types/react@19.0.10)(react@19.0.0) '@astrojs/markdown-remark': 6.3.1 @@ -8153,7 +8183,7 @@ snapshots: '@fontsource-variable/onest': 5.1.1 '@iconify-json/flat-color-icons': 1.2.1 '@iconify-json/simple-icons': 1.2.26 - '@inox-tools/inline-mod': 2.0.3(vite@6.2.0(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)) + '@inox-tools/inline-mod': 2.0.3(vite@6.2.3(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)) '@inox-tools/runtime-logger': 0.4.2(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0)) '@matthiesenxyz/integration-utils': 0.3.0(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0)) '@nanostores/i18n': 0.12.2(nanostores@0.11.4) @@ -8162,7 +8192,7 @@ snapshots: '@oslojs/crypto': 1.0.1 '@oslojs/encoding': 1.1.0 '@studiocms/markdown-remark-processor': 1.2.0 - '@studiocms/ui': 0.4.16(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(vite@6.2.0(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)) + '@studiocms/ui': 0.4.16(astro@5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0))(vite@6.2.3(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0)) ansi-escapes: 7.0.0 arctic: 3.5.0 astro: 5.5.4(@types/node@22.13.5)(jiti@2.4.2)(rollup@4.34.8)(typescript@5.8.2)(yaml@2.7.0) @@ -8197,7 +8227,7 @@ snapshots: three: 0.170.0 ultrahtml: 1.5.3 unist-util-visit: 5.0.0 - vite: 6.2.0(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0) + vite: 6.2.3(@types/node@22.13.5)(jiti@2.4.2)(yaml@2.7.0) wrap-ansi: 9.0.0 optionalDependencies: '@astrojs/web-vitals': 3.0.1(@astrojs/db@0.14.8(@types/react@19.0.10)(react@19.0.0)) From 7bc89a98372703d5eeb8921944baab1198479a32 Mon Sep 17 00:00:00 2001 From: trueberryless Date: Tue, 15 Apr 2025 14:46:52 +0200 Subject: [PATCH 2/3] fix: all broken links --- astro.config.mts | 12 ++++++++---- src/content/docs/es/config-reference/index.mdx | 18 ++++++------------ src/content/docs/es/index.mdx | 11 +++++------ .../docs/es/start-here/configuration.mdx | 2 +- .../es/start-here/environment-variables.mdx | 2 +- .../docs/es/start-here/getting-started.mdx | 8 ++++---- .../studiocms-plugins/studiocms-devapps.mdx | 2 +- 7 files changed, 26 insertions(+), 29 deletions(-) diff --git a/astro.config.mts b/astro.config.mts index 5e542f66..aec525ba 100644 --- a/astro.config.mts +++ b/astro.config.mts @@ -134,12 +134,16 @@ export default defineConfig({ ], plugins: [ ...typeDocPlugins, - starlightLinksValidator(), + starlightLinksValidator({ + errorOnFallbackPages: false, + errorOnInconsistentLocale: true, + exclude: ['/*/typedoc/**/*'] + }), starlightImageZoom(), starlightSidebarTopics([ { label: getTranslations('topic-learn'), - link: '/start-here/getting-started', + link: '/start-here/getting-started/', icon: 'open-book', id: 'learn', items: [ @@ -172,7 +176,7 @@ export default defineConfig({ }, { label: getTranslations('topic-package-catalog'), - link: '/package-catalog', + link: '/package-catalog/', icon: 'download', id: 'package-catalog', items: [ @@ -195,7 +199,7 @@ export default defineConfig({ }, { label: getTranslations('topic-references'), - link: '/config-reference', + link: '/config-reference/', icon: 'information', id: 'references', items: [ diff --git a/src/content/docs/es/config-reference/index.mdx b/src/content/docs/es/config-reference/index.mdx index 31b79803..22f5d476 100644 --- a/src/content/docs/es/config-reference/index.mdx +++ b/src/content/docs/es/config-reference/index.mdx @@ -146,40 +146,34 @@ export default defineStudioCMSConfig({ `overrides` es un objeto que se utiliza para sobreescribir la configuración predeterminada. -[Ver `overrides` para opciones completas](/es/config-reference/overrides) - -## `rendererConfig` - -`rendererConfig` es un objeto que se utiliza para configurar el renderizador. - -[Ver `rendererConfig` para opciones completas](/es/config-reference/renderer-config) +[Ver `overrides` para opciones completas](/es/config-reference/overrides/) ## `imageService` `imageService` es un objeto que se utiliza para configurar el servicio de imágenes. -[Ver `imageService` para opciones completas](/es/config-reference/image-service) +[Ver `imageService` para opciones completas](/es/config-reference/image-service/) ## `defaultFrontEndConfig` `defaultFrontEndConfig` es un objeto que se utiliza para configurar el front-end predeterminado. -[Ver `defaultFrontEndConfig` para opciones completas](/es/config-reference/default-frontend-config) +[Ver `defaultFrontEndConfig` para opciones completas](/es/config-reference/default-frontend-config/) ## `dashboardConfig` `dashboardConfig` es un objeto que se utiliza para configurar el panel de control. -[Ver `dashboardConfig` para opciones completas](/es/config-reference/dashboard) +[Ver `dashboardConfig` para opciones completas](/es/config-reference/dashboard/) ## `includedIntegrations` `includedIntegrations` es un objeto que se utiliza para configurar qué integraciones deben incluirse. -[Ver `includedIntegrations` para opciones completas](/es/config-reference/included-integrations) +[Ver `includedIntegrations` para opciones completas](/es/config-reference/included-integrations/) ## `sdk` `sdk` es un objeto que se utiliza para configurar el SDK. -[Ver `sdk` para opciones completas](/es/config-reference/sdk) \ No newline at end of file +[Ver `sdk` para opciones completas](/es/config-reference/sdk/) \ No newline at end of file diff --git a/src/content/docs/es/index.mdx b/src/content/docs/es/index.mdx index 7e66876c..2e9a1c45 100644 --- a/src/content/docs/es/index.mdx +++ b/src/content/docs/es/index.mdx @@ -45,9 +45,9 @@ import { Center } from 'studiocms:ui/components'; ```
- Para obtener más información sobre las variables de entorno requeridas, consulte la página [Variables de entorno](/es/start-here/environment-variables). + Para obtener más información sobre las variables de entorno requeridas, consulte la página [Variables de entorno](/es/start-here/environment-variables/). - Para obtener una guía más detallada, consulte la guía de [Empezando](/es/start-here/getting-started). + Para obtener una guía más detallada, consulte la guía de [Empezando](/es/start-here/getting-started/). ¿Buscas una base de datos libSQL? Echa un vistazo a [Turso](https://tur.so/studiocms).
@@ -55,16 +55,15 @@ import { Center } from 'studiocms:ui/components'; - - [Empezando](/es/start-here/getting-started) - - [Variables de entorno](/es/start-here/environment-variables) - - [¿Por qué StudioCMS?](/es/start-here/why-studiocms) + - [Empezando](/es/start-here/getting-started/) + - [Variables de entorno](/es/start-here/environment-variables/) + - [¿Por qué StudioCMS?](/es/start-here/why-studiocms/) - [Entendiendo StudioCMS](/es/how-it-works/) - [Usando el SDK](/es/how-it-works/sdk/) - [Usando la API REST](/es/how-it-works/restapi/) - - [Finding and Using Plugins](/package-catalog/) - [Aprende sobre la API de Plugins](/es/package-catalog/) - [Aprende sobre la API de Complementos](/es/plugins/) diff --git a/src/content/docs/es/start-here/configuration.mdx b/src/content/docs/es/start-here/configuration.mdx index 3bf0ce77..213ece44 100644 --- a/src/content/docs/es/start-here/configuration.mdx +++ b/src/content/docs/es/start-here/configuration.mdx @@ -84,4 +84,4 @@ export default defineStudioCMSConfig({ ``` {/* Enlaces */} -[reference-page]: (/es/config-reference/options-schema/) \ No newline at end of file +[reference-page]: /es/config-reference/options-schema/ \ No newline at end of file diff --git a/src/content/docs/es/start-here/environment-variables.mdx b/src/content/docs/es/start-here/environment-variables.mdx index a6914376..6b619a4e 100644 --- a/src/content/docs/es/start-here/environment-variables.mdx +++ b/src/content/docs/es/start-here/environment-variables.mdx @@ -109,4 +109,4 @@ CMS_CLOUDINARY_CLOUDNAME="demo" ``` {/* Enlaces */} -[config-oauth]: (/es/start-here/getting-started/#opcional-configurar-autenticación-oauth) \ No newline at end of file +[config-oauth]: /es/start-here/getting-started/#opcional-configurar-autenticación-oauth \ No newline at end of file diff --git a/src/content/docs/es/start-here/getting-started.mdx b/src/content/docs/es/start-here/getting-started.mdx index cc678cd7..4338f3f5 100644 --- a/src/content/docs/es/start-here/getting-started.mdx +++ b/src/content/docs/es/start-here/getting-started.mdx @@ -239,7 +239,7 @@ Para más información sobre todas las variables de entorno disponibles para la ### Opcional: Configurar autenticación oAuth -StudioCMS admite autenticación oAuth con GitHub, Discord, Google y Auth0. Para configurar la autenticación oAuth, necesitarás configurar las [variables de entorno requeridas en tu archivo `.env`](/es/start-here/environment-variables/#oauth-authentication-environment-variables), y asegurarte de que el proveedor esté [habilitado en tu configuración][auth-config-ref]. +StudioCMS admite autenticación oAuth con GitHub, Discord, Google y Auth0. Para configurar la autenticación oAuth, necesitarás configurar las [variables de entorno requeridas en tu archivo `.env`][oauth-environment-variables], y asegurarte de que el proveedor esté [habilitado en tu configuración][auth-config-ref]. Para configurar los proveedores oAuth, requieren una URL de callback. La URL de callback es la ruta donde el proveedor redirigirá al usuario después de la autenticación. @@ -357,9 +357,9 @@ Aprende más sobre las opciones de configuración de StudioCMS usando las págin {/* Enlaces */} [package-catalog]: /es/package-catalog/ -[environment-variables]: /es/start-here/environment-variables -[config-reference]: /es/config-reference +[environment-variables]: /es/start-here/environment-variables/ +[config-reference]: /es/config-reference/ [db-url-token]: /es/start-here/environment-variables/#url-de-la-base-de-datos-y-token-para-astrojsdb [encryption-key]: /es/start-here/environment-variables/#clave-de-encriptación-para-studiocmsauth [oauth-environment-variables]: /es/start-here/environment-variables/#variables-de-entorno-para-autenticación-oauth -[auth-config-ref]: /es/config-reference/authentication \ No newline at end of file +[auth-config-ref]: /es/config-reference/dashboard/#authconfig \ No newline at end of file diff --git a/src/content/docs/fr/package-catalog/studiocms-plugins/studiocms-devapps.mdx b/src/content/docs/fr/package-catalog/studiocms-plugins/studiocms-devapps.mdx index 2a9bbdcd..b56487cb 100644 --- a/src/content/docs/fr/package-catalog/studiocms-plugins/studiocms-devapps.mdx +++ b/src/content/docs/fr/package-catalog/studiocms-plugins/studiocms-devapps.mdx @@ -26,7 +26,7 @@ Une collection d’outils utiles disponibles en mode développement dans Astro. -2. Mettez à jour votre fichier de configuration comme indiqué dans [l’exemple de configuration](#example-config) ci-dessous. +2. Mettez à jour votre fichier de configuration comme indiqué dans [l’exemple de configuration](#exemple-de-configuration) ci-dessous. {/* */} From 0ca6341d222f9e45eb2b516b5d29ba52eb361907 Mon Sep 17 00:00:00 2001 From: trueberryless Date: Tue, 15 Apr 2025 14:52:35 +0200 Subject: [PATCH 3/3] fix: prettier --- astro.config.mts | 10 +++---- package.json | 72 ++++++++++++++++++++++++------------------------ 2 files changed, 41 insertions(+), 41 deletions(-) diff --git a/astro.config.mts b/astro.config.mts index aec525ba..4a15cab9 100644 --- a/astro.config.mts +++ b/astro.config.mts @@ -134,11 +134,11 @@ export default defineConfig({ ], plugins: [ ...typeDocPlugins, - starlightLinksValidator({ - errorOnFallbackPages: false, - errorOnInconsistentLocale: true, - exclude: ['/*/typedoc/**/*'] - }), + starlightLinksValidator({ + errorOnFallbackPages: false, + errorOnInconsistentLocale: true, + exclude: ['/*/typedoc/**/*'] + }), starlightImageZoom(), starlightSidebarTopics([ { diff --git a/package.json b/package.json index f204922a..46d24131 100644 --- a/package.json +++ b/package.json @@ -21,56 +21,56 @@ "ci:lunaria:report": "pnpm tsm --require=./scripts/filter-warnings.cjs ./scripts/lunaria-report-bot.ts" }, "dependencies": { - "@11ty/eleventy-fetch": "^5.0.2", + "studiocms": "0.1.0-beta.13", + "@studiocms/blog": "0.1.0-beta.13", + "@studiocms/devapps": "0.1.0-beta.13", + "@studiocms/ui": "^0.4.16", + "@studiocms/mdx": "0.1.0-beta.13", + "@studiocms/markdoc": "0.1.0-beta.13", "@actions/core": "^1.11.1", + "astro": "^5.5.4", "@astrojs/check": "^0.9.4", + "@astrojs/starlight": "^0.32.4", "@astrojs/db": "^0.14.8", "@astrojs/node": "^9.1.3", - "@astrojs/react": "^4.2.1", - "@astrojs/starlight": "^0.32.4", "@astrojs/web-vitals": "^3.0.1", + "@astrojs/react": "^4.2.1", + "sharp": "^0.33.5", + "typescript": "^5.8.2", + "astro-integration-kit": "^0.18.0", + "knip": "^5.46.0", + "tsm": "^2.3.0", "@biomejs/biome": "1.9.4", - "@docsearch/css": "^3.6.0", - "@docsearch/js": "^3.6.0", - "@fontsource-variable/onest": "5.1.1", "@lunariajs/core": "https://pkg.pr.new/lunariajs/lunaria/@lunariajs/core@4c8b9b0", - "@shikijs/colorized-brackets": "^3.2.1", - "@studiocms/blog": "0.1.0-beta.13", - "@studiocms/devapps": "0.1.0-beta.13", - "@studiocms/markdoc": "0.1.0-beta.13", - "@studiocms/mdx": "0.1.0-beta.13", - "@studiocms/ui": "^0.4.16", - "@types/hast": "^3.0.4", - "@types/html-escaper": "^3.0.4", - "@types/mdast": "^4.0.4", - "astro": "^5.5.4", - "astro-embed": "^0.9.0", - "astro-integration-kit": "^0.18.0", "expressive-code-twoslash": "^0.4.0", - "fast-glob": "^3.3.3", - "hast-util-to-string": "^3.0.1", - "hastscript": "^9.0.1", - "html-escaper": "^3.0.3", - "knip": "^5.46.0", - "p-retry": "^6.2.1", - "rehype-autolink-headings": "^7.1.0", - "rehype-external-links": "^3.0.0", - "rehype-slug": "^6.0.0", - "sharp": "^0.33.5", - "starlight-image-zoom": "^0.11.1", - "starlight-links-validator": "^0.16.0", + "@shikijs/colorized-brackets": "^3.2.1", "starlight-package-managers": "^0.10.0", + "@11ty/eleventy-fetch": "^5.0.2", "starlight-sidebar-topics": "^0.6.0", + "@types/hast": "^3.0.4", + "p-retry": "^6.2.1", + "astro-embed": "^0.9.0", "starlight-typedoc": "^0.21.0", - "studiocms": "0.1.0-beta.13", - "tsm": "^2.3.0", "typedoc": "^0.28.1", - "typedoc-plugin-frontmatter": "^1.3.0", "typedoc-plugin-markdown": "^4.6.0", + "typedoc-plugin-frontmatter": "^1.3.0", "typedoc-plugin-zod": "^1.4.0", - "typescript": "^5.8.2", - "ultrahtml": "^1.5.3", + "starlight-image-zoom": "^0.11.1", + "starlight-links-validator": "^0.16.0", + "hastscript": "^9.0.1", + "hast-util-to-string": "^3.0.1", + "rehype-slug": "^6.0.0", + "rehype-autolink-headings": "^7.1.0", + "rehype-external-links": "^3.0.0", + "@types/html-escaper": "^3.0.4", + "html-escaper": "^3.0.3", + "@fontsource-variable/onest": "5.1.1", "unified": "^11.0.5", + "ultrahtml": "^1.5.3", + "@docsearch/css": "^3.6.0", + "@docsearch/js": "^3.6.0", + "fast-glob": "^3.3.3", + "@types/mdast": "^4.0.4", "unist-util-visit": "^5.0.0" } -} +} \ No newline at end of file