Support selecting component package files - #74
Merged
Conversation
samuel-williams-shopify
force-pushed
the
components-update
branch
2 times, most recently
from
August 15, 2026 05:38
e87a123 to
406c582
Compare
samuel-williams-shopify
force-pushed
the
components-update
branch
from
August 15, 2026 05:54
406c582 to
8ae9405
Compare
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.
Add a reusable
utopia:components:updatetask for installing browser components from production JavaScript packages.Projects can select files from a package through
package.json:{ "utopia": { "components": { "mermaid": { "include": [ "mermaid.esm.min.mjs", "chunks/mermaid.esm.min/**/*.mjs" ] } } } }Patterns are relative to the package
distdirectory when present, or otherwise its package root. Unconfigured packages retain the existing copy-all behavior. Include rules are validated before the existing installation is removed, and stale files are removed during successful updates.This replaces the old
utopia:node:updatetask. The JavaScript integration guide and generated documentation context now useutopia:components:update.Validation: