8000 fix: ship types for moduleResolution node and a LICENSE in each package by morellodev · Pull Request #327 · awesome-reveal/awesome-reveal · GitHub
[go: up one dir, main page]

Skip to content

fix: ship types for moduleResolution node and a LICENSE in each package - #327

Merged
morellodev merged 2 commits into
nextfrom
fix/node10-types
Oct 18, 2026
Merged

morellodev merged 2 commits into
nextfrom
fix/node10-types

Conversation

@morellodev
Copy link
Copy Markdown
Collaborator

Summary

A user reported that a CRA-style tsconfig (moduleResolution: "node", skipLibCheck) gives no type errors on <Reveal direction="up"> or from="lft". That resolution mode ignores exports. Core had no types field, so the adapter types that import from core became any.

  • Core gets types and a typesVersions entry for ./adapter. React, Vue and compat get a typesVersions entry for ./reveal.css.
  • check:package runs attw with --ignore-rules cjs-resolves-to-esm in place of --profile esm-only. The old profile skipped the node10 and node16-from-CJS modes, so CI did not catch the bug. Now attw checks all four modes and ignores only the rule that the ESM-only design causes.
  • Each published package ships a copy of LICENSE. npm adds a LICENSE file only from the package folder, so no tarball had the MIT text. describeDocs and the compat package test check that each copy is equal to the root file.
  • vitest-browser-react, vitest-browser-vue and vue-tsc move to the pnpm catalog, because they are shared or have peers in the catalog.

Checklist

  • The PR targets the next branch.
  • The PR title follows Conventional Commits. A breaking change has ! and a BREAKING CHANGE: footer.
  • Tests cover the change. attw now checks node10 resolution, and the package tests check the LICENSE copies. I also type-checked a CRA-style consumer against the packed tarballs: tsc reports the direction and "lft" errors.
  • A change to an option, a default or an export also updates the READMEs, the consumer skills and the examples. Not applicable: no option, default or export changed.

@morellodev
Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector
chatgpt-codex-connector Bot commented Oct 18, 2026 •
Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-18T13:13:18.656562Z fab78a4 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: fab78a4fd5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@morellodev
morellodev merged commit 6934561 into next Oct 18, 2026
19 checks passed
@morellodev
morellodev deleted the fix/node10-types branch October 18, 2026 13:15
@morellodev morellodev mentioned this pull request Oct 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0