Commits on Source 3
-
This adds a migration script for legacy utilities to tailwind utilities. This was extracted from: gitlab!154442 The idea is simple: 1. We give a list of files via stdin or iterate over all source files in the current directory or in a given list of directories. 2. We replace legacy utility class names with their tailwind equivalents (list maintained `bin/lib/tailwind_equivalents.js`). Note, not all legacy utils are mapped, but just the ones currently in use in the GitLab project and other important projects. 3. You test that the changes have the expected results. Migration strategy for larger projects might be folder by folder or route by route. Co-authored-by:
Mark Florian <mflorian@gitlab.com>
Co-authored-by: Paul GV <pgascouvaillancourt@gitlab.com>
-
Paul Gascou-Vaillancourt authored
feat: Add utility class migration script See merge request gitlab-org/gitlab-ui!4362 Merged-by:
Paul Gascou-Vaillancourt <pgascouvaillancourt@gitlab.com> Approved-by:
Paul Gascou-Vaillancourt <pgascouvaillancourt@gitlab.com> Reviewed-by:
Vanessa Otto <votto@gitlab.com> Co-authored-by:
Lukas Eipert <leipert@gitlab.com>
-
semantic-release-bot authored
# [85.14.0](gitlab-org/gitlab-ui@v85.13.0...v85.14.0) (2024-07-04) ### Features * Add utility class migration script ([12070583](gitlab-org/gitlab-ui@12070583))