Skip to content

Commit

Permalink
✨ DOC: helper str0 (#253)
Browse files Browse the repository at this point in the history
  • Loading branch information
jycouet committed Oct 22, 2022
1 parent 8fa6aa7 commit e575c28
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 14 deletions.
5 changes: 5 additions & 0 deletions .changeset/shy-hats-love.md
@@ -0,0 +1,5 @@
---
'@kitql/helper': patch
---

check str0
2 changes: 1 addition & 1 deletion examples/demo-init/DEPLOY_DATETIME
@@ -1 +1 @@
Sat Oct 22 01:54:57 2022 +0200
Sat Oct 22 02:43:58 2022 +0200
2 changes: 1 addition & 1 deletion examples/demo-init/package.json
Expand Up @@ -39,7 +39,7 @@
"vite": "3.1.7"
},
"dependencies": {
"@kitql/all-in": "0.8.0-next.13",
"@kitql/all-in": "0.8.0-next.14",
"graphql": "15.8.0",
"houdini": "0.17.0",
"houdini-svelte": "0.17.0"
Expand Down
4 changes: 2 additions & 2 deletions examples/demo-init/src/lib/graphql/kitQLServer.ts
@@ -1,9 +1,9 @@
import { useKitModules, type KitQLHandleGraphQL } from '@kitql/all-in';
import { useKitqlModules, type KitQLHandleGraphQL } from '@kitql/all-in';
import type { RequestEvent } from '@sveltejs/kit';
import { modules } from './$kitql/_appModules';

const plugins = [];
plugins.push(useKitModules(modules));
plugins.push(useKitqlModules(modules));

export type IKitQLContext = ReturnType<typeof getContext>;
function getContext({ request }: RequestEvent) {
Expand Down
4 changes: 2 additions & 2 deletions examples/demo-init/src/lib/modules/__init/index.ts
@@ -1,8 +1,8 @@
import { kitQLModules } from '@kitql/all-in';
import { kitqlModules } from '@kitql/all-in';
import { resolvers } from './$kitql/resolvers';
import { typeDefs } from './$kitql/typedefs';

export const __initModule = kitQLModules({
export const __initModule = kitqlModules({
id: 'init-module',
typeDefs,
resolvers
Expand Down
4 changes: 2 additions & 2 deletions examples/demo-init/src/lib/modules/user/index.ts
@@ -1,4 +1,4 @@
import { kitQLModules } from '@kitql/all-in';
import { kitqlModules } from '@kitql/all-in';
import { dirname } from 'path';
import { fileURLToPath } from 'url';

Expand All @@ -8,7 +8,7 @@ import { typeDefs } from './$kitql/typedefs';
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);

export const userModule = kitQLModules({
export const userModule = kitqlModules({
id: 'user-module',
dirname: __dirname,
typeDefs,
Expand Down
8 changes: 4 additions & 4 deletions examples/demo-init/yarn.lock
Expand Up @@ -1113,10 +1113,10 @@
"@jridgewell/resolve-uri" "3.1.0"
"@jridgewell/sourcemap-codec" "1.4.14"

"@kitql/all-in@0.8.0-next.13":
version "0.8.0-next.13"
resolved "https://registry.yarnpkg.com/@kitql/all-in/-/all-in-0.8.0-next.13.tgz#d08109bc91d8799a4aea7e43dba96f5a48914abf"
integrity sha512-vAAA9jxEB/w7/WIYpB7jFm03Is+Jde791DZdh5zzsqCIjBlKDPimDgqEVaApE4N5ID72nCDxdq5NiSOVsJhkug==
"@kitql/all-in@0.8.0-next.14":
version "0.8.0-next.14"
resolved "https://registry.yarnpkg.com/@kitql/all-in/-/all-in-0.8.0-next.14.tgz#789c7fcea51d755fff900672c2d73e3aa794b82a"
integrity sha512-ZRgMhRJj4dbJtK6398p7ca1h3Hl/t7wrj3diwv3XBJhae0YE6/8idWVwWU2LvlZfY61gp+FEQp8AMxQJ7dNrAw==
dependencies:
"@envelop/core" "3.0.2"
"@envelop/graphql-modules" "4.0.2"
Expand Down
1 change: 0 additions & 1 deletion packages/all-in/src/lib/index.ts
Expand Up @@ -8,7 +8,6 @@ export { useKitqlModules } from './graphql/useKitqlModules.js'
// SvelteKit hooks
export { type KitQLHandleGraphQL, handleGraphql } from './hooks/graphql.js'
export { type KitQLHandleGraphiQL, handleGraphiql } from './hooks/graphiql.js'
export { handleGraphiqlOffline } from './hooks/graphiqlOffline.js'

// Prisma
// export { getKitQLPrisma } from './prisma/kitQLPrisma'
Expand Down
1 change: 1 addition & 0 deletions packages/all-in/src/lib/offline.ts
@@ -0,0 +1 @@
export { handleGraphiqlOffline } from './hooks/graphiqlOffline.js'
2 changes: 1 addition & 1 deletion packages/all-in/svelte.config.js
Expand Up @@ -18,7 +18,7 @@ const config = {
package: {
dir: 'dist',
exports: file => {
const list_ok = ['index.ts', 'cjs.cjs']
const list_ok = ['index.ts', 'cjs.cjs', 'offline.ts']
return list_ok.includes(file)
},
},
Expand Down

1 comment on commit e575c28

@vercel
Copy link

@vercel vercel bot commented on e575c28 Oct 22, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

kitql – ./

kitql.vercel.app
kitql-jycouet.vercel.app
kitql-git-main-jycouet.vercel.app
www.kitql.dev
kitql.dev

Please sign in to comment.