File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626 "tailwindcss" : " npm:tailwindcss@3.4.1" ,
2727 "tailwindcss/" : " npm:/tailwindcss@3.4.1/" ,
2828 "tailwindcss/plugin" : " npm:/tailwindcss@3.4.1/plugin.js" ,
29- "$std/" : " https://deno.land/std@0.224.0/"
29+ "$std/" : " https://deno.land/std@0.224.0/" ,
30+ "@std/dotenv" : " jsr:@std/dotenv@^0.225.5" ,
31+ "@std/path" : " jsr:@std/path@^1.1.1"
3032 },
3133 "compilerOptions" : {
3234 "jsx" : " react-jsx" ,
Original file line number Diff line number Diff line change 11// deno run --allow-read --allow-write --allow-net scripts/migrations.ts <command> [...args]
22
3- import { join } from "$ std/path/mod.ts " ;
4- import * as dotenv from "$ std/dotenv/mod.ts ";
3+ import { join } from "@ std/path" ;
4+ import "@ std/dotenv/load ";
55import { RecordId , Surreal } from "surrealdb" ;
66
7- // --- LOAD ENV ---
8- await dotenv . load ( { export : true } ) ;
9-
107// --- CONFIG ---
118const SURREALDB_PROTOCOL = Deno . env . get ( "SURREALDB_PROTOCOL" ) ;
129const SURREALDB_HOST = Deno . env . get ( "SURREALDB_HOST" ) ;
You can’t perform that action at this time.
0 commit comments