diff --git a/deno.json b/deno.json index 47db1cb..f4277e5 100644 --- a/deno.json +++ b/deno.json @@ -3,11 +3,12 @@ "strict": true }, "fmt": { - "options": { - "indentWidth": 2, - "lineWidth": 120, - "singleQuote": false, - "useTabs": false - } + "indentWidth": 2, + "lineWidth": 120, + "singleQuote": false, + "useTabs": false + }, + "imports": { + "@std/dotenv": "jsr:@std/dotenv@^0.225.0" } } diff --git a/deno.lock b/deno.lock new file mode 100644 index 0000000..84e8d17 --- /dev/null +++ b/deno.lock @@ -0,0 +1,19 @@ +{ + "version": "3", + "packages": { + "specifiers": { + "jsr:@std/dotenv@^0.225.0": "jsr:@std/dotenv@0.225.0" + }, + "jsr": { + "@std/dotenv@0.225.0": { + "integrity": "44db32932c67df82790a3e6847d7007befb6cc22d71f2f3ee7b7d00e1f0d6c94" + } + } + }, + "remote": {}, + "workspace": { + "dependencies": [ + "jsr:@std/dotenv@^0.225.0" + ] + } +} diff --git a/envConfig.ts b/envConfig.ts index 7fafe69..128200b 100644 --- a/envConfig.ts +++ b/envConfig.ts @@ -1,4 +1,4 @@ -import "https://deno.land/std@0.209.0/dotenv/load.ts"; +import "@std/dotenv/load"; /** Prefix used for environment variable config options */ const ENVIRONMENT_VARIABLE_PREFIX = "DISCORD_EVENTS_SYNC_";