Skip to content

Commit 323a153

Browse files
committed
chore: upgrade astro, resolve build errors
1 parent 75f762a commit 323a153

3 files changed

Lines changed: 1251 additions & 1724 deletions

File tree

astro.config.mjs

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
1-
import { defineConfig } from 'astro/config';
1+
import { defineConfig, passthroughImageService } from 'astro/config';
22
import starlight from '@astrojs/starlight';
33
import tailwind from "@astrojs/tailwind";
44

55
// https://astro.build/config
66
export default defineConfig({
77
site: 'https://embedded.js.org/',
8+
image: {
9+
service: passthroughImageService(),
10+
},
811
integrations: [starlight({
912
title: 'ECMA-419 Docs',
10-
social: {
11-
github: 'https://github.com/ecmatc53/docs'
12-
},
13+
social: [{
14+
icon: 'github', href: 'https://github.com/ecmatc53/docs', label: 'GitHub'
15+
}],
1316
editLink: {
1417
baseUrl: "https://github.com/ecmatc53/docs/edit/main/"
1518
},
@@ -87,17 +90,17 @@ export default defineConfig({
8790
label: "WebSocket Client Class",
8891
link: "/api/websocket-client-class"
8992
}, {
90-
label: "MQTT Client Class",
91-
link: "/api/mqtt-client-class"
92-
}, {
93-
label: "Persistent Storage",
94-
autogenerate: {
95-
directory: "/api/storage"
96-
},
97-
collapsed: true
98-
}, {
99-
label: "Host Provider",
100-
link: "/api/host-provider"
93+
label: "MQTT Client Class",
94+
link: "/api/mqtt-client-class"
95+
}, {
96+
label: "Persistent Storage",
97+
autogenerate: {
98+
directory: "/api/storage"
99+
},
100+
collapsed: true
101+
}, {
102+
label: "Host Provider",
103+
link: "/api/host-provider"
101104
}, {
102105
label: "Provenance Sensor Class",
103106
link: "/api/provenance-sensor-class"

package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,12 @@
1010
"astro": "astro"
1111
},
1212
"dependencies": {
13-
"@astrojs/check": "^0.3.3",
14-
"@astrojs/starlight": "^0.15.1",
13+
"@astrojs/check": "^0.9.6",
14+
"@astrojs/starlight": "^0.37.7",
1515
"@astrojs/starlight-tailwind": "^2.0.1",
1616
"@astrojs/tailwind": "^5.0.3",
17-
"astro": "^4.0.6",
18-
"sharp": "^0.32.5",
17+
"astro": "^5.18.0",
1918
"tailwindcss": "^3.0.24",
2019
"typescript": "^5.2.2"
2120
}
22-
}
21+
}

0 commit comments

Comments
 (0)