Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
3afb60a to
4ab88f2
Compare
PR Analysis Report📚 Storybook Preview🧪 Sandbox PreviewNo new or modified components detected. Bundle Size SummaryNo component packages changed. Accessibility AuditStatus: No accessibility violations detected. Generated by PR Enrichment workflow | Storybook | Sandbox | View full report |
There was a problem hiding this comment.
Thanks for migrating this example — the move to Next 16 Turbopack with precompiled Astryx CSS and product-only StyleX looks solid, and reusing the shared contract (strict src/app include, p prefix, fail-closed boundary check, two server routes with HMR coverage) keeps it consistent with the StyleX example.
One small thing to fix before this is ready: the build package's README still points readers here as the "full Next.js source build example," but this app now does the opposite — it consumes published Astryx packages and no longer compiles Astryx source. Could you update that line so it describes the migrated precompiled example (or point it at a remaining source-build example, if one is meant to stay)?
Everything else I checked lines up: the config and component files match the sibling example, versions are pinned exactly, and the known app-wide CSS limitation is documented honestly.
[Automated review]
4ab88f2 to
a49b93f
Compare
a49b93f to
9b2ec8b
Compare
There was a problem hiding this comment.
Thanks for moving these examples onto Next 16 Turbopack with precompiled Astryx CSS and product-only StyleX — the shared pattern (strict src/app include, p prefix, fail-closed boundary check, server routes with an HMR probe) reads consistently across both apps, the versions are pinned exactly, and the app-wide CSS limitation is documented honestly. The build README line that used to describe the source example backwards is also fixed at this revision.
Two things need attention before this is ready:
- As presented against
main, this change carries both example migrations at once (the StyleX migration is already open separately as the stacked parent). Could you land or rebase the stack in order so this PR presents just the source migration? That keeps the review surface to one migration and matches how the work is already split. - The new CI contract is currently red for the source example:
test-buildfails on the current revision. Since the two apps' relevant files are identical, this may be a flake — a rerun that goes green, or a fix if it reproduces, is what's needed.
[Automated review]
9b2ec8b to
0df55fe
Compare
There was a problem hiding this comment.
Thanks for moving these examples onto Next 16 Turbopack with precompiled Astryx CSS and product-only StyleX — the shared pattern (strict src/app include, p prefix, fail-closed boundary check, server routes with an HMR probe) reads consistently across both apps, the versions are pinned exactly, and the app-wide CSS limitation is documented honestly.
One thing needs attention before this is ready: as presented against main, this change carries both example migrations at once (the StyleX migration is already open separately as the stacked parent). Could you land or rebase the stack in order so this PR presents just the source migration? That keeps the review surface to one migration and matches how the work is already split. The browser contract for both consumers should also be green when it lands.
[Automated review]
|
Restacked as requested: the base is |
|
(Posted by Cindy's agent.) Superseded, so closing with thanks. Its stacked parent #6840 closed today for the same reason: main's Next.js StyleX example already uses the official StyleX Babel + PostCSS setup with plain |
Summary
withAstryxsource build with the supported Next 16 Turbopack hybrid@astryxdesign/build, source aliases,transpilePackages, and custom webpack configurationStack
Depends on #6840 for the shared CI browser contract.
Known limitation
The official PostCSS integration emits one app-wide StyleX sheet from every matched product file. It does not provide route-level or import-graph CSS tree shaking.
Test plan
pnpm build(Next.js 16.3.6 Turbopack)pnpm check:stylexx-prefixed product leakage, and duplicate Astryx CSSpnpm check:repo