From c6189e2070ac31006920e210e616c0d9dd159b7c Mon Sep 17 00:00:00 2001
From: David Sherret <dsherret@users.noreply.github.com>
Date: Tue, 14 May 2024 10:30:09 -0400
Subject: fix(publish): error for missing version constraints on dry-publish
 instead of just publish (#23798)

Closes https://github.com/denoland/deno/issues/22835
---
 tests/specs/publish/missing_constraint_jsx_import_source/foo.tsx | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 tests/specs/publish/missing_constraint_jsx_import_source/foo.tsx

(limited to 'tests/specs/publish/missing_constraint_jsx_import_source/foo.tsx')

diff --git a/tests/specs/publish/missing_constraint_jsx_import_source/foo.tsx b/tests/specs/publish/missing_constraint_jsx_import_source/foo.tsx
new file mode 100644
index 000000000..120e8b334
--- /dev/null
+++ b/tests/specs/publish/missing_constraint_jsx_import_source/foo.tsx
@@ -0,0 +1,5 @@
+import { renderToString } from "npm:preact-render-to-string@6";
+
+export default function render() {
+  return renderToString(<div>foo.tsx</div>);
+}
-- 
cgit v1.2.3

