From 0709c051f83c181206f6653396f5428df66ed74f Mon Sep 17 00:00:00 2001 From: David Sherret Date: Mon, 18 Sep 2023 10:46:44 -0400 Subject: 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. --- cli/tests/testdata/jsr/version_not_found/main.out | 4 ++++ cli/tests/testdata/jsr/version_not_found/main.ts | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 cli/tests/testdata/jsr/version_not_found/main.out create mode 100644 cli/tests/testdata/jsr/version_not_found/main.ts (limited to 'cli/tests/testdata/jsr/version_not_found') diff --git a/cli/tests/testdata/jsr/version_not_found/main.out b/cli/tests/testdata/jsr/version_not_found/main.out new file mode 100644 index 000000000..ec9a2ee96 --- /dev/null +++ b/cli/tests/testdata/jsr/version_not_found/main.out @@ -0,0 +1,4 @@ +Download http://localhost:4545/jsr/registry/@denotest/deps/meta.json +error: Could not find constraint in the list of versions: @denotest/deps@0.1.4 + Specifier: jsr:@denotest/deps@0.1.4/mod.ts + at file:///[WILDCARD]/version_not_found/main.ts:1:19 diff --git a/cli/tests/testdata/jsr/version_not_found/main.ts b/cli/tests/testdata/jsr/version_not_found/main.ts new file mode 100644 index 000000000..a7673b744 --- /dev/null +++ b/cli/tests/testdata/jsr/version_not_found/main.ts @@ -0,0 +1,2 @@ +import value from "jsr:@denotest/deps@0.1.4/mod.ts"; +console.log(value); -- cgit v1.2.3