import * as fs from 'fs-extra' ; import { join , resolve } from 'path' ; const VERSION = 1 ; const SCHEMA_FILENAME = `config.schema.v${ VERSION }.json` ; const CONFIG_FILENAME = `config.v${ VERSION }.json` ; export const JWS_CONFIG_FILENAME = `config.v${ VERSION }.jws` ; export const SUITE_TYPES_FILENAME = 'messageSystem.ts' ; export const SUITE_CONFIG_FILENAME = 'config.json' ; export const PROJECT_ROOT = resolve ( __dirname , '..' ) ; export const PACKAGE_ROOT = resolve ( PROJECT_ROOT , '../..' ) ; export const PACKAGES_ROOT = resolve ( PROJECT_ROOT , '../../..' ) ; export const SCHEMA_PATH = join ( PROJECT_ROOT , 'schema' , SCHEMA_FILENAME ) ; export const CONFIG_PATH = join ( PROJECT_ROOT , 'config' , CONFIG_FILENAME ) ;