Skip to content

Commit

Permalink
chores and version update
Browse files Browse the repository at this point in the history
  • Loading branch information
rubiin committed Oct 27, 2019
2 parents f1bedba + 62930b9 commit c24f491
Show file tree
Hide file tree
Showing 16 changed files with 73 additions and 754 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# compiled output
/node_modules


# Logs
logs
*.log
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ All notable changes to the "nestjs" extension will be documented in this file.

Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.

# 1.5.0 (2019-10-29)

### Added
- Now uses dot-env-parse module to parse values in configs

### Changed
- Updated dependencies


# 1.4.0 (2019-09-24)

### Changed
Expand Down
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,31 @@ export class AppController {

> Note: the `get` method will automatically cast environment variables
### Type processing
Module uses dotenv-parse-variables lib (https://www.npmjs.com/package/dotenv-parse-variables) to process env file.
Example of type processing:

```
foo=test
bar=1
baz=true
qux=test,1,true,
bat=false*,
qwe=`1,2,3`,
asd=test,1,true*
```
will be processed to
```javascript
{
foo: 'test',
bar: 1,
baz: true,
qux: ['test', 1, true],
bat: 'false',
qwe: '1,2,3',
asd: ['test', 1, 'true']
}
```
## Stay in touch

- Author - [Rubin Bhandari](https://github.com/rubiin)
Expand Down
4 changes: 0 additions & 4 deletions dist/config.interface.d.ts

This file was deleted.

2 changes: 0 additions & 2 deletions dist/config.interface.js

This file was deleted.

3 changes: 0 additions & 3 deletions dist/easyconfig.error.d.ts

This file was deleted.

8 changes: 0 additions & 8 deletions dist/easyconfig.error.js

This file was deleted.

5 changes: 0 additions & 5 deletions dist/easyconfig.module.d.ts

This file was deleted.

29 changes: 0 additions & 29 deletions dist/easyconfig.module.js

This file was deleted.

10 changes: 0 additions & 10 deletions dist/easyconfig.service.d.ts

This file was deleted.

58 changes: 0 additions & 58 deletions dist/easyconfig.service.js

This file was deleted.

3 changes: 0 additions & 3 deletions dist/index.d.ts

This file was deleted.

8 changes: 0 additions & 8 deletions dist/index.js

This file was deleted.

Loading

0 comments on commit c24f491

Please sign in to comment.