Skip to content

chore: esm only#63

Merged
Loongphy merged 1 commit intomainfrom
codex/esm-only
Apr 18, 2026
Merged

chore: esm only#63
Loongphy merged 1 commit intomainfrom
codex/esm-only

Conversation

@Loongphy
Copy link
Copy Markdown
Owner

@Loongphy Loongphy commented Apr 18, 2026

Summary

  • switch the root npm package to ESM-only by adding "type": "module"
  • migrate bin/codex-auth.js from CommonJS to ESM imports while preserving current CLI behavior
  • keep package resolution working under ESM by using createRequire(import.meta.url) for optional platform package lookup

@Loongphy Loongphy changed the title refactor: switch npm wrapper to esm chore: esm only Apr 18, 2026
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Apr 18, 2026

Open in StackBlitz

@loongphy/codex-auth-darwin-arm64

npx https://pkg.pr.new/@loongphy/codex-auth-darwin-arm64@63

@loongphy/codex-auth-darwin-x64

npx https://pkg.pr.new/@loongphy/codex-auth-darwin-x64@63

@loongphy/codex-auth-linux-arm64

npx https://pkg.pr.new/@loongphy/codex-auth-linux-arm64@63

@loongphy/codex-auth-linux-x64

npx https://pkg.pr.new/@loongphy/codex-auth-linux-x64@63

@loongphy/codex-auth-win32-arm64

npx https://pkg.pr.new/@loongphy/codex-auth-win32-arm64@63

@loongphy/codex-auth-win32-x64

npx https://pkg.pr.new/@loongphy/codex-auth-win32-x64@63

@loongphy/codex-auth

npx https://pkg.pr.new/@loongphy/codex-auth@63

commit: 7480d00

@Loongphy Loongphy merged commit 5414239 into main Apr 18, 2026
11 checks passed
@Loongphy Loongphy deleted the codex/esm-only branch April 18, 2026 13:03
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