This commit is contained in:
tonyrewin 2022-11-19 11:53:27 +03:00
parent 537a5a078d
commit 7cd37649a4
5 changed files with 10950 additions and 10139 deletions

View File

@ -46,7 +46,7 @@
"@nanostores/router": "^0.7.0", "@nanostores/router": "^0.7.0",
"@nanostores/solid": "^0.3.0", "@nanostores/solid": "^0.3.0",
"@popperjs/core": "^2.11.6", "@popperjs/core": "^2.11.6",
"@solid-devtools/debugger": "^0.14.0", "@solid-devtools/debugger": "^0.15.0",
"@solid-devtools/logger": "^0.5.0", "@solid-devtools/logger": "^0.5.0",
"@solid-primitives/memo": "^1.1.2", "@solid-primitives/memo": "^1.1.2",
"@solid-primitives/storage": "^1.3.3", "@solid-primitives/storage": "^1.3.3",
@ -57,12 +57,11 @@
"@typescript-eslint/parser": "^5.43.0", "@typescript-eslint/parser": "^5.43.0",
"@urql/core": "^3.0.5", "@urql/core": "^3.0.5",
"@urql/devtools": "^2.0.3", "@urql/devtools": "^2.0.3",
"@urql/exchange-auth": "^1.0.0",
"@urql/exchange-graphcache": "^5.0.5", "@urql/exchange-graphcache": "^5.0.5",
"astro": "^1.6.8", "astro": "^1.6.8",
"astro-eslint-parser": "^0.9.0", "astro-eslint-parser": "^0.9.0",
"bcryptjs": "^2.4.3", "bcryptjs": "^2.4.3",
"bootstrap": "^5.3.0", "bootstrap": "^5.2.2",
"clsx": "^1.2.1", "clsx": "^1.2.1",
"cookie": "^0.5.0", "cookie": "^0.5.0",
"cookie-signature": "^1.2.0", "cookie-signature": "^1.2.0",
@ -113,7 +112,7 @@
"rollup": "^2.79.1", "rollup": "^2.79.1",
"rollup-plugin-visualizer": "^5.8.3", "rollup-plugin-visualizer": "^5.8.3",
"sass": "^1.56.1", "sass": "^1.56.1",
"solid-devtools": "^0.22.0", "solid-devtools": "^0.23.0",
"solid-js": "^1.6.2", "solid-js": "^1.6.2",
"solid-js-form": "^0.1.5", "solid-js-form": "^0.1.5",
"solid-jsx": "^0.9.1", "solid-jsx": "^0.9.1",

10944
pnpm-lock.yaml Normal file

File diff suppressed because it is too large Load Diff

View File

@ -2,6 +2,7 @@ import { ClientOptions, dedupExchange, fetchExchange, Exchange } from '@urql/cor
import { devtoolsExchange } from '@urql/devtools' import { devtoolsExchange } from '@urql/devtools'
import { isDev, apiBaseUrl } from '../utils/config' import { isDev, apiBaseUrl } from '../utils/config'
import { initClient } from './client' import { initClient } from './client'
// import { cache } from './cache'
const TOKEN_LOCAL_STORAGE_KEY = 'token' const TOKEN_LOCAL_STORAGE_KEY = 'token'

View File

@ -2,8 +2,9 @@ import { ClientOptions, dedupExchange, fetchExchange, Exchange } from '@urql/cor
import { devtoolsExchange } from '@urql/devtools' import { devtoolsExchange } from '@urql/devtools'
import { isDev, apiBaseUrl } from '../utils/config' import { isDev, apiBaseUrl } from '../utils/config'
import { initClient } from './client' import { initClient } from './client'
import { cache } from './cache'
const exchanges: Exchange[] = [dedupExchange, fetchExchange] const exchanges: Exchange[] = [dedupExchange, fetchExchange, cache]
if (isDev) { if (isDev) {
exchanges.unshift(devtoolsExchange) exchanges.unshift(devtoolsExchange)

10134
yarn.lock

File diff suppressed because it is too large Load Diff