Closed michaeljwiebe closed 3 months ago
Hi @michaeljwiebe,
Thanks for the effort but we're not be changing the master
branch to yarn
. master
branch contains SwaggerEditor v4 implementation which is considered (unofficially) obsolete at this point in time.
Please use https://editor-next.swagger.io/ and next
branch of this repo to access SwaggerEditor v5.
Description
I was attempting to use a customized version of the Swagger-UI package in my Swagger Editor but was unable to do so using
npm
. Switching over toyarn
resolved the issue for me.Yarn
doesn't require special flags to install locally like npm does (see--legacy-peer-deps
).Motivation and Context
Fixes #5000 - This PR allows me to link my local swagger-editor to a customized version of swagger-ui that I have locally using the local relative path to the repo as the version in my package.json. See package.json:
How Has This Been Tested?
I ran
yarn test
and have built and ran locally and verified that the swagger-editor works and swagger-ui is importing correctly.Screenshots (if appropriate):
Checklist
My PR contains...
src/
is unmodified: changes to documentation, CI, metadata, etc.)package.json
)My changes...
Documentation
Automated tests