@bb-cli/bb-ang
Extending angular cli
Last updated 4 days ago by bb-cli .
SEE LICENSE IN LICENSE · Original npm · Tarball · package.json
$ cnpm install @bb-cli/bb-ang -g
SYNC missed versions from official npm registry.

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>] [projec]
bb-ang copy-assets [--help] [--dist <dist folder path>] [projec]
bb-ang combine-coverage [--help] [--dist <dist folder path>] [--reporters <reporters>] [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

Option Description
-v, --version output the version number
--help Output 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>] [projec]

OPTIONS

Option Description
--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")
--dev Package app for development (overrides --configuration)
--ts-config <ts config> Use a specified ts-config file for the build
--output-hashing Enable 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-build Build 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
--help Output 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

Option Description
--dist <dist folder path> Use a specified folder for items while serving
--help Output 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

Option Description
--dist <dist folder path> Output coverage to the given directory (default to coverage)
--reporters [reporters] Comma separated list of coverage reporters. Possible values: text-summary,html,lcov.
--help Output usage information

EXAMPLES

Run the command:

  $ bb-ang combine-coverage

Change the output dir:

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

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

Current Tags

  • 3.1.0                                ...           latest (4 days ago)
  • 3.0.0-pr.12                                ...           pr (3 months ago)

69 Versions

  • 3.1.0                                ...           4 days ago
  • 3.0.3                                ...           2 months ago
  • 3.0.2                                ...           2 months ago
  • 3.0.1                                ...           3 months ago
  • 3.0.0                                ...           3 months ago
  • 2.0.1-pr.52                                ...           3 months ago
  • 3.0.0-pr.12                                ...           3 months ago
  • 3.0.0-pr.11                                ...           4 months ago
  • 3.0.0-pr.9                                ...           5 months ago
  • 3.0.0-pr.8                                ...           5 months ago
  • 2.0.1-pr.50                                ...           5 months ago
  • 3.0.0-pr.7                                ...           5 months ago
  • 2.0.1-pr.49                                ...           5 months ago
  • 2.0.1-pr.48                                ...           5 months ago
  • 2.0.1-pr.47                                ...           5 months ago
  • 2.0.1-pr.46                                ...           6 months ago
  • 3.0.0-pr.6                                ...           6 months ago
  • 2.0.1-pr.45                                ...           6 months ago
  • 2.0.1-pr.44                                ...           6 months ago
  • 3.0.0-pr.5                                ...           6 months ago
  • 2.0.1-pr.43                                ...           7 months ago
  • 3.0.0-pr.4                                ...           7 months ago
  • 2.0.1-pr.42                                ...           7 months ago
  • 2.0.1-pr.41                                ...           7 months ago
  • 2.0.1-pr.40                                ...           7 months ago
  • 2.0.1-pr.39                                ...           7 months ago
  • 2.0.1-pr.38                                ...           8 months ago
  • 2.0.1-pr.37                                ...           8 months ago
  • 2.0.1-pr.36                                ...           8 months ago
  • 3.0.0-pr.2                                ...           8 months ago
  • 3.0.0-pr.1                                ...           9 months ago
  • 2.0.1-pr.35                                ...           9 months ago
  • 2.0.1-pr.34                                ...           9 months ago
  • 2.0.1-pr.33                                ...           10 months ago
  • 2.0.1-pr.32                                ...           10 months ago
  • 2.0.1-pr.31                                ...           10 months ago
  • 2.0.1-pr.30                                ...           10 months ago
  • 2.0.1-pr.29                                ...           10 months ago
  • 2.0.1-pr.28                                ...           a year ago
  • 2.0.1-pr.27                                ...           a year ago
  • 2.0.1-pr.26                                ...           a year ago
  • 2.0.1-pr.25                                ...           a year ago
  • 2.0.1-pr.24                                ...           a year ago
  • 2.0.1-pr.23                                ...           a year ago
  • 2.0.1-pr.22                                ...           a year ago
  • 2.0.1-pr.21                                ...           a year ago
  • 2.0.1-pr.20                                ...           a year ago
  • 2.0.1-pr.19                                ...           a year ago
  • 2.0.1-pr.18                                ...           a year ago
  • 2.0.1-pr.17                                ...           a year ago
  • 2.0.1-pr.16                                ...           a year ago
  • 2.0.1-pr.15                                ...           a year ago
  • 2.0.1-pr.14                                ...           a year ago
  • 2.0.1-pr.13                                ...           a year ago
  • 2.0.1-pr.12                                ...           a year ago
  • 2.0.1-pr.11                                ...           a year ago
  • 2.0.1-pr.10                                ...           a year ago
  • 2.0.1-pr.9                                ...           a year ago
  • 2.0.1-pr.8                                ...           a year ago
  • 2.0.1-pr.7                                ...           a year ago
  • 2.0.1-pr.6                                ...           a year ago
  • 2.0.1-pr.5                                ...           a year ago
  • 2.0.1-pr.4                                ...           a year ago
  • 2.0.1-pr.3                                ...           a year ago
  • 2.0.1-pr.2                                ...           a year ago
  • 2.0.1-pr.1                                ...           a year ago
  • 2.0.1-pr.0                                ...           a year ago
  • 0.1.0-alpha.9                                ...           a year ago
  • 0.1.0-alpha.8                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 87
Last Day 0
Last Week 19
Last Month 164
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |