std/dotenv alias
This commit is contained in:
parent
c4d8ad2368
commit
ea665eed12
|
@ -21,6 +21,7 @@
|
|||
"@soapbox/stickynotes": "jsr:@soapbox/stickynotes@^0.4.0",
|
||||
"@std/cli": "jsr:@std/cli@^0.223.0",
|
||||
"@std/crypto": "jsr:@std/crypto@^0.224.0",
|
||||
"@std/dotenv": "jsr:@std/dotenv@^0.224.0",
|
||||
"@std/encoding": "jsr:@std/encoding@^0.224.0",
|
||||
"@std/json": "jsr:@std/json@^0.223.0",
|
||||
"@std/media-types": "jsr:@std/media-types@^0.224.0",
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
"jsr:@soapbox/stickynotes@^0.4.0": "jsr:@soapbox/stickynotes@0.4.0",
|
||||
"jsr:@std/assert@^0.224.0": "jsr:@std/assert@0.224.0",
|
||||
"jsr:@std/crypto@^0.224.0": "jsr:@std/crypto@0.224.0",
|
||||
"jsr:@std/dotenv@^0.224.0": "jsr:@std/dotenv@0.224.0",
|
||||
"jsr:@std/encoding@^0.224.0": "jsr:@std/encoding@0.224.0",
|
||||
"jsr:@std/media-types@^0.224.0": "jsr:@std/media-types@0.224.0",
|
||||
"npm:@isaacs/ttlcache@^1.4.1": "npm:@isaacs/ttlcache@1.4.1",
|
||||
|
@ -82,6 +83,9 @@
|
|||
"jsr:@std/encoding@^0.224.0"
|
||||
]
|
||||
},
|
||||
"@std/dotenv@0.224.0": {
|
||||
"integrity": "d9234cdf551507dcda60abb6c474289843741d8c07ee8ce540c60f5c1b220a1d"
|
||||
},
|
||||
"@std/encoding@0.224.0": {
|
||||
"integrity": "efb6dca97d3e9c31392bd5c8cfd9f9fc9decf5a1f4d1f78af7900a493bcf89b5"
|
||||
},
|
||||
|
@ -1503,6 +1507,7 @@
|
|||
"jsr:@soapbox/stickynotes@^0.4.0",
|
||||
"jsr:@std/cli@^0.223.0",
|
||||
"jsr:@std/crypto@^0.224.0",
|
||||
"jsr:@std/dotenv@^0.224.0",
|
||||
"jsr:@std/encoding@^0.224.0",
|
||||
"jsr:@std/json@^0.223.0",
|
||||
"jsr:@std/media-types@^0.224.0",
|
||||
|
@ -1513,7 +1518,9 @@
|
|||
"npm:nostr-relaypool2@0.6.34",
|
||||
"npm:nostr-tools@^2.5.1",
|
||||
"npm:nostr-wasm@^0.1.0",
|
||||
"npm:tldts@^6.0.14",
|
||||
"npm:type-fest@^4.3.0",
|
||||
"npm:uuid62@^1.0.2",
|
||||
"npm:zod@^3.23.4"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
import url from 'node:url';
|
||||
|
||||
import * as dotenv from '@std/dotenv';
|
||||
import { getPublicKey, nip19 } from 'nostr-tools';
|
||||
import { z } from 'zod';
|
||||
|
||||
import { dotenv } from '@/deps.ts';
|
||||
|
||||
/** Load environment config from `.env` */
|
||||
await dotenv.load({
|
||||
export: true,
|
||||
|
|
|
@ -27,7 +27,6 @@ export {
|
|||
SqliteError,
|
||||
} from 'https://raw.githubusercontent.com/alexgleason/deno-sqlite/325f66d8c395e7f6f5ee78ebfa42a0eeea4a942b/mod.ts';
|
||||
export { Database as DenoSqlite3 } from 'https://deno.land/x/sqlite3@0.9.1/mod.ts';
|
||||
export * as dotenv from 'https://deno.land/std@0.198.0/dotenv/mod.ts';
|
||||
export * as cron from 'https://deno.land/x/deno_cron@v1.0.0/cron.ts';
|
||||
export { S3Client } from 'https://deno.land/x/s3_lite_client@0.6.1/mod.ts';
|
||||
export { default as IpfsHash } from 'npm:ipfs-only-hash@^4.0.0';
|
||||
|
|
Loading…
Reference in New Issue