6.0.6 • Published 1 year ago

@bb-cli/bb-ang v6.0.6

Weekly downloads
1,672
License
SEE LICENSE IN LI...
Repository
-
Last release
1 year ago

NAME

bb-ang - Extending angular cli

SYNOPSIS

bb-ang [--help] [-v|--version]
bb-ang package-libs [--help] [projec]
bb-ang package-apps [--help] [--node-deps-scope <npm scope>] [--configuration <configuration>]
    [--dev] [--ts-config <ts config>] [--output-hashing]
    [--build-memory <mb>] [--serial-build] [--catalog-root <root path>]
    [--portal-version <version>] [--cx-version <version>] [--applications <applications>]
    [--extend-container] [projec]
bb-ang copy-assets [--help] [--dist <dist folder path>] [projec]
bb-ang combine-coverage [--help] [--dist <dist folder path>] [--reporters <reporters>] [projec]
bb-ang check-api [--help] [--lib <lib>] [--report-folder <report-folder>] [projec]
bb-ang extract-api [--help] [--lib <lib>] [--report-folder <report-folder>] [projec]
bb-ang build-apps [--help] [--configuration <configuration>] [--node-deps-scope <npm scope>]
    [--ts-config <ts config>] [--output-hashing] [--build-memory <mb>]
    [--serial-build] [--catalog-root <root path>] [--applications <applications>]
    [--portal-version <version>] [--cx-version <version>] [projec]
bb-ang create-provisioning-package [--help] [--cx-items <cx item>] [--portal-version <version>]
    [--cx-version <version>] [--applications <applications>] [projec]

DESCRIPTION

The bb-ang command gives additional ability to the standard "ng" CLI for Backbase applications and libraries.

The standard ng command doesn't provide a solution for packaging reusable Angular libraries, and for this reason we provide the "bb-ang package-libs" command. This command wraps the well-known "ng-packagr" command.

bb-ang also has the ability to create a provision package of your App, which can be imported into a Backbase Experience Catalog, where you can manage your Angular app.

OPTIONS

OptionDescription
-v, --versionoutput the version number
--helpOutput usage information

COMMANDS

NAME

bb-ang package-libs - Transpile your libraries to Angular Package Format.

SYNOPSIS

bb-ang package-libs [--help] [projec]

EXAMPLES

Run the command:

  $ bb-ang package-libs

NAME

bb-ang package-apps - Build Angular apps into a Backbase Provisioning Package.

SYNOPSIS

bb-ang package-apps [--help] [--node-deps-scope <npm scope>] [--configuration <configuration>]
    [--dev] [--ts-config <ts config>] [--output-hashing]
    [--build-memory <mb>] [--serial-build] [--catalog-root <root path>]
    [--portal-version <version>] [--cx-version <version>] [--applications <applications>]
    [--extend-container] [projec]

DESCRIPTION

:warning: Starting from v4.3.3, the resulting Backbase Provisioning Package doesn't include any Feature items of the Object Model.

OPTIONS

