Skip to content

Commit

Permalink
remove target=deno causing dep conflicts and bump examples
Browse files Browse the repository at this point in the history
  • Loading branch information
v1rtl committed Apr 21, 2023
1 parent 025e3ac commit ea6a27e
Show file tree
Hide file tree
Showing 6 changed files with 300 additions and 686 deletions.
960 changes: 287 additions & 673 deletions deno.lock

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions deps.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export { graphql } from 'https://esm.sh/graphql@16.6.0/graphql?target=deno#='
export type { GraphQLArgs } from 'https://esm.sh/graphql@16.6.0/graphql?target=deno#='
export type { ExecutionResult } from 'https://esm.sh/graphql@16.6.0/execution/execute?target=deno#='
export type { GraphQLSchema } from 'https://esm.sh/graphql@16.6.0/type/schema?target=deno#='
export type { ExecutionResult } from 'https://esm.sh/graphql@16.6.0/execution/execute?#='
export { graphql } from 'https://esm.sh/graphql@16.6.0/graphql?#='
export type { GraphQLArgs } from 'https://esm.sh/graphql@16.6.0/graphql?#='
export type { GraphQLSchema } from 'https://esm.sh/graphql@16.6.0/type/schema?#='
4 changes: 2 additions & 2 deletions examples/oak.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import {
Application,
Middleware,
Router,
} from 'https://deno.land/x/oak@v12.1.0/mod.ts'
} from 'https://deno.land/x/oak@v12.2.0/mod.ts'
import { GraphQLHTTP } from '../mod.ts'
import { makeExecutableSchema } from 'https://esm.sh/@graphql-tools/schema@9.0.17'
import { makeExecutableSchema } from 'https://esm.sh/@graphql-tools/schema@9.0.18'
import { gql } from 'https://deno.land/x/graphql_tag@0.1.1/mod.ts'

const typeDefs = gql`
Expand Down
4 changes: 2 additions & 2 deletions examples/opine.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { opine, OpineRequest } from 'https://deno.land/x/opine@2.3.3/mod.ts'
import { opine, OpineRequest } from 'https://deno.land/x/opine@2.3.4/mod.ts'
import { GraphQLHTTP } from '../mod.ts'
import { makeExecutableSchema } from 'https://esm.sh/@graphql-tools/schema@9.0.17?target=deno'
import { gql } from 'https://deno.land/x/graphql_tag@0.1.1/mod.ts'
import { readAll } from 'https://deno.land/std@0.182.0/streams/read_all.ts'
import { readAll } from 'https://deno.land/std@0.184.0/streams/read_all.ts'
import type { GraphQLParams } from '../types.ts'

type Request = OpineRequest & { json: () => Promise<GraphQLParams> }
Expand Down
2 changes: 1 addition & 1 deletion examples/vanilla.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { serve } from 'https://deno.land/std@0.182.0/http/server.ts'
import { serve } from 'https://deno.land/std@0.184.0/http/server.ts'
import { GraphQLHTTP } from '../mod.ts'
import { makeExecutableSchema } from 'https://esm.sh/@graphql-tools/schema@9.0.17?target=deno'
import { gql } from 'https://deno.land/x/graphql_tag@0.1.1/mod.ts'
Expand Down
8 changes: 4 additions & 4 deletions mod_test.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import { superdeno } from 'https://deno.land/x/superdeno@4.8.0/mod.ts?target=deno#='
import { GraphQLHTTP } from './http.ts'
import { runHttpQuery } from './common.ts'
import { buildSchema } from 'https://esm.sh/graphql@16.6.0/utilities?target=deno#='
import type { GraphQLResolveInfo } from 'https://esm.sh/graphql@16.6.0/type?target=deno#='
import {
describe,
expect,
it,
run,
} from 'https://deno.land/x/tincan@1.0.1/mod.ts'
import type { GraphQLResolveInfo } from 'https://esm.sh/graphql@16.6.0/type?#='
import { buildSchema } from 'https://esm.sh/graphql@16.6.0/utilities?#='
import { runHttpQuery } from './common.ts'
import { GraphQLHTTP } from './http.ts'

const schema = buildSchema(`
type Query {
Expand Down

0 comments on commit ea6a27e

Please sign in to comment.