Skip to content

[@corbits/xai-provider] publish-prep: semver deps + dist build - #9

Merged
TheGreatAxios merged 5 commits into
mainfrom
cl-8950-corbitsxai-provider-publish-prep-semver-deps-dist-build
Sep 25, 2026
Merged

TheGreatAxios merged 5 commits into
mainfrom
cl-8950-corbitsxai-provider-publish-prep-semver-deps-dist-build

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Summary

  • @corbits/oauth-core + @corbits/openai-responses: github: refs -> ^0.1.0
  • tsconfig.build.json + build/prepack; exports types/import/default triple to dist; files dist-only; main/types point at dist
  • Relative imports in src/ carry explicit .js suffixes (no bundler, no build-time rewrite scripts); dist/ gitignored + prettier-ignored (eslint already ignored it)
  • AGENTS.md + README updated from src-shipping to dist-shipping

No version change, no publish, no merge.

Verification

  • bun run build exit 0; typecheck, lint, format:check exit 0; bun test 2 pass / 0 fail (run on identical sources; only the two dep specs were swapped to local file: stand-ins because the deps are not on npm yet)
  • npm pack: 19 files, dist/ only, zero src/
  • Packed tarball installs with the git binary stubbed to fail (exit 0); executing node (v24.4.1) import succeeds — provider id, model catalog, oauth config, quirks path, JWT sub decode + garbage, adapter factory build: 8/8 PASS
  • Live-registry install awaits @corbits/oauth-core@0.1.0 + @corbits/openai-responses@0.1.0 landing on npm (both 404 today)

Fixes CL-8950

…0 rework)

exports '.': types/default only (intx-src gone); main points at dist. tsconfig.build: NodeNext, maps off. @corbits/oauth-core + @corbits/openai-responses move to peerDependencies (^0.1.0) with github: dev stand-ins for verify; arktype ^2.2.3. Docs describe dist consumption for both runtimes.
@TheGreatAxios
TheGreatAxios merged commit 475fa6c into main Sep 25, 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