diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-05-14 10:30:09 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-14 10:30:09 -0400 |
commit | c6189e2070ac31006920e210e616c0d9dd159b7c (patch) | |
tree | 8fd024933405a92aa16a7b43cf9b94838a98ff38 /tests/specs/publish/unsupported_jsx_tsx | |
parent | c0a600786e32fa5e61ca40ef184772241446e33d (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/unsupported_jsx_tsx')
-rw-r--r-- | tests/specs/publish/unsupported_jsx_tsx/foo.jsx | 2 | ||||
-rw-r--r-- | tests/specs/publish/unsupported_jsx_tsx/foo.tsx | 2 | ||||
-rw-r--r-- | tests/specs/publish/unsupported_jsx_tsx/jsr.jsonc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/specs/publish/unsupported_jsx_tsx/foo.jsx b/tests/specs/publish/unsupported_jsx_tsx/foo.jsx index 021c2d49e..120e8b334 100644 --- a/tests/specs/publish/unsupported_jsx_tsx/foo.jsx +++ b/tests/specs/publish/unsupported_jsx_tsx/foo.jsx @@ -1,4 +1,4 @@ -import { renderToString } from "npm:preact-render-to-string"; +import { renderToString } from "npm:preact-render-to-string@6"; export default function render() { return renderToString(<div>foo.tsx</div>); diff --git a/tests/specs/publish/unsupported_jsx_tsx/foo.tsx b/tests/specs/publish/unsupported_jsx_tsx/foo.tsx index 021c2d49e..120e8b334 100644 --- a/tests/specs/publish/unsupported_jsx_tsx/foo.tsx +++ b/tests/specs/publish/unsupported_jsx_tsx/foo.tsx @@ -1,4 +1,4 @@ -import { renderToString } from "npm:preact-render-to-string"; +import { renderToString } from "npm:preact-render-to-string@6"; export default function render() { return renderToString(<div>foo.tsx</div>); diff --git a/tests/specs/publish/unsupported_jsx_tsx/jsr.jsonc b/tests/specs/publish/unsupported_jsx_tsx/jsr.jsonc index 7aea08842..e411bf54b 100644 --- a/tests/specs/publish/unsupported_jsx_tsx/jsr.jsonc +++ b/tests/specs/publish/unsupported_jsx_tsx/jsr.jsonc @@ -6,6 +6,6 @@ }, "compilerOptions": { "jsx": "react-jsx", - "jsxImportSource": "npm:preact" + "jsxImportSource": "npm:preact@10" } } |