This is a minimal example for the Discussion which was first stated here.
When using Yarn 3 workspaces and
@graphql-codegen/cli
, the pluginschema-ast
can't be found.
For reproducing the error run:
yarn run:script tools/scripts/src/test.ts
in the terminal.