1. Home
  2. ๐Ÿ› ๏ธ Contributing

Not sure where to get started? You can:

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;