From 5b0c07c298e2b6c828643c343680f6052b514fac Mon Sep 17 00:00:00 2001 From: Micha-ohne-el Date: Sat, 24 Jul 2021 19:31:37 +0200 Subject: [PATCH] Remove import map It was causing issues when using thyme from deno.land --- import-map.json | 9 --------- src/mod.ts | 2 +- src/types.ts | 2 +- test/value_test.ts | 2 +- 4 files changed, 3 insertions(+), 12 deletions(-) delete mode 100644 import-map.json diff --git a/import-map.json b/import-map.json deleted file mode 100644 index 679c3dc..0000000 --- a/import-map.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "imports": { - "/": "./src/", - "./": "./", - "../": "../", - "std/": "https://deno.land/std@0.100.0/", - "x/": "https://deno.land/x/" - } -} diff --git a/src/mod.ts b/src/mod.ts index 3e494ab..e88d681 100644 --- a/src/mod.ts +++ b/src/mod.ts @@ -1,4 +1,4 @@ -import {SimpleFormat} from '/types.ts'; +import {SimpleFormat} from './types.ts'; export function now() { return new Thyme(); diff --git a/src/types.ts b/src/types.ts index 5ed3b68..cc0bcef 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1,4 +1,4 @@ -import {Thyme} from '/mod.ts'; +import {Thyme} from './mod.ts'; export type SimpleFormat = SimpleFormatDescriptor[]; export interface SimpleFormatDescriptor { diff --git a/test/value_test.ts b/test/value_test.ts index 414c132..721a899 100644 --- a/test/value_test.ts +++ b/test/value_test.ts @@ -1,4 +1,4 @@ -import {Thyme} from '/mod.ts'; +import {Thyme} from '../src/mod.ts'; import {assert, assertEquals, assertStringIncludes} from 'std/testing/asserts.ts';