testinggospels / camouflage

Camouflage is a backend mocking tool for HTTP, gRPC, Websockets and Thrift protocols, which helps you carry out your front end prototyping, unit testing, functional/performance testing in silos, in absence of one or more Microservices/APIs.
https://testinggospels.github.io/camouflage/
MIT License
278 stars 26 forks source link

Doesn't support yarn #139

Closed lucaslcode closed 2 years ago

lucaslcode commented 2 years ago

Describe the bug It seems this package is making some assumptions about executable locations which makes it incompatible with yarn. Additionally, it would be great if global installation is not required.

To Reproduce Steps to reproduce the behavior:

  1. yarn global add camouflage-server
  2. camouflage init
  3. Error: ENOENT: no such file or directory, stat '/usr/local/lib/node_modules/camouflage-server/mocks'

Expected behavior Empty directory is initialized.

Desktop (please complete the following information):

github-actions[bot] commented 2 years ago

:tada: This issue has been resolved in version 0.8.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] commented 2 years ago

:tada: This issue has been resolved in version 0.8.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: