Underlying package is deprectated (camel-case)
Which packages are impacted by your issue?
@graphql-codegen/typescript-react-apollo
Describe the bug
Underlying dependency (camel-case) has been marked as a deprecated consequentially yarn would block the installation of the package:
These are the logs of our CI/CD where we get a consistent error installing this package.
This is our tree of deps (only showing branches including camel-case):
npm ls camel-case
└─┬ [email protected] -> ./frontend
├─┬ @graphql-codegen/[email protected]
│ └─┬ [email protected]
│ └─┬ [email protected]
│ └── [email protected]
└─┬ [email protected]
└─┬ @graphql-codegen/[email protected]
└─┬ @graphql-tools/[email protected]
└── [email protected] deduped
The solution is to update change-case-all version
Your Example Website or App
https://github.com/autonomys/auto-drive/actions/runs/14201291127/workflow
Steps to Reproduce the Bug or Issue
- Clone repo
- yarn install
Expected behavior
To get the package installed.
Screenshots or Videos
No response
Platform
- OS: Linux
- NodeJS: v20
-
graphqlversion: [e.g. 16.9.0] -
@graphql-codegen/*version(s): [e.g. 4.3.2]
Codegen Config File
No response
Additional context
As it stands in the deprecation message of camel-case package an alternative to use is change-case
UPDATE:
It's easily solved with this commit in my downstream.
The package 'change-case-all' has updated its underlying dep to 'change-case' removing the deprecated dependency.
Once I got permission I'll open the PR for merging this