import { ChargingStationUtils } from './ChargingStationUtils';
import type { AbstractUIServer } from './ui-server/AbstractUIServer';
import { UIServerFactory } from './ui-server/UIServerFactory';
-import packageJson from '../../package.json' assert { type: 'json' };
+import { version } from '../../package.json' assert { type: 'json' };
import { BaseError } from '../exception';
import { type Storage, StorageFactory } from '../performance';
import {
private readonly uiServer!: AbstractUIServer | null;
private readonly storage!: Storage;
private numberOfStartedChargingStations!: number;
- private readonly version: string = packageJson.version;
+ private readonly version: string = version;
private initializedCounters: boolean;
private started: boolean;
private starting: boolean;
public static readonly DEFAULT_POOL_MAX_SIZE = availableParallelism();
public static readonly DEFAULT_ELEMENTS_PER_WORKER = 1;
+ public static readonly version = '1.0.0';
+
private constructor() {
// This is intentional
}