Repository navigation
Conversation
🦋 Changeset detectedLatest commit: f3d5fbc The changes in this PR will be included in the next version bump. This PR includes changesets to release 4 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## next #2066 +/- ##
==========================================
+ Coverage 81.12% 81.13% +0.01%
==========================================
Files 61 61
Lines 2315 2317 +2
Branches 634 637 +3
==========================================
+ Hits 1878 1880 +2
Misses 392 392
Partials 45 45 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
| !file.startsWith(".") && | ||
| file.endsWith(".md") && | ||
| !/^README\.md$/i.test(file), | ||
| !ignoredMdFiles.includes(file), |
|
|
||
| // Files in `.changeset` that should not be considered as changesets. We may | ||
| // revisit this if it becomes difficult to maintain the common list of files. | ||
| const ignoredMdFiles = [/^README\.md$/i, "AGENTS.md", "CLAUDE.md", "GEMINI.md"]; |
There was a problem hiding this comment.
nit: I'd probably go with this:
| const ignoredMdFiles = [/^README\.md$/i, "AGENTS.md", "CLAUDE.md", "GEMINI.md"]; | |
| const ignoredMdFiles = [/^README\.md$/i, /^(AGENTS|CLAUDE|GEMINI).md$]; |
This would allow us to avoid the string/regexp distinction at the consumer side
There was a problem hiding this comment.
I think I prefer distinct items for each entries than combining, so it's a list of special files that we're maintaining. Otherwise we make each file a regex, but feels a bit off 🤔 The regex/string check isn't too bad for me.
There was a problem hiding this comment.
I'll merge this in but happy to discuss this still if you'd like
* Ignore agent files as changesets ref: changesets/changesets#2066 * Fix lint and test * Format
closes #1906
supersedes and closes #1912
As mentioned in #1906, we hardcode the common list of files to ignore for now. We can likely expand on this non-breakingly later.