chore: ビルド成果物(cjs/esm)を非コミット化#19
Merged
Merged
Conversation
cjs/esm は publish CI の `pnpm run build`(tsc) で生成され publish される ため、リポジトリにコミットする必要がない。コミットは drift・レビュー ノイズ・コンフリクトを招くだけ。.gitignore に cjs/ esm/ を追加し追跡から 外す(--cached でディスク上のファイルは保持)。published パッケージは CI が 再ビルドするため不変。同組織の IMUID-js / im-ulid と方針を揃える。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
im-core のビルド成果物
cjs/esm/をコミット対象から外す。version 据え置き・republish なし(published パッケージは CI が再ビルドするため不変)。根拠
publish-to-artifactregistry.yml)はpnpm run build(tsc)→pnpm publishで毎回 cjs/esm を生成するため、コミット済み成果物は publish に不要ignoreScripts: trueで prepare も走らない)→ git install 非依存変更内容
.gitignoreにcjs/esm/を追加git rm -r --cached cjs esm(追跡解除・ディスク上のファイルは保持)build(tsc) は cjs/esm/.d.ts を完全生成するため、非コミット化しても publish に影響なし。
🤖 Generated with Claude Code