Skip to content

Commit ebd6ad9

Browse files
committed
feat: Starts project.
0 parents  commit ebd6ad9

25 files changed

+12671
-0
lines changed

.circleci/config.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
version: 2
2+
machine:
3+
services:
4+
- docker
5+
6+
jobs:
7+
build:
8+
docker:
9+
- image: circleci/node:8@sha256:ff2c2a3fd5105396697de4c20139435fe9f47d62716fa241d225122deb711d50
10+
- image: circleci/mysql:8.0.3@sha256:ea4c062323a944b9152137a62f5b2c8b3d5e235d98af66675871506a1bf6cc6e
11+
environment:
12+
- NPM_CONFIG_LOGLEVEL: warn
13+
- KNEX_DATABASE: circle_test
14+
- KNEX_USER: root
15+
working_directory: ~/repo
16+
steps:
17+
- checkout
18+
- setup_remote_docker:
19+
docker_layer_caching: true
20+
- restore_cache:
21+
keys:
22+
- v1-dependencies-{{ checksum "package-lock.json" }}
23+
- run:
24+
name: Installing Dependencies
25+
command: npm install
26+
- run:
27+
name: Pruning Dependencies
28+
command: npm prune
29+
- save_cache:
30+
paths:
31+
- node_modules
32+
key: v1-dependencies-{{ checksum "package-lock.json" }}
33+
- run:
34+
name: Compiling Code
35+
command: npm run build
36+
- run:
37+
name: Running tests
38+
command: npm run cover
39+
- run:
40+
name: Linting Code
41+
command: npm run lint
42+
- run:
43+
name: Checking Code Duplication
44+
command: npm run duplication -- --limit 10
45+
- deploy:
46+
name: Semantic Release
47+
command: npm run semantic-release

.cpd.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
languages: typescript
2+
files:
3+
- src/**/*
4+
min-lines: 7
5+
min-tokens: 50
6+
debug: false
7+
skip-comments: true

.editorconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
indent_style = space
6+
indent_size = 2
7+
charset = utf-8
8+
insert_final_newline = true

.gitattributes

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
* text eol=lf
2+
3+
.gitignore text
4+
*.gitattributes text
5+
*.json text
6+
*.md text
7+
*.sh text

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.DS_STORE
2+
/.env
3+
/.nyc_output
4+
/dist
5+
/node_modules
6+
/notes.md
7+
/npm-debug.log
8+
/yarn.lock

@types/assert-rejects/index.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
declare module 'assert-rejects' {
2+
const x: <Result>(promise: Promise<Result>, constructor: Function) => Promise<void>;
3+
export = x;
4+
}

license

Lines changed: 674 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)