Scripts
Environment Management
yarn clone_env {tenant-name}- Clones environment configuration files inenv/prod-envyarn create_env {env-name}- Creates new environment configuration filesyarn update_assets- Updates asset require statements
Development Scripts
yarn desktop- Runs the desktop applicationyarn android- Runs the Android mobile applicationyarn ios- Runs the iOS application in simulatoryarn ios-device- Runs the iOS application on a physical device
Build Scripts
yarn build {android|ios|desktop}- General build scriptyarn build_tenant {tenant-name}- Builds a specific tenant configurationyarn build_all_tenants- Builds configurations for all tenantsyarn switch_tenant {tenant-name}- Switches between different tenant submodule
Version Management
yarn upgrade_bundle_version {semver}- Updates the bundle versionyarn upgrade_fenice_version {semver}- Updates the Fenice versionyarn upgrade_version {tenant-name} {semver}- Custom app version upgrade script. Additionally sets theversionCodetomajmajminminpatchpatchformat, e.g.:1.0.1to10001.
The project uses Node.js scripts (located in node_scripts/) to handle various build, deployment, and configuration tasks.