-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
216 additions
and
676 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
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,19 @@ | ||
name: Publish | ||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
contents: read | ||
id-token: write | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Publish package | ||
run: npx jsr publish |
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,5 +1,8 @@ | ||
{ | ||
"deno.enable": true, | ||
"deno.lint": true, | ||
"editor.defaultFormatter": "denoland.vscode-deno" | ||
"editor.defaultFormatter": "denoland.vscode-deno", | ||
"[typescript]": { | ||
"editor.defaultFormatter": "denoland.vscode-deno" | ||
} | ||
} |
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,11 +1,6 @@ | ||
{ | ||
"tasks": { | ||
"deploy:yoga": "deployctl deploy --project=fresh-graphql-yoga examples/graphql-yoga/main.ts", | ||
"start:yoga": "deno run -A --watch=static/,routes/,graphql/ examples/graphql-yoga/dev.ts" | ||
}, | ||
"importMap": "./import_map.json", | ||
"compilerOptions": { | ||
"jsx": "react-jsx", | ||
"jsxImportSource": "preact" | ||
} | ||
"name": "@vicary/fresh-graphql", | ||
"version": "0.1.0", | ||
"exports": "./mod.ts", | ||
"lock": false | ||
} |
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,45 +1,42 @@ | ||
export { ensureMinDenoVersion } from "$fresh/src/dev/mod.ts"; | ||
export { ensureDir, walk } from "https://deno.land/std@0.159.0/fs/mod.ts"; | ||
export { assert } from "jsr:@std/assert@^0.219.1"; | ||
export { ensureDir, walk } from "jsr:@std/fs@^0.219.1"; | ||
export { | ||
dirname, | ||
fromFileUrl, | ||
join, | ||
parse as parsePath, | ||
toFileUrl, | ||
} from "https://deno.land/[email protected]/path/mod.ts"; | ||
export { assert } from "https://deno.land/[email protected]/testing/asserts.ts"; | ||
export { makeExecutableSchema } from "https://esm.sh/@graphql-tools/[email protected]?external=graphql"; | ||
export type { IExecutableSchemaDefinition } from "https://esm.sh/@graphql-tools/[email protected]?external=graphql"; | ||
} from "jsr:@std/path@^0.219.1"; | ||
export { | ||
type IExecutableSchemaDefinition, | ||
makeExecutableSchema, | ||
} from "npm:@graphql-tools/schema@^10.0.3"; | ||
export { | ||
type ArgumentMapper, | ||
type EnumTypeMapper, | ||
type EnumValueMapper, | ||
type FieldMapper, | ||
type GenericFieldMapper, | ||
getDirective, | ||
type IFieldResolver, | ||
type InputFieldMapper, | ||
type InputObjectTypeMapper, | ||
type InterfaceTypeMapper, | ||
type IResolvers, | ||
MapperKind, | ||
mapSchema, | ||
} from "https://esm.sh/@graphql-tools/[email protected]?external=graphql"; | ||
export type { | ||
ArgumentMapper, | ||
EnumTypeMapper, | ||
EnumValueMapper, | ||
FieldMapper, | ||
GenericFieldMapper, | ||
IFieldResolver, | ||
InputFieldMapper, | ||
InputObjectTypeMapper, | ||
InterfaceTypeMapper, | ||
IResolvers, | ||
ObjectTypeMapper, | ||
ScalarTypeMapper, | ||
SchemaMapper, | ||
UnionTypeMapper, | ||
} from "https://esm.sh/@graphql-tools/[email protected]?external=graphql"; | ||
type ObjectTypeMapper, | ||
type ScalarTypeMapper, | ||
type SchemaMapper, | ||
type UnionTypeMapper, | ||
} from "npm:@graphql-tools/utils@^10.1.0"; | ||
export { | ||
defaultFieldResolver, | ||
type DirectiveDefinitionNode, | ||
type GraphQLFieldConfig, | ||
type GraphQLFieldResolver, | ||
type GraphQLInputFieldConfig, | ||
type GraphQLScalarType, | ||
type GraphQLSchema, | ||
parse as parseGraphQL, | ||
} from "https://esm.sh/[email protected]"; | ||
export type { | ||
DirectiveDefinitionNode, | ||
GraphQLFieldConfig, | ||
GraphQLFieldResolver, | ||
GraphQLInputFieldConfig, | ||
GraphQLScalarType, | ||
GraphQLSchema, | ||
} from "https://esm.sh/[email protected]"; | ||
} from "npm:graphql@^16.8.0"; |
Oops, something went wrong.