Skip to content

Commit 89ba41d

Browse files
authored
feat: migrate to sharp and upgrade astro deps (#37)
1 parent d3ed22d commit 89ba41d

File tree

3 files changed

+757
-843
lines changed

3 files changed

+757
-843
lines changed

apps/website/astro.config.mjs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,14 @@ import react from "@astrojs/react";
22
import starlight from "@astrojs/starlight";
33
import tailwind from "@astrojs/tailwind";
44
import playformCompress from "@playform/compress";
5-
import { defineConfig, squooshImageService } from "astro/config";
5+
import { defineConfig } from "astro/config";
66
import starlightOpenAPI, { openAPISidebarGroups } from "starlight-openapi";
77
import { FileSystemIconLoader } from "unplugin-icons/loaders";
88
import Icons from "unplugin-icons/vite";
99

1010
// https://astro.build/config
1111
export default defineConfig({
1212
site: "https://blockchain-italia.github.io",
13-
image: {
14-
service: squooshImageService(),
15-
},
1613
integrations: [
1714
starlight({
1815
title: "Folks Router",

apps/website/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,28 +15,28 @@
1515
},
1616
"dependencies": {
1717
"@astrojs/react": "^3.6.2",
18-
"@astrojs/starlight": "^0.26.2",
18+
"@astrojs/starlight": "^0.28.3",
1919
"@astrojs/starlight-tailwind": "^2.0.3",
20-
"@astrojs/tailwind": "^5.1.0",
20+
"@astrojs/tailwind": "^5.1.2",
2121
"@fontsource/poppins": "^5.0.8",
22-
"@playform/compress": "^0.0.13",
22+
"@playform/compress": "^0.1.4",
2323
"@tanstack/react-query": "^5.21.7",
2424
"@tanstack/react-query-devtools": "^5.21.7",
2525
"@tremor/react": "^3.8.1",
2626
"@types/react": "^18.0.21",
2727
"@types/react-dom": "^18.0.6",
28-
"astro": "^4.15.2",
29-
"astro-compress": "^2.3.1",
28+
"astro": "^4.16.5",
3029
"astro-seo": "^0.8.4",
3130
"clsx": "^2.0.0",
3231
"graphql": "^16.8.1",
3332
"graphql-request": "^6.1.0",
3433
"jotai": "^2.4.3",
3534
"react": "^18.0.0",
3635
"react-dom": "^18.0.0",
36+
"sharp": "^0.33.5",
3737
"shiki": "^0.14.4",
3838
"spin-delay": "^1.2.0",
39-
"starlight-openapi": "^0.7.0",
39+
"starlight-openapi": "^0.8.1",
4040
"tailwind-merge": "^1.14.0",
4141
"tailwindcss": "^3.3.3",
4242
"ts-pattern": "^5.0.5"
@@ -52,7 +52,7 @@
5252
"eslint-config-prettier": "^9.0.0",
5353
"eslint-import-resolver-node": "^0.3.9",
5454
"eslint-import-resolver-typescript": "^3.6.3",
55-
"eslint-plugin-astro": "^1.2.3",
55+
"eslint-plugin-astro": "^1.3.0",
5656
"eslint-plugin-import": "^2.28.1",
5757
"eslint-plugin-jsx-a11y": "^6.7.1",
5858
"eslint-plugin-simple-import-sort": "^10.0.0",

0 commit comments

Comments
 (0)