Skip to content

Conversation

@ethanmay
Copy link
Contributor

@ethanmay ethanmay commented Jul 3, 2025

Related Issue/RFC: N/A

Description of the Change

This update enhances the 10up-toolkit integration to support local development workflows for shared block libraries. It adds support for using paths.blocksDir as an array, allowing multiple block source directories.

Alternate Designs

N/A

Possible Drawbacks

If there are blocks with identical names in both directories, it will result in build errors.

Verification Process

Tested the changes in my own WordPress environment using multiple block directories in separate locations. Added a test case to this PR.

Checklist:

  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests passed.
  • I have added a changeset to my PR. See CONTRIBUTING document for instructions

@changeset-bot
Copy link

changeset-bot bot commented Jul 3, 2025

🦋 Changeset detected

Latest commit: 32d80d8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
10up-toolkit Minor

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

@nicholasio nicholasio requested a review from fabiankaegy July 3, 2025 19:00
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