Cannot deploy properly to deno deploy
Zed code completion
Separate importmap file for static website
Deno 2 compatibility with TanStackRouter vite plugin
workspace members without version (or prelease version) in package.json don't get installed
Dynamic import with absolute path outside of project directory
p
is resolved to cwd + location, but I just want it to be location
. Is it this possible, or do I have to bring all possible modules under the project directory?
``
const location = "C:\\Users\\me\\modules\\mod1\\mod1.ts";
const importLocation = new URL(
File://${location}`,...error: deno task couldn't find deno.json(c) on GitHub Action
Run JSR library from NPX
npx jsr run @aminnairi/tsconfig
command does not work, same thing when used with npx jsr run jsr:@aminnairi/tsconfig
.
Am I missing something? The command deno run -A jsr:@aminnairi/tsconfig
works though....Exclude packages from test coverage
deno test --coverage
.
Currently I also get generated jsons inside coverage
directory with url
like this: "url": "file:///Users/johndoe/Workspace/Dev/lld-test/node_modules/.deno/wawoff2@2.0.1/node_modules/wawoff2/decompress.js"",
How do I avoid it?
Note that I have it excluded in my deno.json
as:...Cannot find module 'drizzle-kit'
deno -A npm:drizzle-kit generate
, I get the following error:
```
No config path provided, using default 'drizzle.config.ts'
Reading config file '/Users/<my-username>/Dev/tba/tba-api/drizzle.config.ts'...Types for global variables
globalThis.Args = validateArguments(Deno.args);
Now whenever I use it I get TS error: Element implicitly has an 'any' type because type 'typeof globalThis' has no index signature.deno-ts(7017)
How can I fix this?...Is it reasonable to import TypeScript source from Github instead of compiled NPM library? (Twurple)
Importing from Deno Workspace to NPM workspace
deno run -A npm:create-vite
) but for some reasons, the LSP finds the file correctly, but it is typed as any
rather than the type of the Zod schema.
I tried creating a shared folder and importing the schemas from the shared folder to the backend and it works perfectly, but importing it from the frontend always gives me any
.
Any insights on this? I tried both on helix
and vscode
, same outcome....What is the difference between these two imports? And which one should I use?
How to build WASM from Rust?
wasm.js
works fine, when I try to import the wasm_bg.wasm
directly, it throws this error.
```
Uncaught TypeError: Relative import path "wbindgen_placeholder" not prefixed with / or ./ or ../...
why deno vs code extension not supporting deno test describe and coverage?
Running globally installed packages with permission flags
Managing releases
Equivalent of tsconfig `includes`
.svelte-kit/tsconfig.json
file with the populated includes
, which your root tsconfig.json
extends from...Using JsRuntime in an async context
deno_core::JsRuntime
in an async block, but I'm running into issues as the module loader of RuntimeOptions
is wrapped in an Rc
. Would anyone know a way to get around this, while still being able to load modules from the filesystem?