chore: 🔧 update deps

This commit is contained in:
AP 2020-05-12 06:19:12 +02:00
parent 3d29616300
commit 69555abfff
8 changed files with 1586 additions and 1343 deletions

View file

@ -1,5 +1,4 @@
import { ApolloClient, InMemoryCache, HttpLink } from 'apollo-boost'; import { ApolloClient, InMemoryCache, HttpLink } from 'apollo-boost';
import fetch from 'isomorphic-unfetch';
import withApollo from 'next-with-apollo'; import withApollo from 'next-with-apollo';
import getConfig from 'next/config'; import getConfig from 'next/config';

View file

@ -1,5 +1,4 @@
/* eslint @typescript-eslint/no-var-requires: 0 */ /* eslint @typescript-eslint/no-var-requires: 0 */
require('dotenv').config();
const withBundleAnalyzer = require('@next/bundle-analyzer')({ const withBundleAnalyzer = require('@next/bundle-analyzer')({
enabled: process.env.ANALYZE === 'true', enabled: process.env.ANALYZE === 'true',
}); });

View file

@ -32,26 +32,24 @@
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@apollo/react-hooks": "^3.1.5", "@apollo/react-hooks": "^3.1.5",
"apollo-boost": "^0.4.7", "apollo-boost": "^0.4.8",
"apollo-server-micro": "^2.12.0", "apollo-server-micro": "^2.13.1",
"base64url": "^3.0.1", "base64url": "^3.0.1",
"cookie": "^0.4.1", "cookie": "^0.4.1",
"crypto-js": "^4.0.0", "crypto-js": "^4.0.0",
"date-fns": "^2.12.0", "date-fns": "^2.13.0",
"dotenv": "^8.2.0",
"graphql": "^15.0.0", "graphql": "^15.0.0",
"graphql-iso-date": "^3.6.1", "graphql-iso-date": "^3.6.1",
"graphql-rate-limit": "^2.0.1", "graphql-rate-limit": "^2.0.1",
"graphql-tag": "^2.10.3", "graphql-tag": "^2.10.3",
"intersection-observer": "^0.10.0", "intersection-observer": "^0.10.0",
"isomorphic-unfetch": "^3.0.0",
"js-cookie": "^2.2.1", "js-cookie": "^2.2.1",
"ln-service": "^48.0.5", "ln-service": "^48.0.5",
"lodash.debounce": "^4.0.8", "lodash.debounce": "^4.0.8",
"lodash.groupby": "^4.6.0", "lodash.groupby": "^4.6.0",
"lodash.merge": "^4.6.2", "lodash.merge": "^4.6.2",
"micro-cors": "^0.1.1", "micro-cors": "^0.1.1",
"next": "^9.3.6", "next": "^9.4.0",
"next-with-apollo": "^5.0.1", "next-with-apollo": "^5.0.1",
"numeral": "^2.0.6", "numeral": "^2.0.6",
"qrcode.react": "^1.0.0", "qrcode.react": "^1.0.0",
@ -63,14 +61,14 @@
"react-qr-reader": "^2.2.1", "react-qr-reader": "^2.2.1",
"react-spinners": "^0.8.3", "react-spinners": "^0.8.3",
"react-spring": "^8.0.27", "react-spring": "^8.0.27",
"react-toastify": "^5.5.0", "react-toastify": "^6.0.1",
"react-tooltip": "^4.2.5", "react-tooltip": "^4.2.6",
"styled-components": "^5.1.0", "styled-components": "^5.1.0",
"styled-react-modal": "^2.0.1", "styled-react-modal": "^2.0.1",
"styled-theming": "^2.2.0", "styled-theming": "^2.2.0",
"underscore": "^1.10.2", "underscore": "^1.10.2",
"uuid": "^8.0.0", "uuid": "^8.0.0",
"victory": "^34.1.3", "victory": "^34.2.2",
"winston": "^3.2.1", "winston": "^3.2.1",
"zxcvbn": "^4.4.2" "zxcvbn": "^4.4.2"
}, },
@ -84,40 +82,40 @@
"@graphql-codegen/typescript-operations": "^1.13.5", "@graphql-codegen/typescript-operations": "^1.13.5",
"@graphql-codegen/typescript-react-apollo": "1.13.5", "@graphql-codegen/typescript-react-apollo": "1.13.5",
"@graphql-codegen/typescript-resolvers": "1.13.5", "@graphql-codegen/typescript-resolvers": "1.13.5",
"@next/bundle-analyzer": "^9.3.6", "@next/bundle-analyzer": "^9.4.0",
"@storybook/addon-actions": "^5.3.18", "@storybook/addon-actions": "^5.3.18",
"@storybook/addon-knobs": "^5.3.18", "@storybook/addon-knobs": "^5.3.18",
"@storybook/addon-viewport": "^5.3.18", "@storybook/addon-viewport": "^5.3.18",
"@storybook/react": "^5.3.18", "@storybook/react": "^5.3.18",
"@testing-library/jest-dom": "^5.5.0", "@testing-library/jest-dom": "^5.7.0",
"@testing-library/react": "^10.0.4", "@testing-library/react": "^10.0.4",
"@types/node": "^13.13.4", "@types/node": "^13.13.5",
"@types/react": "^16.9.34", "@types/react": "^16.9.35",
"@types/styled-components": "^5.1.0", "@types/styled-components": "^5.1.0",
"@types/styled-theming": "^2.2.2", "@types/styled-theming": "^2.2.2",
"@typescript-eslint/eslint-plugin": "^2.31.0", "@typescript-eslint/eslint-plugin": "^2.32.0",
"@typescript-eslint/parser": "^2.31.0", "@typescript-eslint/parser": "^2.32.0",
"babel-jest": "^25.5.1", "babel-jest": "^26.0.1",
"babel-loader": "^8.1.0", "babel-loader": "^8.1.0",
"babel-plugin-inline-react-svg": "^1.1.1", "babel-plugin-inline-react-svg": "^1.1.1",
"babel-plugin-styled-components": "^1.10.7", "babel-plugin-styled-components": "^1.10.7",
"babel-preset-react-app": "^9.1.2", "babel-preset-react-app": "^9.1.2",
"cross-env": "^7.0.2", "cross-env": "^7.0.2",
"devmoji": "^2.1.9", "devmoji": "^2.1.9",
"eslint": "^6.8.0", "eslint": "^7.0.0",
"eslint-config-prettier": "^6.11.0", "eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.20.2", "eslint-plugin-import": "^2.20.2",
"eslint-plugin-jest": "^23.9.0", "eslint-plugin-jest": "^23.10.0",
"eslint-plugin-jsx-a11y": "^6.2.3", "eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.3", "eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.19.0", "eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^4.0.0", "eslint-plugin-react-hooks": "^4.0.0",
"fast-diff": "^1.2.0", "fast-diff": "^1.2.0",
"husky": "^4.2.5", "husky": "^4.2.5",
"jest": "^25.5.4", "jest": "^26.0.1",
"lint-staged": "^10.2.2", "lint-staged": "^10.2.2",
"prettier": "^2.0.5", "prettier": "^2.0.5",
"standard-version": "^7.1.0", "standard-version": "^8.0.0",
"typescript": "^3.8.3" "typescript": "^3.8.3"
}, },
"husky": { "husky": {

View file

@ -1,6 +1,6 @@
import { ApolloServer } from 'apollo-server-micro'; import { ApolloServer } from 'apollo-server-micro';
import { thunderHubSchema } from '../../src/api/schemas'; import { thunderHubSchema } from 'src/api/schemas';
import { getIp } from '../../src/api/helpers/helpers'; import { getIp } from 'src/api/helpers/helpers';
import getConfig from 'next/config'; import getConfig from 'next/config';
import Cors from 'micro-cors'; import Cors from 'micro-cors';

View file

@ -1,4 +1,3 @@
import fetch from 'isomorphic-unfetch';
import { GraphQLList, GraphQLString } from 'graphql'; import { GraphQLList, GraphQLString } from 'graphql';
import { requestLimiter } from '../../../helpers/rateLimiter'; import { requestLimiter } from '../../../helpers/rateLimiter';
import { logger } from '../../../helpers/logger'; import { logger } from '../../../helpers/logger';

View file

@ -15,8 +15,8 @@ import { textColorMap, unSelectedNavButton } from '../../../styles/Themes';
import ReactTooltip from 'react-tooltip'; import ReactTooltip from 'react-tooltip';
import styled from 'styled-components'; import styled from 'styled-components';
import ScaleLoader from 'react-spinners/ScaleLoader'; import ScaleLoader from 'react-spinners/ScaleLoader';
import { getPrice } from '../../../../src/components/price/Price'; import { getPrice } from 'src/components/price/Price';
import { AnimatedNumber } from '../../../../src/components/animated/AnimatedNumber'; import { AnimatedNumber } from 'src/components/animated/AnimatedNumber';
import { useStatusState } from '../../../context/StatusContext'; import { useStatusState } from '../../../context/StatusContext';
import { usePriceState } from '../../../context/PriceContext'; import { usePriceState } from '../../../context/PriceContext';
import { useGetNodeInfoQuery } from '../../../generated/graphql'; import { useGetNodeInfoQuery } from '../../../generated/graphql';

View file

@ -13,7 +13,8 @@
"resolveJsonModule": true, "resolveJsonModule": true,
"isolatedModules": true, "isolatedModules": true,
"jsx": "preserve", "jsx": "preserve",
"downlevelIteration": true "downlevelIteration": true,
"baseUrl": "."
}, },
"exclude": ["node_modules", ".next"], "exclude": ["node_modules", ".next"],
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "next.config.js"] "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "next.config.js"]

2877
yarn.lock

File diff suppressed because it is too large Load diff