Skip to content

Commit

Permalink
chore(deps)
Browse files Browse the repository at this point in the history
  • Loading branch information
DuCanhGH committed Nov 18, 2023
1 parent 59bc715 commit 1d98687
Show file tree
Hide file tree
Showing 19 changed files with 1,296 additions and 718 deletions.
5 changes: 4 additions & 1 deletion docs/content/next-pwa/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,6 @@ export const metadata: Metadata = {
},
description: APP_DESCRIPTION,
manifest: "/manifest.json",
themeColor: "#FFFFFF",
appleWebApp: {
capable: true,
statusBarStyle: "default",
Expand Down Expand Up @@ -285,6 +284,10 @@ export const metadata: Metadata = {
description: APP_DESCRIPTION,
},
};

export const viewport: Viewport = {
themeColor: "#FFFFFF",
};
```

```tsx
Expand Down
2 changes: 1 addition & 1 deletion docs/md-plugins/headings/tocSearch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ export const search = (
// duplicates), but only create a TOC from top-level headings (by default).
visit(root, "heading", (node, position, parent) => {
const value = getNodeAsString(node);
// @ts-expect-error God knows
const id: string =
// @ts-expect-error `hProperties` from <https://github.com/syntax-tree/mdast-util-to-hast>
node.data && node.data.hProperties && node.data.hProperties.id;
const slug = slugs.slug(id || value);

Expand Down
32 changes: 16 additions & 16 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,31 @@
},
"dependencies": {
"@ducanh2912/next-pwa": "workspace:*",
"@mantine/hooks": "7.1.3",
"@tabler/icons-react": "2.39.0",
"@mantine/hooks": "7.2.2",
"@tabler/icons-react": "2.40.0",
"bright": "0.8.4",
"client-only": "0.0.1",
"contentlayer": "0.3.4",
"highlight.js": "11.9.0",
"next": "13.5.5",
"next": "14.0.3",
"next-contentlayer": "0.3.4",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-wrap-balancer": "1.1.0",
"server-only": "0.0.1",
"tailwind-merge": "1.14.0",
"tailwind-merge": "2.0.0",
"uuid": "9.0.1",
"zustand": "4.4.3"
"zustand": "4.4.6"
},
"devDependencies": {
"@types/extend": "3.0.3",
"@types/hast": "3.0.2",
"@types/mdast": "4.0.2",
"@types/mdx": "2.0.8",
"@types/node": "20.8.7",
"@types/react": "18.2.28",
"@types/react-dom": "18.2.13",
"@types/uuid": "9.0.5",
"@types/extend": "3.0.4",
"@types/hast": "3.0.3",
"@types/mdast": "4.0.3",
"@types/mdx": "2.0.10",
"@types/node": "20.9.1",
"@types/react": "18.2.37",
"@types/react-dom": "18.2.15",
"@types/uuid": "9.0.7",
"autoprefixer": "10.4.16",
"extend": "3.0.2",
"github-slugger": "2.0.0",
Expand All @@ -44,12 +44,12 @@
"mdast-util-mdx": "3.0.0",
"mdast-util-to-markdown": "2.1.0",
"mdast-util-to-string": "4.0.0",
"mdx-bundler": "9.2.1",
"mdx-bundler": "10.0.1",
"postcss": "8.4.31",
"rehype-highlight": "7.0.0",
"rehype-sanitize": "6.0.0",
"tailwindcss": "3.3.3",
"typescript": "5.3.0-dev.20231018",
"tailwindcss": "3.3.5",
"typescript": "5.4.0-dev.20231118",
"unified": "10.1.2",
"unist-util-is": "6.0.0",
"unist-util-visit": "5.0.0"
Expand Down
2 changes: 1 addition & 1 deletion docs/src/app/icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import fs from "node:fs/promises";
import path from "node:path";
import { fileURLToPath } from "node:url";

import { ImageResponse } from "next/server";
import { ImageResponse } from "next/og";

const __dirname = path.dirname(fileURLToPath(import.meta.url));

Expand Down
2 changes: 1 addition & 1 deletion docs/src/utils/generateOGImage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import fs from "node:fs/promises";
import path from "node:path";
import { fileURLToPath } from "node:url";

import { ImageResponse } from "next/server";
import { ImageResponse } from "next/og";

import { Logo } from "@/components/Logo.js";
import { DOCS_DOMAIN } from "@/shared/constants.js";
Expand Down
7 changes: 5 additions & 2 deletions examples/basic/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { Metadata } from "next";
import type { Metadata, Viewport } from "next";
import type { ReactNode } from "react";

const APP_NAME = "next-pwa example";
Expand All @@ -12,7 +12,6 @@ export const metadata: Metadata = {
},
description: APP_DESCRIPTION,
manifest: "/manifest.json",
themeColor: "#FFFFFF",
appleWebApp: {
capable: true,
statusBarStyle: "default",
Expand All @@ -27,6 +26,10 @@ export const metadata: Metadata = {
},
};

export const viewport: Viewport = {
themeColor: "#FFFFFF",
};

export default function RootLayout({ children }: { children: ReactNode }) {
return (
<html lang="en" dir="ltr">
Expand Down
8 changes: 4 additions & 4 deletions examples/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
},
"dependencies": {
"@ducanh2912/next-pwa": "latest",
"next": "13.5.5",
"next": "14.0.3",
"react": "18.2.0",
"react-dom": "18.2.0"
},
"devDependencies": {
"@types/node": "20.8.7",
"@types/react": "18.2.28",
"@types/react-dom": "18.2.13",
"@types/node": "20.9.1",
"@types/react": "18.2.37",
"@types/react-dom": "18.2.15",
"typescript": "5.2.2"
}
}
14 changes: 7 additions & 7 deletions examples/custom-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@
},
"dependencies": {
"@ducanh2912/next-pwa": "latest",
"@fastify/compress": "6.4.0",
"@fastify/compress": "6.5.0",
"cross-env": "7.0.3",
"fastify": "4.24.2",
"next": "13.5.5",
"fastify": "4.24.3",
"next": "14.0.3",
"react": "18.2.0",
"react-dom": "18.2.0"
},
"devDependencies": {
"@swc/core": "1.3.93",
"@types/node": "20.8.7",
"@types/react": "18.2.28",
"@types/react-dom": "18.2.13",
"@swc/core": "1.3.96",
"@types/node": "20.9.1",
"@types/react": "18.2.37",
"@types/react-dom": "18.2.15",
"nodemon": "3.0.1",
"rimraf": "5.0.5",
"ts-node": "10.9.1",
Expand Down
8 changes: 4 additions & 4 deletions examples/custom-worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
},
"dependencies": {
"@ducanh2912/next-pwa": "latest",
"next": "13.5.5",
"next": "14.0.3",
"react": "18.2.0",
"react-dom": "18.2.0"
},
"devDependencies": {
"@types/node": "20.8.7",
"@types/react": "18.2.28",
"@types/react-dom": "18.2.13",
"@types/node": "20.9.1",
"@types/react": "18.2.37",
"@types/react-dom": "18.2.15",
"typescript": "5.2.2"
}
}
7 changes: 5 additions & 2 deletions examples/lifecycle/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { Metadata } from "next";
import type { Metadata, Viewport } from "next";
import type { ReactNode } from "react";

import { PWALifeCycle } from "../components/PWALifecycle";
Expand All @@ -14,7 +14,6 @@ export const metadata: Metadata = {
},
description: APP_DESCRIPTION,
manifest: "/manifest.json",
themeColor: "#FFFFFF",
appleWebApp: {
capable: true,
statusBarStyle: "default",
Expand All @@ -29,6 +28,10 @@ export const metadata: Metadata = {
},
};

export const viewport: Viewport = {
themeColor: "#FFFFFF",
};

export default function RootLayout({ children }: { children: ReactNode }) {
return (
<html lang="en" dir="ltr">
Expand Down
8 changes: 4 additions & 4 deletions examples/lifecycle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
},
"dependencies": {
"@ducanh2912/next-pwa": "latest",
"next": "13.5.5",
"next": "14.0.3",
"react": "18.2.0",
"react-dom": "18.2.0"
},
"devDependencies": {
"@types/node": "20.8.7",
"@types/react": "18.2.28",
"@types/react-dom": "18.2.13",
"@types/node": "20.9.1",
"@types/react": "18.2.37",
"@types/react-dom": "18.2.15",
"typescript": "5.2.2"
}
}
14 changes: 7 additions & 7 deletions examples/next-i18next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@
"cross-env": "7.0.3",
"express": "4.18.2",
"fastify-compress": "4.1.0",
"i18next": "23.5.1",
"next": "13.5.5",
"next-i18next": "14.0.3",
"i18next": "23.7.6",
"next": "14.0.3",
"next-i18next": "15.0.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-i18next": "13.3.0"
"react-i18next": "13.5.0"
},
"devDependencies": {
"@types/node": "20.8.7",
"@types/react": "18.2.28",
"@types/react-dom": "18.2.13",
"@types/node": "20.9.1",
"@types/react": "18.2.37",
"@types/react-dom": "18.2.15",
"typescript": "5.2.2"
}
}
8 changes: 4 additions & 4 deletions examples/next-image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
},
"dependencies": {
"@ducanh2912/next-pwa": "latest",
"next": "13.5.5",
"next": "14.0.3",
"react": "18.2.0",
"react-dom": "18.2.0"
},
"devDependencies": {
"@types/node": "20.8.7",
"@types/react": "18.2.28",
"@types/react-dom": "18.2.13",
"@types/node": "20.9.1",
"@types/react": "18.2.37",
"@types/react-dom": "18.2.15",
"typescript": "5.2.2"
}
}
8 changes: 4 additions & 4 deletions examples/offline-fallback-v2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
},
"dependencies": {
"@ducanh2912/next-pwa": "latest",
"next": "13.5.5",
"next": "14.0.3",
"react": "18.2.0",
"react-dom": "18.2.0",
"sharp": "0.32.6"
},
"devDependencies": {
"@types/node": "20.8.7",
"@types/react": "18.2.28",
"@types/react-dom": "18.2.13",
"@types/node": "20.9.1",
"@types/react": "18.2.37",
"@types/react-dom": "18.2.15",
"typescript": "5.2.2"
}
}
10 changes: 5 additions & 5 deletions examples/web-push/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@
},
"dependencies": {
"@ducanh2912/next-pwa": "latest",
"next": "13.5.5",
"next": "14.0.3",
"react": "18.2.0",
"react-dom": "18.2.0",
"web-push": "3.6.6"
},
"devDependencies": {
"@types/node": "20.8.7",
"@types/react": "18.2.28",
"@types/react-dom": "18.2.13",
"@types/web-push": "3.6.1",
"@types/node": "20.9.1",
"@types/react": "18.2.37",
"@types/react-dom": "18.2.15",
"@types/web-push": "3.6.3",
"typescript": "5.2.2"
}
}
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,28 +34,28 @@
"@changesets/changelog-github": "0.4.8",
"@changesets/cli": "2.26.2",
"@ducanh2912/next-pwa": "workspace:*",
"@types/node": "20.8.7",
"@types/shell-quote": "1.7.2",
"@typescript-eslint/eslint-plugin": "6.8.0",
"@typescript-eslint/parser": "6.8.0",
"@types/node": "20.9.1",
"@types/shell-quote": "1.7.4",
"@typescript-eslint/eslint-plugin": "6.11.0",
"@typescript-eslint/parser": "6.11.0",
"cross-env": "7.0.3",
"eslint": "8.51.0",
"eslint-config-next": "13.5.5",
"eslint": "8.54.0",
"eslint-config-next": "14.0.3",
"eslint-config-prettier": "9.0.0",
"eslint-config-turbo": "1.10.15",
"eslint-plugin-import": "2.28.1",
"eslint-config-turbo": "1.10.16",
"eslint-plugin-import": "2.29.0",
"eslint-plugin-simple-import-sort": "10.0.0",
"fast-glob": "3.3.1",
"fast-glob": "3.3.2",
"husky": "8.0.3",
"jest": "29.7.0",
"lint-staged": "15.0.1",
"lint-staged": "15.1.0",
"npm-check-updates": "16.14.6",
"prettier": "3.0.3",
"prettier-plugin-tailwindcss": "0.5.6",
"prettier": "3.1.0",
"prettier-plugin-tailwindcss": "0.5.7",
"rimraf": "5.0.5",
"shell-quote": "1.8.1",
"tslib": "2.6.2",
"turbo": "1.10.15",
"typescript": "5.3.0-dev.20231018"
"turbo": "1.10.16",
"typescript": "5.4.0-dev.20231118"
}
}
8 changes: 4 additions & 4 deletions packages/next-pwa/__tests__/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
"type": "module",
"devDependencies": {
"@jest/globals": "29.7.0",
"@types/fs-extra": "11.0.2",
"@types/jest": "29.5.6",
"@types/react": "18.2.28",
"@types/react-dom": "18.2.13",
"@types/fs-extra": "11.0.4",
"@types/jest": "29.5.8",
"@types/react": "18.2.37",
"@types/react-dom": "18.2.15",
"cheerio": "1.0.0-rc.12",
"fs-extra": "11.1.1"
}
Expand Down
Loading

0 comments on commit 1d98687

Please sign in to comment.