Skip to content

Commit

Permalink
fix: use absolute import URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
vicary committed Dec 28, 2022
1 parent f2276a9 commit f31b4ea
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 18 deletions.
37 changes: 22 additions & 15 deletions deps.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,20 @@
export { ensureMinDenoVersion } from "$fresh/src/dev/mod.ts";
export { makeExecutableSchema } from "@graphql-tools/schema";
export type { IExecutableSchemaDefinition } from "@graphql-tools/schema";
export { getDirective, MapperKind, mapSchema } from "@graphql-tools/utils";
export { ensureDir, walk } from "https://deno.land/[email protected]/fs/mod.ts";
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";
export {
getDirective,
MapperKind,
mapSchema,
} from "https://esm.sh/@graphql-tools/[email protected]?external=graphql";
export type {
ArgumentMapper,
EnumTypeMapper,
Expand All @@ -17,22 +30,16 @@ export type {
ScalarTypeMapper,
SchemaMapper,
UnionTypeMapper,
} from "@graphql-tools/utils";
export { defaultFieldResolver, parse as parseGraphQL } from "graphql";
} from "https://esm.sh/@graphql-tools/[email protected]?external=graphql";
export {
defaultFieldResolver,
parse as parseGraphQL,
} from "https://esm.sh/[email protected]";
export type {
DirectiveDefinitionNode,
GraphQLFieldConfig,
GraphQLFieldResolver,
GraphQLInputFieldConfig,
GraphQLScalarType,
GraphQLSchema,
} from "graphql";
export { ensureDir, walk } from "std/fs/mod.ts";
export {
dirname,
fromFileUrl,
join,
parse as parsePath,
toFileUrl,
} from "std/path/mod.ts";
export { assert } from "std/testing/asserts.ts";
} from "https://esm.sh/[email protected]";
3 changes: 0 additions & 3 deletions import_map.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@
"preact-render-to-string": "https://esm.sh/*[email protected]",
"@preact/signals": "https://esm.sh/*@preact/[email protected]",
"@preact/signals-core": "https://esm.sh/*@preact/[email protected]",
"std/": "https://deno.land/[email protected]/",

"@graphql-tools/schema": "https://esm.sh/@graphql-tools/[email protected]?external=graphql",
"@graphql-tools/utils": "https://esm.sh/@graphql-tools/[email protected]?external=graphql",
"@graphql-yoga/common": "https://esm.sh/@graphql-yoga/[email protected]?external=graphql",
"graphql": "https://esm.sh/[email protected]"
}
Expand Down

0 comments on commit f31b4ea

Please sign in to comment.