Skip to content
mfx-ui-config / 1.0.2

mfx-ui-config 1.0.2

Install from the command line:
Learn more about npm packages
$ npm install @mediafellows/mfx-ui-config@1.0.2
Install via package.json:
"@mediafellows/mfx-ui-config": "1.0.2"

About this version

JS CI tests

mfx-ui-config

install

checkout current config

this should be run very often, at least before

  • every deploy
  • before you first run a build, e.g. development server

to update to the latest config

usage

import

// NOT @mediafellows/mfx-ui-config!
// (as this contains the encrypted values only)
import config from 'mfx-ui-config'

example

import config from 'mfx-ui-config'

const envConfig = config.env(<YOUR-ENV-HERE>)
const projectConfig = envConfig.fetch(`repos.mfx-ui-tf1int.projects.tf1int`)
const awsProfile = envConfig.fetch('aws_profile')
...

Modifying the config

For modifying the config file you need to install scramber to decrypt encrypted sections. Then edit the index.js file.

Also it's good to check syntax after editing using the yarn test task that validates the index.js file.

Details


Assets

  • mfx-ui-config-1.0.2.tgz

Download activity

  • Total downloads 1,834
  • Last 30 days 0
  • Last week 0
  • Today 0