All files / lib constant.js

100% Statements 2/2
100% Branches 0/0
100% Functions 0/0
100% Lines 2/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 539x     9x                                                                                                  
const path = require('path');
 
// CONSTANT
module.exports = {
   'PATH_SEPERATER' : path.sep,
   'START_DELIMETER': '/* START */',
   'END_DELIMETER': '/* END */',
   'COMPONENT_LIST_FILE_NAME':'component-list.json',
   'COMPONENTS_DIR' : 'components',
   'COMPONENT_LIST_FILE_NAME_OUTPUT':'component-list.js',
   'COMPONENT_CONFIG_FILE_NAME':'config.json',
   'ENTRY_POINT_FILES':[
     'index.js',
     'index.jsx',
     'index.tsx',
     'index.ts'
   ],
   'ENTRY_POINT_FILE':'index.js',
   'CONTENT_ENTRY_POINT_FILE' : "import './component-list.js'; /* eslint-disable camelcase */ if (window?.__webpack_nonce__) { __webpack_nonce__ = window.__webpack_nonce__; }",
   'CURRENT_WORKING_DIR': process.cwd(),
   'COLORWHEEL': ['cyan', 'magenta', 'blue', 'yellow', 'green', 'red'],
   'ERROR_MESSAGE':{
      'DIR_NOT_FOUND':'Directory not found.'
   },
   'NODE_MODULES' : 'node_modules',
   'COSMOS_PKG_PATTERN' : '@pega/cosmos-',
   'STATIC_BUILDINFO' : 'buildinfo.json',
   'C11N_KEY_PEGA_DEP' : 'constellationui-pega-static-dependencies',
   'MANIFEST' : 'manifest.json',
   'STATS' : 'stats.json', 
   'UTILS':'utils.js',
   'PROJECT_ROOT': 'src',
   'BUILD_TOOL_LIB_PATH': path.join(process.cwd(), 'node_modules', '@pega', 'constellation-dx-components-build-utils', 'lib'),
   'BUILD_TOOL_ROOT_PATH': path.join(process.cwd(), 'node_modules', '@pega', 'constellation-dx-components-build-utils'),
   'ENDPOINTURL': 'v100/componentlib',
   'FETCH_ENDPOINT_URL': 'v100/componentlib/list',
   'DELETE_ENDPOINT_URL': 'v100/componentlib',
   'APPSTATICURL': '',
   'B2STOKEN': '',
   'TOKEN_PATH': 'node_modules/@pega/custom-dx-components/.access_token',
   'QUESTIONS': {
      'DELETE_LIB_OR_SPECIFIC_VERSION': [
         {
            name: 'Delete specific dev version from library?',
            value: 'delete_version'
         },
         {
            name: 'Delete entire library?',
            value: 'delete_library'
         }
   ]
   },
};