Skip to content

fix: build packages before changeset publish#14

Merged
amotarao merged 2 commits intomainfrom
fix/release-build
Mar 25, 2026
Merged

fix: build packages before changeset publish#14
amotarao merged 2 commits intomainfrom
fix/release-build

Conversation

@amotarao
Copy link
Copy Markdown
Member

@amotarao amotarao commented Mar 25, 2026

Summary

  • build スクリプトを追加(pnpm -r run build で全パッケージをビルド)
  • release スクリプトをビルド前実行に変更(pnpm run build && changeset publish

changeset publish 実行前に dist が生成されず、npm に publish されても空になっていた問題を修正。

Summary by CodeRabbit

Chores

  • リリースプロセスの改善:パブリッシュ前にビルドが自動的に実行されるようになりました。これによりリリースの信頼性が向上します。

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 25, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 9f5c67a4-8c16-4ed4-9d39-f39f2f3e6cdd

📥 Commits

Reviewing files that changed from the base of the PR and between a6a1066 and fadaaac.

📒 Files selected for processing (2)
  • .changeset/slimy-bobcats-sort.md
  • package.json

Walkthrough

リリース手順を変更するため、Changesetファイルを追加し、ワークスペース・ビルド用スクリプトをpackage.jsonに追加、releaseスクリプトをビルド実行後に公開するよう更新しました。

Changes

Cohort / File(s) Summary
Changeset宣言
\.changeset/slimy-bobcats-sort.md
@plainbrew/vercel-basic-authのパッチリリースを宣言するChangesetを追加(説明: "fix: run build before publish.")。
ワークスペース/リリーススクリプト
package.json
ワークスペース全体のbuildスクリプト(pnpm -r run build)を追加し、releaseスクリプトをpnpm run build && changeset publishに変更して、公開前にビルドを実行するようにした。

Sequence Diagram(s)

(該当なし)

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

🐰 ビルドを先に跳び越え、
その後に公開の一跳び、
変更は小さくとも確かに、
流れは整い、心は軽やか、
さあリリース、にんじん祝い! 🥕

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/release-build

Comment @coderabbitai help to get the list of available commands and usage tips.

@amotarao amotarao force-pushed the fix/release-build branch from 9b21a1c to fadaaac Compare March 25, 2026 23:37
@amotarao amotarao merged commit 0f6f252 into main Mar 25, 2026
1 check passed
@amotarao amotarao deleted the fix/release-build branch March 25, 2026 23:37
@github-actions github-actions Bot mentioned this pull request Mar 25, 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