Skip to content

chore: component exports#84

Merged
olliethedev merged 12 commits intomainfrom
chore/component-exports
Mar 9, 2026
Merged

chore: component exports#84
olliethedev merged 12 commits intomainfrom
chore/component-exports

Conversation

@olliethedev
Copy link
Collaborator

@olliethedev olliethedev commented Mar 9, 2026

Summary

  • export high level components for standalone use
  • add docs

Closes #38

Type of change

  • Bug fix
  • New plugin
  • Feature / enhancement to an existing plugin
  • Documentation
  • Chore / refactor / tooling

Checklist

  • pnpm build passes
  • pnpm typecheck passes
  • pnpm lint passes
  • Tests added or updated (unit and/or E2E)
  • Docs updated (docs/content/docs/) if consumer-facing types or behavior changed
  • All three example apps updated if a plugin was added or changed
  • New plugin: submission checklist in CONTRIBUTING.md completed

Screenshots


Note

Medium Risk
Moderate risk because it changes @btst/stack build/packaging (new exports, CSS postbuild, Rollup plugin config) which can affect publishing and consumer import resolution; runtime behavior changes are minimal and localized.

Overview
Standalone component exports: Adds new public entrypoints under @btst/stack/components/* (e.g. auto-form, stepped-auto-form, form-builder, markdown, multi-select, search-select, empty) by introducing new source entry files, wiring them into unbuild entries, and publishing them via package.json exports/typesVersions.

Build/package plumbing: Updates postbuild.cjs to also copy component CSS into dist/components and inline any @workspace/ui CSS imports for both plugin and component dist CSS; adjusts Rollup preserveDirectives to ignore .d.ts files; bumps @btst/stack version and sets NODE_OPTIONS=--max-old-space-size=8192 for builds.

Docs + demo/workflows: Adds a new standalone-components docs page and updates UI Builder docs to reference the new component import paths; CI moves to Node 22 and increases build heap, the demos workflow is rewritten to build each demo explicitly, and demo lockfiles update to @btst/stack@2.6.0. Also refactors the blog MarkdownEditor to accept uploadImage/placeholder props and introduces a plugin-specific MarkdownEditorWithOverrides wrapper, plus a small UI Builder demo error typing tweak (Errorunknown).

Written by Cursor Bugbot for commit ce25983. This will update automatically on new commits. Configure here.

@vercel
Copy link

vercel bot commented Mar 9, 2026

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

Project Deployment Actions Updated (UTC)
better-stack-docs Error Error Mar 9, 2026 7:34pm

Request Review

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

Shadcn registry validated — no registry changes detected.

@olliethedev olliethedev merged commit a39aac8 into main Mar 9, 2026
7 checks passed
@olliethedev olliethedev deleted the chore/component-exports branch March 9, 2026 19:45
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.

Export Standalone UI Components

1 participant