October 26, 2020

Chimp v2.3.0 released. Custom Prefixes for Monorepos

With the new version chimp allows you to set up custom prefixes for your chimp apps. That will allow you to work in a monorepo structure, without some tooling getting confused by the conflicting aliasing.
When creating apps make sure to pass the new optional arguments, like so:


npx chimp gql:create admin '~admin' '~admin-generated'  

If you create a new app that will be done for you automatically, but if you decide to add different prefixes to an existing app, make sure your code generator script reflects that for example:\


chimp gql:generate '~admin' '~admin-generated'

Take a look at this repo to see working code:
https://github.com/xolvio/chimp-monorepo-example

Let me know if you have any questions or thoughts in the comments below.

Keep reading