Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 🚸 UPDATE: handler graphql * ✨ NEW: yoga v3 * 👌 FIX: lint * ✨ UPDATE: changeset
- Loading branch information
Showing
16 changed files
with
474 additions
and
355 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'vite-plugin-watch-and-run': patch | ||
--- | ||
|
||
bump vite version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@kitql/all-in': patch | ||
--- | ||
|
||
using yoga v3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,40 @@ | ||
import { dev } from '$app/environment' | ||
import { kitqlServer } from '$lib/graphql/kitQLServer' | ||
import { kitqlServer, type IKitQLContext } from '$lib/graphql/kitQLServer' | ||
import { handleGraphiql } from '$lib/hooks/graphiql' | ||
import { handleGraphql } from '$lib/hooks/graphql' | ||
import { sequence } from '@sveltejs/kit/hooks' | ||
|
||
/** | ||
* 1/ With all default options | ||
*/ | ||
export const handle = sequence( | ||
// create the graphql endpoint | ||
handleGraphql(kitqlServer), | ||
handleGraphql<IKitQLContext>(kitqlServer), | ||
|
||
// enable graphiql in dev mode | ||
handleGraphiql({ | ||
enabled: dev, | ||
}) | ||
) | ||
|
||
/** | ||
* 2/ With custom options | ||
*/ | ||
// const endpoint = '/graphql' | ||
// const graphiQLPath = '/graphiql' | ||
|
||
// export const handle = sequence( | ||
// // create the graphql endpoint | ||
// handleGraphql<IKitQLContext>({ | ||
// endpoint, | ||
// graphiQLPath, | ||
// ...kitqlServer, | ||
// }), | ||
|
||
// // enable graphiql in dev mode | ||
// handleGraphiql({ | ||
// enabled: dev, | ||
// endpoint, | ||
// graphiQLPath, | ||
// }) | ||
// ) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
e326e66
There was a problem hiding this comment.
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-git-main-jycouet.vercel.app
kitql.vercel.app
kitql-jycouet.vercel.app
kitql.dev
www.kitql.dev