summaryrefslogtreecommitdiff
path: root/tests/specs/npm/exec_file_inside_npm_package/main.ts
diff options
context:
space:
mode:
authorYoshiya Hinosawa <stibium121@gmail.com>2024-08-16 12:48:48 +0900
committerGitHub <noreply@github.com>2024-08-16 12:48:48 +0900
commit105d27bc7db5c0d2fd18cb26f41bd3193be74639 (patch)
tree0ab08bb52a67345702eb7ff016091d35b4f540be /tests/specs/npm/exec_file_inside_npm_package/main.ts
parentb6c74aab240430fa70c057be825ce766d2314e02 (diff)
fix(ext/node): improve shelljs compat with managed npm execution (#24912)
This change improves the Node.js compatibility in managed npm resolution mode by disabling the discovery of `node_modules` when the main specifier is inside of `DENO_DIR`. closes #22732 closes #24589
Diffstat (limited to 'tests/specs/npm/exec_file_inside_npm_package/main.ts')
-rw-r--r--tests/specs/npm/exec_file_inside_npm_package/main.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/specs/npm/exec_file_inside_npm_package/main.ts b/tests/specs/npm/exec_file_inside_npm_package/main.ts
new file mode 100644
index 000000000..8a90b3a34
--- /dev/null
+++ b/tests/specs/npm/exec_file_inside_npm_package/main.ts
@@ -0,0 +1 @@
+import "npm:@denotest/exec-file@1.0.0";