2.4.0 • Published 5 years ago

@bb-cli/bb-wc2upgrade v2.4.0

Weekly downloads
49
License
SEE LICENSE IN LI...
Repository
-
Last release
5 years ago

NAME

SYNOPSIS

 [--help]
 cx6 [--help] [-o|--output <file-path>] <wc2-package>
 cx6-src [--help] [-y|--yes] [srcdir]

COMMANDS

NAME

cx6 - Create a CX6 compatible provision package from a CX6 package

SYNOPSIS

 cx6 [--help] [-o|--output <file-path>] <wc2-package>

DESCRIPTION

Upgrades a Widget Collection 2.X provision package, which is compatible with CXP v5 to a provision package that is compatible with CX6.

For each widget package, does the following modifications:

  • Renames index.html to index.hbs
  • Replaces g:include with datasource, for loading widget extension
  • Adds the datasource property to the model.xml

Warning: this is only intended for use with official Backbase Widget Collection and not custom collection.

OPTIONS

OptionDescription
-o, --output <file-path>Output package
--helpOutput usage information

EXAMPLES

Upgrade a retail banking widget collection:

  $ bb-wc2upgrade cx6 retail-banking-collection.zip --output cx6-retail-banking-collection.zip

NAME

cx6-src - Update widget source files in a project from WC2 CXP v5 to be compatible with CXS v6

SYNOPSIS

 cx6-src [--help] [-y|--yes] [srcdir]

DESCRIPTION

Upgrades a Widget Collection 2 project, which is compatible with CXP v5 to a provision package that is compatible with CXS v6.

For each widget package, does the following modifications:

  • Renames index.html to index.hbs
  • Replaces g:include with datasource, for loading widget extension
  • Adds the datasource property to the model.xml

Warning: this will update your source code. Ensure your project is safely committed to your version control system first

OPTIONS

OptionDescription
-y, --yesConfirm with yes, that you accept the warning that this will update your files
--helpOutput usage information

EXAMPLES

Upgrade a widget source files to be CXS v6 compatible:

  $ bb-wc2upgrade cx6-src statics/widgets

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
2.4.0

5 years ago

2.3.0

5 years ago

2.2.2

6 years ago

2.2.1

6 years ago

2.2.0

6 years ago

2.1.3

7 years ago

2.1.2

7 years ago

2.1.1

7 years ago

2.1.0

7 years ago

2.0.2-pr.0

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago