Skip to content

[codex] Polish npm package structure - #2

Merged
jrkropp merged 1 commit into
mainfrom
codex/standard-package-workspace
May 12, 2026
Merged

[codex] Polish npm package structure#2
jrkropp merged 1 commit into
mainfrom
codex/standard-package-workspace

Conversation

@jrkropp

@jrkropp jrkropp commented May 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • restructure the repo into two npm packages: @jrkropp/codex-js for core runtime/client/server/testing and @jrkropp/codex-js-react for React UI, shadcn exports, and package CSS
  • remove the old core React, shadcn, styles, unstable, and upstream mirror public surfaces
  • move React/UI dependencies into the React package and keep the core package dependency-light
  • replace copied app/mirror source shape with semantic package source directories and prune unused mirror/stub files from publishable source
  • add real generated CSS, semantic ESM output, declaration extension fixing, package-boundary tests, and packed-consumer tests
  • update examples, README docs, workspace scripts, changeset, and package release checks for the split packages

Validation

  • pnpm check

Notes: pnpm check passes. Vite still emits non-fatal warnings for third-party "use client" directives and large example chunks during example builds.

Scope Notes

  • Leaves the existing local edits to packages/codex-js/CODEX_PARITY_LEDGER.json, packages/codex-js/CODEX_PARITY_LEDGER.md, and packages/codex-js/MIRROR_MAP.md out of this PR.

@jrkropp
jrkropp marked this pull request as ready for review May 12, 2026 16:18
@jrkropp
jrkropp merged commit cbb60b1 into main May 12, 2026
1 check passed
@jrkropp
jrkropp deleted the codex/standard-package-workspace branch May 12, 2026 16:18
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