Skip to content

Add example app, npm publishing, and professional README#4

Merged
ntatoud merged 2 commits intomainfrom
ntatoud/example-app
Feb 5, 2026
Merged

Add example app, npm publishing, and professional README#4
ntatoud merged 2 commits intomainfrom
ntatoud/example-app

Conversation

@ntatoud
Copy link
Owner

@ntatoud ntatoud commented Feb 5, 2026

Summary

  • Full-stack Todo example app — Backend REST API built with react-http-renderer + React/Vite frontend, with comprehensive test suites
  • npm publishing infrastructure — Changesets for version management, GitHub Actions release workflow with OIDC trusted publishing (no static tokens)
  • Package renamereact-httpreact-http-renderer (original name was taken on npm), directory renamed to match
  • Professional README — Banner image, npm/CI/license badges, full API reference, advanced usage docs, and release flow documentation

Changes

Example App (apps/todo-app/)

  • Backend: Full CRUD API with middleware (logging, CORS), in-memory store, 15 API tests
  • Frontend: React + Vite client with components, hooks, and 39 UI tests

Publishing Setup

  • @changesets/cli + @changesets/changelog-github for version management
  • .github/workflows/release.yml — Automated releases via changesets/action@v1 with OIDC trusted publishing
  • packages/react-http-renderer/package.json — Added publishConfig, repository, homepage, bugs, author
  • Root scripts: changeset, version-packages, release
  • Initial CHANGELOG.md for v0.1.0

Documentation

  • Professional README with banner, badges, Quick Start, API Reference, Advanced Usage, Example App, Releasing docs
  • .changeset/README.md contributor guide

Test plan

  • pnpm build passes (all 3 packages)
  • pnpm test passes (94 tests across 9 test files)
  • react-http-renderer@0.1.0 published to npm
  • Configure trusted publishing on npmjs.com after merge
  • Verify release workflow creates "Version Packages" PR on next changeset

🤖 Generated with Claude Code

ntatoud and others added 2 commits February 5, 2026 22:19
- Rename package to react-http-renderer (react-http was taken on npm)
- Rename package directory to packages/react-http-renderer
- Add @changesets/cli and @changesets/changelog-github for version management
- Add GitHub Actions release workflow with OIDC trusted publishing
- Add publishConfig, repository, homepage, bugs metadata to package.json
- Add changeset, version-packages, release scripts to root
- Create initial CHANGELOG.md for v0.1.0
- Add professional README with banner, badges, and full documentation
- Update all imports in example app to use new package name

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ntatoud ntatoud force-pushed the ntatoud/example-app branch from 2d4e8ac to 8a2bd7b Compare February 5, 2026 21:20
@ntatoud ntatoud merged commit cc1a1f2 into main Feb 5, 2026
1 check passed
@ntatoud ntatoud deleted the ntatoud/example-app branch February 5, 2026 21:26
@github-actions github-actions bot mentioned this pull request Feb 5, 2026
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

Comments