OptionDescription
--node-deps-scope <npm scope>Models from the node_modules in this NPM scope will be included in the package
--configuration <configuration>Use the specified configuration (default: "production")
--devPackage app for development (overrides --configuration).This option is deprecated. It doesn't make sense to package your application for development.
--ts-config <ts config>Use a specified ts-config file for the build
--output-hashingEnable output hashing for cache busting of built js/css
--build-memory <mb>Amount of memory to allocate to node for running "ng build" (MB set via node's --max_old_space_size)
--serial-buildBuild apps in serial instead of parallel to reduce CPU and memory footprint
--catalog-root <root path>Static resources path root (default: "$(staticResourcesRoot)/static/items")
--portal-version <version>Version of CX being used
--cx-version <version>Alias for portal-version
--applications <applications>Comma separated list of applications to be built
--extend-containerAdd ability to extend application template and model
--helpOutput usage information

EXAMPLES

Run the command:

  $ bb-ang package-apps

NAME

bb-ang copy-assets - Command to find and copy all the assets to the build directory

SYNOPSIS

bb-ang copy-assets [--help] [--dist <dist folder path>] [projec]

OPTIONS

OptionDescription
--dist <dist folder path>Use a specified folder for items while serving
--helpOutput usage information

EXAMPLES

Run the command:

  $ bb-ang copy-assets

NAME

bb-ang combine-coverage - Combine all coverage reports generated by ng test into a single report

SYNOPSIS

bb-ang combine-coverage [--help] [--dist <dist folder path>] [--reporters <reporters>] [projec]

DESCRIPTION

This command will find all applications and libraries from the angular.json in the project root, that have a "test" architect with the "codeCoverage" option set to true.

The reports that are already generated must include a json report. The json report should be found in the coverage directory and be named coverage-final.json.

The coverage directory is assumed to be called coverage, and be in the root of the application/library (as specified in the angular.json).

Check your karma.conf.js to ensure: 1. The json report is being created 2. The report is generated in the %library root%/coverage/

OPTIONS

OptionDescription
--dist <dist folder path>Output coverage to the given directory (default to coverage)
--reporters reportersComma separated list of coverage reporters. Possible values: text-summary,html,lcov.
--helpOutput usage information

EXAMPLES

Run the command:

  $ bb-ang combine-coverage

Change the output dir:

  $ bb-ang combine-coverage --dist my-coverage

NAME

bb-ang check-api - Ensure public APIs are not accidentally broken.

SYNOPSIS

bb-ang check-api [--help] [--lib <lib>] [--report-folder <report-folder>] [projec]

OPTIONS

OptionDescription
--lib <lib>Only extract the API for this library.
--report-folder <report-folder>where we can check library API.
--helpOutput usage information

EXAMPLES

Run the command:

  $ bb-ang check-api

specify library to be check:

  $ bb-ang check-api --lib my-library

where we can check library API:

  $ bb-ang check-api --report-folder ./apis

NAME

bb-ang extract-api - Extract public APIs from your libraries and generate a report.

SYNOPSIS

bb-ang extract-api [--help] [--lib <lib>] [--report-folder <report-folder>] [projec]

OPTIONS

OptionDescription
--lib <lib>Only extract the API for this library.
--report-folder <report-folder>The place to extract library API.
--helpOutput usage information

EXAMPLES

Run the command:

  $ bb-ang extract-api

specify library to be extract:

  $ bb-ang check-api --lib my-library

specify the place to extract library API.:

  $ bb-ang extract-api --report-folder ./apis

NAME

bb-ang build-apps - Build Angular apps.

SYNOPSIS

bb-ang build-apps [--help] [--configuration <configuration>] [--node-deps-scope <npm scope>]
    [--ts-config <ts config>] [--output-hashing] [--build-memory <mb>]
    [--serial-build] [--catalog-root <root path>] [--applications <applications>]
    [--portal-version <version>] [--cx-version <version>] [projec]

DESCRIPTION

:warning: Starting from v4.3.3, the resulting Backbase Provisioning Package doesn't include any Feature items of the Object Model.

OPTIONS

OptionDescription
--configuration <configuration>Use the specified configuration (default: "production")
--node-deps-scope <npm scope>Models from the node_modules in this NPM scope will be included in the build
--ts-config <ts config>Use a specified ts-config file for the build
--output-hashingEnable output hashing for cache busting of built js/css
--build-memory <mb>Amount of memory to allocate to node for running "ng build" (MB set via node's --max_old_space_size)
--serial-buildBuild apps in serial instead of parallel to reduce CPU and memory footprint
--catalog-root <root path>Static resources path root (default: "$(staticResourcesRoot)/static/items")
--applications <applications>Comma separated list of applications to be built
--portal-version <version>Version of CX being used
--cx-version <version>Alias for portal-version
--helpOutput usage information

EXAMPLES

Run the command:

  $ bb-ang build-apps

NAME

bb-ang create-provisioning-package - package Angular apps into a Backbase Provisioning Package.

SYNOPSIS

bb-ang create-provisioning-package [--help] [--cx-items <cx item>] [--portal-version <version>]
    [--cx-version <version>] [--applications <applications>] [projec]

OPTIONS

OptionDescription
--cx-items <cx item>Comma separated list of directories, models from this directories will be included in the package
--portal-version <version>Version of CX being used
--cx-version <version>Alias for portal-version
--applications <applications>Comma separated list of applications to be packaged
--helpOutput usage information

EXAMPLES

Run the command:

  $ bb-ang package-apps

ENVIRONMENT VARIABLES

Set the amount of log output

LOG_LEVEL=silly|verbose|info|warn|error

Set whether or not to use colors in output

COLOR=false|true
6.0.6

1 year ago

5.1.6

2 years ago

6.0.5

2 years ago

7.0.0-rc.1

2 years ago

6.0.4

2 years ago

6.0.3

2 years ago

6.0.2

2 years ago

6.0.1

2 years ago

6.0.0

2 years ago

6.0.0-rc.2

2 years ago

6.0.0-rc.1

3 years ago

6.0.0-rc.0

3 years ago

5.1.5

3 years ago

4.4.7

3 years ago

5.1.4

3 years ago

5.1.3

3 years ago

5.1.2

3 years ago

5.1.1

3 years ago

5.1.0

3 years ago

5.0.2

3 years ago

5.0.1

3 years ago

5.0.0

3 years ago

5.0.0-rc.2

3 years ago

4.4.6

3 years ago

5.0.0-rc.1

3 years ago

4.4.5

3 years ago

5.0.0-rc.0

3 years ago

4.4.4

3 years ago

4.4.3

3 years ago

4.4.2

3 years ago

4.4.1

3 years ago

4.4.0

4 years ago

4.3.3

4 years ago

3.15.9

4 years ago

3.15.8

4 years ago

4.3.2

4 years ago

3.15.7

4 years ago

4.3.1

4 years ago

4.3.0

4 years ago

3.15.6

4 years ago

3.15.5

4 years ago

4.2.5

4 years ago

4.2.6

4 years ago

3.15.4

4 years ago

4.2.4

4 years ago

4.2.3

4 years ago

3.15.3

4 years ago

4.2.2

4 years ago

3.15.2

4 years ago

4.2.1

4 years ago

4.2.0

4 years ago

3.15.1

4 years ago

4.1.0

4 years ago

3.15.0

4 years ago

4.0.1

4 years ago

4.0.0

4 years ago

4.0.0-pr.7

4 years ago

4.0.0-pr.6

4 years ago

4.0.0-pr.5

4 years ago

3.14.1

4 years ago

4.0.0-pr.4

4 years ago

4.0.0-pr.3

4 years ago

3.14.0

4 years ago

3.13.4

4 years ago

3.13.3

4 years ago

3.13.2

4 years ago

3.13.1

4 years ago

3.13.0

4 years ago

4.0.0-pr.2

4 years ago

3.11.6

4 years ago

4.0.0-pr.0

4 years ago

3.11.5

4 years ago

3.11.4

4 years ago

3.11.3

4 years ago

3.11.2

4 years ago

3.11.1

4 years ago

3.11.0

4 years ago

3.10.1

4 years ago

3.10.0

4 years ago

3.9.0

4 years ago

3.8.3

4 years ago

3.8.2

4 years ago

3.8.1

4 years ago

3.8.0

4 years ago

3.7.0-pr.1

4 years ago

3.6.4-pr.0

4 years ago

3.6.3

4 years ago

3.6.2

4 years ago

3.6.1

4 years ago

3.6.0

4 years ago

3.5.3

4 years ago

3.5.2

4 years ago

3.5.1

5 years ago

3.5.0

5 years ago

3.4.2

5 years ago

3.4.1

5 years ago

3.4.0

5 years ago

3.3.1

5 years ago

3.3.0

5 years ago

3.2.1

5 years ago

3.2.0

5 years ago

3.1.0

5 years ago

3.0.3

5 years ago

3.0.2

5 years ago

3.0.1

5 years ago

3.0.0

5 years ago

2.0.1-pr.52

5 years ago

3.0.0-pr.12

5 years ago

3.0.0-pr.11

5 years ago

3.0.0-pr.9

5 years ago

3.0.0-pr.8

5 years ago

2.0.1-pr.50

5 years ago

3.0.0-pr.7

5 years ago

2.0.1-pr.49

5 years ago

2.0.1-pr.48

5 years ago

2.0.1-pr.47

5 years ago

2.0.1-pr.46

5 years ago

3.0.0-pr.6

5 years ago

2.0.1-pr.45

5 years ago

2.0.1-pr.44

5 years ago

3.0.0-pr.5

5 years ago

2.0.1-pr.43

5 years ago

3.0.0-pr.4

5 years ago

2.0.1-pr.42

5 years ago

2.0.1-pr.41

5 years ago

2.0.1-pr.40

5 years ago

2.0.1-pr.39

5 years ago

2.0.1-pr.38

5 years ago

2.0.1-pr.37

5 years ago

2.0.1-pr.36

5 years ago

3.0.0-pr.2

5 years ago

3.0.0-pr.1

5 years ago

2.0.1-pr.35

5 years ago

2.0.1-pr.34

5 years ago

2.0.1-pr.33

5 years ago

2.0.1-pr.32

5 years ago

2.0.1-pr.31

6 years ago

2.0.1-pr.30

6 years ago

2.0.1-pr.29

6 years ago

2.0.1-pr.28

6 years ago

2.0.1-pr.27

6 years ago

2.0.1-pr.26

6 years ago

2.0.1-pr.25

6 years ago

2.0.1-pr.24

6 years ago

2.0.1-pr.23

6 years ago

2.0.1-pr.22

6 years ago

2.0.1-pr.21

6 years ago

2.0.1-pr.20

6 years ago

2.0.1-pr.19

6 years ago

2.0.1-pr.18

6 years ago

2.0.1-pr.17

6 years ago

2.0.1-pr.16

6 years ago

2.0.1-pr.15

6 years ago

2.0.1-pr.14

6 years ago

2.0.1-pr.13

6 years ago

2.0.1-pr.12

6 years ago

2.0.1-pr.11

6 years ago

2.0.1-pr.10

6 years ago

2.0.1-pr.9

6 years ago

2.0.1-pr.8

6 years ago

2.0.1-pr.7

6 years ago

2.0.1-pr.6

6 years ago

2.0.1-pr.5

6 years ago

2.0.1-pr.4

6 years ago

2.0.1-pr.3

6 years ago

2.0.1-pr.2

6 years ago

2.0.1-pr.1

6 years ago

2.0.1-pr.0

6 years ago

0.1.0-alpha.9

6 years ago

0.1.0-alpha.8

6 years ago