summaryrefslogtreecommitdiff
path: root/tests/registry
diff options
context:
space:
mode:
authorNathan Whitaker <17734409+nathanwhit@users.noreply.github.com>2024-07-16 13:30:28 -0700
committerGitHub <noreply@github.com>2024-07-16 20:30:28 +0000
commitc9da27e147d0681724dd647593abbaa46417feb7 (patch)
tree5be711cf42fe5b7109b8b88d75425eb1cf538075 /tests/registry
parent6421dc33ede06fb429000c3a560214cdaf573673 (diff)
fix(cli): Create child node_modules for conflicting dependency versions, respect aliases in package.json (#24609)
Fixes #24419.
Diffstat (limited to 'tests/registry')
-rw-r--r--tests/registry/npm/@denotest/add/0.5.0/index.d.ts1
-rw-r--r--tests/registry/npm/@denotest/add/0.5.0/index.js1
-rw-r--r--tests/registry/npm/@denotest/add/0.5.0/package.json4
3 files changed, 6 insertions, 0 deletions
diff --git a/tests/registry/npm/@denotest/add/0.5.0/index.d.ts b/tests/registry/npm/@denotest/add/0.5.0/index.d.ts
new file mode 100644
index 000000000..0e1188e04
--- /dev/null
+++ b/tests/registry/npm/@denotest/add/0.5.0/index.d.ts
@@ -0,0 +1 @@
+export function sum(a: number, b: number): number;
diff --git a/tests/registry/npm/@denotest/add/0.5.0/index.js b/tests/registry/npm/@denotest/add/0.5.0/index.js
new file mode 100644
index 000000000..e112dddf7
--- /dev/null
+++ b/tests/registry/npm/@denotest/add/0.5.0/index.js
@@ -0,0 +1 @@
+module.exports.sum = (a, b) => a + b; \ No newline at end of file
diff --git a/tests/registry/npm/@denotest/add/0.5.0/package.json b/tests/registry/npm/@denotest/add/0.5.0/package.json
new file mode 100644
index 000000000..32573ca91
--- /dev/null
+++ b/tests/registry/npm/@denotest/add/0.5.0/package.json
@@ -0,0 +1,4 @@
+{
+ "name": "@denotest/add",
+ "version": "0.5.0"
+}