Skip to content

TSM-04: convert core entry and shared infra to TypeScript - #561

Draft
Justin Hammond (Justintime50) wants to merge 3 commits into
ts-migrate/03-type-strategy-guardrailsfrom
ts-migrate/04-core-entry-shared-infra
Draft

TSM-04: convert core entry and shared infra to TypeScript#561
Justin Hammond (Justintime50) wants to merge 3 commits into
ts-migrate/03-type-strategy-guardrailsfrom
ts-migrate/04-core-entry-shared-infra

Conversation

@Justintime50

@Justintime50 Justin Hammond (Justintime50) commented Aug 6, 2026

Copy link
Copy Markdown
Member

Summary

  • rename core entry and shared modules to TypeScript: easypost, constants, util, internal_util
  • update Vite library entry to src/easypost.ts and resolve extensions for .ts + .js
  • keep runtime behavior unchanged while migration proceeds with temporary ts-nocheck on converted files
  • allow permissive incremental migration in source typecheck by setting noImplicitAny=false in tsconfig.build.json

Validation

  • npm run typescript
  • npm run build
  • npx eslint src/easypost.ts src/constants.ts src/utils/util.ts src/utils/internal_util.ts
  • npx vitest run test/services/module_exports_compat.test.js

@Justintime50 Justin Hammond (Justintime50) changed the title step4: convert core entry and shared utils to ts TSM-04: convert core entry and shared infra to TypeScript Aug 6, 2026
@Justintime50
Justin Hammond (Justintime50) force-pushed the ts-migrate/04-core-entry-shared-infra branch from 0af98c1 to de5a155 Compare August 6, 2026 21:29
@Justintime50
Justin Hammond (Justintime50) force-pushed the ts-migrate/04-core-entry-shared-infra branch from 58095f6 to 97ce5ac Compare August 7, 2026 19:28
@Justintime50
Justin Hammond (Justintime50) force-pushed the ts-migrate/04-core-entry-shared-infra branch 2 times, most recently from 9ef2479 to 809c70a Compare August 7, 2026 19:41
@Justintime50
Justin Hammond (Justintime50) force-pushed the ts-migrate/04-core-entry-shared-infra branch from 809c70a to 52b267f Compare August 7, 2026 19:49
@Justintime50
Justin Hammond (Justintime50) force-pushed the ts-migrate/04-core-entry-shared-infra branch from 52b267f to d3aceac Compare August 7, 2026 19:54
@Justintime50
Justin Hammond (Justintime50) force-pushed the ts-migrate/04-core-entry-shared-infra branch from d3aceac to a1c30e4 Compare August 7, 2026 20:00
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