chore: 🤖 support asset aliases with centralised resolver configuration#876
chore: 🤖 support asset aliases with centralised resolver configuration#876
Conversation
🦋 Changeset detectedLatest commit: 6181f06 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
|
Claude finished @punkbit's task in 1m 46s —— View job PR Review: chore: 🤖 support asset aliases with centralised resolver configurationNice refactor — the centralized resolver is a clean approach and the deletion of the 🚨 Must Fix
💡 Suggestions (non-blocking)
Tasks
|
e316245 to
6181f06
Compare
|
Claude finished @punkbit's task in 1m 16s —— View job PR Review: chore: 🤖 support asset aliases with centralised resolver configurationSolid refactor — the centralized resolver is a clean pattern, the deletion of per-asset The previously flagged theme regression in 💡 Suggestions (non-blocking)
Tasks
|
📚 Storybook Preview Deployed✅ Preview URL: https://click-piesg0mhi-clickhouse.vercel.app Built from commit: |
Why?
Introduces a centralised asset configuration with unified aliases and deprecated name mappings. It inherits from the original resolver used for the deprecations, but we found that we may want to accept customisation via aliases. Because there are naming conventions to facilitate adding assets easily, the user might want to add custom aliases, e.g. for a case like
c#, which has a#character, which is not a valid JavaScript identifier, the user might still want to usec#instead ofc-sharp.How?
Preview?
demo-support-asset-aliases-carrot-svg.mov