Skip to content

Commit f31b4ea

Browse files
committed
fix: use absolute import URLs
1 parent f2276a9 commit f31b4ea

File tree

2 files changed

+22
-18
lines changed

2 files changed

+22
-18
lines changed

deps.ts

Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,20 @@
11
export { ensureMinDenoVersion } from "$fresh/src/dev/mod.ts";
2-
export { makeExecutableSchema } from "@graphql-tools/schema";
3-
export type { IExecutableSchemaDefinition } from "@graphql-tools/schema";
4-
export { getDirective, MapperKind, mapSchema } from "@graphql-tools/utils";
2+
export { ensureDir, walk } from "https://deno.land/std@0.159.0/fs/mod.ts";
3+
export {
4+
dirname,
5+
fromFileUrl,
6+
join,
7+
parse as parsePath,
8+
toFileUrl,
9+
} from "https://deno.land/std@0.159.0/path/mod.ts";
10+
export { assert } from "https://deno.land/std@0.159.0/testing/asserts.ts";
11+
export { makeExecutableSchema } from "https://esm.sh/@graphql-tools/schema@9.0.9?external=graphql";
12+
export type { IExecutableSchemaDefinition } from "https://esm.sh/@graphql-tools/schema@9.0.9?external=graphql";
13+
export {
14+
getDirective,
15+
MapperKind,
16+
mapSchema,
17+
} from "https://esm.sh/@graphql-tools/utils@9.1.0?external=graphql";
518
export type {
619
ArgumentMapper,
720
EnumTypeMapper,
@@ -17,22 +30,16 @@ export type {
1730
ScalarTypeMapper,
1831
SchemaMapper,
1932
UnionTypeMapper,
20-
} from "@graphql-tools/utils";
21-
export { defaultFieldResolver, parse as parseGraphQL } from "graphql";
33+
} from "https://esm.sh/@graphql-tools/utils@9.1.0?external=graphql";
34+
export {
35+
defaultFieldResolver,
36+
parse as parseGraphQL,
37+
} from "https://esm.sh/graphql@16.6.0";
2238
export type {
2339
DirectiveDefinitionNode,
2440
GraphQLFieldConfig,
2541
GraphQLFieldResolver,
2642
GraphQLInputFieldConfig,
2743
GraphQLScalarType,
2844
GraphQLSchema,
29-
} from "graphql";
30-
export { ensureDir, walk } from "std/fs/mod.ts";
31-
export {
32-
dirname,
33-
fromFileUrl,
34-
join,
35-
parse as parsePath,
36-
toFileUrl,
37-
} from "std/path/mod.ts";
38-
export { assert } from "std/testing/asserts.ts";
45+
} from "https://esm.sh/graphql@16.6.0";

import_map.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@
77
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@5.2.4",
88
"@preact/signals": "https://esm.sh/*@preact/signals@1.0.3",
99
"@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.0.1",
10-
"std/": "https://deno.land/std@0.159.0/",
1110

12-
"@graphql-tools/schema": "https://esm.sh/@graphql-tools/schema@9.0.9?external=graphql",
13-
"@graphql-tools/utils": "https://esm.sh/@graphql-tools/utils@9.1.0?external=graphql",
1411
"@graphql-yoga/common": "https://esm.sh/@graphql-yoga/common@2.12.12?external=graphql",
1512
"graphql": "https://esm.sh/graphql@16.6.0"
1613
}

0 commit comments

Comments
 (0)