Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Nikaple/nest-typed-config
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.0.2
Choose a base ref
...
head repository: Nikaple/nest-typed-config
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.0.3
Choose a head ref
  • 4 commits
  • 4 files changed
  • 1 contributor

Commits on May 7, 2021

  1. Copy the full SHA
    882680b View commit details
  2. chore: add CHANGELOG.md

    Nikaple committed May 7, 2021
    Copy the full SHA
    2985e04 View commit details
  3. Copy the full SHA
    01fc48a View commit details
  4. chore(): release v1.0.3

    Nikaple committed May 7, 2021
    Copy the full SHA
    68eee9f View commit details
Showing with 31 additions and 2 deletions.
  1. +7 −1 .release-it.json
  2. +20 −0 CHANGELOG.md
  3. +2 −0 lib/typed-config.module.ts
  4. +2 −1 package.json
8 changes: 7 additions & 1 deletion .release-it.json
Original file line number Diff line number Diff line change
@@ -4,5 +4,11 @@
},
"github": {
"release": true
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular",
"infile": "CHANGELOG.md"
}
}
}
}
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
## [1.0.3](https://github.com/Nikaple/nest-typed-config/compare/1.0.2...1.0.3) (2021-05-07)


### Bug Fixes

* isGlobal works properly now ([3dd2154](https://github.com/Nikaple/nest-typed-config/commit/3dd2154d2a93e96bad79894d3dfa9fcf77e6e6bd))

## [1.0.2](https://github.com/Nikaple/nest-typed-config/compare/1.0.2...1.0.3) (2021-05-07)


### Bug Fixes

* **file-loader:** fix absolutePath option not working on windows ([f45bd04](https://github.com/Nikaple/nest-typed-config/commit/f45bd0454614c2695f14c14adfea0cae578282ac))
* **file-loader:** remove dead code ([ffb36c5](https://github.com/Nikaple/nest-typed-config/commit/ffb36c5b7b5c6b6d932ce7ef0546033bb7e0d118))


### Features

* initial commit ([b42de6e](https://github.com/Nikaple/nest-typed-config/commit/b42de6edfc6f569b107b52ce8e1575b4d12b0883))

2 changes: 2 additions & 0 deletions lib/typed-config.module.ts
Original file line number Diff line number Diff line change
@@ -20,6 +20,7 @@ export class TypedConfigModule {
schema: Config,
normalize = identity,
validationOptions,
isGlobal,
validate = this.validateWithClassValidator.bind(this),
} = options;

@@ -34,6 +35,7 @@ export class TypedConfigModule {
const providers = this.getProviders(config, Config);

return {
global: isGlobal,
module: TypedConfigModule,
providers,
exports: providers,
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nest-typed-config",
"version": "1.0.2",
"version": "1.0.3",
"description": "Intuitive, type-safe configuration module for Nest framework",
"author": "Nikaple Zhou",
"license": "MIT",
@@ -46,6 +46,7 @@
"@nestjs/core": "7.6.15",
"@nestjs/platform-express": "^7.6.15",
"@nestjs/testing": "7.6.15",
"@release-it/conventional-changelog": "^2.0.1",
"@types/express": "^4.17.11",
"@types/jest": "26.0.23",
"@types/lodash": "^4.14.168",