Skip to content

Commit ff7dfc5

Browse files
committed
chore: upgrade to Astro v5
1 parent 9596331 commit ff7dfc5

File tree

6 files changed

+545
-298
lines changed

6 files changed

+545
-298
lines changed

astro.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import sitemap from "@astrojs/sitemap";
55
import icon from "astro-icon";
66
import { EnumChangefreq as ChangeFreq } from "sitemap";
77
import { siteUrl } from "./src/constants/site-config";
8-
import vercel from "@astrojs/vercel/static";
8+
import vercel from "@astrojs/vercel";
99
import symlink from "symlink-dir";
1010
import * as path from "path";
1111
import { languages } from "./src/constants/index";

content/amiraliazimloo/posts/pwa-nextjs-guide/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
title: "Quick Guide to Building a PWA with Next.js",
44
description: "Learn how to turn your Next.js app into a Progressive Web App (PWA).",
55
published: '2024-11-14T10:00:00.000Z',
6-
tags: ['nextjs', 'react', 'webdev', 'pwa'],
6+
tags: ['nextjs', 'react', 'webdev'],
77
license: 'cc-by-nc-sa-4',
88
}
99
---
@@ -131,4 +131,4 @@ Try installing your app on a device by clicking the “Add to Home Screen” opt
131131

132132
## Conclusion
133133

134-
With these steps, you've successfully transformed your Next.js app into a Progressive Web App. You can now take full advantage of the capabilities of PWAs, including offline support, push notifications, and the ability to install the app on your device's home screen.
134+
With these steps, you've successfully transformed your Next.js app into a Progressive Web App. You can now take full advantage of the capabilities of PWAs, including offline support, push notifications, and the ability to install the app on your device's home screen.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@
4343
},
4444
"devDependencies": {
4545
"@astrojs/check": "^0.9.4",
46-
"@astrojs/preact": "^3.5.3",
46+
"@astrojs/preact": "^4.0.0",
4747
"@astrojs/sitemap": "^3.2.1",
48-
"@astrojs/vercel": "^7.8.2",
48+
"@astrojs/vercel": "^8.0.0",
4949
"@eslint/eslintrc": "^3.1.0",
5050
"@eslint/js": "^9.13.0",
5151
"@lesjoursfr/html-to-epub": "^4.3.0",
@@ -69,7 +69,7 @@
6969
"@typescript-eslint/eslint-plugin": "^8.11.0",
7070
"@typescript-eslint/parser": "^8.11.0",
7171
"@vercel/node": "^3.1.7",
72-
"astro": "^4.16.7",
72+
"astro": "^5.0.1",
7373
"astro-icon": "^1.1.1",
7474
"autoprefixer": "^10.4.15",
7575
"classnames": "^2.3.2",

0 commit comments

Comments
 (0)