summaryrefslogtreecommitdiff
path: root/tests/specs/publish/missing_constraint/publish.out
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-05-14 10:30:09 -0400
committerGitHub <noreply@github.com>2024-05-14 10:30:09 -0400
commitc6189e2070ac31006920e210e616c0d9dd159b7c (patch)
tree8fd024933405a92aa16a7b43cf9b94838a98ff38 /tests/specs/publish/missing_constraint/publish.out
parentc0a600786e32fa5e61ca40ef184772241446e33d (diff)
fix(publish): error for missing version constraints on dry-publish instead of just publish (#23798)
Closes https://github.com/denoland/deno/issues/22835
Diffstat (limited to 'tests/specs/publish/missing_constraint/publish.out')
-rw-r--r--tests/specs/publish/missing_constraint/publish.out37
1 files changed, 37 insertions, 0 deletions
diff --git a/tests/specs/publish/missing_constraint/publish.out b/tests/specs/publish/missing_constraint/publish.out
new file mode 100644
index 000000000..846612979
--- /dev/null
+++ b/tests/specs/publish/missing_constraint/publish.out
@@ -0,0 +1,37 @@
+[WILDCARD]
+Checking for slow types in the public API...
+Check file:///[WILDLINE]/mod.ts
+error[missing-constraint]: specifier 'jsr:@denotest/add' is missing a version constraint
+ --> [WILDLINE]mod.ts:[WILDLINE]
+ |
+1 | import { add } from "add";
+ | ^^^^^ the specifier
+ = hint: specify a version constraint for the specifier in the import map
+
+ info: the specifier resolved to version 1.0.0 today, but will resolve to a different
+ info: major version if one is published in the future and potentially break
+ docs: https://jsr.io/go/missing-constraint
+
+error[missing-constraint]: specifier 'npm:@denotest/esm-basic' is missing a version constraint
+ --> [WILDLINE]mod.ts:[WILDLINE]
+ |
+2 | import * as basic from "basic";
+ | ^^^^^^^ the specifier
+ = hint: specify a version constraint for the specifier in the import map
+
+ info: the specifier resolved to version 1.0.0 today, but will resolve to a different
+ info: major version if one is published in the future and potentially break
+ docs: https://jsr.io/go/missing-constraint
+
+error[missing-constraint]: specifier 'jsr:@denotest/deps' is missing a version constraint
+ --> [WILDLINE]mod.ts:[WILDLINE]
+ |
+3 | import * as deps from "jsr:@denotest/deps";
+ | ^^^^^^^^^^^^^^^^^^^^ the specifier
+ = hint: specify a version constraint for the specifier
+
+ info: the specifier resolved to version 1.0.0 today, but will resolve to a different
+ info: major version if one is published in the future and potentially break
+ docs: https://jsr.io/go/missing-constraint
+
+error: Found 3 problems