Skip to content

Latest commit

 

History

History
73 lines (52 loc) · 1.52 KB

SCRIPTS-GUIDE.md

File metadata and controls

73 lines (52 loc) · 1.52 KB

Scripts Guide - AKASHA Core

Here is a definitive guide for all the scripts found in the root package file of the AKASHA Core project.

clean

removes tsconfig and runs tsc build

$ yarn clean

clean:all

Runs clean, and resets nx workspace

$ yarn clean:all

prepare

Runs prepare script for all projects specified in nx workspace

$ yarn prepare

build:libs

Builds all projects with tag type:lib

$ yarn build:libs

build:apps

Builds all projects with tag scope:extension

$ yarn build:apps

extract:translations

Extracts translations in all packages using Nx

$ yarn extract:translations

build:all

Runs prepare build:libs build:apps and extract:translations scripts in order.

$ yarn build:all

apps:watch

Watches for file changes in projects within the specified scope. You need to specify the name on the package(s)' package.json file - click for sample

$ nx watch --projects=@akashaorg/app-antenna --includeDependentProjects -- nx build

world:dev

Starts the Akasha World app on the localhost as well as the local machine's IP

$ yarn world:dev

world:deploy

Deploys the Akasha World app

$ yarn world:deploy