@graphql-codegen/cli
is missing tslib
dependency
#8075
Labels
stage/6-released
The issue has been solved on a released version of the library
Describe the bug
@graphql-codegen/cli
is missing an explicittslib
runtime dependency. Runningyarn graphql-codegen ...
in a strict environment like Yarn Plug'n'Play leads to:This is an issue in
@graphql-codegen/cli@2.8.0
, but not@graphql-codegen/cli@2.7.0
.Your Example Website or App
n/a
Steps to Reproduce the Bug or Issue
yarn set version berry
yarn add --dev @graphql-codegen/cli@2.8.0
yarn graphql-codegen ...
Error: @graphql-codegen/cli tried to access tslib, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.
Expected behavior
Successful command execution
Screenshots or Videos
No response
Platform
graphql
version: 16.5.0@graphql-codegen/*
version(s): 2.8.0Codegen Config File
Additional context
I am using the following workaround:
The text was updated successfully, but these errors were encountered: