From cd916cc4845d0e0852afa3f7bfa42c702ec41dbd Mon Sep 17 00:00:00 2001 From: Theo Gravity Date: Wed, 27 May 2020 21:34:09 -0700 Subject: [PATCH] First version - Define configuration using a YAML file (you can still use the original `Cerebro` object if you want to use JSON) - environment variable overrides - Incorporates [AND of settings](https://github.com/yahoo/cerebro/pull/14) by @lpw - Updated parts of the codebase to Typescript - Updated parts of the codebase to classes - Updated toolchain to be typescript-based - Added new methods to the config object - Re-written readme / updated usage examples to use the YAML format instead --- .circleci/config.yml | 4 ++-- .npmignore | 3 +++ README.md | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 54cab0d..a0db28f 100755 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -32,7 +32,7 @@ jobs: # You need to add a deploy key with write permission in order for the CI to commit changes # back to the repo # https://circleci.com/docs/2.0/gh-bb-integration/#adding-readwrite-deployment-keys-to-github-or-bitbucket - - "36:2c:16:f2:d0:59:13:25:f1:7f:44:87:a4:52:8f:03" + - "84:11:a9:fb:33:14:ee:33:fb:7d:af:57:03:2c:d5:b1" # Download and cache dependencies so subsequent builds run faster - restore_cache: keys: @@ -70,7 +70,7 @@ jobs: # You need to add a deploy key with write permission in order for the CI to commit changes # back to the repo # https://circleci.com/docs/2.0/gh-bb-integration/#adding-readwrite-deployment-keys-to-github-or-bitbucket - - "36:2c:16:f2:d0:59:13:25:f1:7f:44:87:a4:52:8f:03" + - "84:11:a9:fb:33:14:ee:33:fb:7d:af:57:03:2c:d5:b1" # Download and cache dependencies so subsequent builds run faster - restore_cache: keys: diff --git a/.npmignore b/.npmignore index ac23e71..98f0ee6 100755 --- a/.npmignore +++ b/.npmignore @@ -28,3 +28,6 @@ tmp/ test/ grunt_tasks/ example.yaml +.nyc_output/ +Gruntfile.js + diff --git a/README.md b/README.md index e003424..7fab68c 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ Yahoo and Samsung properties serving millions of users. like bucket (A/B-style) testing. * ...and much more! - Override any configuration using environment variables. +- 99% test coverage # Fork notice