Skip to content

Commit 4acab8b

Browse files
authored
Merge branch 'main' into flyio
2 parents 0c1d079 + f3e9d29 commit 4acab8b

File tree

6 files changed

+546
-299
lines changed

6 files changed

+546
-299
lines changed

astro.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import { defineConfig, AstroUserConfig } from "astro/config";
2-
1+
import { defineConfig } from "astro/config";
32
import preact from "@astrojs/preact";
43
import sitemap from "@astrojs/sitemap";
54
import icon from "astro-icon";
@@ -12,6 +11,7 @@ import { fileToOpenGraphConverter } from "./src/utils/translations";
1211
import { posts, collections } from "./src/utils/data";
1312
import { SUPPORTED_IMAGE_SIZES } from "./src/utils/get-picture";
1413
import { astroIntegrationCopyGenerated } from "./src/utils/markdown/astro-integration-copy-generated";
14+
import { AstroUserConfig } from "astro";
1515

1616
await symlink(path.resolve("content"), path.resolve("public/content"));
1717

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)