Skip to content

Commit

Permalink
Use jsr
Browse files Browse the repository at this point in the history
Signed-off-by: Marcos Candeia <[email protected]>
  • Loading branch information
mcandeia committed Aug 9, 2024
1 parent 27b2300 commit 2dfb5a4
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"@deco/deco": "jsr:@deco/[email protected]",
"@deco/durable": "jsr:@deco/durable@^0.5.3",
"@std/assert": "jsr:@std/assert@^1.0.2",
"@std/async": "jsr:@std/async@^1.0.3",
"@std/crypto": "jsr:@std/crypto@^1.0.2",
"@std/encoding": "jsr:@std/encoding@^1.0.1",
"@std/fmt": "jsr:@std/fmt@^1.0.0",
Expand All @@ -12,7 +13,8 @@
"@std/path": "jsr:@std/path@^1.0.2",
"preact": "npm:[email protected]",
"preact-render-to-string": "npm:[email protected]",
"std/": "https://deno.land/[email protected]/"
"@preact/signals": "https://esm.sh/*@preact/[email protected]",
"@preact/signals-core": "https://esm.sh/@preact/[email protected]"
},
"lock": false,
"tasks": {
Expand Down
2 changes: 1 addition & 1 deletion records/scripts/checkDbCredential.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { brightGreen } from "@std/fmt/colors";
import { decode } from "https://deno.land/x/[email protected]/mod.ts";
import { brightGreen } from "std/fmt/colors.ts";

const error = "Could not pull production database";

Expand Down
2 changes: 1 addition & 1 deletion records/scripts/pullProd.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { brightGreen, brightYellow } from "@std/fmt/colors";
import { existsSync } from "https://deno.land/[email protected]/fs/exists.ts";
import { createClient as createSQLClient } from "../deps.ts";
import { getLocalDbFilename, getLocalSQLClientConfig } from "../utils.ts";
import { brightGreen, brightYellow } from "std/fmt/colors.ts";
import { getDbCredentials } from "./checkDbCredential.ts";

const PRAGMA = "PRAGMA foreign_keys=OFF";
Expand Down
2 changes: 1 addition & 1 deletion smarthint/hooks/useAutocomplete.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { signal } from "@preact/signals";
import { debounce } from "std/async/debounce.ts";
import { debounce } from "@std/async/debounce";
import type { Suggestion } from "../../commerce/types.ts";
import { invoke } from "../runtime.ts";

Expand Down
2 changes: 1 addition & 1 deletion vtex/hooks/useAutocomplete.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { signal } from "@preact/signals";
import { debounce } from "std/async/debounce.ts";
import { debounce } from "@std/async/debounce";
import type { Suggestion } from "../../commerce/types.ts";
import { invoke } from "../runtime.ts";

Expand Down

0 comments on commit 2dfb5a4

Please sign in to comment.