Skip to content

Move auto-generated banner to end of changeset files#13

Merged
IzumiSy merged 4 commits intomainfrom
copilot/move-markdown-comments-to-end
Jan 6, 2026
Merged

Move auto-generated banner to end of changeset files#13
IzumiSy merged 4 commits intomainfrom
copilot/move-markdown-comments-to-end

Conversation

Copy link
Contributor

Copilot AI commented Jan 6, 2026

The auto-generated markdown comment was placed at the beginning of changeset files, creating unnecessary blank lines at the top.

Changes

  • Modified generateSummaryFromChanges() in src/changeset.ts to append AUTO_GENERATED_BANNER at the end instead of prepending it
  • Bumped version to 0.2.1

Result

Before:

<!-- This changeset was auto-generated by deps2changesets -->

Updated [lodash](https://www.npmjs.com/package/lodash) (^4.17.19 -> ^4.17.21)

After:

Updated [lodash](https://www.npmjs.com/package/lodash) (^4.17.19 -> ^4.17.21)

<!-- This changeset was auto-generated by deps2changesets -->

The isAutoGeneratedChangeset() detection logic remains unchanged—it uses includes() so banner position doesn't matter for duplicate prevention.

Original prompt

現在このCLIツールにはchangesetに含まれたmarkdownコメントを参照して、changesetの2重作成を防止する機能がありますが、このmarkdownコメントをchangesetの末尾に配置してほしいです。頭についていると、無駄な改行を産んでしまうため。


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 3 commits January 6, 2026 03:39
Co-authored-by: IzumiSy <982850+IzumiSy@users.noreply.github.com>
Co-authored-by: IzumiSy <982850+IzumiSy@users.noreply.github.com>
Co-authored-by: IzumiSy <982850+IzumiSy@users.noreply.github.com>
Copilot AI changed the title [WIP] Update changeset structure to move markdown comments to end Move auto-generated banner to end of changeset files Jan 6, 2026
Copilot AI requested a review from IzumiSy January 6, 2026 03:43
@IzumiSy IzumiSy marked this pull request as ready for review January 6, 2026 03:45
@IzumiSy IzumiSy merged commit c8a0236 into main Jan 6, 2026
1 check passed
@IzumiSy IzumiSy deleted the copilot/move-markdown-comments-to-end branch January 6, 2026 03:45
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.

2 participants