fix(nodejs): avoid deno project files (#7478)

* detect deno project files

* deno.jsonl to deno.jsonc

* typo in docs
This commit is contained in:
Nico Mayer
2026-05-23 15:30:39 +02:00
committed by GitHub
parent 05ee20141e
commit 96c1f90eeb
3 changed files with 12 additions and 3 deletions
+1 -1
View File
@@ -3379,7 +3379,7 @@ By default the module will be shown if any of the following conditions are met:
- The current directory contains a file with the `.js`, `.mjs` or `.cjs` extension
- The current directory contains a file with the `.ts`, `.mts` or `.cts` extension
Additionally, the module will be hidden by default if the directory contains a `bunfig.toml`, `bun.lock`, or `bun.lockb` file, overriding the above conditions.
Additionally, the module will be hidden by default if the directory contains a `deno.json`, `deno.jsonc`, `deno.lock`, `bunfig.toml`, `bun.lock`, or `bun.lockb` file, overriding the above conditions.
### Options