Skip to content

Commit 2500d89

Browse files
committed
Init
0 parents  commit 2500d89

16 files changed

+4237
-0
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
node_modules/
2+
*.log
3+
coverage
4+
build/

.npmignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
src
2+
doc
3+
jest.config.js
4+
tsconfig.*
5+
typedoc.js
6+
renovate.json
7+
.prettierrc

.prettierrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"singleQuote": true,
3+
"tabWidth": 4,
4+
"semi": true,
5+
"trailingComma": "none"
6+
}

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6+
7+
## [Unreleased]
8+
9+
[unreleased]: https://github.com/Pop-Code/nestjs-console/compare/v0.0.1...HEAD

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2019 Pop-Code
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Whitespace-only changes.

jest.config.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// jest.config.js
2+
module.exports = {
3+
moduleFileExtensions: ['js', 'json', 'ts'],
4+
rootDir: 'src',
5+
testRegex: '.spec.ts$',
6+
transform: {
7+
'^.+\\.ts$': 'ts-jest'
8+
},
9+
coverageDirectory: '../coverage',
10+
testEnvironment: 'node',
11+
verbose: true
12+
};

package.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"name": "nestjs-node-config",
3+
"version": "0.0.1",
4+
"description": "The nestjs node-config package",
5+
"author": "Alex Hermann <alex.hermann@pop-code.com>",
6+
"repository": "https://github.com/Pop-Code/nestjs-node-config",
7+
"main": "build/index.js",
8+
"scripts": {
9+
"build": "rm -Rf build && tsc -p tsconfig.build.json",
10+
"test": "jest",
11+
"test:watch": "jest --watch",
12+
"test:cov": "jest --coverage",
13+
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
14+
"test:e2e": "jest --config ./test/jest-e2e.json",
15+
"test:e2e:debug": "node --inspect-brk node_modules/.bin/jest --config ./test/jest-e2e.json"
16+
},
17+
"dependencies": {
18+
"config": "3.1.0"
19+
},
20+
"peerDependencies": {
21+
"@nestjs/common": "^6.1.1"
22+
},
23+
"devDependencies": {
24+
"@nestjs/common": "6.2.4",
25+
"@nestjs/testing": "6.2.4",
26+
"@types/jest": "24.0.13",
27+
"codecov": "3.5.0",
28+
"jest": "24.8.0",
29+
"reflect-metadata": "0.1.13",
30+
"rxjs": "6.5.2",
31+
"ts-jest": "24.0.2",
32+
"ts-node": "8.1.0",
33+
"tsconfig-paths": "3.8.0",
34+
"typedoc": "0.14.2",
35+
"typescript": "3.4.5"
36+
}
37+
}

renovate.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"extends": [
3+
"config:base"
4+
]
5+
}

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './module';

0 commit comments

Comments
 (0)