@kitql/client
Advanced tools
Comparing version 0.0.9 to 0.0.10
{ | ||
"name": "@kitql/client", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@sveltejs/adapter-auto": "next", | ||
"@sveltejs/kit": "next", | ||
"@sveltejs/kit": "1.0.0-next.232", | ||
"@typescript-eslint/eslint-plugin": "^4.31.1", | ||
@@ -22,2 +22,5 @@ "@typescript-eslint/parser": "^4.31.1", | ||
}, | ||
"peerDependencies": { | ||
"graphql": "^15.0.0 || ^16.0.0" | ||
}, | ||
"type": "module", | ||
@@ -24,0 +27,0 @@ "publishConfig": { |
@@ -1,1 +0,23 @@ | ||
# TODO... | ||
# KitQL - client | ||
[KitQL](https://github.com/jycouet/kitql#kitql), _A set of tools, helping **you** building efficient apps in a fast way._ | ||
<p align="center"> | ||
<img src="../../logo.svg" width="100" /> | ||
</p> | ||
# ⚡How to - client | ||
To use, KitQL Client, create an instance of it in file | ||
`./src/lib/graphql/kitQL.ts` | ||
```ts | ||
import { KitQLClient } from '@kitql/client/kitQLClient'; | ||
const VITE_HOST = import.meta.env.VITE_HOST; | ||
export const kitQLClient = new KitQLClient({ | ||
url: `${VITE_HOST}/api/graphql` | ||
}); | ||
``` | ||
This `kitQLClient` instance will be used in your stores generated by [KitQL - graphql-codegen](https://github.com/jycouet/kitql/tree/main/packages/graphql-codegen) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
5346
24
1
1