diff --git a/package-lock.json b/package-lock.json index 9cc600b..f83615d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "fennec-bs", - "version": "0.1.0", + "version": "0.1.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "fennec-bs", - "version": "0.1.0", + "version": "0.1.1", "dependencies": { "@apollo/client": "^3.3.15", "@curi/react-dom": "^2.0.4", @@ -52,7 +52,8 @@ "@graphql-codegen/typescript": "1.21.1", "@graphql-codegen/typescript-operations": "1.17.15", "@graphql-codegen/typescript-react-apollo": "2.2.3", - "@types/ramda": "^0.27.40", + "@types/date-fns": "^2.6.0", + "@types/ramda": "^0.27.41", "@types/yup": "^0.29.11", "autoprefixer": "^9.8.6", "postcss": "^7.0.35" @@ -4129,6 +4130,16 @@ "@babel/types": "^7.3.0" } }, + "node_modules/@types/date-fns": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@types/date-fns/-/date-fns-2.6.0.tgz", + "integrity": "sha1-sGLKRlYgApCb4MY6ZGftFzE2rME=", + "deprecated": "This is a stub types definition for date-fns (https://github.com/date-fns/date-fns). date-fns provides its own type definitions, so you don't need @types/date-fns installed!", + "dev": true, + "dependencies": { + "date-fns": "*" + } + }, "node_modules/@types/eslint": { "version": "7.2.10", "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-7.2.10.tgz", @@ -4276,9 +4287,9 @@ "integrity": "sha512-1HcDas8SEj4z1Wc696tH56G8OlRaH/sqZOynNNB+HF0WOeXPaxTtbYzJY2oEfiUxjSKjhCKr+MvR7dCHcEelug==" }, "node_modules/@types/ramda": { - "version": "0.27.40", - "resolved": "https://registry.npmjs.org/@types/ramda/-/ramda-0.27.40.tgz", - "integrity": "sha512-V99ZfTH2tqVYdLDAlgh2uT+N074HPgqnAsMjALKSBqogYd0HbuuGMqNukJ6fk9Ml/Htaus76fsc4Yh3p7q1VdQ==", + "version": "0.27.41", + "resolved": "https://registry.npmjs.org/@types/ramda/-/ramda-0.27.41.tgz", + "integrity": "sha512-SxKnQzrPmA5ly2BvHrTE5BvZEkQgs3kSYBcscWUOWP9FGVDGVdzlWXpiSBJhzBxe0pFQ/amM4cjFRi9R5PFoQg==", "dev": true, "dependencies": { "ts-toolbelt": "^6.15.1" @@ -28526,6 +28537,15 @@ "@babel/types": "^7.3.0" } }, + "@types/date-fns": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@types/date-fns/-/date-fns-2.6.0.tgz", + "integrity": "sha1-sGLKRlYgApCb4MY6ZGftFzE2rME=", + "dev": true, + "requires": { + "date-fns": "*" + } + }, "@types/eslint": { "version": "7.2.10", "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-7.2.10.tgz", @@ -28673,9 +28693,9 @@ "integrity": "sha512-1HcDas8SEj4z1Wc696tH56G8OlRaH/sqZOynNNB+HF0WOeXPaxTtbYzJY2oEfiUxjSKjhCKr+MvR7dCHcEelug==" }, "@types/ramda": { - "version": "0.27.40", - "resolved": "https://registry.npmjs.org/@types/ramda/-/ramda-0.27.40.tgz", - "integrity": "sha512-V99ZfTH2tqVYdLDAlgh2uT+N074HPgqnAsMjALKSBqogYd0HbuuGMqNukJ6fk9Ml/Htaus76fsc4Yh3p7q1VdQ==", + "version": "0.27.41", + "resolved": "https://registry.npmjs.org/@types/ramda/-/ramda-0.27.41.tgz", + "integrity": "sha512-SxKnQzrPmA5ly2BvHrTE5BvZEkQgs3kSYBcscWUOWP9FGVDGVdzlWXpiSBJhzBxe0pFQ/amM4cjFRi9R5PFoQg==", "dev": true, "requires": { "ts-toolbelt": "^6.15.1" diff --git a/package.json b/package.json index 24a2e13..026cd00 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fennec-bs", - "version": "0.1.0", + "version": "0.1.1", "private": true, "dependencies": { "@apollo/client": "^3.3.15", @@ -73,7 +73,8 @@ "@graphql-codegen/typescript": "1.21.1", "@graphql-codegen/typescript-operations": "1.17.15", "@graphql-codegen/typescript-react-apollo": "2.2.3", - "@types/ramda": "^0.27.40", + "@types/date-fns": "^2.6.0", + "@types/ramda": "^0.27.41", "@types/yup": "^0.29.11", "autoprefixer": "^9.8.6", "postcss": "^7.0.35" diff --git a/src/commons/graphql/client.tsx b/src/commons/graphql/client.tsx index 2161ba0..c0c5463 100644 --- a/src/commons/graphql/client.tsx +++ b/src/commons/graphql/client.tsx @@ -88,6 +88,7 @@ export const FennecApolloClientProvider: FC = ({ children }) => { splitLink, ]); const client = new ApolloClient({ + connectToDevTools: true, ssrMode: typeof window === "undefined", link, cache: new InMemoryCache({