<commit_before>var gulp = require('gulp');
var browserSync = require('browser-sync');
var runSequence = require('run-sequence');
var ts = require('gulp-typescript');
var merge = require('merge2');
var dtsGenerator = require('dts-generator')

gulp.task('dts-gen', function() {
    dtsGenerator.generate({
        name: 'logging',
        baseDir: '/c/a/aurelia-ts-port/aurelia-ts/logging',
        files: [ 'index.d.ts' ],
          out: 'logging.d.ts'
    });
});

gulp.task('build-ts', function () {
    var tsResult = gulp.src([
        './views/*.ts',
        './typings/**/*.d.ts',
        './*.ts'
        ],
        {base: "."})
    .pipe(ts({
         typescript: require('typescript'),
         declarationFiles: false,<commit_msg>added build data structure to gulpfile.js<commit_after>var gulp = require('gulp');
var browserSync = require('browser-sync');
var runSequence = require('run-sequence');
var ts = require('gulp-typescript');
var merge = require('merge2');
var dtsGenerator = require('dts-generator')

var buildTargets = {
  rings: [
    { name: 'ring-0', repos: [
      { name: 'event-aggregator' },
      { name: 'history' },
      { name: 'html-template-element' },
      { name: 'logging' },
      { name: 'logging-console' },
      { name: 'path' },
      { name: 'metadata' },
      { name: 'skeleton-plugin' },
      { name: 'task-queue' },
      { name: 'route-recognizer'}
      ]},
    { name: 'ring-1', repos: [
      { name: 'dependency-injection' },
      { name: 'history-browser' },
      { name: 'loader' },
      { name: 'http-client' }
    ]},
    { name: 'ring-2', repos: [
      { name: 'binding' },
      { name: 'router' },
      { name: 'loader-default' }
    ]},
    { name: 'ring-3', repos: [
      { name: 'templating' }
    ]},
    { name: 'ring-4', repos: [
      { name: 'framework' },
      { name: 'animator-css' },
      { name: 'templating-binding' },
      { name: 'templating-resources' },
      { name: 'templating-router' }
    ]},
    { name: 'ring-5', repos: [
      { name: 'app-contacts' },
      { name: 'bootstrapper' },
      { name: 'skeleton-navigation' }
    ]}
  ]
}

gulp.task('dts-gen', function() {
  debugger;
    dtsGenerator.generate({
        name: 'logging',
        baseDir: '/c/a/aurelia-ts-port/aurelia-ts/logging',
        files: [ 'index.d.ts' ],
          out: 'logging.d.ts'
    });
});

gulp.task('build-ts', function () {
    var tsResult = gulp.src([
        './views/*.ts',
        './typings/**/*.d.ts',
        './*.ts'
        ],
        {base: "."})
    .pipe(ts({
         typescript: require('typescript'),
         declarationFiles: false,
{'fraction_non_alphanumeric': 0.20440729483282674, 'fraction_numerical': 0.00303951367781155, 'mean_word_length': 2.2871410736579274, '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': '5642104', 'n_tokens_mistral': 916, 'n_tokens_neox': 910, 'n_words': 164}