<commit_before>// const git = require('git-rev-sync');

const packages = [
  'application-extension',
  'application',
  'apputils-extension',
  'apputils',
  'attachments',
  'cells',
  'celltags-extension',
  'celltags',
  'codeeditor',
  'codemirror-extension',
  'codemirror',
  'completer-extension',
  'completer',
  'console-extension',
  'console',
  'coreutils',
  'csvviewer-extension',
  'csvviewer',
  'docmanager-extension',
  'docmanager',
  'docregistry',
  'documentsearch-extension',
  'documentsearch',
  'extensionmanager-extension',
  'extensionmanager',
  'filebrowser-extension',
  'filebrowser',
  'fileeditor-extension',
  'fileeditor',
  'help-extension',
  'htmlviewer-extension',
  'htmlviewer',
  'hub-extension',
  'imageviewer-extension',
  'imageviewer',
  'inspector-extension',
  'inspector',
  'javascript-extension',
  'json-extension',
  'launcher-extension',
  'launcher',
  'logconsole-extension',
  'logconsole',
  'mainmenu-extension',
  'mainmenu',
  'markdownviewer-extension',
  'markdownviewer',
  'mathjax2-extension',
  'mathjax2',
  'metapackage',
  'nbconvert-css',
  'nbformat',
  'notebook-extension',
  'notebook',
  'observables',
  'outputarea',
  'pdf-extension',
  'property-inspector',
  'rendermime-extension',
  'rendermime-interfaces',
  'rendermime',
  'running-extension',
  'running',
  'services',
  'settingeditor-extension',
  'settingeditor',
  'settingregistry',
  'shortcuts-extension',
  'statedb',
  'statusbar-extension',
  'statusbar',
  'tabmanager-extension',
  'terminal-extension',
  'terminal',
  'theme-dark-extension',
  'theme-light-extension',
  'tooltip-extension',
  'tooltip',
  'ui-components-extension',
  'ui-components',
  'vdom-extension',
  'vdom',
  'vega5-extension'
];

const inputFiles = packages.map(p => `${__dirname}/packages/${p}/src`);

module.exports = {
  inputFiles,
  exclude: [
    // '^((?!index\.ts).)*$',
    // '^((?!index\.tsx).)*$',
    // '**/*+(__tests__|internal|lib|node_modules|demos)/**/*',

    '.history',
    '**/.storybook',
    '**/babel.config.js',
    '**/*.spec.ts*',
    '**/*.stories.ts*',
    '**/buildutils/**',
    '**/docs/source/**',
    '**/examples/**',
    // '**/lib/**',
    '**/node_modules/**',<commit_msg>experimenting with inputFiles config param in typedoc.js<commit_after>// const git = require('git-rev-sync');

const packages = [
  'application-extension',
  'application',
  'apputils-extension',
  'apputils',
  'attachments',
  'cells',
  'celltags-extension',
  'celltags',
  'codeeditor',
  'codemirror-extension',
  'codemirror',
  'completer-extension',
  'completer',
  'console-extension',
  'console',
  'coreutils',
  'csvviewer-extension',
  'csvviewer',
  'docmanager-extension',
  'docmanager',
  'docregistry',
  'documentsearch-extension',
  'documentsearch',
  'extensionmanager-extension',
  'extensionmanager',
  'filebrowser-extension',
  'filebrowser',
  'fileeditor-extension',
  'fileeditor',
  'help-extension',
  'htmlviewer-extension',
  'htmlviewer',
  'hub-extension',
  'imageviewer-extension',
  'imageviewer',
  'inspector-extension',
  'inspector',
  'javascript-extension',
  'json-extension',
  'launcher-extension',
  'launcher',
  'logconsole-extension',
  'logconsole',
  'mainmenu-extension',
  'mainmenu',
  'markdownviewer-extension',
  'markdownviewer',
  'mathjax2-extension',
  'mathjax2',
  'metapackage',
  'nbconvert-css',
  'nbformat',
  'notebook-extension',
  'notebook',
  'observables',
  'outputarea',
  'pdf-extension',
  'property-inspector',
  'rendermime-extension',
  'rendermime-interfaces',
  'rendermime',
  'running-extension',
  'running',
  'services',
  'settingeditor-extension',
  'settingeditor',
  'settingregistry',
  'shortcuts-extension',
  'statedb',
  'statusbar-extension',
  'statusbar',
  'tabmanager-extension',
  'terminal-extension',
  'terminal',
  'theme-dark-extension',
  'theme-light-extension',
  'tooltip-extension',
  'tooltip',
  'ui-components-extension',
  'ui-components',
  'vdom-extension',
  'vdom',
  'vega5-extension'
];

const inputFiles = packages.flatMap(p => [
  `${__dirname}/packages/${p}/src/index.ts*`,
  `${__dirname}/packages/${p}/src/*.d.ts`
]);

module.exports = {
  // inputFiles,
  exclude: [
    // '^((?!index\.ts).)*$',
    // '^((?!index\.tsx).)*$',
    // '**/*+(__tests__|internal|lib|node_modules|demos)/**/*',

    '.history',
    '**/.storybook',
    '**/babel.config.js',
    '**/*.spec.ts*',
    '**/*.stories.ts*',
    '**/buildutils/**',
    '**/docs/source/**',
    '**/examples/**',
    // '**/lib/**',
    '**/node_modules/**',
{'fraction_non_alphanumeric': 0.21274744398520776, 'fraction_numerical': 0.0013051990428540352, 'mean_word_length': 4.052747252747253, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '6380267', 'n_tokens_mistral': 1680, 'n_tokens_neox': 1678, 'n_words': 224}