<commit_before># ngx-widgets
A collection of Angular components and other useful things to be shared.

You can see how it is used in our application [here](https://github.com/fabric8io/fabric8-ui).

The system we build is composed of several components existing in separate repos but
sharing common components, directives, and pipes. These widgets were extracted to 
provide a shared set of services. 

## Getting started:

This library does not run on it's own. It must be imported. 

`npm install ngx-widgets`

There are several services and a couple of models used by them available.

    container-toggle
    dialog
    dropdown
    editable
    icon
    infinitescroll
 

## Building it 
 
#### Install the dependencies:
 
 `npm install`
 
#### If you need to update the dependencies you can reinstall:
 
 `npm run reinstall`
 
#### Run the tests:
 
 `npm test`
 
#### Build the library:
 
 `npm run build`
 
#### Try it out locally. 
 
 We found that `npm link` doesn't fully work. You have to reference the library via `file:`. But you still need to create the link.
 
 - Start by running:
 
   `npm link dist`
 
 - Change this:
 
   `"ngx-widgets": "X.X.X"`
   
 - to this:
 
   `"ngx-widgets": "file:///[LOCATION-TO-NODE-MODULES]/.nvm/versions/node/v6.9.1/lib/node_modules/ngx-widgets"`
 
 
#### To publish it to NPM:
 
 `npm publish dist/`  
(_we don't want to publish the whole repo, just the built parts_)

<commit_msg>update instructions for local linking<commit_after># ngx-widgets
A collection of Angular components and other useful things to be shared.

You can see how it is used in our application [here](https://github.com/fabric8io/fabric8-ui).

The system we build is composed of several components existing in separate repos but
sharing common components, directives, and pipes. These widgets were extracted to 
provide a shared set of services. 

## Getting started:

This library does not run on it's own. It must be imported. 

`npm install ngx-widgets`

There are several services and a couple of models used by them available.

    container-toggle
    dialog
    dropdown
    editable
    icon
    infinitescroll
 

## Building it 
 
#### Install the dependencies:
 
 `npm install`
 
#### If you need to update the dependencies you can reinstall:
 
 `npm run reinstall`
 
#### Run the tests:
 
 `npm test`
 
#### Build the library:
 
 `npm run build`
 
#### Try it out locally. 
 
 We found that `npm link` doesn't fully work. You have to reference the library via `file:`. But you still need to create the link.
 
 - Start by running:
 
   `npm link dist/`
 
 - Change this:
 
   `"ngx-widgets": "X.X.X"`
   
 - to this:
 
   `"ngx-widgets": "file:///[LOCATION-TO-NODE-MODULES]/.nvm/versions/node/v6.9.1/lib/node_modules/ngx-widgets"`
 
 - then in the app that will use the lib:
 
   `npm install ngx-widgets`
   
   
#### To publish it to NPM:
 
 `npm publish dist/`  
(_we don't want to publish the whole repo, just the built parts_)


{'fraction_non_alphanumeric': 0.0930546190155091, 'fraction_numerical': 0.0033715441672285905, 'mean_word_length': 3.14965034965035, 'pattern_counts': {'":': 4, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6549868', 'n_tokens_mistral': 967, 'n_tokens_neox': 841, 'n_words': 386}