Skip to content

refactor(mix-winds): rename mix_tailwinds to mix_winds - #51

Merged
leoafarias merged 2 commits into
mainfrom
chore/rename-mix-winds
Aug 8, 2026
Merged

refactor(mix-winds): rename mix_tailwinds to mix_winds#51
leoafarias merged 2 commits into
mainfrom
chore/rename-mix-winds

Conversation

@leoafarias

@leoafarias leoafarias commented Aug 8, 2026

Copy link
Copy Markdown
Member

Description

Website half of the mix_tailwindsmix_winds package rename. Pairs with btwld/mix#1011 (merged as e3133c356).

Changes

  • Moved the landing route /mix-tailwinds/mix-winds, and components/landing/mix-tailwinds/components/landing/mix-winds/ (MixTailwindsLanding.tsxMixWindsLanding.tsx, mix-tailwinds.cssmix-winds.css).
  • Moved all 20 comparison captures from public/mix-tailwinds/ to public/mix-winds/.
  • Renamed the ecosystem doc page to mix-winds.mdx, updated the _meta.js key, the FloatingNavbar link, and the inbound links from getting-started.mdx and mix-schema.mdx.
  • Renamed site-tests/mix-tailwinds-integration.test.mjsmix-winds-integration.test.mjs and its assertions.
  • Renamed mix_docs_preview/lib/ecosystem/mix_tailwinds.dartmix_winds.dart, updated the registry import, sourcePath, and the ecosystem/mix-winds.0 preview id.
  • Added permanent redirects for /mix-tailwinds and /documentation/mix/ecosystem/mix-tailwinds, so links published with feat(mix-tailwinds): add the mix_tailwinds landing page #50 keep resolving.
  • Added a migration callout to the ecosystem page, and updated the install snippet to 0.1.0-alpha.0.

Preview dependency pins (temporary)

mix_winds is not on pub.dev under its new name yet, so mix_docs_preview resolves it from btwld/mix at the rename commit.

It also turned out that mix_winds calls Mix APIs that exist only in the monorepo — onFocusVisible and Pressable.semanticsLabel are absent from every published mix release, including 2.2.0-beta.2. Because remix pins mix from pub.dev, version solving cannot reconcile a git mix with a hosted one, so a dependency_overrides entry puts the whole preview build on the same Mix commit.

mix_docs_preview is publish_to: none, so these pins only affect the docs preview build. Both revert to hosted once the follow-ups below land.

Deliberately not changed

  • References to Tailwind CSS itself: the /examples/tailwind-plan-card route and the "Tailwind" side of the browser-vs-Flutter comparison copy.
  • The captures themselves are byte-identical — this PR only moves them.

Validation

  • flutter pub get (Flutter 3.44.2) — resolved.
  • build_web_previews.sh --local — built; 74 preview entries.
  • pnpm run check:previews — OK (74 entries).
  • pnpm run test:site — 40/40 passed.
  • npx tsc --noEmit — clean.
  • pnpm run build — passed; 101 static pages, /mix-winds prerendered as static.
  • Against next start: /mix-winds and /documentation/mix/ecosystem/mix-winds return 200; /mix-tailwinds and the old ecosystem URL both 308 to their new locations; all 20 captures under /mix-winds/ return 200; the old asset path 404s.
  • Browser: landing gallery, seam, and tabs render with captures from the new path and flutter pub add mix_winds; the ecosystem page renders the live Flutter preview and its source snippet reads import 'package:mix_winds/mix_winds.dart';. No console errors.
  • grep over the built preview bundle finds no mix_tailwinds references.

Follow-ups

  1. Publish a mix prerelease containing onFocusVisible and Pressable.semanticsLabel.
  2. Widen mix_winds's mix: ^2.1.0 constraint to that prerelease — as written it does not compile against any mix version it allows — then publish mix_winds 0.1.0-alpha.0 and mark mix_tailwinds discontinued.
  3. Revert both pins here to hosted mix and mix_winds.

Follows the package rename in btwld/mix. Moves the landing route to
/mix-winds, renames the landing components, stylesheet, capture directory,
ecosystem doc page, and site test, and repoints the mix_docs_preview
dependency at mix_winds ^0.1.0-alpha.0.

Adds permanent redirects from /mix-tailwinds and from the old ecosystem doc
URL so already-published links keep resolving, and adds a migration callout
to the ecosystem page.

References to Tailwind CSS itself are unchanged, including the
/examples/tailwind-plan-card route and the browser-side comparison copy.
@vercel

vercel Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mix-docs Ready Ready Preview Aug 8, 2026 6:39pm

mix_winds is not on pub.dev under its new name yet, so the preview package
resolves it from btwld/mix at the rename commit.

mix_winds also calls Mix APIs that only exist in the monorepo — onFocusVisible
and Pressable.semanticsLabel are absent from every published mix release,
including 2.2.0-beta.2 — and remix pins mix from pub.dev, so version solving
cannot reconcile the two sources. A dependency_overrides entry puts the whole
preview build on the same Mix commit.

Both pins revert to hosted once a mix prerelease ships those APIs and
mix_winds 0.1.0-alpha.0 is published. mix_docs_preview is publish_to: none,
so this only affects the docs preview build.
@leoafarias
leoafarias marked this pull request as ready for review August 8, 2026 18:34
@leoafarias
leoafarias merged commit 850d382 into main Aug 8, 2026
4 checks passed
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.

1 participant