You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The popular redocly package installs a bin with the name openapi. (It also links the same binary using the better name redocly).
This package only contains a single ambiguously-named binary openapi, so in case redocly is installed, it's impossible to exec this package, since redocly's binary will shadow it (depending on package manager whims).
Solution: This package should deprecate the openapi binary (can still keep it for backwards compat) and use a more descriptive script name such as openapi-ts-codegen or whatever. (Note that the same script can be linked under multiple different names so this would be a trivial package.json change.)
The text was updated successfully, but these errors were encountered:
The popular redocly package installs a
bin
with the nameopenapi
. (It also links the same binary using the better nameredocly
).This package only contains a single ambiguously-named binary
openapi
, so in caseredocly
is installed, it's impossible to exec this package, since redocly's binary will shadow it (depending on package manager whims).Solution: This package should deprecate the
openapi
binary (can still keep it for backwards compat) and use a more descriptive script name such asopenapi-ts-codegen
or whatever. (Note that the same script can be linked under multiple different names so this would be a trivialpackage.json
change.)The text was updated successfully, but these errors were encountered: