tools/shell
This folder contains utility shell scripts.
utils/colors.sh
- color definitions for usage withprintf
command for comprehensivenessutils/module-aliases.sh
- supported module aliases script (used by other scripts to determine if module alias exists before performing action)utils/print-utils.sh
- printing utilities for usage in other shell scriptsbuild-docs.sh
- documentation application build scriptbuild-android.sh
- android application building scriptbuild-mobile.sh
- mobile application building scriptbuild-utils.sh
- mobile application building utilities scriptchangelog.sh
- apps/libs changelog generation scriptdiagrams.sh
- generates images from mermaid diagramsdocker-build.sh
- containerization scriptdocker-push.sh
- script for pushing docker images to the registrydocker-task.sh
- docker utility tasks scripte2e.sh
- apps e2e testing scriptfirebase-deploy.sh
- firebase deployment scriptgenerate-e2e-test-report-index.sh
- generates an index page that lists all generated e2e test report index pagesgenerate-elements-bootstrap-script.sh
- generates web elements bootstrap script that should be loaded once by consumer of the web elements appgenerate-proto.sh
- grpc and ts definitions generation scriptgenerate-unit-test-coverage-index.sh
- generates an index page that lists all generated unit test coverage report index pagesgit-extension.sh
- git-extension script (detects changed files so that linting/testing can be preformed for changed files only)install.sh
- dependencies installation scriptlint.sh
- apps/libs linting scriptsemver-tag.sh
- commit tagging script for versioning (eventually should be used by CI only; commits should be tagged when code is merged into the main development branch - this will require scripm improvement)set-documentation-env.sh
- documentation app prebuild script, collects references to *.md files across the repotest.sh
- apps/libs unit testing scriptyarn-extension.sh
- checks package integrity and cleans up workspace if there is no integrity
Usage
All scripts in this directory are verbose, i.e. when a script does something it reports its progress to the terminal.
Some scripts that have complex internal logic or handle different scenarios (i.e. have complex control flow) report usage errors (with examples of the correct usage) to the terminal if usage error occurs.
The scripts are not intended to be used directly by developers during local development.
Those scripts that are used during local development flow are integrated into the workspace by means of the package.json
scripts. See command, and read the terminal output carefully
Last updated
Was this helpful?