@contractspec/bundle.marketing
v3.8.26
Published
**Marketing composition bundle for the public ContractSpec site: landing narratives, product/templates/examples/pricing pages, support pages, and email-facing marketing helpers.**
Readme
@contractspec/bundle.marketing
Marketing composition bundle for the public ContractSpec site: landing narratives, product/templates/examples/pricing pages, support pages, and email-facing marketing helpers.
What It Provides
- Marketing page bodies consumed by
@contractspec/app.web-landing - Platform-neutral landing story, navigation, page, and examples-entry data consumed by web and Expo shells
- Scenario/template browsing and preview surfaces used on
/templates - Support and program pages such as contact, contribute, cofounder, and design-partner
- Email/contact helpers and marketing-adjacent utilities
Architecture
src/components/marketing/owns the public marketing narratives, section composition, and page-level stories.src/content/owns React-free story data shared by web and mobile shells.src/components/templates/owns template browsing, preview, and template-to-CLI/Studio flows. Preview content uses the shared example preview host from@contractspec/module.examples/runtimeso UI-backed and fallback examples stay aligned with docs and sandbox.src/libs/email/owns contact/newsletter/waitlist actions and helpers used by marketing surfaces.src/index.tsis the root public entrypoint.
The important boundary:
bundle.marketingowns the story and page compositionapp.web-landingowns routing, metadata, OG, shell, and public delivery
Public Entry Points
- Root export
.throughsrc/index.ts ./contentfor platform-neutral landing story data and CTA helpers./components/marketing/*for landing, product, pricing, contact, contribute, cofounder, and design-partner surfaces./components/templates/*for templates browsing and preview surfaces./libs/email/*for marketing contact/newsletter/waitlist helpers
Local Commands
bun run dev— contractspec-bun-build devbun run build— bun run prebuild && bun run build:bundle && bun run build:typesbun run lint— bun run lint:fixbun run lint:check— biome check .bun run lint:fix— biome check --write --unsafe --only=nursery/useSortedClasses . && biome check --write .bun run typecheck— tsc --noEmitbun run publish:pkg— bun publish --tolerate-republish --ignore-scripts --verbosebun run publish:pkg:canary— bun publish:pkg --tag canarybun run clean— rm -rf distbun run build:bundle— contractspec-bun-build transpilebun run build:types— contractspec-bun-build typesbun run prebuild— contractspec-bun-build prebuild
Notes
- Keep the bundle focused on page storytelling and marketing interaction flows. Do not move shell/routing concerns here.
- Public positioning in this package must stay aligned with root docs and
@contractspec/app.web-landing. - If the page story changes materially, update the package docs and the public LLM-facing docs so human-facing and agent-facing descriptions do not drift.
