diff options
author | Nathan Whitaker <17734409+nathanwhit@users.noreply.github.com> | 2024-07-16 13:30:28 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-16 20:30:28 +0000 |
commit | c9da27e147d0681724dd647593abbaa46417feb7 (patch) | |
tree | 5be711cf42fe5b7109b8b88d75425eb1cf538075 /tests/specs/npm/workspace_conflicting_dep/a | |
parent | 6421dc33ede06fb429000c3a560214cdaf573673 (diff) |
fix(cli): Create child node_modules for conflicting dependency versions, respect aliases in package.json (#24609)
Fixes #24419.
Diffstat (limited to 'tests/specs/npm/workspace_conflicting_dep/a')
-rw-r--r-- | tests/specs/npm/workspace_conflicting_dep/a/index.js | 3 | ||||
-rw-r--r-- | tests/specs/npm/workspace_conflicting_dep/a/package.json | 7 |
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/specs/npm/workspace_conflicting_dep/a/index.js b/tests/specs/npm/workspace_conflicting_dep/a/index.js new file mode 100644 index 000000000..2fb3069d8 --- /dev/null +++ b/tests/specs/npm/workspace_conflicting_dep/a/index.js @@ -0,0 +1,3 @@ +import { sum } from "@denotest/add"; + +console.log(`1 + 2 = ${sum(1, 2)}`); diff --git a/tests/specs/npm/workspace_conflicting_dep/a/package.json b/tests/specs/npm/workspace_conflicting_dep/a/package.json new file mode 100644 index 000000000..48a6b4b5b --- /dev/null +++ b/tests/specs/npm/workspace_conflicting_dep/a/package.json @@ -0,0 +1,7 @@ +{ + "name": "@denotest/a", + "version": "1.0.0", + "dependencies": { + "@denotest/add": "0.5.0" + } +} |