summaryrefslogtreecommitdiff
path: root/tests/specs/publish/byonm_dep/node_modules/package
diff options
context:
space:
mode:
Diffstat (limited to 'tests/specs/publish/byonm_dep/node_modules/package')
-rw-r--r--tests/specs/publish/byonm_dep/node_modules/package/index.d.ts1
-rw-r--r--tests/specs/publish/byonm_dep/node_modules/package/index.js3
-rw-r--r--tests/specs/publish/byonm_dep/node_modules/package/package.json4
3 files changed, 8 insertions, 0 deletions
diff --git a/tests/specs/publish/byonm_dep/node_modules/package/index.d.ts b/tests/specs/publish/byonm_dep/node_modules/package/index.d.ts
new file mode 100644
index 000000000..9b197eb1e
--- /dev/null
+++ b/tests/specs/publish/byonm_dep/node_modules/package/index.d.ts
@@ -0,0 +1 @@
+export function add(a: number, b: number): number;
diff --git a/tests/specs/publish/byonm_dep/node_modules/package/index.js b/tests/specs/publish/byonm_dep/node_modules/package/index.js
new file mode 100644
index 000000000..0ecf3b875
--- /dev/null
+++ b/tests/specs/publish/byonm_dep/node_modules/package/index.js
@@ -0,0 +1,3 @@
+export function add(a, b) {
+ return a + b;
+} \ No newline at end of file
diff --git a/tests/specs/publish/byonm_dep/node_modules/package/package.json b/tests/specs/publish/byonm_dep/node_modules/package/package.json
new file mode 100644
index 000000000..07fe06228
--- /dev/null
+++ b/tests/specs/publish/byonm_dep/node_modules/package/package.json
@@ -0,0 +1,4 @@
+{
+ "main": "index.js",
+ "type": "module"
+} \ No newline at end of file