- Home
- ๐ ๏ธ Contributing
Home
๐ ๏ธ Contributing
Whether it's big or small, we love contributions. The maintainers of this repo have built open-source projects before and love it. Welcome!
Not sure where to get started? You can:
-
Book a free, non-pressure pairing sessions with one of our teammates
-
Join our Slack and ask us any questions there.
No matter the PR, all the Github avatars of contributors will be added to the Mirrorful README with their permission.
โRunning Mirrorful Locally
Mirrorful runs as a set of packages in a monorepo in order to share common logic across multiple channels.
Mirrorfulโs core logic lives in packages/core
. This logic is then consumed in our NPM package, located in packages/mirrorful
.
First, we will need to build Mirrorfulโs core library, @mirrorful/core
. In packages/core
, run:
# In `packages/core`
cd packages/core;
# Install packages
yarn;
# Tell Yarn to reference this local build instead of the published package
yarn link;
# Build and hot reload the core library
yarn build:watch;
Now, in a separate terminal window, we can run Mirrorful as a package. In packages/mirrorful/editor
, run:
# In `packages/mirrorful/editor`
cd packages/mirrorful/editor;
# Install packages
yarn;
# Tell Yarn to reference the local build instead of the published package
yarn link @mirrorful/core;
# Run Mirrorful
yarn dev;