From 70ac06138c18cf643e7e1947dee54f3adff13de3 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Wed, 10 Jan 2024 17:40:30 -0500 Subject: feat(unstable): fast subset type checking of JSR dependencies (#21873) --- cli/tests/testdata/publish/workspace/foo/deno.json | 10 ++++++++++ cli/tests/testdata/publish/workspace/foo/mod.ts | 5 +++++ 2 files changed, 15 insertions(+) create mode 100644 cli/tests/testdata/publish/workspace/foo/deno.json create mode 100644 cli/tests/testdata/publish/workspace/foo/mod.ts (limited to 'cli/tests/testdata/publish/workspace/foo') diff --git a/cli/tests/testdata/publish/workspace/foo/deno.json b/cli/tests/testdata/publish/workspace/foo/deno.json new file mode 100644 index 000000000..79563d36c --- /dev/null +++ b/cli/tests/testdata/publish/workspace/foo/deno.json @@ -0,0 +1,10 @@ +{ + "name": "@foo/foo", + "version": "1.0.0", + "exports": { + ".": "./mod.ts" + }, + "imports": { + "bar": "jsr:@foo/bar@1" + } +} diff --git a/cli/tests/testdata/publish/workspace/foo/mod.ts b/cli/tests/testdata/publish/workspace/foo/mod.ts new file mode 100644 index 000000000..adf584463 --- /dev/null +++ b/cli/tests/testdata/publish/workspace/foo/mod.ts @@ -0,0 +1,5 @@ +import * as bar from "bar"; + +export function add(a: number, b: number): number { + return bar.add(a, b); +} -- cgit v1.2.3