Skip to content

Commit 6a7aec1

Browse files
RiPetitorNomadicCore
authored andcommitted
build: upgrade Astro 5.3 → 6.1.5 with dependencies
1 parent 0c72a8a commit 6a7aec1

5 files changed

Lines changed: 2083 additions & 2523 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@ pnpm-debug.log*
2121
# macOS-specific files
2222
.DS_Store
2323
.Trash*
24-
.parcel-cache
24+
.parcel-cache
25+
package-lock.json

astro.config.mjs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { defineConfig } from "astro/config"
55
import icon from "astro-icon"
66
import starlight from '@astrojs/starlight'
77
import starlightBlog from 'starlight-blog'
8-
import markdownIntegration from '@astropub/md'
8+
99
import astroBrokenLinksChecker from 'astro-broken-link-checker';
1010

1111
import mdx from "@astrojs/mdx"
@@ -31,7 +31,6 @@ export default defineConfig({
3131
logFilePath: 'dist/broken-links.log', // Optional: specify the log file path
3232
checkExternalLinks: false // Optional: check external links (currently, caching to disk is not supported, and it is slow )
3333
}),
34-
markdownIntegration(),
3534
icon(),
3635
// tailwind(),
3736
starlight({ // Starlight config:
@@ -102,7 +101,7 @@ export default defineConfig({
102101
SocialIcons: '@/components/starlight-overrides/SocialIcons.astro',
103102
PageTitle: '@/components/starlight-overrides/PageTitle.astro',
104103
ContentPanel: '@/components/starlight-overrides/ContentPanel.astro',
105-
MarkdownContent: '@/components/starlight-overrides/MarkdownContent.astro',
104+
106105
},
107106
credits: false,
108107
}),
@@ -126,6 +125,6 @@ export default defineConfig({
126125
],
127126
experimental: {
128127
clientPrerender: true,
129-
svg: true,
128+
svgo: true,
130129
},
131130
})

package.json

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,10 @@
1010
"astro": "astro"
1111
},
1212
"dependencies": {
13-
"@astrojs/check": "^0.9.4",
14-
"@astrojs/mdx": "^4.0.8",
15-
"@astrojs/sitemap": "^3.2.1",
16-
"@astrojs/starlight": "^0.32.1",
17-
"@astrojs/starlight-tailwind": "^3.0.0",
18-
"@astrojs/tailwind": "^5.1.5",
19-
"@astropub/md": "^1.0.0",
13+
"@astrojs/check": "^0.9.8",
14+
"@astrojs/mdx": "^5.0.3",
15+
"@astrojs/sitemap": "^3.7.2",
16+
"@astrojs/starlight": "^0.38.3",
2017
"@iconify-json/fa6-regular": "^1.2.3",
2118
"@iconify-json/fa6-solid": "^1.2.3",
2219
"@iconify-json/octicon": "^1.2.4",
@@ -29,7 +26,7 @@
2926
"@preline/tabs": "^2.6.0",
3027
"@types/html-to-text": "^9.0.4",
3128
"@types/markdown-it": "^14.1.2",
32-
"astro": "^5.3.0",
29+
"astro": "^6.1.5",
3330
"astro-broken-link-checker": "imazen/astro-broken-link-checker",
3431
"astro-compressor": "^1.0.0",
3532
"astro-icon": "^1.1.5",
@@ -40,11 +37,12 @@
4037
"html-minifier-terser": "^7.2.0",
4138
"html-to-text": "^9.0.5",
4239
"js-yaml": "^4.1.0",
40+
"pnpm": "^10.33.0",
4341
"preline": "^2.7.0",
4442
"rimraf": "^6.0.1",
4543
"sharp": "^0.33.5",
4644
"sharp-ico": "^0.1.5",
47-
"starlight-blog": "^0.17.2"
45+
"starlight-blog": "^0.26.1"
4846
},
4947
"devDependencies": {
5048
"astro-vtbot": "^2.0.6",
@@ -53,9 +51,5 @@
5351
"prettier-plugin-tailwindcss": "^0.6.11",
5452
"typescript": "^5.7.3"
5553
},
56-
"pnpm": {
57-
"patchedDependencies": {
58-
"starlight-blog": "patches/starlight-blog.patch"
59-
}
60-
}
54+
"pnpm": {}
6155
}

0 commit comments

Comments
 (0)