-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Design system driven upgrade migrations #17831
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
815a83c
add `Writable` types helper
RobinMalfait 40fa9d7
add `memcpy` util
RobinMalfait 551bbed
add signatures
RobinMalfait 1d32882
add optimize modifier migration
RobinMalfait 7838f27
add drop unnecessary data types migration
RobinMalfait 48d449d
add arbitrary variants migration
RobinMalfait e064185
add arbitrary utilities migration
RobinMalfait b6a2a55
export candidate types
RobinMalfait 56303f7
use new migrations
RobinMalfait 24de47d
use memcpy
RobinMalfait 7f23841
use migrate arbitrary value to bare value using signatures
RobinMalfait a2585e9
improve printing of candidates
RobinMalfait 52de5ed
update apply migration test
RobinMalfait 271f803
move test
RobinMalfait 3705e1a
add walk variants util
RobinMalfait 49da4f0
remove hardcoded list of variants
RobinMalfait 1f69c0f
ensure incomputable signatures result in unique value
RobinMalfait 5af9fa5
`--tw-sort` is the property, not the value
RobinMalfait fe5d717
prevent infinitely parsing the same value
RobinMalfait 457e9b5
improve signature generation for variants
RobinMalfait 100f524
update integration tests
RobinMalfait 0f4c724
add tests to migrate to more specific utilities
RobinMalfait 6aeecd6
try to migrate both arbitrary properties and arbitrary values
RobinMalfait fa15d91
handle negative in arbitrary scale
RobinMalfait f88fec3
update changelog
RobinMalfait 892a417
prefer bare values over arbitrary values
RobinMalfait ba360ab
convert arbitrary rem value to bare value
RobinMalfait ccd8053
abstract parsing dimensions
RobinMalfait 5d8b626
Update packages/@tailwindcss-upgrade/src/utils/dimension.ts
RobinMalfait 34565f0
rename variables / comments
RobinMalfait 42b621b
use existing `getClassList`
RobinMalfait 1e9ce41
move printing candidate to core
RobinMalfait 013f0b5
Update CHANGELOG.md
RobinMalfait 5573c88
use try/finally for extra safety
RobinMalfait d5ac5cd
update changelog
RobinMalfait f2653ac
drop level of nesting
RobinMalfait cd92ff1
use `printModifier` helper
RobinMalfait 987b9e7
add basic tests for _all_ migrations
RobinMalfait fbabe79
rename `memcpy` to `replaceObject`
RobinMalfait File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
convert arbitrary rem value to bare value
This keeps the spacing scale modifier into account to make sure the migration is safe.
- Loading branch information
commit ba360ab3225f813b5a737c09442d3d19358618cb
There are no files selected for viewing
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.