Skip to content

luniehq/lunie

Lunie Official Monorepo

Workspaces:

Preparation:

To install the required modules for /api, /app, and /extension all at once, run:

$ yarn

If you're only interested in /api, /app, or /extension there are instructions below for how to work in one workspace at a time.

To install new dependencies in a single workspace:

Run this command with the following syntax:

$ yarn workspace <workspace-name> add <package-name>

As an example:

$ yarn workspace extension add cool-vue-package

To run the code in a single workspace:

  • API:
$ yarn workspace api start
  • App:
$ yarn workspace app serve

To build extension:

$ export LUNIE_API=https://staging-api.lunie.io
$ yarn workspace extension build

To build extension enabling localhost connection

$ export LUNIE_API=https://staging-api.lunie.io
$ yarn workspace extension build:dev