Skip to content

chore(release): new release - #337

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Open

github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

[email protected]

Minor Changes

  • feat: allow the ignored option to be a mixed array of glob strings and (by @stormslowly in #336)
    RegExp instances, e.g. ignored: ["**/.cache", /generated/].

    Previously an array was assumed to contain only glob strings, so passing a
    RegExp inside it threw TypeError: Expected a string. This made it
    awkward for frameworks to append their own glob ignores to a user-supplied
    RegExp ignore, since the two could not be combined in one value.

    Glob strings in the array are still merged into a single RegExp; RegExp
    items are tested as-is. Behaviour for string-only arrays, single strings,
    single RegExps and functions is unchanged.

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.

0 participants