The repository currently publishes @baseui.sh/react.
This is the strongest branded installation command:
npm install @baseui.sh/reactIt requires an npm organization named baseui.sh. npm scopes belong to npm users or organizations and are independent from GitHub organizations and domain ownership.
If the baseui.sh scope cannot be claimed, use:
@wundercorp/baseui
Changing the name after the first public release creates a migration burden, so settle the scope before publishing version 0.1.0.
npm login
npm whoami
npm run release:dry-run
cd packages/react
npm publish --access public --provenance=falseThe package already includes:
- Public access configuration
- npm registry configuration
- ESM output
- TypeScript declarations
- Explicit package exports
- CSS and token exports
- React peer dependencies
- Runtime Phosphor dependency
- Repository, issue, license, funding, and homepage metadata
- A restricted
filesallowlist
After the initial publication, configure npm trusted publishing for:
wundercorp/baseui
.github/workflows/release.yml
Future releases follow this flow:
- A contributor adds a Changeset.
- The change merges to
main. - GitHub Actions updates the release pull request.
- The release pull request is merged.
- GitHub Actions publishes through npm OIDC.
- npm records provenance linking the package to the GitHub workflow.
Show the standard command first:
npm install @baseui.sh/reactAlso support the common alternatives:
pnpm add @baseui.sh/react
yarn add @baseui.sh/react
bun add @baseui.sh/reactThe minimum integration is:
import { BaseUIProvider, Button } from "@baseui.sh/react";
import "@baseui.sh/react/styles.css";
export function Application() {
return (
<BaseUIProvider theme="system">
<Button>Continue</Button>
</BaseUIProvider>
);
}npm view @baseui.sh/react version
npm view @baseui.sh/react dist-tags
npm view @baseui.sh/react repository
npm install @baseui.sh/reactCreate a GitHub release for each stable version and keep the npm package README focused on installation, compatibility, styling, entry points, and migration notes.