feat: v0.1.1

This commit is contained in:
Ivan Li 2021-06-27 19:43:30 +08:00
parent 653d779efb
commit 243b0d7b8d
3 changed files with 33 additions and 11 deletions

38
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "fennec-bs", "name": "fennec-bs",
"version": "0.1.0", "version": "0.1.1",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "fennec-bs", "name": "fennec-bs",
"version": "0.1.0", "version": "0.1.1",
"dependencies": { "dependencies": {
"@apollo/client": "^3.3.15", "@apollo/client": "^3.3.15",
"@curi/react-dom": "^2.0.4", "@curi/react-dom": "^2.0.4",
@ -52,7 +52,8 @@
"@graphql-codegen/typescript": "1.21.1", "@graphql-codegen/typescript": "1.21.1",
"@graphql-codegen/typescript-operations": "1.17.15", "@graphql-codegen/typescript-operations": "1.17.15",
"@graphql-codegen/typescript-react-apollo": "2.2.3", "@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", "@types/yup": "^0.29.11",
"autoprefixer": "^9.8.6", "autoprefixer": "^9.8.6",
"postcss": "^7.0.35" "postcss": "^7.0.35"
@ -4129,6 +4130,16 @@
"@babel/types": "^7.3.0" "@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": { "node_modules/@types/eslint": {
"version": "7.2.10", "version": "7.2.10",
"resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-7.2.10.tgz", "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-7.2.10.tgz",
@ -4276,9 +4287,9 @@
"integrity": "sha512-1HcDas8SEj4z1Wc696tH56G8OlRaH/sqZOynNNB+HF0WOeXPaxTtbYzJY2oEfiUxjSKjhCKr+MvR7dCHcEelug==" "integrity": "sha512-1HcDas8SEj4z1Wc696tH56G8OlRaH/sqZOynNNB+HF0WOeXPaxTtbYzJY2oEfiUxjSKjhCKr+MvR7dCHcEelug=="
}, },
"node_modules/@types/ramda": { "node_modules/@types/ramda": {
"version": "0.27.40", "version": "0.27.41",
"resolved": "https://registry.npmjs.org/@types/ramda/-/ramda-0.27.40.tgz", "resolved": "https://registry.npmjs.org/@types/ramda/-/ramda-0.27.41.tgz",
"integrity": "sha512-V99ZfTH2tqVYdLDAlgh2uT+N074HPgqnAsMjALKSBqogYd0HbuuGMqNukJ6fk9Ml/Htaus76fsc4Yh3p7q1VdQ==", "integrity": "sha512-SxKnQzrPmA5ly2BvHrTE5BvZEkQgs3kSYBcscWUOWP9FGVDGVdzlWXpiSBJhzBxe0pFQ/amM4cjFRi9R5PFoQg==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"ts-toolbelt": "^6.15.1" "ts-toolbelt": "^6.15.1"
@ -28526,6 +28537,15 @@
"@babel/types": "^7.3.0" "@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": { "@types/eslint": {
"version": "7.2.10", "version": "7.2.10",
"resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-7.2.10.tgz", "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-7.2.10.tgz",
@ -28673,9 +28693,9 @@
"integrity": "sha512-1HcDas8SEj4z1Wc696tH56G8OlRaH/sqZOynNNB+HF0WOeXPaxTtbYzJY2oEfiUxjSKjhCKr+MvR7dCHcEelug==" "integrity": "sha512-1HcDas8SEj4z1Wc696tH56G8OlRaH/sqZOynNNB+HF0WOeXPaxTtbYzJY2oEfiUxjSKjhCKr+MvR7dCHcEelug=="
}, },
"@types/ramda": { "@types/ramda": {
"version": "0.27.40", "version": "0.27.41",
"resolved": "https://registry.npmjs.org/@types/ramda/-/ramda-0.27.40.tgz", "resolved": "https://registry.npmjs.org/@types/ramda/-/ramda-0.27.41.tgz",
"integrity": "sha512-V99ZfTH2tqVYdLDAlgh2uT+N074HPgqnAsMjALKSBqogYd0HbuuGMqNukJ6fk9Ml/Htaus76fsc4Yh3p7q1VdQ==", "integrity": "sha512-SxKnQzrPmA5ly2BvHrTE5BvZEkQgs3kSYBcscWUOWP9FGVDGVdzlWXpiSBJhzBxe0pFQ/amM4cjFRi9R5PFoQg==",
"dev": true, "dev": true,
"requires": { "requires": {
"ts-toolbelt": "^6.15.1" "ts-toolbelt": "^6.15.1"

View File

@ -1,6 +1,6 @@
{ {
"name": "fennec-bs", "name": "fennec-bs",
"version": "0.1.0", "version": "0.1.1",
"private": true, "private": true,
"dependencies": { "dependencies": {
"@apollo/client": "^3.3.15", "@apollo/client": "^3.3.15",
@ -73,7 +73,8 @@
"@graphql-codegen/typescript": "1.21.1", "@graphql-codegen/typescript": "1.21.1",
"@graphql-codegen/typescript-operations": "1.17.15", "@graphql-codegen/typescript-operations": "1.17.15",
"@graphql-codegen/typescript-react-apollo": "2.2.3", "@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", "@types/yup": "^0.29.11",
"autoprefixer": "^9.8.6", "autoprefixer": "^9.8.6",
"postcss": "^7.0.35" "postcss": "^7.0.35"

View File

@ -88,6 +88,7 @@ export const FennecApolloClientProvider: FC = ({ children }) => {
splitLink, splitLink,
]); ]);
const client = new ApolloClient({ const client = new ApolloClient({
connectToDevTools: true,
ssrMode: typeof window === "undefined", ssrMode: typeof window === "undefined",
link, link,
cache: new InMemoryCache({ cache: new InMemoryCache({