Skip to content

Commit 2fb42f3

Browse files
committed
🌱 Initial commit
0 parents  commit 2fb42f3

File tree

14 files changed

+4923
-0
lines changed

14 files changed

+4923
-0
lines changed

.eslintignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
lib/
2+
coverage/
3+
jest.config.js

.eslintrc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"root": true,
3+
"env": {
4+
"jest": true
5+
},
6+
"plugins": ["jest"],
7+
"extends": [
8+
"plugin:jest/recommended",
9+
"xo",
10+
"xo-typescript",
11+
"prettier",
12+
"prettier/@typescript-eslint"
13+
]
14+
}

.gitignore

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

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
save-exact=true

.prettierrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"useTabs": false,
3+
"singleQuote": true,
4+
"trailingComma": "es5"
5+
}

.travis.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
git:
2+
depth: 1
3+
os:
4+
- linux
5+
language: node_js
6+
node_js:
7+
- '8'
8+
- '10'
9+
notifications:
10+
email:
11+
on_success: never
12+
cache:
13+
yarn: true
14+
directories:
15+
- node_modules
16+
script:
17+
- yarn ci
18+
- yarn global add codecov
19+
after_success:
20+
- codecov

.yarnrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
version-git-message "🔖 v%s"

LICENCE

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-present Reservix GmbH
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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# docker-await-postgres

jest.config.js

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
module.exports = {
2+
// Setup
3+
// ---------------
4+
testEnvironment: 'node',
5+
preset: 'ts-jest',
6+
7+
// Paths
8+
// ---------------
9+
roots: ['<rootDir>/src/'],
10+
testMatch: ['**/*.test.ts'],
11+
12+
// Coverage
13+
// ---------------
14+
coveragePathIgnorePatterns: ['/node_modules/', '/*.d.ts/', '/fixture/'],
15+
16+
globals: {
17+
// Ts-jest configuration
18+
// ---------------
19+
'ts-jest': {
20+
diagnostics: {
21+
warnOnly: true,
22+
},
23+
},
24+
},
25+
};

0 commit comments

Comments
 (0)