dotansimha / dotansimha/graphql-code-generator-community

Tooling modernization

Open
#735 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
137
Forks
195
Avg merge
6h 20m
Merged PRs (30d)
16

Description

**Is your feature request related to a problem? Please describe.**

I'm currently struggling to add a new codegen plugin in #701. The issue is caused by an inexplicable yarn dependency resolution issue that happens only when I add this new package. The current version of yarn in this project is pretty old (1.22.22). I think I would have a much easier time troubleshooting the issue if the codebase used the latest version of Yarn. The issue would probably not exist at all, if the codebase were to use [Yarn PnP](https://yarnpkg.com/features/pnp) which ensures correct dependency hoisting across all workspaces. But to get there, there's a lot to be fixed. I noticed that many of the current packages do not declare all of their dev dependencies in their `package.json` file. Also, when I run `yarn install`, I see tons of warnings about unmet peer dependencies. The side effect of migrating to PnP would be that all these issues would also get fixed.

**Describe the solution you'd like**

I would like to explore the possibility of incremental migration towards the latest version of Yarn and eventually PnP. I already opened a few PRs as a PoC:

- #732
- #733
- #734

**Describe alternatives you've considered**

**Additional context**

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.