From fe8e51fa796b821140a190ff197ff895633bf77a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 24 Feb 2025 19:55:23 +0000 Subject: [PATCH 1/6] chore(deps): update all non-major dependencies --- yarn.lock | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/yarn.lock b/yarn.lock index 46c4881b..0bb0c44d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5426,9 +5426,9 @@ prettier-plugin-tailwindcss@^0.6.0: integrity sha512-YxaYSIvZPAqhrrEpRtonnrXdghZg1irNg4qrjboCXrpybLWVs55cW2N3juhspVJiO0JBvYJT8SYsJpc8OQSnsA== prettier@^3.1.0: - version "3.5.1" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.5.1.tgz#22fac9d0b18c0b92055ac8fb619ac1c7bef02fb7" - integrity sha512-hPpFQvHwL3Qv5AdRvBFMhnKo4tYxp0ReXiPn2bxkiohEX6mBeBwEpBSQTkD458RaaDKQMYSp4hX4UtfUTA5wDw== + version "3.5.2" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.5.2.tgz#d066c6053200da0234bf8fa1ef45168abed8b914" + integrity sha512-lc6npv5PH7hVqozBR7lkBNOGXV9vMwROAPlumdBkX0wTbbzPu/U1hk5yL8p2pt4Xoc+2mkT8t/sow2YrV/M5qg== pretty-bytes@^5.6.0: version "5.6.0" @@ -6210,9 +6210,9 @@ svelte-preprocess@^6.0.0: integrity sha512-PLG2k05qHdhmRG7zR/dyo5qKvakhm8IJ+hD2eFRQmMLHp7X3eJnjeupUtvuRpbNiF31RjVw45W+abDwHEmP5OA== svelte@^5.0.0: - version "5.20.2" - resolved "https://registry.yarnpkg.com/svelte/-/svelte-5.20.2.tgz#b08c003e982a32c588dcbbf24c1ac8606c0654dd" - integrity sha512-aYXJreNUiyTob0QOzRZeBXZMGeFZDch6SrSRV8QTncZb6zj0O3BEdUzPpojuHQ1pTvk+KX7I6rZCXPUf8pTPxA== + version "5.20.4" + resolved "https://registry.yarnpkg.com/svelte/-/svelte-5.20.4.tgz#defab12c01a5c6502d04f2028a81923269860e0d" + integrity sha512-2Mo/AfObaw9zuD0u1JJ7sOVzRCGcpETEyDkLbtkcctWpCMCIyT0iz83xD8JT29SR7O4SgswuPRIDYReYF/607A== dependencies: "@ampproject/remapping" "^2.3.0" "@jridgewell/sourcemap-codec" "^1.5.0" From 78ccc2ff4cb6a3bebd2e7dc553b1af26c8409f57 Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Tue, 25 Feb 2025 08:49:25 +0530 Subject: [PATCH 2/6] fix: Do not index /view page --- src/routes/view/+page.svelte | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/routes/view/+page.svelte b/src/routes/view/+page.svelte index 936fc0d1..b2d25334 100644 --- a/src/routes/view/+page.svelte +++ b/src/routes/view/+page.svelte @@ -5,4 +5,8 @@ onMount(initHandler); + + + + From 51591ba075579e92bc0386433ea8b4b95ae796c5 Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Tue, 25 Feb 2025 08:49:46 +0530 Subject: [PATCH 3/6] chore: Add sitemap --- static/sitemap.xml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 static/sitemap.xml diff --git a/static/sitemap.xml b/static/sitemap.xml new file mode 100644 index 00000000..e9909beb --- /dev/null +++ b/static/sitemap.xml @@ -0,0 +1,13 @@ + + + + https://mermaid.live/ + https://mermaid.live/edit + + + + From cdc7f9faa4d3748d276822f216be5d3253d76319 Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Tue, 25 Feb 2025 08:50:03 +0530 Subject: [PATCH 4/6] fix: Add redirect for /index.html --- src/routes/index.html/+page.svelte | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/routes/index.html/+page.svelte diff --git a/src/routes/index.html/+page.svelte b/src/routes/index.html/+page.svelte new file mode 100644 index 00000000..feed97dc --- /dev/null +++ b/src/routes/index.html/+page.svelte @@ -0,0 +1,11 @@ + From fa0498f75d85196dd69cdaa572d9ea052fed768c Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Tue, 25 Feb 2025 08:54:26 +0530 Subject: [PATCH 5/6] chore: Add sitemap to robots.txt --- static/robots.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/robots.txt b/static/robots.txt index e9e57dc4..350406a1 100644 --- a/static/robots.txt +++ b/static/robots.txt @@ -1,3 +1,4 @@ # https://www.robotstxt.org/robotstxt.html User-agent: * -Disallow: +Sitemap: https://mermaid.live/sitemap.xml +Disallow: From fb5894e09378bbf4ae60dcb47965ce2c614a33eb Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Tue, 25 Feb 2025 12:08:54 +0530 Subject: [PATCH 6/6] Use netlify to redirect users --- netlify.toml | 8 +++++++- src/routes/index.html/+page.svelte | 11 ----------- 2 files changed, 7 insertions(+), 12 deletions(-) delete mode 100644 src/routes/index.html/+page.svelte diff --git a/netlify.toml b/netlify.toml index de5a3396..eee8c441 100644 --- a/netlify.toml +++ b/netlify.toml @@ -3,4 +3,10 @@ MERMAID_DOMAIN = 'mermaid.live' MERMAID_RENDERER_URL = 'https://mermaid.ink' MERMAID_KROKI_RENDERER_URL = 'https://kroki.io' - MERMAID_IS_ENABLED_MERMAID_CHART_LINKS ='true' \ No newline at end of file + MERMAID_IS_ENABLED_MERMAID_CHART_LINKS ='true' + +[[redirects]] + from = "/index.html" + to = "/edit" + status = 301 + force = true diff --git a/src/routes/index.html/+page.svelte b/src/routes/index.html/+page.svelte deleted file mode 100644 index feed97dc..00000000 --- a/src/routes/index.html/+page.svelte +++ /dev/null @@ -1,11 +0,0 @@ -