diff options
Diffstat (limited to 'tests/registry')
5 files changed, 26 insertions, 0 deletions
diff --git a/tests/registry/jsr/@denotest/npm-add/0.5.0/mod.ts b/tests/registry/jsr/@denotest/npm-add/0.5.0/mod.ts new file mode 100644 index 000000000..733997e7b --- /dev/null +++ b/tests/registry/jsr/@denotest/npm-add/0.5.0/mod.ts @@ -0,0 +1,5 @@ +import * as npmAdd from "npm:@denotest/add@0.5"; + +export function sum(a: number, b: number): number { + return npmAdd.sum(a, b); +} diff --git a/tests/registry/jsr/@denotest/npm-add/0.5.0_meta.json b/tests/registry/jsr/@denotest/npm-add/0.5.0_meta.json new file mode 100644 index 000000000..631a18d0e --- /dev/null +++ b/tests/registry/jsr/@denotest/npm-add/0.5.0_meta.json @@ -0,0 +1,5 @@ +{ + "exports": { + ".": "./mod.ts" + } +} diff --git a/tests/registry/jsr/@denotest/npm-add/1.0.0/mod.ts b/tests/registry/jsr/@denotest/npm-add/1.0.0/mod.ts new file mode 100644 index 000000000..16663bab6 --- /dev/null +++ b/tests/registry/jsr/@denotest/npm-add/1.0.0/mod.ts @@ -0,0 +1,5 @@ +import * as npmAdd from "npm:@denotest/add@1"; + +export function add(a: number, b: number): number { + return npmAdd.add(a, b); +} diff --git a/tests/registry/jsr/@denotest/npm-add/1.0.0_meta.json b/tests/registry/jsr/@denotest/npm-add/1.0.0_meta.json new file mode 100644 index 000000000..631a18d0e --- /dev/null +++ b/tests/registry/jsr/@denotest/npm-add/1.0.0_meta.json @@ -0,0 +1,5 @@ +{ + "exports": { + ".": "./mod.ts" + } +} diff --git a/tests/registry/jsr/@denotest/npm-add/meta.json b/tests/registry/jsr/@denotest/npm-add/meta.json new file mode 100644 index 000000000..1f9cb6184 --- /dev/null +++ b/tests/registry/jsr/@denotest/npm-add/meta.json @@ -0,0 +1,6 @@ +{ + "versions": { + "0.5.0": {}, + "1.0.0": {} + } +} |