Repository navigation
fix(cli): replace deprecated case conversion packages - #645
Open
danielmoessner wants to merge 1 commit into
Open
danielmoessner wants to merge 1 commit into
danielmoessner wants to merge 1 commit into
Conversation
|
@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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Installing
@pgtyped/clicurrently emits deprecation warnings forcamel-case,pascal-case, and their sharedno-casedependency. Replace the first two with thecamelCaseandpascalCaseexports fromchange-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-fundnpm 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/clinpm run lintgit diff --checknpm ls change-case camel-case pascal-case no-case --allshows onlychange-case@5.4.4.The Docker/PostgreSQL example integration suite was not run.