diff options
Diffstat (limited to 'cli/tests/testdata')
-rw-r--r-- | cli/tests/testdata/publish/node_specifier.out | 8 | ||||
-rw-r--r-- | cli/tests/testdata/publish/node_specifier/deno.json | 7 | ||||
-rw-r--r-- | cli/tests/testdata/publish/node_specifier/mod.ts | 5 |
3 files changed, 20 insertions, 0 deletions
diff --git a/cli/tests/testdata/publish/node_specifier.out b/cli/tests/testdata/publish/node_specifier.out new file mode 100644 index 000000000..7acb5b5ba --- /dev/null +++ b/cli/tests/testdata/publish/node_specifier.out @@ -0,0 +1,8 @@ +Checking fast check type graph for errors... +Ensuring type checks... +Download http://localhost:4545/npm/registry/@types/node +Download http://localhost:4545/npm/registry/@types/node/node-[WILDCARD].tgz +Check file:///[WILDCARD]/publish/node_specifier/mod.ts +Publishing @foo/bar@1.0.0 ... +Successfully published @foo/bar@1.0.0 +Visit http://127.0.0.1:4250/@foo/bar@1.0.0 for details diff --git a/cli/tests/testdata/publish/node_specifier/deno.json b/cli/tests/testdata/publish/node_specifier/deno.json new file mode 100644 index 000000000..213a7cec6 --- /dev/null +++ b/cli/tests/testdata/publish/node_specifier/deno.json @@ -0,0 +1,7 @@ +{ + "name": "@foo/bar", + "version": "1.0.0", + "exports": { + ".": "./mod.ts" + } +} diff --git a/cli/tests/testdata/publish/node_specifier/mod.ts b/cli/tests/testdata/publish/node_specifier/mod.ts new file mode 100644 index 000000000..9d8263709 --- /dev/null +++ b/cli/tests/testdata/publish/node_specifier/mod.ts @@ -0,0 +1,5 @@ +import "node:http"; + +export function foobar(): string { + return "string"; +} |