feat(smart-app): implement complete mobile app MVP

- App.tsx: full navigation (Auth stack + Main tabs with 5 screens)
- Auth: LoginScreen, RegisterScreen, ForgotPasswordScreen
- HomeScreen: dashboard with IoT metrics, weather widget, alerts, quick actions, sensors
- MapScreen: interactive map with layer toggles (6 layers)
- MarketplaceScreen: categories (6), products (5), search
- ChatScreen: AI chat with quick prompts (4), bot responses
- ProfileScreen: user info, stats, menu (9 items), logout
- AlertsScreen: alert list with severity, acknowledge
- SensorsScreen: sensor list with type filters (6 types), search
- ZonesScreen: zone cards with stats
- SettingsScreen: language picker (FR/EN/ES/DE), privacy, about
- Stores: iotStore (sensors, zones, alerts), notificationStore, uiStore + i18n
- Hooks: useSensors, useAlerts, useNotifications, useLocation
- Components: Card, Button, LoadingSpinner, ErrorBoundary, Header
- Services: iotService, notificationService (with axios API client)
- Utils: formatters (temp, AQI, noise, dates), validators (email, password, IBAN)
- Theme: colors.ts with full design system (Blue Ocean palette)
- Ditto: fixed MongoDB connection, new JWT secrets, official gateway image
This commit is contained in:
Eric FELIXINE
2026-06-01 18:00:35 -04:00
parent 08ca495bde
commit e30ae8ed09
35578 changed files with 3703534 additions and 43 deletions

View File

