<commit_before>yaml    = require('node-yaml-config')
vendor  = yaml.reload('tasks/config/vendor.yml')
glob    = require 'globby'
_       = require 'lodash'

plugins = try
  yaml.reload('tasks/config/plugins.yml')
catch
  {}

include = (file, key, p = file.path) ->
  _.map(file[key], (path) -> _.compact([p, path]).join('/'))

module.exports =
  angular:
    root:      'angular'
    main:      'angular/main.coffee'
    folders:
      vendor:     include(vendor, 'angular', '')
      config:     glob.sync('angular/config/*.coffee')
      pages:      glob.sync('angular/pages/**/*.coffee')
      components: _.flatten([
        glob.sync('angular/components/**/*.coffee'),
        _.map(include(plugins, 'coffee'), (path) -> "../../#{path}")
      ])
      templates:   _.flatten([
        'angular/components/**/*.haml',
        'angular/pages/**/*.haml',
        include(plugins, 'haml')
      ])
    dependencies:
      folder:     'angular/dependencies'
      vendor:     'angular/dependencies/vendor.coffee'
      config:     'angular/dependencies/config.coffee'
      pages:      'angular/dependencies/pages.coffee'
      components: 'angular/dependencies/components.coffee'
    scss: _.flatten([
      include(vendor, 'css'),
      'angular/css/app.scss',
      'angular/components/**/*.scss',
      'angular/pages/**/*.scss',
      include(plugins, 'scss')<commit_msg>chore(build): target vue style files for build<commit_after>yaml    = require('node-yaml-config')
vendor  = yaml.reload('tasks/config/vendor.yml')
glob    = require 'globby'
_       = require 'lodash'

plugins = try
  yaml.reload('tasks/config/plugins.yml')
catch
  {}

include = (file, key, p = file.path) ->
  _.map(file[key], (path) -> _.compact([p, path]).join('/'))

module.exports =
  angular:
    root:      'angular'
    main:      'angular/main.coffee'
    folders:
      vendor:     include(vendor, 'angular', '')
      config:     glob.sync('angular/config/*.coffee')
      pages:      glob.sync('angular/pages/**/*.coffee')
      components: _.flatten([
        glob.sync('angular/components/**/*.coffee'),
        _.map(include(plugins, 'coffee'), (path) -> "../../#{path}")
      ])
      templates:   _.flatten([
        'angular/components/**/*.haml',
        'angular/pages/**/*.haml',
        include(plugins, 'haml')
      ])
    dependencies:
      folder:     'angular/dependencies'
      vendor:     'angular/dependencies/vendor.coffee'
      config:     'angular/dependencies/config.coffee'
      pages:      'angular/dependencies/pages.coffee'
      components: 'angular/dependencies/components.coffee'
    scss: _.flatten([
      include(vendor, 'css'),
      'angular/css/app.scss',
      'angular/components/**/*.scss',
      'vue/components/**/*.scss',
      'angular/pages/**/*.scss',
      include(plugins, 'scss')
{'fraction_non_alphanumeric': 0.18539524991137896, 'fraction_numerical': 0.0, 'mean_word_length': 2.5452261306532664, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '1971295', 'n_tokens_mistral': 924, 'n_tokens_neox': 889, 'n_words': 144}