<commit_before>var gulp = require('gulp');
var Banners = require('./modules/Banners');
var Config = require('./modules/Config');
var ErrorHandling = require('./modules/ErrorHandling');
var Plugins = require('./modules/Plugins');

//
// Clean/Delete Tasks
// ----------------------------------------------------------------------------

gulp.task('ComponentJS-nuke', function () {
    return Plugins.del.sync([Config.paths.distJS, Config.paths.distLibPath]);
});


//
// Library tasks
// ----------------------------------------------------------------------------
gulp.task('ComponentJS-copyLib', function() {
    return gulp.src(Config.paths.srcLibPath + '/**/*')
        .pipe(Plugins.plumber(ErrorHandling.onErrorInPipe))
        .pipe(Plugins.changed(Config.paths.distLibPath))
        .pipe(Plugins.gulpif(Config.debugMode, Plugins.debug({
              title: "Copying /lib folder to dist folder"
        })))
        .pipe(gulp.dest(Config.paths.distLibPath));
});

//
// Typescript tasks
// ----------------------------------------------------------------------------

gulp.task('ComponentJS-lint', function (cb) {
    return gulp.src(Config.paths.src + '/**/*.ts')
        
        .pipe(Plugins.plumber(ErrorHandling.onErrorInPipe))

        // tslint options set by tslint.json
        .pipe(Plugins.tslint())
        .pipe(Plugins.tslint.report("verbose"));
});

gulp.task('ComponentJS-typescript', function() {
    var tscResult = gulp.src([Config.paths.src + '/**/*.ts', Config.paths.distJS + "/fabric.templates.ts"])
        .pipe(Plugins.gulpif(Config.debugMode, Plugins.debug({
            title: "Typescriptingz the file"
        })))
        // only process TS files that have changed since last compiled to /dist/Components
        .pipe(Plugins.changed(Config.paths.distComponents, {extension: '.js'}))
        .pipe(Plugins.plumber(ErrorHandling.onErrorInPipe))
<commit_msg>Fix build depeendency ld i# Please enter the commit message for your changes. Lines starting<commit_after>var gulp = require('gulp');
var Banners = require('./modules/Banners');
var Config = require('./modules/Config');
var ErrorHandling = require('./modules/ErrorHandling');
var Plugins = require('./modules/Plugins');

//
// Clean/Delete Tasks
// ----------------------------------------------------------------------------

gulp.task('ComponentJS-nuke', function () {
    return Plugins.del.sync([Config.paths.distJS, Config.paths.distLibPath]);
});


//
// Library tasks
// ----------------------------------------------------------------------------
gulp.task('ComponentJS-copyLib', function() {
    return gulp.src(Config.paths.srcLibPath + '/**/*')
        .pipe(Plugins.plumber(ErrorHandling.onErrorInPipe))
        .pipe(Plugins.changed(Config.paths.distLibPath))
        .pipe(Plugins.gulpif(Config.debugMode, Plugins.debug({
              title: "Copying /lib folder to dist folder"
        })))
        .pipe(gulp.dest(Config.paths.distLibPath));
});

//
// Typescript tasks
// ----------------------------------------------------------------------------

gulp.task('ComponentJS-lint', function (cb) {
    return gulp.src(Config.paths.src + '/**/*.ts')
        
        .pipe(Plugins.plumber(ErrorHandling.onErrorInPipe))

        // tslint options set by tslint.json
        .pipe(Plugins.tslint())
        .pipe(Plugins.tslint.report("verbose"));
});

gulp.task('ComponentJS-typescript', ['Documentation-template'], function() {
    var tscResult = gulp.src([Config.paths.src + '/**/*.ts', Config.paths.distJS + "/fabric.templates.ts"])
        .pipe(Plugins.gulpif(Config.debugMode, Plugins.debug({
            title: "Typescriptingz the file"
        })))
        // only process TS files that have changed since last compiled to /dist/Components
        .pipe(Plugins.changed(Config.paths.distComponents, {extension: '.js'}))
        .pipe(Plugins.plumber(ErrorHandling.onErrorInPipe))

{'fraction_non_alphanumeric': 0.2641703000769428, 'fraction_numerical': 0.0, 'mean_word_length': 2.051643192488263, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6496280', 'n_tokens_mistral': 1104, 'n_tokens_neox': 1093, 'n_words': 187}