From 105d27bc7db5c0d2fd18cb26f41bd3193be74639 Mon Sep 17 00:00:00 2001 From: Yoshiya Hinosawa Date: Fri, 16 Aug 2024 12:48:48 +0900 Subject: 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 --- tests/testdata/npm/exec_file/main.ts | 1 + 1 file changed, 1 insertion(+) create mode 100644 tests/testdata/npm/exec_file/main.ts (limited to 'tests/testdata/npm/exec_file') diff --git a/tests/testdata/npm/exec_file/main.ts b/tests/testdata/npm/exec_file/main.ts new file mode 100644 index 000000000..8a90b3a34 --- /dev/null +++ b/tests/testdata/npm/exec_file/main.ts @@ -0,0 +1 @@ +import "npm:@denotest/exec-file@1.0.0"; -- cgit v1.2.3