diff options
Diffstat (limited to 'tests/registry/npm/@denotest/say-hello')
3 files changed, 11 insertions, 0 deletions
diff --git a/tests/registry/npm/@denotest/say-hello/1.0.0/index.js b/tests/registry/npm/@denotest/say-hello/1.0.0/index.js new file mode 100644 index 000000000..2c5b6be8e --- /dev/null +++ b/tests/registry/npm/@denotest/say-hello/1.0.0/index.js @@ -0,0 +1,3 @@ +export function sayHello() { + return '@denotest/say-hello says hello!'; +}
\ No newline at end of file diff --git a/tests/registry/npm/@denotest/say-hello/1.0.0/package.json b/tests/registry/npm/@denotest/say-hello/1.0.0/package.json new file mode 100644 index 000000000..e4728c2c1 --- /dev/null +++ b/tests/registry/npm/@denotest/say-hello/1.0.0/package.json @@ -0,0 +1,6 @@ +{ + "name": "@denotest/say-hello", + "version": "1.0.0", + "bin": "./say-hello.js", + "type": "module" +}
\ No newline at end of file diff --git a/tests/registry/npm/@denotest/say-hello/1.0.0/say-hello.js b/tests/registry/npm/@denotest/say-hello/1.0.0/say-hello.js new file mode 100644 index 000000000..8751b8e47 --- /dev/null +++ b/tests/registry/npm/@denotest/say-hello/1.0.0/say-hello.js @@ -0,0 +1,2 @@ +import { sayHello } from "./index.js"; +console.log(sayHello());
\ No newline at end of file |