Doctor 🤖
Doctor 🤖
DDeno
Created by Zicklag on 5/1/2025 in #help
I have a JSR Package: Can I Import it From My Filesystem Instead of jsr.io?
The last I looked, which was a while ago, there isn't a lot of documentation on the patch property.
17 replies
DDeno
Created by Zicklag on 5/1/2025 in #help
I have a JSR Package: Can I Import it From My Filesystem Instead of jsr.io?
deno.json of package to import:
{
"name": "@img/png",
"version": "0.1.3",
"exports": "./mod.ts"
}
{
"name": "@img/png",
"version": "0.1.3",
"exports": "./mod.ts"
}
deno.json of package being ran:
{
"imports": {
"@img/png": "jsr:@img/png@0.1.3",
},
"patch": ["path to directory of other deno.json"]
}
{
"imports": {
"@img/png": "jsr:@img/png@0.1.3",
},
"patch": ["path to directory of other deno.json"]
}
The versions must match or it won't patch it
17 replies
DDeno
Created by Zicklag on 5/1/2025 in #help
I have a JSR Package: Can I Import it From My Filesystem Instead of jsr.io?
I can't speak for the typings in your IDE, but the actual running should be done via the "patch" property
17 replies
DDeno
Created by elee on 3/18/2025 in #help
is it possible to use deno std libraries that are "browser compatible" via npm?
The std isn't published on npm, but you can still use it in node by importing it from jsr.
6 replies
DDeno
Created by elee on 3/18/2025 in #help
is it possible to use deno std libraries that are "browser compatible" via npm?
6 replies
DDeno
Created by elee on 3/18/2025 in #help
is it possible to use deno std libraries that are "browser compatible" via npm?
npx jsr add @std/encoding
6 replies
DDeno
Created by Alch3m1st on 3/10/2025 in #help
'deno run' for tasks question/Bug 🐞
The run sub command running tasks was desired by some people who didn't want to write task for whatever reason, but I am not a fan of that approach and honestly just seems to complicate the run sub command more.
4 replies
DDeno
Created by Alch3m1st on 3/10/2025 in #help
'deno run' for tasks question/Bug 🐞
You should do deno task test.
4 replies
DDeno
Created by Good Looking Software on 2/19/2025 in #help
Deno and Eta browser-side?
Eta?
6 replies
DDeno
Created by joey on 2/1/2025 in #help
unable to see documentation on deno.land/x
Documentation on /x has been removed
3 replies
DDeno
Created by Big Band_it on 1/17/2025 in #help
If I dont have to explicitly install a node pacakge to use it how do I get intellisense?
That command is installing them
4 replies
DDeno
Created by Big Band_it on 1/17/2025 in #help
If I dont have to explicitly install a node pacakge to use it how do I get intellisense?
For intellisense to work you need a copy of it on your computer. Unlike node, if you're missing local copies of dependencies when you attempt to run the code, it will download them first.
4 replies
DDeno
Created by Joseph on 1/8/2025 in #help
Install a local deno package
Can you show both deno.json files?
11 replies
DDeno
Created by Joseph on 1/8/2025 in #help
Install a local deno package
What does the deno.json of @b/foo look like?
11 replies
DDeno
Created by ali ghamdan on 1/8/2025 in #help
Property 'document' does not exist on type 'Window & typeof globalThis'.
You should switch deno.window out with deno.ns if you have dom
4 replies
DDeno
Created by Joseph on 1/8/2025 in #help
Install a local deno package
Foo doesn't need to be actually published but the name and version do need to match.
11 replies
DDeno
Created by Joseph on 1/8/2025 in #help
Install a local deno package
Make sure the deno.json of foo has a matching version in your boo's imports.
11 replies
DDeno
Created by Joseph on 1/8/2025 in #help
Install a local deno package
Try
{
"name": "@a/bar",
"imports": {
"@b/foo": "jsr:@b/foo@0.1.0",
},
"patch": [
"~/Projects/foo/"
]
}
{
"name": "@a/bar",
"imports": {
"@b/foo": "jsr:@b/foo@0.1.0",
},
"patch": [
"~/Projects/foo/"
]
}
11 replies
DDeno
Created by Duncan on 1/6/2025 in #help
Migrating from Node to Deno
Does deno lint offer a way to fix the things it complains about?
5 replies
DDeno
Created by scarf on 12/25/2024 in #help
std JSON serializer/deserializer with Set and Map support
The @std/cbor package supports serialising maps but sets will need to be converted to an array first
6 replies