constants tests and documentation

This commit is contained in:
2021-03-04 11:10:28 -06:00
parent 3031212380
commit d70918e264
4 changed files with 60 additions and 17 deletions

View File

@@ -1,3 +1,6 @@
const {v4 : uuidv4} = require('uuid');
const {v4: uuidv4} = require('uuid');
import _package_json from '../../package.json'
export const instance_id = uuidv4();
export const package_json = _package_json;
export const get_version = () => process.env.REPERTORY_JS_FORCE_VERSION || _package_json.version;