summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/jsr/no_module_graph/main.ts
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-09-18 10:46:44 -0400
committerGitHub <noreply@github.com>2023-09-18 10:46:44 -0400
commit0709c051f83c181206f6653396f5428df66ed74f (patch)
tree9360ce6cfc2c3f3f53a8a7af0f9d3bdc9e1ee553 /cli/tests/testdata/jsr/no_module_graph/main.ts
parent4fcd9a0de815a756e5f173e1bc1f84d90ba39ec7 (diff)
feat(unstable): package manager (#20517)
Adds an experimental unstable built-in package manager to Deno, but it is currently not usable because the registry infrastructure hasn't been setup and it points to a non-existent url by default. The default registry url can be configured via the `DENO_REGISTRY_URL` environment variable.
Diffstat (limited to 'cli/tests/testdata/jsr/no_module_graph/main.ts')
-rw-r--r--cli/tests/testdata/jsr/no_module_graph/main.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/tests/testdata/jsr/no_module_graph/main.ts b/cli/tests/testdata/jsr/no_module_graph/main.ts
new file mode 100644
index 000000000..ab1e781dc
--- /dev/null
+++ b/cli/tests/testdata/jsr/no_module_graph/main.ts
@@ -0,0 +1,4 @@
+import version, { TestClass } from "jsr:@denotest/no_module_graph@0.1.0/mod.ts";
+
+console.log(version);
+console.log(new TestClass());