Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Commit

Permalink
⬆️ update packages. remove unfetch. conditionally use withPWA
Browse files Browse the repository at this point in the history
update packages. remove unfetch. conditionally use withPWA

**Intentions:**

- ⬆️ - Upgrading dependencies
  • Loading branch information
TimMikeladze committed Jan 23, 2023
1 parent 7de48aa commit 3dbe4f0
Show file tree
Hide file tree
Showing 4 changed files with 610 additions and 481 deletions.
10 changes: 6 additions & 4 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ const withBundleAnalyzer = require('next-bundle-analyzer')({
enabled: process.env.ANALYZE === 'true',
});

const withPWA = require('next-pwa')({
dest: 'public',
disable: process.env.NODE_ENV === 'development',
});
const withPWA =
process.env.NODE_ENV !== 'development'
? require('next-pwa')({
dest: 'public',
})
: (nextConfig) => nextConfig;

const { version } = require('./package.json');

Expand Down
74 changes: 37 additions & 37 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,53 +49,52 @@
}
},
"dependencies": {
"@apollo/client": "3.7.3",
"@apollo/client": "3.7.4",
"@apollo/link-error": "2.0.0-beta.3",
"@apollo/server": "4.3.0",
"@apollo/server": "4.3.1",
"@as-integrations/next": "1.2.0",
"@emotion/react": "11.10.5",
"@emotion/styled": "11.10.5",
"@graphql-tools/schema": "9.0.12",
"@graphql-tools/schema": "9.0.13",
"@mui/icons-material": "5.11.0",
"@mui/joy": "5.0.0-alpha.60",
"@mui/material": "5.11.2",
"@next/font": "13.1.1",
"@mui/joy": "5.0.0-alpha.63",
"@mui/material": "5.11.5",
"@next/font": "13.1.4",
"apollo-link-debounce": "3.0.0",
"dotenv": "16.0.3",
"graphql": "16.6.0",
"graphql-rate-limit-directive": "2.0.3",
"graphql-scalars": "1.20.1",
"graphql-tag": "2.12.6",
"graphql-zeus": "5.2.3",
"i18next": "22.4.6",
"graphql-zeus": "5.2.5",
"i18next": "22.4.9",
"i18next-http-backend": "2.1.1",
"micro": "10.0.1",
"next": "13.1.1",
"next-auth": "4.18.7",
"next": "13.1.4",
"next-auth": "4.18.8",
"next-axiom": "0.16.0",
"next-bundle-analyzer": "0.6.7",
"next-i18next": "13.0.2",
"next-i18next": "13.0.3",
"next-pwa": "5.6.0",
"next-seo": "5.15.0",
"rate-limiter-flexible": "2.4.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-hook-form": "7.41.2",
"react-hook-form": "7.42.1",
"react-hot-toast": "2.4.0",
"react-i18next": "12.1.1",
"react-i18next": "12.1.4",
"remark": "14.0.2",
"remark-html": "15.0.1",
"unfetch": "4.2.0"
"remark-html": "15.0.1"
},
"devDependencies": {
"@babel/core": "^7.20.7",
"@commitlint/cli": "17.3.0",
"@commitlint/config-conventional": "17.3.0",
"@dword-design/eslint-plugin-import-alias": "2.0.7",
"@graphql-codegen/cli": "2.16.2",
"@graphql-codegen/typescript": "2.8.6",
"@graphql-codegen/typescript-resolvers": "2.7.11",
"@ngneat/falso": "6.3.2",
"@babel/core": "^7.20.12",
"@commitlint/cli": "17.4.2",
"@commitlint/config-conventional": "17.4.2",
"@dword-design/eslint-plugin-import-alias": "3.0.0",
"@graphql-codegen/cli": "2.16.4",
"@graphql-codegen/typescript": "2.8.7",
"@graphql-codegen/typescript-resolvers": "2.7.12",
"@ngneat/falso": "6.4.0",
"@storybook/addon-actions": "^6.5.15",
"@storybook/addon-essentials": "^6.5.15",
"@storybook/addon-interactions": "^6.5.15",
Expand All @@ -106,35 +105,36 @@
"@storybook/storybook-deployer": "2.8.16",
"@storybook/testing-library": "^0.0.13",
"@types/graphql": "14.5.0",
"@types/jest": "29.2.4",
"@types/jest": "29.2.6",
"@types/node": "18.11.18",
"@types/react": "18.0.26",
"@types/react": "18.0.27",
"@types/react-dom": "18.0.10",
"@types/react-test-renderer": "18.0.0",
"@typescript-eslint/eslint-plugin": "5.47.1",
"@typescript-eslint/parser": "5.47.1",
"babel-loader": "^9.1.0",
"commit-it": "0.0.7",
"@typescript-eslint/eslint-plugin": "5.48.2",
"@typescript-eslint/parser": "5.48.2",
"babel-loader": "^9.1.2",
"commit-it": "0.0.9",
"concurrently": "7.6.0",
"eslint": "8.30.0",
"eslint-config-next": "13.1.1",
"eslint-config-prettier": "8.5.0",
"eslint-import-resolver-typescript": "3.5.2",
"eslint-plugin-import": "2.26.0",
"eslint": "8.32.0",
"eslint-config-next": "13.1.4",
"eslint-config-prettier": "8.6.0",
"eslint-import-resolver-typescript": "3.5.3",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-sort-keys-fix": "1.1.2",
"eslint-plugin-typescript-sort-keys": "2.1.0",
"eslint-plugin-unused-imports": "2.0.0",
"husky": "8.0.2",
"husky": "8.0.3",
"i18next-browser-languagedetector": "7.0.1",
"jest": "29.3.1",
"lint-staged": "13.1.0",
"prettier": "2.8.1",
"prettier": "2.8.3",
"react-test-renderer": "18.2.0",
"release-it": "15.6.0",
"storybook-addon-turbo-build": "1.1.0",
"storybook-dark-mode": "2.0.5",
"ts-jest": "29.0.3",
"ts-jest": "29.0.5",
"ts-node": "10.9.1",
"typescript": "4.9.4",
"utility-types": "3.10.0"
},
Expand Down
1 change: 0 additions & 1 deletion src/graphql/apollo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
import { onError } from '@apollo/link-error';
import merge from 'deepmerge';
import { IncomingHttpHeaders } from 'http';
import fetch from 'unfetch';
import isEqual from 'lodash/isEqual';
import type { AppProps } from 'next/app';
import { useMemo } from 'react';
Expand Down
Loading

0 comments on commit 3dbe4f0

Please sign in to comment.