Skip to content

Commit f3e9d29

Browse files
authored
2 parents 9596331 + a9b6000 commit f3e9d29

File tree

6 files changed

+548
-301
lines changed

6 files changed

+548
-301
lines changed

astro.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
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";
65
import { EnumChangefreq as ChangeFreq } from "sitemap";
76
import { siteUrl } from "./src/constants/site-config";
8-
import vercel from "@astrojs/vercel/static";
7+
import vercel from "@astrojs/vercel";
98
import symlink from "symlink-dir";
109
import * as path from "path";
1110
import { languages } from "./src/constants/index";
1211
import { fileToOpenGraphConverter } from "./src/utils/translations";
1312
import { posts, collections } from "./src/utils/data";
1413
import { SUPPORTED_IMAGE_SIZES } from "./src/utils/get-picture";
1514
import { astroIntegrationCopyGenerated } from "./src/utils/markdown/astro-integration-copy-generated";
15+
import { AstroUserConfig } from "astro";
1616

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

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)