Skip to content
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

build(frontend): bump tailwind #4802

Merged
merged 2 commits into from
Feb 18, 2025
Merged

build(frontend): bump tailwind #4802

merged 2 commits into from
Feb 18, 2025

Conversation

peterpeterparker
Copy link
Member

@peterpeterparker peterpeterparker commented Feb 18, 2025

Motivation

We detected reproducibility issue when building v0.24.0:

https://github.com/dfinity/oisy-wallet/actions/runs/13393064153

I'm unsure which of the two following Tailwind fix was the reason of the problem but, bumping Tailwind to latest version seems to resolve the problem.

Tailwind v4.0.6 - Fix #16403
~~- Revert change to no longer include theme variables that aren't used in compiled CSS ~~

Tailwind v4.0.7 - Fix #16414
- Fix sorting of numeric utility suggestions when they have different magnitudes

I lean towards to former though. I could have try v4.0.6 but, v4.0.7 contains interesting fixes anyway.

It does not resolve the issue: https://github.com/dfinity/oisy-wallet/actions/runs/13395505962/job/37413394328

Changes

  • Bump @tailwindcss/postcss, @tailwindcss/vite and tailwindcss.

peterpeterparker and others added 2 commits February 18, 2025 17:27
@peterpeterparker peterpeterparker marked this pull request as ready for review February 18, 2025 16:32
@peterpeterparker peterpeterparker requested a review from a team as a code owner February 18, 2025 16:32
Copy link
Contributor

@DenysKarmazynDFINITY DenysKarmazynDFINITY left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updating tailwind still sounds good

@peterpeterparker peterpeterparker merged commit 02aff7b into main Feb 18, 2025
26 of 27 checks passed
@peterpeterparker peterpeterparker deleted the build/bump-tailwind branch February 18, 2025 16:53
@peterpeterparker
Copy link
Member Author

Indeed, it contains fixes so still better...

AntonioVentilii added a commit that referenced this pull request Feb 28, 2025
# Motivation

Given recent reproducibilities issues with bumping Tailwind v4 (see one
of the fixes [here](#4802)),
we include the CI that checks the frontend reproducibility in each PR,
and on `main`.

Furthermore, once this PR is merged, we will add the check among the
compulsory ones to be able to merge any PR.
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.

None yet

2 participants