Contribute

Happy to see you here! This mean that you have the interest and motivation to help us making Coffeekraken even better!

Where is Coffeekraken stored

Our toolchain is stored in a monorepository that you can find HERE on guthub. The first step will be to fork it and clone your fork locally using this command:

For more informations about how to work on Coffeekraken and send your code back to the main project, please check this page.

How is Coffeekraken structured

Now that you have the files, let's take a look at the folder structure:

Each packages are stored inside a structure of 3 levels. /packages/{category}/{package}. This allows us to manage theme easily and for example, publish them using our 1 like command sugar mono.publish.

When working on Coffeekraken, make sure to respect this folder structure.

Installing dependencies

In order to work in a monorepo, you will had to install the dependencies, but NOT in each packages... That would be very hard and this will not handle cross packages linking.

What we want is to work on any of our packages and that they reference themselves automatically.

Thanks Yarn! I know... NPM has some support for that as well but here, we will work with yarn.

First of all, make sure to have yarn installed.

Then, simply run this command in the monorepo root directory:

Once that's done, you are pretty much ready to go...

In order to have access to all of the Coffeekraken power for our development environment, we need to link the /packages/core/cli/dist/pkg/esm/cli/sugar.cli.js file in our bin directory.

Here's how on OSX:

Typescript

You have maybe see that the majority (it it's not all) of the code is written in Typescript. This mean that we need some compilation process.

Don't worry. Our CLI is here to help! In the monorepo root folder, just run this command:

This will start some processes to handle the Typescript compilation.

Code formatting

As you maybe guessed, To maintain a coherent codebase, code formatting is more than required.

Guess what? That's already OK. The sugard mono.dev command handle that as well.

Make sure to disable extensions related to code formatting in your editor when you work on Coffeekraken...

Bugs
are not our friends...

Don't hesitate to declare an issue if something does not works as expected.

Declare my issue on Github Talk about it on Discord

The more we are,
the stronger we become.

Don't hesitate to tell some words to you friends about us. The goal is to became more and more each days to help each others...

Support us on Patreon! Share on Facebook! Make a tweet!

The more we are,
the stronger we become.

Don't be afraid to join us on Discord.

Join us on discord!

We love,
Open source!

All of our codebase can be found on Github. We hope that you may contribute to help us make our tools even better!

Discover our codebase!

Welcome on