@ibm-wch-sdk/schematics-utils

Helper library to implement schematics.

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
@ibm-wch-sdk/schematics-utils
Minified + gzip package size for @ibm-wch-sdk/schematics-utils in KB

Readme

wch-components-bundle

Container project to bundle WCH data records and UI components as an npm module. Such a module can then be used as a dependency by single page application projects to populate a tenant with data.

Changes

CHANGELOG

Usage

This library is meant to be used in an Angular based application.

Use as a template

Use this project as a template for custom bundles.

  • Set this as an upstream project, so you can easily consume changes: git remote add upstream git@github.ibm.com:DX-Components/wch-components-bundle.git
  • Pull changes from upstream git pull upstream master

Deploy the application and WCH artifacts

The library bundles the WCH content types, layouts and layout mappings. Deploy these artifacts to WCH, e.g. by using the following command of the CLI:

ibm-wch-sdk-cli application push --data ./data/ --override --aggregated

The --aggregated flag makes sure to not only deploy the application data but also the bundled dependencies.

Note: In order to successfully execute the command make sure to meet me prerequisites mentioned in the documentation of the CLI.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.