├── .all-contributorsrc ├── .env.dev ├── .env.expand ├── .env.production ├── .env.sample ├── .eslintrc.js ├── .github └── workflows │ ├── github-ci.yml │ └── lock.yml ├── .gitignore ├── .husky ├── commit-msg └── pre-commit ├── .mergify.yml ├── .npmignore ├── .prettierrc ├── CHANGELOG.md ├── README.md ├── _config.yml ├── nest-cli.json ├── package.json ├── pnpm-lock.yaml ├── src ├── config.interface.ts ├── easyconfig.error.ts ├── easyconfig.module.ts ├── easyconfig.service.ts ├── index.ts └── parseEnv.ts ├── test ├── jest.json └── unit │ └── easyconfig.service.spec.ts ├── tsconfig.build.json └── tsconfig.json /.all-contributorsrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NestCrafts/nestjs-easyconfig/HEAD/.all-contributorsrc -------------------------------------------------------------------------------- /.env.dev: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NestCrafts/nestjs-easyconfig/HEAD/.env.dev -------------------------------------------------------------------------------- /.env.expand: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NestCrafts/nestjs-easyconfig/HEAD/.env.expand -------------------------------------------------------------------------------- /.env.production: -------------------------------------------------------------------------------- 1 | TEST=hellofromproduction -------------------------------------------------------------------------------- /.env.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NestCrafts/nestjs-easyconfig/HEAD/.env.sample -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NestCrafts/nestjs-easyconfig/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/workflows/github-ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NestCrafts/nestjs-easyconfig/HEAD/.github/workflows/github-ci.yml -------------------------------------------------------------------------------- /.github/workflows/lock.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NestCrafts/nestjs-easyconfig/HEAD/.github/workflows/lock.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NestCrafts/nestjs-easyconfig/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | exec < /dev/tty && git cz --hook || true 5 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | npx lint-staged -------------------------------------------------------------------------------- /.mergify.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NestCrafts/nestjs-easyconfig/HEAD/.mergify.yml -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NestCrafts/nestjs-easyconfig/HEAD/.npmignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NestCrafts/nestjs-easyconfig/HEAD/.prettierrc -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NestCrafts/nestjs-easyconfig/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NestCrafts/nestjs-easyconfig/HEAD/README.md -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NestCrafts/nestjs-easyconfig/HEAD/_config.yml -------------------------------------------------------------------------------- /nest-cli.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NestCrafts/nestjs-easyconfig/HEAD/nest-cli.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NestCrafts/nestjs-easyconfig/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NestCrafts/nestjs-easyconfig/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /src/config.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NestCrafts/nestjs-easyconfig/HEAD/src/config.interface.ts -------------------------------------------------------------------------------- /src/easyconfig.error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NestCrafts/nestjs-easyconfig/HEAD/src/easyconfig.error.ts -------------------------------------------------------------------------------- /src/easyconfig.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NestCrafts/nestjs-easyconfig/HEAD/src/easyconfig.module.ts -------------------------------------------------------------------------------- /src/easyconfig.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NestCrafts/nestjs-easyconfig/HEAD/src/easyconfig.service.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NestCrafts/nestjs-easyconfig/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/parseEnv.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NestCrafts/nestjs-easyconfig/HEAD/src/parseEnv.ts -------------------------------------------------------------------------------- /test/jest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NestCrafts/nestjs-easyconfig/HEAD/test/jest.json -------------------------------------------------------------------------------- /test/unit/easyconfig.service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NestCrafts/nestjs-easyconfig/HEAD/test/unit/easyconfig.service.spec.ts -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NestCrafts/nestjs-easyconfig/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NestCrafts/nestjs-easyconfig/HEAD/tsconfig.json --------------------------------------------------------------------------------