Skip to content

feat: initialize react-type-form library with Nx monorepo#1

Merged
rolginroman merged 8 commits intomainfrom
rolginroman/init-with-nx
Apr 7, 2026
Merged

feat: initialize react-type-form library with Nx monorepo#1
rolginroman merged 8 commits intomainfrom
rolginroman/init-with-nx

Conversation

@rolginroman
Copy link
Copy Markdown
Owner

Summary

  • Scaffold publishable react-type-form library with Vite + SWC in an Nx monorepo
  • Implement core form components: Form, FormFieldControl, FormSubmissionProvider
  • Add createFormHooks for typed form field management and getFirstErrorMessage utility
  • Add Storybook app with FormHooks and ZodForm stories for development and demo
  • Configure ESM-only package output, Prettier, ESLint, changesets, and CI/publish workflows
  • Add comprehensive unit tests for all form components and hooks
  • Add project documentation: README, CONTRIBUTING, AGENTS.md

Test Plan

  • pnpm nx build react-type-form — builds successfully
  • pnpm nx test react-type-form — all unit tests pass
  • pnpm nx lint react-type-form — lint clean
  • pnpm nx storybook storybook — Storybook renders correctly
  • Verified ESM output in dist/ with proper exports

Screenshots (if applicable)

N/A

rolginroman and others added 8 commits April 7, 2026 19:26
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
- Add form components: Form, FormFieldControl, FormSubmissionProvider
- Add createFormHooks for typed form field management
- Add getFirstErrorMessage utility
- Add comprehensive unit tests
- Add Storybook app with FormHooks and ZodForm stories
- Add AGENTS.md, CONTRIBUTING.md, and README documentation
- Add CI/publish GitHub Actions workflows
- Add AI tooling configs (claude, codex, cursor, opencode)
- Configure changesets, prettier, eslint
- Remove Nx scaffold boilerplate
Publishes to npm via GitHub Releases using tokenless OIDC auth.
Removes NPM_TOKEN dependency. Adds id-token: write permission
for Sigstore signing and provenance attestations.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Adds repository URL (required for OIDC matching) and provenance: true
in publishConfig for automatic signed attestations.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
OIDC trusted publishing requires the package to exist on npm first.
Revert this (remove NODE_AUTH_TOKEN) after trusted publisher
is configured on npmjs.com.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
@rolginroman rolginroman merged commit f3518a8 into main Apr 7, 2026
1 check passed
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.

1 participant