<commit_before>===================
Develop Peek Plugin
===================

** TODO **
** TODO **
** TODO **
** TODO **
This document has not been started, or finished.
** TODO **
** TODO **
** TODO **
** TODO **

======================================
Peek Client - NativeScript Development
======================================

Developing
----------

Herein, "tns" refers to the nativescript command line utility.
"tsc" is the typescript compiler command line utility.

Some parts of the peek-plugins for the peek-client are installed under
node_modules/@peek-client/peek_plugin_name.

tns doesn't compile typescript (.ts) files that are installed under node_modules.

To solve this, Peek places a tsconfig file at node_modules/@peek-client/tsconfig.json.
tsc must be run in this directory prior to a tns build.

::

    cd peek-client-fe/peek_client_fe/node_modules/@peek-client
    tsc --watch --pretty


The next issue is that nativescript doesn't incrementally update node_modules when
changes are made. (TODO, Test and finish this section)

::

    rsync -avP --delete * ../../platforms/android/src/main/re^C
<commit_msg>title correction<commit_after>===================
Develop Peek Plugin
===================

** TODO **
** TODO **
** TODO **
** TODO **
This document has not been started, or finished.
** TODO **
** TODO **
** TODO **
** TODO **

Developing
----------

Herein, "tns" refers to the nativescript command line utility.
"tsc" is the typescript compiler command line utility.

Some parts of the peek-plugins for the peek-client are installed under
node_modules/@peek-client/peek_plugin_name.

tns doesn't compile typescript (.ts) files that are installed under node_modules.

To solve this, Peek places a tsconfig file at node_modules/@peek-client/tsconfig.json.
tsc must be run in this directory prior to a tns build.

::

    cd peek-client-fe/peek_client_fe/node_modules/@peek-client
    tsc --watch --pretty


The next issue is that nativescript doesn't incrementally update node_modules when
changes are made. (TODO, Test and finish this section)

::

    rsync -avP --delete * ../../platforms/android/src/main/re^C

{'fraction_non_alphanumeric': 0.17296037296037295, 'fraction_numerical': 0.0, 'mean_word_length': 4.02576112412178, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 5, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2942873', 'n_tokens_mistral': 649, 'n_tokens_neox': 600, 'n_words': 229}