<commit_before>import os from 'os';
import path from 'path';
import resolve from 'rollup-plugin-node-resolve';
import babel from 'rollup-plugin-babel';
import commonjs from 'rollup-plugin-commonjs';
import vue from 'rollup-plugin-vue';
import uglify from 'rollup-plugin-uglify';
import sass from 'rollup-plugin-sass';
import autoprefixer from 'autoprefixer';
import postcss from 'postcss';
import csso from 'postcss-csso';
import { minify } from 'uglify-es';
import pkg from './package.json';
import replace from 'rollup-plugin-replace';

const PLUGINS = [
  'button',
  'card',
  'checkbox',
  'chips',
  'dialog',
  'drawer',
  'elevation',
  'fab',
  'grid-list',
  'icon-toggle',
  'icon',
  'layout-app',
  'layout-grid',
  'linear-progress',
  'list',
  'menu',
  'radio',
  'ripple',
  'select',
  'slider',
  'snackbar',
  'switch',
  'tabs',
  'textfield',
  'theme',
  'toolbar',
  'typography',
];

const BANNER = `/**
* @module vue-mdc-adapter{{module}} {{version}}
* @exports {{name}}
* @copyright (c) 2017-present, <NAME>
* @license https://opensource.org/licenses/MIT
* @implements {{dependencies}}
* @requires {{peerDependencies}}
* @see https://github.com/stasson/vue-mdc-adapter
*/
`
  .replace('{{version}}', pkg.version)
  .replace('{{dependencies}}', JSON.stringify(pkg.dependencies))
  .replace('{{peerDependencies}}', JSON.stringify(pkg.peerDependencies));

const babelConfig = {
  compact: false,
  babelrc: false,
  presets: [
    [
      // env preset https://github.com/babel/babel-preset-env
      'env',
      // let rollup take care of modules
      { modules: false },
    ],
  ],
  plugins: [
    'transform-object-assign',
    'transform-object-rest-spread',
    // let rollup bundle helpers once
    // see https://github.com/rollup/rollup-plugin-babel#helpers
    'external-helpers',
  ],
};

const capitalize = str => {
  return str
    .replace(/\b(\w)/g, function(_, x) {
      return x.toUpperCase();
    })
    .replace(/[_.-]/g, '');
};

function createUmdConfig(module, env, extract) {
  const isPlugin = PLUGINS.includes(module);
  const isProduction = env === `production`;
  const isDevelopment = env === `development`;
  const dist = isPlugin ? `dist/${module}/${module}` : 'dist/' + module;
  const name = isPlugin ? 'VueMDC' + capitalize(module) : 'VueMDCAdapter';
  const input = 'components/' + (isPlugin ? module + '/' : '') + 'entry.js';

  const banner = BANNER.replace('{{module}}', isPlugin ? module : '').replace(
    '{{name}}',
    name,
  );
<commit_msg>chore: touch config to run ci<commit_after>import os from 'os';
import path from 'path';
import resolve from 'rollup-plugin-node-resolve';
import babel from 'rollup-plugin-babel';
import commonjs from 'rollup-plugin-commonjs';
import vue from 'rollup-plugin-vue';
import uglify from 'rollup-plugin-uglify';
import sass from 'rollup-plugin-sass';
import autoprefixer from 'autoprefixer';
import postcss from 'postcss';
import csso from 'postcss-csso';
import { minify } from 'uglify-es';
import pkg from './package.json';
import replace from 'rollup-plugin-replace';

const PLUGINS = [
  'button',
  'card',
  'checkbox',
  'chips',
  'dialog',
  'drawer',
  'elevation',
  'fab',
  'grid-list',
  'icon-toggle',
  'icon',
  'layout-app',
  'layout-grid',
  'linear-progress',
  'list',
  'menu',
  'radio',
  'ripple',
  'select',
  'slider',
  'snackbar',
  'switch',
  'tabs',
  'textfield',
  'theme',
  'toolbar',
  'typography',
];

const BANNER = `/**
* @module vue-mdc-adapter{{module}} {{version}}
* @exports {{name}}
* @copyright (c) 2017-present, <NAME>
* @license https://opensource.org/licenses/MIT
* @implements {{dependencies}}
* @requires {{peerDependencies}}
* @see https://github.com/stasson/vue-mdc-adapter
*/
`
  .replace('{{version}}', pkg.version)
  .replace('{{dependencies}}', JSON.stringify(pkg.dependencies))
  .replace('{{peerDependencies}}', JSON.stringify(pkg.peerDependencies));

const babelConfig = {
  compact: false,
  babelrc: false,
  presets: [
    [
      // env preset https://github.com/babel/babel-preset-env
      'env',
      // let rollup take care of modules
      { modules: false },
    ],
  ],
  plugins: [
    'transform-object-assign',
    'transform-object-rest-spread',
    // let rollup bundle helpers  once
    // see https://github.com/rollup/rollup-plugin-babel#helpers
    'external-helpers',
  ],
};

const capitalize = str => {
  return str
    .replace(/\b(\w)/g, function(_, x) {
      return x.toUpperCase();
    })
    .replace(/[_.-]/g, '');
};

function createUmdConfig(module, env, extract) {
  const isPlugin = PLUGINS.includes(module);
  const isProduction = env === `production`;
  const isDevelopment = env === `development`;
  const dist = isPlugin ? `dist/${module}/${module}` : 'dist/' + module;
  const name = isPlugin ? 'VueMDC' + capitalize(module) : 'VueMDCAdapter';
  const input = 'components/' + (isPlugin ? module + '/' : '') + 'entry.js';

  const banner = BANNER.replace('{{module}}', isPlugin ? module : '').replace(
    '{{name}}',
    name,
  );

{'fraction_non_alphanumeric': 0.18461233392821733, 'fraction_numerical': 0.001586357326987904, 'mean_word_length': 3.745061147695202, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '758454', 'n_tokens_mistral': 1783, 'n_tokens_neox': 1750, 'n_words': 389}