@@ -0,0 +1,124 @@
# Changelog
## 0.3.0
### Minor Changes
- Add a new `retryWith` option which allows operations to be updated when a request is being retried, by [@kitten](https://github.com/kitten) (See [#1881](https://github.com/FormidableLabs/urql/pull/1881))
### Patch Changes
- Updated dependencies (See [#1870](https://github.com/FormidableLabs/urql/pull/1870) and [#1880](https://github.com/FormidableLabs/urql/pull/1880))
- @urql/core@2.3.1
## 0.2.1
### Patch Changes
- Remove closure-compiler from the build step (See [#1570](https://github.com/FormidableLabs/urql/pull/1570))
- Updated dependencies (See [#1570](https://github.com/FormidableLabs/urql/pull/1570), [#1509](https://github.com/FormidableLabs/urql/pull/1509), [#1600](https://github.com/FormidableLabs/urql/pull/1600), and [#1515](https://github.com/FormidableLabs/urql/pull/1515))
- @urql/core@2.1.0
## 0.2.0
### Minor Changes
- Add a second `Operation` input argument to the `retryIf` predicate, so that retrying can be actively avoided for specific types of operations, e.g. mutations or subscriptions, in certain user-defined cases, by [@kitten](https://github.com/kitten) (See [#1117](https://github.com/FormidableLabs/urql/pull/1117))
### Patch Changes
- Updated dependencies (See [#1119](https://github.com/FormidableLabs/urql/pull/1119), [#1113](https://github.com/FormidableLabs/urql/pull/1113), [#1104](https://github.com/FormidableLabs/urql/pull/1104), and [#1123](https://github.com/FormidableLabs/urql/pull/1123))
- @urql/core@1.15.0
## 0.1.10
### Patch Changes
- ⚠️ Fix the production build overwriting the development build. Specifically in the previous release we mistakenly replaced all development bundles with production bundles. This doesn't have any direct influence on how these packages work, but prevented development warnings from being logged or full errors from being thrown, by [@kitten](https://github.com/kitten) (See [#1097](https://github.com/FormidableLabs/urql/pull/1097))
- Updated dependencies (See [#1097](https://github.com/FormidableLabs/urql/pull/1097))
- @urql/core@1.14.1
## 0.1.9
### Patch Changes
- Deprecate the `Operation.operationName` property in favor of `Operation.kind`. This name was
previously confusing as `operationName` was effectively referring to two different things. You can
safely upgrade to this new version, however to mute all deprecation warnings you will have to
**upgrade** all `urql` packages you use. If you have custom exchanges that spread operations, please
use [the new `makeOperation` helper
function](https://formidable.com/open-source/urql/docs/api/core/#makeoperation) instead, by [@bkonkle](https://github.com/bkonkle) (See [#1045](https://github.com/FormidableLabs/urql/pull/1045))
- Updated dependencies (See [#1094](https://github.com/FormidableLabs/urql/pull/1094) and [#1045](https://github.com/FormidableLabs/urql/pull/1045))
- @urql/core@1.14.0
## 0.1.8
### Patch Changes
- Upgrade to a minimum version of wonka@^4.0.14 to work around issues with React Native's minification builds, which use uglify-es and could lead to broken bundles, by [@kitten](https://github.com/kitten) (See [#842](https://github.com/FormidableLabs/urql/pull/842))
- Updated dependencies (See [#838](https://github.com/FormidableLabs/urql/pull/838) and [#842](https://github.com/FormidableLabs/urql/pull/842))
- @urql/core@1.12.0
## 0.1.7
### Patch Changes
- Add `source` debug name to all `dispatchDebug` calls during build time to identify events by which exchange dispatched them, by [@JoviDeCroock](https://github.com/JoviDeCroock) (See [#780](https://github.com/FormidableLabs/urql/pull/780))
- Updated dependencies (See [#780](https://github.com/FormidableLabs/urql/pull/780))
- @urql/core@1.11.7
## 0.1.6
### Patch Changes
- Add a `"./package.json"` entry to the `package.json`'s `"exports"` field for Node 14. This seems to be required by packages like `rollup-plugin-svelte` to function properly, by [@JoviDeCroock](https://github.com/JoviDeCroock) (See [#771](https://github.com/FormidableLabs/urql/pull/771))
- Updated dependencies (See [#771](https://github.com/FormidableLabs/urql/pull/771))
- @urql/core@1.11.6
## 0.1.5
### Patch Changes
- Add debugging events to exchanges that add more detailed information on what is happening
internally, which will be displayed by devtools like the urql [Chrome / Firefox extension](https://github.com/FormidableLabs/urql-devtools), by [@andyrichardson](https://github.com/andyrichardson) (See [#608](https://github.com/FormidableLabs/urql/pull/608))
- Updated dependencies (See [#608](https://github.com/FormidableLabs/urql/pull/608), [#718](https://github.com/FormidableLabs/urql/pull/718), and [#722](https://github.com/FormidableLabs/urql/pull/722))
- @urql/core@1.11.0
## 0.1.4
### Patch Changes
- Add graphql@^15.0.0 to peer dependency range, by [@kitten](https://github.com/kitten) (See [#688](https://github.com/FormidableLabs/urql/pull/688))
- Updated dependencies (See [#688](https://github.com/FormidableLabs/urql/pull/688) and [#678](https://github.com/FormidableLabs/urql/pull/678))
- @urql/core@1.10.8
## 0.1.3
### Patch Changes
- ⚠️ Fix node resolution when using Webpack, which experiences a bug where it only resolves
`package.json:main` instead of `module` when an `.mjs` file imports a package, by [@JoviDeCroock](https://github.com/JoviDeCroock) (See [#642](https://github.com/FormidableLabs/urql/pull/642))
- Updated dependencies (See [#642](https://github.com/FormidableLabs/urql/pull/642))
- @urql/core@1.10.4
## 0.1.2
### Patch Changes
- ⚠️ Fix Node.js Module support for v13 (experimental-modules) and v14. If your bundler doesn't support
`.mjs` files and fails to resolve the new version, please double check your configuration for
Webpack, or similar tools, by [@JoviDeCroock](https://github.com/JoviDeCroock) (See [#637](https://github.com/FormidableLabs/urql/pull/637))
- Updated dependencies (See [#637](https://github.com/FormidableLabs/urql/pull/637))
- @urql/core@1.10.3
## 0.1.1
### Patch Changes
- ⚠️ Fix Rollup bundle output being written to .es.js instead of .esm.js, by [@kitten](https://github.com/kitten) (See [#609](https://github.com/FormidableLabs/urql/pull/609))
- Updated dependencies (See [#609](https://github.com/FormidableLabs/urql/pull/609))
- @urql/core@1.10.1
## v0.1.0
**Initial Release**

View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 20182020 Formidable
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -0,0 +1,15 @@
# @urql/exchange-retry (Exchange factory)
`@urql/exchange-retry` is an exchange for the [`urql`](../../README.md) GraphQL client that allows operations (queries, mutations, subscriptions) to be retried based on an `options` parameter.
## Quick Start Guide
First install `@urql/exchange-retry` alongside `urql`:
```sh
yarn add @urql/exchange-retry
# or
npm install --save @urql/exchange-retry
```
Read more about the [retry exchange](https://formidable.com/open-source/urql/docs/advanced/retry-operations).

View File

@@ -0,0 +1 @@
export { retryExchange } from './retryExchange';

View File

@@ -0,0 +1,12 @@
import { Exchange, Operation, CombinedError } from '@urql/core';
export interface RetryExchangeOptions {
initialDelayMs?: number;
maxDelayMs?: number;
randomDelay?: boolean;
maxNumberAttempts?: number;
/** Conditionally determine whether an error should be retried */
retryIf?: (error: CombinedError, operation: Operation) => boolean;
/** Conditionally update operations as they're retried (retryIf can be replaced with this) */
retryWith?: (error: CombinedError, operation: Operation) => Operation | null | undefined;
}
export declare const retryExchange: ({ initialDelayMs, maxDelayMs, randomDelay, maxNumberAttempts, retryIf, retryWith, }: RetryExchangeOptions) => Exchange;

View File

@@ -0,0 +1,83 @@
var r = require("wonka");
var e = require("@urql/core");
function _extends() {
return (_extends = Object.assign || function(r) {
for (var e = 1; e < arguments.length; e++) {
var t = arguments[e];
for (var a in t) {
if (Object.prototype.hasOwnProperty.call(t, a)) {
r[a] = t[a];
}
}
}
return r;
}).apply(this, arguments);
}
exports.retryExchange = function retryExchange(t) {
var a = t.retryIf;
var n = t.retryWith;
var o = t.initialDelayMs || 1e3;
var i = t.maxDelayMs || 15e3;
var u = t.maxNumberAttempts || 2;
var s = t.randomDelay || !0;
return function(t) {
var c = t.forward;
var y = t.dispatchDebug;
return function(t) {
var v = r.share(t);
var p = r.makeSubject();
var f = p.source;
var d = p.next;
var h = r.mergeMap((function(t) {
var a = t.key;
var n = t.context;
var c = (n.retryCount || 0) + 1;
var p = n.retryDelay || o;
var f = Math.random() + 1.5;
if (s && p * f < i) {
p *= f;
}
var d = r.filter((function(r) {
return ("query" === r.kind || "teardown" === r.kind) && r.key === a;
}))(v);
"production" !== process.env.NODE_ENV && y({
type: "retryAttempt",
message: "The operation has failed and a retry has been triggered (" + c + " / " + u + ")",
operation: t,
data: {
retryCount: c
},
source: "retryExchange"
});
return r.takeUntil(d)(r.delay(p)(r.fromValue(e.makeOperation(t.kind, t, _extends({}, t.context, {
retryDelay: p,
retryCount: c
})))));
}))(f);
return r.filter((function(r) {
if (!(r.error && (a ? a(r.error, r.operation) : n || r.error.networkError))) {
return !0;
}
if (!((r.operation.context.retryCount || 0) >= u - 1)) {
var e = n ? n(r.error, r.operation) : r.operation;
if (!e) {
return !0;
}
d(e);
return !1;
}
"production" !== process.env.NODE_ENV && y({
type: "retryExhausted",
message: "Maximum number of retries has been reached. No further retries will be performed.",
operation: r.operation,
source: "retryExchange"
});
return !0;
}))(r.share(c(r.merge([ v, h ]))));
};
};
};
//# sourceMappingURL=urql-exchange-retry.js.map

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
var r=require("wonka"),e=require("@urql/core");function t(){return(t=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r}).apply(this,arguments)}exports.retryExchange=function(n){var o=n.retryIf,a=n.retryWith,i=n.initialDelayMs||1e3,u=n.maxDelayMs||15e3,y=n.maxNumberAttempts||2,c=n.randomDelay||!0;return function(n){var f=n.forward;return function(n){var l=r.share(n),p=r.makeSubject(),m=p.source,s=p.next,k=r.mergeMap((function(n){var o=n.key,a=n.context,y=(a.retryCount||0)+1,f=a.retryDelay||i,p=Math.random()+1.5;c&&f*p<u&&(f*=p);var m=r.filter((function(r){return("query"===r.kind||"teardown"===r.kind)&&r.key===o}))(l);return r.takeUntil(m)(r.delay(f)(r.fromValue(e.makeOperation(n.kind,n,t({},n.context,{retryDelay:f,retryCount:y})))))}))(m);return r.filter((function(r){if(!r.error||!(o?o(r.error,r.operation):a||r.error.networkError))return!0;if(!((r.operation.context.retryCount||0)>=y-1)){var e=a?a(r.error,r.operation):r.operation;return!e||(s(e),!1)}return!0}))(r.share(f(r.merge([l,k]))))}}};
//# sourceMappingURL=urql-exchange-retry.min.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"urql-exchange-retry.min.js","sources":["../src/retryExchange.ts"],"sourcesContent":["import {\n makeSubject,\n share,\n pipe,\n merge,\n filter,\n fromValue,\n delay,\n mergeMap,\n takeUntil,\n} from 'wonka';\nimport {\n makeOperation,\n Exchange,\n Operation,\n CombinedError,\n OperationResult,\n} from '@urql/core';\nimport { sourceT } from 'wonka/dist/types/src/Wonka_types.gen';\n\nexport interface RetryExchangeOptions {\n initialDelayMs?: number;\n maxDelayMs?: number;\n randomDelay?: boolean;\n maxNumberAttempts?: number;\n /** Conditionally determine whether an error should be retried */\n retryIf?: (error: CombinedError, operation: Operation) => boolean;\n /** Conditionally update operations as they're retried (retryIf can be replaced with this) */\n retryWith?: (\n error: CombinedError,\n operation: Operation\n ) => Operation | null | undefined;\n}\n\nexport const retryExchange = ({\n initialDelayMs,\n maxDelayMs,\n randomDelay,\n maxNumberAttempts,\n retryIf,\n retryWith,\n}: RetryExchangeOptions): Exchange => {\n const MIN_DELAY = initialDelayMs || 1000;\n const MAX_DELAY = maxDelayMs || 15000;\n const MAX_ATTEMPTS = maxNumberAttempts || 2;\n const RANDOM_DELAY = randomDelay || true;\n\n return ({ forward, dispatchDebug }) => ops$ => {\n const sharedOps$ = pipe(ops$, share);\n const {\n source: retry$,\n next: nextRetryOperation,\n } = makeSubject<Operation>();\n\n const retryWithBackoff$ = pipe(\n retry$,\n mergeMap((op: Operation) => {\n const { key, context } = op;\n const retryCount = (context.retryCount || 0) + 1;\n let delayAmount = context.retryDelay || MIN_DELAY;\n\n const backoffFactor = Math.random() + 1.5;\n // if randomDelay is enabled and it won't exceed the max delay, apply a random\n // amount to the delay to avoid thundering herd problem\n if (RANDOM_DELAY && delayAmount * backoffFactor < MAX_DELAY) {\n delayAmount *= backoffFactor;\n }\n\n // We stop the retries if a teardown event for this operation comes in\n // But if this event comes through regularly we also stop the retries, since it's\n // basically the query retrying itself, no backoff should be added!\n const teardown$ = pipe(\n sharedOps$,\n filter(op => {\n return (\n (op.kind === 'query' || op.kind === 'teardown') && op.key === key\n );\n })\n );\n\n dispatchDebug({\n type: 'retryAttempt',\n message: `The operation has failed and a retry has been triggered (${retryCount} / ${MAX_ATTEMPTS})`,\n operation: op,\n data: {\n retryCount,\n },\n });\n\n // Add new retryDelay and retryCount to operation\n return pipe(\n fromValue(\n makeOperation(op.kind, op, {\n ...op.context,\n retryDelay: delayAmount,\n retryCount,\n })\n ),\n delay(delayAmount),\n // Stop retry if a teardown comes in\n takeUntil(teardown$)\n );\n })\n );\n\n const result$ = pipe(\n merge([sharedOps$, retryWithBackoff$]),\n forward,\n share,\n filter(res => {\n // Only retry if the error passes the conditional retryIf function (if passed)\n // or if the error contains a networkError\n if (\n !res.error ||\n (retryIf\n ? !retryIf(res.error, res.operation)\n : !retryWith && !res.error.networkError)\n ) {\n return true;\n }\n\n const maxNumberAttemptsExceeded =\n (res.operation.context.retryCount || 0) >= MAX_ATTEMPTS - 1;\n\n if (!maxNumberAttemptsExceeded) {\n const operation = retryWith\n ? retryWith(res.error, res.operation)\n : res.operation;\n if (!operation) return true;\n\n // Send failed responses to be retried by calling next on the retry$ subject\n // Exclude operations that have been retried more than the specified max\n nextRetryOperation(operation);\n return false;\n }\n\n dispatchDebug({\n type: 'retryExhausted',\n message:\n 'Maximum number of retries has been reached. No further retries will be performed.',\n operation: res.operation,\n });\n\n return true;\n })\n ) as sourceT<OperationResult>;\n\n return result$;\n };\n};\n"],"names":["MIN_DELAY","initialDelayMs","MAX_DELAY","MAX_ATTEMPTS","RANDOM_DELAY","retryWithBackoff$","retryCount","op","context","delayAmount","retryDelay","backoffFactor","filter","kind","error"],"mappings":"gTA0CQA,EAAYC,YACZC,wBACAC,qBACAC,iJASEC,+CAIIC,EAAUC,EAAGC,QACfC,GAAcD,EAAQE,YAAcV,KAElCW,+DAcaC,QAAZ,YAJQ,mBAAAC,6IAwBTP,EAHWA,4DA0BRQ,mLAbA"}

View File

@@ -0,0 +1,2 @@
import{share as r,makeSubject as t,mergeMap as e,filter as n,takeUntil as o,delay as a,fromValue as i,merge as u}from"wonka";import{makeOperation as y}from"@urql/core";function c(){return(c=Object.assign||function(r){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n])}return r}).apply(this,arguments)}function f(f){var p=f.retryIf,l=f.retryWith,m=f.initialDelayMs||1e3,v=f.maxDelayMs||15e3,s=f.maxNumberAttempts||2,d=f.randomDelay||!0;return function(f){var k=f.forward;return function(f){var x=r(f),h=t(),w=h.source,D=h.next,b=e((function(r){var t=r.key,e=r.context,u=(e.retryCount||0)+1,f=e.retryDelay||m,p=Math.random()+1.5;d&&f*p<v&&(f*=p);var l=n((function(r){return("query"===r.kind||"teardown"===r.kind)&&r.key===t}))(x);return o(l)(a(f)(i(y(r.kind,r,c({},r.context,{retryDelay:f,retryCount:u})))))}))(w);return n((function(r){if(!r.error||!(p?p(r.error,r.operation):l||r.error.networkError))return!0;if(!((r.operation.context.retryCount||0)>=s-1)){var t=l?l(r.error,r.operation):r.operation;return!t||(D(t),!1)}return!0}))(r(k(u([x,b]))))}}}export{f as retryExchange};
//# sourceMappingURL=urql-exchange-retry.min.mjs.map

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,85 @@
import { share as r, makeSubject as e, mergeMap as t, filter as n, takeUntil as a, delay as o, fromValue as i, merge as u } from "wonka";
import { makeOperation as c } from "@urql/core";
function _extends() {
return (_extends = Object.assign || function(r) {
for (var e = 1; e < arguments.length; e++) {
var t = arguments[e];
for (var n in t) {
if (Object.prototype.hasOwnProperty.call(t, n)) {
r[n] = t[n];
}
}
}
return r;
}).apply(this, arguments);
}
function retryExchange(s) {
var y = s.retryIf;
var p = s.retryWith;
var v = s.initialDelayMs || 1e3;
var f = s.maxDelayMs || 15e3;
var d = s.maxNumberAttempts || 2;
var h = s.randomDelay || !0;
return function(s) {
var m = s.forward;
var x = s.dispatchDebug;
return function(s) {
var l = r(s);
var g = e();
var E = g.source;
var b = g.next;
var D = t((function(r) {
var e = r.key;
var t = r.context;
var u = (t.retryCount || 0) + 1;
var s = t.retryDelay || v;
var y = Math.random() + 1.5;
if (h && s * y < f) {
s *= y;
}
var p = n((function(r) {
return ("query" === r.kind || "teardown" === r.kind) && r.key === e;
}))(l);
"production" !== process.env.NODE_ENV && x({
type: "retryAttempt",
message: "The operation has failed and a retry has been triggered (" + u + " / " + d + ")",
operation: r,
data: {
retryCount: u
},
source: "retryExchange"
});
return a(p)(o(s)(i(c(r.kind, r, _extends({}, r.context, {
retryDelay: s,
retryCount: u
})))));
}))(E);
return n((function(r) {
if (!(r.error && (y ? y(r.error, r.operation) : p || r.error.networkError))) {
return !0;
}
if (!((r.operation.context.retryCount || 0) >= d - 1)) {
var e = p ? p(r.error, r.operation) : r.operation;
if (!e) {
return !0;
}
b(e);
return !1;
}
"production" !== process.env.NODE_ENV && x({
type: "retryExhausted",
message: "Maximum number of retries has been reached. No further retries will be performed.",
operation: r.operation,
source: "retryExchange"
});
return !0;
}))(r(m(u([ l, D ]))));
};
};
}
export { retryExchange };
//# sourceMappingURL=urql-exchange-retry.mjs.map

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,65 @@
{
"name": "@urql/exchange-retry",
"version": "0.3.0",
"description": "An exchange for operation retry support in urql",
"sideEffects": false,
"homepage": "https://formidable.com/open-source/urql/docs/",
"bugs": "https://github.com/FormidableLabs/urql/issues",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/FormidableLabs/urql.git",
"directory": "exchanges/retry"
},
"keywords": [
"urql",
"graphql client",
"formidablelabs",
"exchanges",
"retry"
],
"main": "dist/urql-exchange-retry",
"module": "dist/urql-exchange-retry.mjs",
"types": "dist/types/index.d.ts",
"source": "src/index.ts",
"exports": {
".": {
"import": "./dist/urql-exchange-retry.mjs",
"require": "./dist/urql-exchange-retry.js",
"types": "./dist/types/index.d.ts",
"source": "./src/index.ts"
},
"./package.json": "./package.json"
},
"files": [
"LICENSE",
"CHANGELOG.md",
"README.md",
"dist/"
],
"scripts": {
"test": "jest",
"clean": "rimraf dist",
"check": "tsc --noEmit",
"lint": "eslint --ext=js,jsx,ts,tsx .",
"build": "rollup -c ../../scripts/rollup/config.js",
"prepare": "node ../../scripts/prepare/index.js",
"prepublishOnly": "run-s clean build"
},
"jest": {
"preset": "../../scripts/jest/preset"
},
"devDependencies": {
"graphql": "^15.4.0"
},
"peerDependencies": {
"graphql": "^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"
},
"dependencies": {
"@urql/core": ">=2.3.1",
"wonka": "^4.0.14"
},
"publishConfig": {
"access": "public"
}
}