Skip to content

Commit

Permalink
chore: update with jsr usage
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-shopopop committed Oct 27, 2024
1 parent f318e80 commit cae97d0
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 31 deletions.
46 changes: 23 additions & 23 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
{
// Utilisez IntelliSense pour en savoir plus sur les attributs possibles.
// Pointez pour afficher la description des attributs existants.
// Pour plus d'informations, visitez : https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"request": "launch",
"name": "Launch Program",
"type": "node",
"program": "${workspaceFolder}/mod.ts",
"cwd": "${workspaceFolder}",
"env": {},
"runtimeExecutable": "/usr/local/bin/deno",
"runtimeArgs": [
"run",
"--unstable",
"--inspect-wait",
"--allow-all"
],
"attachSimplePort": 9229
}
]
}
// Utilisez IntelliSense pour en savoir plus sur les attributs possibles.
// Pointez pour afficher la description des attributs existants.
// Pour plus d'informations, visitez : https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"request": "launch",
"name": "Launch Program",
"type": "node",
"program": "${workspaceFolder}/mod.ts",
"cwd": "${workspaceFolder}",
"env": {},
"runtimeExecutable": "/usr/local/bin/deno",
"runtimeArgs": [
"run",
"--unstable",
"--inspect-wait",
"--allow-all"
],
"attachSimplePort": 9229
}
]
}
5 changes: 3 additions & 2 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"fmt:check": "deno fmt --check",
"fmt": "deno fmt",
"lint": "deno lint --unstable",
"fileserver": "deno run --allow-read --allow-net https://deno.land/std@0.136.0/http/file_server.ts ."
}
"fileserver": "deno run --allow-read --allow-net jsr:@std/http/file-server ."
},
"unstable": ["cron", "kv"]
}
20 changes: 15 additions & 5 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion mod.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { assertEquals } from "https://deno.land/std@0.123.0/testing/asserts.ts";
import { assertEquals } from "jsr:@std/assert";
import { upperString } from "./mod.ts";

// Compact form: name and function
Expand Down

0 comments on commit cae97d0

Please # to comment.