├── .circleci └── config.yml ├── .gitignore ├── README.md ├── docker-compose.yml ├── package.json ├── src ├── main │ ├── constants.ts │ ├── index.ts │ ├── logger.ts │ ├── schema.ts │ ├── toggles.ts │ ├── types.ts │ └── utils.ts └── tests │ └── integration │ ├── bootstrap.ts │ ├── config │ └── default.json │ ├── constants.ts │ └── index.spec.ts ├── tsconfig.json └── tslint.json /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creditkarma/feature-flags/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creditkarma/feature-flags/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creditkarma/feature-flags/HEAD/README.md -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creditkarma/feature-flags/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creditkarma/feature-flags/HEAD/package.json -------------------------------------------------------------------------------- /src/main/constants.ts: -------------------------------------------------------------------------------- 1 | export const DEFAULT_TOGGLES_PATH: string = 'toggles' 2 | -------------------------------------------------------------------------------- /src/main/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creditkarma/feature-flags/HEAD/src/main/index.ts -------------------------------------------------------------------------------- /src/main/logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creditkarma/feature-flags/HEAD/src/main/logger.ts -------------------------------------------------------------------------------- /src/main/schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creditkarma/feature-flags/HEAD/src/main/schema.ts -------------------------------------------------------------------------------- /src/main/toggles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creditkarma/feature-flags/HEAD/src/main/toggles.ts -------------------------------------------------------------------------------- /src/main/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creditkarma/feature-flags/HEAD/src/main/types.ts -------------------------------------------------------------------------------- /src/main/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creditkarma/feature-flags/HEAD/src/main/utils.ts -------------------------------------------------------------------------------- /src/tests/integration/bootstrap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creditkarma/feature-flags/HEAD/src/tests/integration/bootstrap.ts -------------------------------------------------------------------------------- /src/tests/integration/config/default.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creditkarma/feature-flags/HEAD/src/tests/integration/config/default.json -------------------------------------------------------------------------------- /src/tests/integration/constants.ts: -------------------------------------------------------------------------------- 1 | export const CONSUL_ADDRESS = 'http://localhost:8510' 2 | -------------------------------------------------------------------------------- /src/tests/integration/index.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creditkarma/feature-flags/HEAD/src/tests/integration/index.spec.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creditkarma/feature-flags/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/creditkarma/feature-flags/HEAD/tslint.json --------------------------------------------------------------------------------