Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dts 生成を tsup に移行 & publint で package.json をチェックする #617

Open
wants to merge 4 commits into
base: chore/upgrade-react18-1
Choose a base branch
from

Conversation

naporin0624
Copy link
Member

@naporin0624 naporin0624 commented Aug 8, 2024

やったこと

  • tsup の upgrade
  • tsup で dts を生成
  • react-sandbox のみ styled.ts が "The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed." になるので tsc でコンパイルしている
    • styled.ts に関してはコンパイルが失敗して dts が生成されていないが、外部に影響がある型ではないので問題ない
    • tsup は dts を bundle して一ファイルにするため個々のエラーによって dts が生成されなかったため使用できなかった

動作確認環境

  • publint で package.json をチェック

チェックリスト

不要なチェック項目は消して構いません

  • 破壊的変更がある場合には、対象のパッケージのメジャーバージョンが上がっていることを確認した
  • 追加したコンポーネントが index.ts から再 export されている
  • README やドキュメントに影響があることを確認した

@naporin0624 naporin0624 self-assigned this Aug 8, 2024
@naporin0624 naporin0624 changed the base branch from v4.0.0 to chore/upgrade-react18-1 August 8, 2024 12:09
@naporin0624 naporin0624 marked this pull request as ready for review August 14, 2024 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant