<commit_before>import { makeDecorator, Provider, ReflectiveInjector, Injector } from '@ts-stack/di';

import { ModuleDecorator } from './module';
import { BodyParserConfig } from '../types/types';
import { Logger, LoggerConfig } from '../types/logger';
import { DefaultLogger } from '../services/default-logger';
import { AppMetadata } from './app-metadata';
import { Counter } from '../services/counter';
import { PreRoutes } from '../services/pre-routes';
import { PreRouter } from '../services/pre-router';

export const defaultProvidersPerApp: Readonly<Provider[]> = [
  LoggerConfig,
  { provide: Logger, useClass: DefaultLogger },
  BodyParserConfig,
  {
    provide: ReflectiveInjector,
    useExisting: Injector,
  },
  PreRouter,
  PreRoutes,
  Counter,
];
<commit_msg>fix(core): removed Readonly type from default providers<commit_after>import { makeDecorator, Provider, ReflectiveInjector, Injector } from '@ts-stack/di';

import { ModuleDecorator } from './module';
import { BodyParserConfig } from '../types/types';
import { Logger, LoggerConfig } from '../types/logger';
import { DefaultLogger } from '../services/default-logger';
import { AppMetadata } from './app-metadata';
import { Counter } from '../services/counter';
import { PreRoutes } from '../services/pre-routes';
import { PreRouter } from '../services/pre-router';

export const defaultProvidersPerApp: Provider[] = [
  LoggerConfig,
  { provide: Logger, useClass: DefaultLogger },
  BodyParserConfig,
  {
    provide: ReflectiveInjector,
    useExisting: Injector,
  },
  PreRouter,
  PreRoutes,
  Counter,
];

{'fraction_non_alphanumeric': 0.1442065491183879, 'fraction_numerical': 0.0, 'mean_word_length': 4.4604810996563575, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '4985706', 'n_tokens_mistral': 468, 'n_tokens_neox': 466, 'n_words': 120}