Skip to content

fix(cli): replace deprecated case conversion packages - #645

Open
danielmoessner wants to merge 1 commit into
adelsz:masterfrom
danielmoessner:codex/replace-deprecated-case-packages
Open

danielmoessner wants to merge 1 commit into
adelsz:masterfrom
danielmoessner:codex/replace-deprecated-case-packages

Conversation

@danielmoessner

Copy link
Copy Markdown

Summary

Installing @pgtyped/cli currently emits deprecation warnings for camel-case, pascal-case, and their shared no-case dependency. Replace the first two with the camelCase and pascalCase exports from change-case, the replacement recommended by those packages.

Update the generator and its test import, and refresh only the corresponding lockfile entries. Add regression cases covering generated interface and result-field names containing acronyms, underscores, and numeric segments in both SQL-file and TypeScript-query modes. Generated naming behavior is preserved by these tests.

The glob dependency update is intentionally left to the existing #632 rather than duplicated here.

Validation

  • npm ci --ignore-scripts --no-audit --no-fund
  • npm run build (all six workspaces)
  • npm run test -w @pgtyped/cli -- --runTestsByPath src/generator.test.ts --runInBand (31 tests passed)
  • npm run check -w @pgtyped/cli
  • npm run lint
  • git diff --check
  • npm ls change-case camel-case pascal-case no-case --all shows only change-case@5.4.4.

The Docker/PostgreSQL example integration suite was not run.

@vercel

vercel Bot commented Oct 21, 2026

Copy link
Copy Markdown

@danielmoessner is attempting to deploy a commit to the Adel Salakh's projects Team on Vercel.

A member of the Team first needs to authorize it.

This branch has not been deployed

No deployments
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