Remove PWA...

This commit is contained in:
Atridad Lahiji 2023-06-18 01:01:17 -06:00
parent 2dcf40f118
commit fc3e0e3a58
No known key found for this signature in database
4 changed files with 199 additions and 2626 deletions

12
.gitignore vendored
View file

@ -40,15 +40,3 @@ yarn-error.log*
# typescript
*.tsbuildinfo
# next-pwa
/public/precache.*.*.js
/public/sw.js
/public/workbox-*.js
/public/worker-*.js
/public/fallback-*.js
/public/precache.*.*.js.map
/public/sw.js.map
/public/workbox-*.js.map
/public/worker-*.js.map
/public/fallback-*.js

View file

@ -1,6 +1,4 @@
// @ts-check
import withPWA from "next-pwa";
!process.env.SKIP_ENV_VALIDATION && (await import("./src/env.mjs"));
/** @type {import("next").NextConfig} */
@ -24,7 +22,5 @@ const config = {
return config;
},
};
const nextConfig = withPWA({
dest: "public",
})(config);
export default nextConfig;
export default config;

View file

@ -16,7 +16,7 @@
"@ably-labs/react-hooks": "^2.1.1",
"@auth/prisma-adapter": "^1.0.0",
"@prisma/client": "4.15.0",
"@tanstack/react-query": "^4.29.13",
"@tanstack/react-query": "^4.29.14",
"@trpc/client": "10.30.0",
"@trpc/next": "10.30.0",
"@trpc/react-query": "10.30.0",
@ -24,7 +24,7 @@
"ably": "^1.2.40",
"autoprefixer": "^10.4.14",
"json2csv": "6.0.0-alpha.2",
"next": "^13.4.5",
"next": "^13.4.6",
"next-auth": "^4.22.1",
"postcss": "^8.4.24",
"preact": "^10.15.1",
@ -32,7 +32,7 @@
"react-dom": "18.2.0",
"react-icons": "^4.9.0",
"redicache-ts": "^0.1.1",
"resend": "^0.15.1",
"resend": "^0.15.3",
"sharp": "^0.32.1",
"superjson": "1.12.3",
"zod": "^3.21.4"
@ -40,16 +40,14 @@
"devDependencies": {
"@types/eslint": "^8.40.2",
"@types/json2csv": "^5.0.3",
"@types/next-pwa": "^5.6.4",
"@types/node": "^20.3.1",
"@types/react": "^18.2.12",
"@types/react-dom": "^18.2.5",
"@typescript-eslint/eslint-plugin": "^5.59.11",
"@typescript-eslint/parser": "^5.59.11",
"daisyui": "^3.1.0",
"eslint": "^8.42.0",
"eslint-config-next": "^13.4.5",
"next-pwa": "^5.6.0",
"daisyui": "^3.1.1",
"eslint": "^8.43.0",
"eslint-config-next": "^13.4.6",
"prisma": "4.15.0",
"tailwindcss": "^3.3.2",
"typescript": "^5.1.3"

2791
pnpm-lock.yaml generated

File diff suppressed because it is too large Load diff