├── .babelrc.js ├── .circleci └── config.yml ├── .eslintignore ├── .eslintrc.js ├── .gitignore ├── .prettierignore ├── .prettierrc.yaml ├── LICENSE ├── README.md ├── __mocks__ ├── fs.ts └── fs │ └── promises.ts ├── __tests__ ├── load-config-sync.test.ts └── load-config.test.ts ├── lefthook.yaml ├── package.json ├── renovate.json ├── rollup.config.js ├── scripts └── jest │ ├── config.distribution.js │ └── config.source.js ├── source ├── config-error.ts ├── format-property.ts ├── index.ts ├── is-environment-config.ts ├── load-config-sync.ts ├── load-config.ts ├── load-environment-property.ts ├── load-file-property-sync.ts ├── load-file-property.ts ├── load-property-sync.ts ├── load-property.ts └── types.ts ├── tsconfig.eslint.json └── tsconfig.json /.babelrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wtgtybhertgeghgtwtg/env-and-files/HEAD/.babelrc.js -------------------------------------------------------------------------------- /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wtgtybhertgeghgtwtg/env-and-files/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wtgtybhertgeghgtwtg/env-and-files/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wtgtybhertgeghgtwtg/env-and-files/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | coverage 2 | distribution 3 | node_modules 4 | yarn.lock 5 | *.log* 6 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | package.json 2 | -------------------------------------------------------------------------------- /.prettierrc.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wtgtybhertgeghgtwtg/env-and-files/HEAD/.prettierrc.yaml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wtgtybhertgeghgtwtg/env-and-files/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wtgtybhertgeghgtwtg/env-and-files/HEAD/README.md -------------------------------------------------------------------------------- /__mocks__/fs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wtgtybhertgeghgtwtg/env-and-files/HEAD/__mocks__/fs.ts -------------------------------------------------------------------------------- /__mocks__/fs/promises.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wtgtybhertgeghgtwtg/env-and-files/HEAD/__mocks__/fs/promises.ts -------------------------------------------------------------------------------- /__tests__/load-config-sync.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wtgtybhertgeghgtwtg/env-and-files/HEAD/__tests__/load-config-sync.test.ts -------------------------------------------------------------------------------- /__tests__/load-config.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wtgtybhertgeghgtwtg/env-and-files/HEAD/__tests__/load-config.test.ts -------------------------------------------------------------------------------- /lefthook.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wtgtybhertgeghgtwtg/env-and-files/HEAD/lefthook.yaml -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wtgtybhertgeghgtwtg/env-and-files/HEAD/package.json -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wtgtybhertgeghgtwtg/env-and-files/HEAD/renovate.json -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wtgtybhertgeghgtwtg/env-and-files/HEAD/rollup.config.js -------------------------------------------------------------------------------- /scripts/jest/config.distribution.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wtgtybhertgeghgtwtg/env-and-files/HEAD/scripts/jest/config.distribution.js -------------------------------------------------------------------------------- /scripts/jest/config.source.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wtgtybhertgeghgtwtg/env-and-files/HEAD/scripts/jest/config.source.js -------------------------------------------------------------------------------- /source/config-error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wtgtybhertgeghgtwtg/env-and-files/HEAD/source/config-error.ts -------------------------------------------------------------------------------- /source/format-property.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wtgtybhertgeghgtwtg/env-and-files/HEAD/source/format-property.ts -------------------------------------------------------------------------------- /source/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wtgtybhertgeghgtwtg/env-and-files/HEAD/source/index.ts -------------------------------------------------------------------------------- /source/is-environment-config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wtgtybhertgeghgtwtg/env-and-files/HEAD/source/is-environment-config.ts -------------------------------------------------------------------------------- /source/load-config-sync.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wtgtybhertgeghgtwtg/env-and-files/HEAD/source/load-config-sync.ts -------------------------------------------------------------------------------- /source/load-config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wtgtybhertgeghgtwtg/env-and-files/HEAD/source/load-config.ts -------------------------------------------------------------------------------- /source/load-environment-property.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wtgtybhertgeghgtwtg/env-and-files/HEAD/source/load-environment-property.ts -------------------------------------------------------------------------------- /source/load-file-property-sync.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wtgtybhertgeghgtwtg/env-and-files/HEAD/source/load-file-property-sync.ts -------------------------------------------------------------------------------- /source/load-file-property.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wtgtybhertgeghgtwtg/env-and-files/HEAD/source/load-file-property.ts -------------------------------------------------------------------------------- /source/load-property-sync.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wtgtybhertgeghgtwtg/env-and-files/HEAD/source/load-property-sync.ts -------------------------------------------------------------------------------- /source/load-property.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wtgtybhertgeghgtwtg/env-and-files/HEAD/source/load-property.ts -------------------------------------------------------------------------------- /source/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wtgtybhertgeghgtwtg/env-and-files/HEAD/source/types.ts -------------------------------------------------------------------------------- /tsconfig.eslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wtgtybhertgeghgtwtg/env-and-files/HEAD/tsconfig.eslint.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wtgtybhertgeghgtwtg/env-and-files/HEAD/tsconfig.json --------------------------------------------------------------------------------