You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
0.1.0 shipped three regressions that broke `npm install` + `npm run
build` from a fresh consumer project:
1. `workspace:*` strings leaked into every template's published
package.json. The first publish bypassed `pnpm changeset version`,
so pnpm's workspace-protocol rewrite never ran. New CI job
`pack-leak` packs every publishable workspace package and greps
for `workspace:` to prevent regression.
2. Five templates imported Bibliography via a deep relative path
(`../../reactwright/src/userland/Bibliography.js`) that only
resolves inside the monorepo. Switched to the public package
entry `reactwright/userland`.
3. tsx's default JSX transform is classic (`React.createElement`),
and the consumer-side tsx runtime does not apply the host's
tsconfig to files in node_modules. Every published template.tsx
and the scaffolder-generated .tsx now `import React from "react"`
explicitly. The scaffolder also writes a sibling tsconfig.json
with `"jsx": "react-jsx"` so consumer .tsx files build cleanly.
While verifying the fix, also corrected the scaffolder's default
template to use `<link>` instead of `<a>` (not a registered content
intrinsic). New CI job `scaffold-build` runs the full
scaffold + npm install + npm run build loop for all six templates
against local tarballs.
Defers the `remove-deprecated-compounds` changeset (parked at
`.deferred`) so this release stays a clean 0.1.1 patch. Restore the
extension when cutting the next minor.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: packages/markdown/package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "@reactwright/markdown",
3
-
"version": "0.1.0",
3
+
"version": "0.1.1",
4
4
"description": "Author Reactwright documents in Markdown. Parses CommonMark + YAML frontmatter into Reactwright content JSX so any template (essay, IEEE, report) can render `.md` files to HTML and PDF.",
0 commit comments