feat(cms): export Props for VTEX, blog, and website cms-props#79
Merged
Conversation
Add CMS Props interfaces to published app mods so Tanstack sites can use thin re-export bridges (same pattern as lojabagaggio apps/deco/*.ts). Co-authored-by: Cursor <cursoragent@cursor.com>
Move VTEX Props and website WebsiteProps into each app's mod.ts (deco-cx pattern). Remove vtex/props.ts and website/cms-props.ts split files. Co-authored-by: Cursor <cursoragent@cursor.com>
…igure Co-authored-by: Cursor <cursoragent@cursor.com>
3 tasks
JonasJesus42
approved these changes
Jun 18, 2026
|
🎉 This PR is included in version 5.2.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
vtex/props.tswith full VTEX CMS Props (secrets, sales channel, cached search terms)Propsfromblog/mod.tsand default export for Deno-style bridgeswebsite/cms-props.tswithWebsitePropsfor site app schema generationEnables Tanstack sites to use thin
src/apps/deco/*.tsre-exports like lojabagaggio.Test plan
bun run typecheck(vtex/blog modules)bun test blog/__tests__/mod.test.tsgenerate-schema.tsscanMade with Cursor
Summary by cubic
Expose CMS
Propsand default exports fromblog/mod.ts,vtex/mod.ts, andwebsite/mod.tsso TanStack sites can generate schemas viagenerate-schema.tsand use thin re-export bridges.New Features
Props(pageSlug), set state inconfigure, added default export.Props(secrets, sales channel, cached search terms), re-exportedSecret, added default export.Props(caching, A/B testing, SEO, flavors), plusWebsitePropsandSecretaliases.Refactors
mod.ts(removed split files likevtex/props.tsandwebsite/cms-props.ts) and minor lint cleanup (website/mod.tsimports,biome-ignoreinvtex/mod.tsconfigure).Written for commit de25f17. Summary will update on new commits.