Skip to content

Commit 9a4728e

Browse files
committed
feat: update std lib
1 parent a5e3312 commit 9a4728e

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

deno.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@
1616
"tailwindcss": "npm:tailwindcss@3.4.1",
1717
"tailwindcss/": "npm:/tailwindcss@3.4.1/",
1818
"tailwindcss/plugin": "npm:/tailwindcss@3.4.1/plugin.js",
19-
"$std/": "https://deno.land/std@0.216.0/",
2019
"neo4j": "npm:neo4j-driver@5.24.0",
21-
"dotenv": "https://deno.land/std@0.224.0/dotenv/mod.ts"
20+
"@std/dotenv": "jsr:@std/dotenv@^0.225.5"
2221
},
2322
"compilerOptions": {
2423
"jsx": "react-jsx",

dev.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import dev from "$fresh/dev.ts";
44
import config from "./fresh.config.ts";
55

6-
import "$std/dotenv/load.ts";
6+
import { load } from "@std/dotenv";
7+
await load({ export: true });
78

89
await dev(import.meta.url, "./main.ts", config);

main.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
/// <reference lib="dom.asynciterable" />
55
/// <reference lib="deno.ns" />
66

7-
import "$std/dotenv/load.ts";
7+
import { load } from "@std/dotenv";
8+
await load({ export: true });
89

910
import { start } from "$fresh/server.ts";
1011
import manifest from "./fresh.gen.ts";

0 commit comments

Comments
 (0)