Skip to content

Commit a79aaa6

Browse files
committed
feat(PG): First working version
0 parents  commit a79aaa6

23 files changed

Lines changed: 11339 additions & 0 deletions

.codeclimate.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# This file is automatically generated by a `metapak`
2+
# module. Do not change it elsewhere, changes would
3+
# be overridden.
4+
engines:
5+
eslint:
6+
enabled: true
7+
8+
ratings:
9+
paths:
10+
- "src/*.js"
11+
## Exclude test files.
12+
exclude_patterns:
13+
- "dist/"
14+
- "**/node_modules/"
15+
- "src/*.test.js"

.editorconfig

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# This file is automatically generated by a `metapak`
2+
# module. Do not change it elsewhere, changes would
3+
# be overridden.
4+
5+
# EditorConfig is awesome: http://EditorConfig.org
6+
7+
# top-most EditorConfig file
8+
root = true
9+
10+
# Unix-style newlines with a newline ending every file
11+
[*]
12+
end_of_line = lf
13+
insert_final_newline = true
14+
15+
# Matches multiple files with brace expansion notation
16+
# Set default charset
17+
# 2 space indentation
18+
[*.{js,css}]
19+
charset = utf-8
20+
indent_style = space
21+
trim_trailing_whitespace = true
22+
indent_size = 2

.eslintrc.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
module.exports = {
2+
extends: 'eslint:recommended',
3+
parserOptions: {
4+
ecmaVersion: 2017,
5+
sourceType: 'module',
6+
modules: true,
7+
ecmaFeatures: {
8+
experimentalObjectRestSpread: true,
9+
},
10+
},
11+
env: {
12+
es6: true,
13+
node: true,
14+
jest: true,
15+
mocha: true,
16+
},
17+
plugins: ['prettier'],
18+
rules: {
19+
'prettier/prettier': 'error',
20+
},
21+
};

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*.md text eol=lf
2+
*.html text eol=lf
3+
*.js text eol=lf

.github/CODE_OF_CONDUCT.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Code of Conduct
2+
3+
Be kind, except if i behave like an asshole,
4+
if so, tell me by linking to this file.
5+
6+
I try hard to automate things so that you cannot
7+
create noises without really willing to do so.
8+
9+
This is why i'll just delete issues/comments
10+
making be sad.

.github/CONTRIBUTING

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Contributing to this project requires you to be
2+
a gentleman.
3+
4+
By contributing you must agree with publishing your
5+
changes int the same license than the actual code.
6+
7+
You will find the license in the LICENSE file at
8+
the root of this repository.

.github/ISSUE_TEMPLATE

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
## Issue
2+
<!--
3+
4+
Thanks for reporting an issue.
5+
6+
Before doing so, there are a few checks to do in
7+
order to optimize its resolution. Just fill in the
8+
following template.
9+
10+
Beware that you also can create a pull request
11+
if you know how to solve the issue.
12+
13+
Finally scroll down if you asking for a feature ;)
14+
15+
-->
16+
17+
I'm a gentledev i:
18+
- [ ] fully read the README recently
19+
- [ ] searched for existing issues
20+
- [ ] checked i'm up to date with the latest version of the project
21+
22+
### Expected behavior
23+
24+
### Actual behavior
25+
26+
### Steps to reproduce the behavior
27+
28+
### Debugging informations
29+
- `node -v` result:
30+
```
31+
<paste here>
32+
```
33+
34+
- `npm -v` result:
35+
```
36+
<paste here>
37+
```
38+
If the result is lower than 6.9.5, there is
39+
poor chances i even have a look to it. Please,
40+
use the last [NodeJS LTS version](https://nodejs.org/en/).
41+
42+
## Feature request
43+
<!--
44+
45+
If you think a feature need to be added, your suggestions
46+
are welcome. Beware though that:
47+
- I try to keep my module simple so please ensure the requested
48+
feature is really related to this module. If not, you may
49+
instead create a module that augment/work with this one,
50+
- I am not your employee so keep calm and be aware that your
51+
request may stay incomplete for ever. Nothing impeach you
52+
to implement the feature and get it merged though.
53+
-->
54+
55+
### Feature description
56+
57+
### Use cases
58+
59+
- [ ] I will/have implement the feature

.github/PULL_REQUEST_TEMPLATE

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
<!--
2+
3+
Thanks for improving this project!
4+
5+
Before doing so, there are a few checks to do in
6+
order to get your PR merged asap. Just fill in the
7+
following template.
8+
9+
-->
10+
11+
Fixes #
12+
13+
### Proposed changes
14+
-
15+
-
16+
17+
<!-- Check the boxes with a `x` like so `[x]` -->
18+
19+
### Code quality
20+
- [ ] I made some tests for my changes
21+
- [ ] I added my name in the
22+
[contributors](https://docs.npmjs.com/files/package.json#people-fields-author-contributors)
23+
field of the package.json file
24+
25+
### License
26+
To get your contribution merged, you must check the following.
27+
28+
- [ ] I read the project license in the LICENSE file
29+
- [ ] I agree with publishing under this project license
30+
31+
<!--
32+
33+
If you already maintain several NPM modules / NodeJS
34+
project, making significant changes on one of my modules
35+
automatically legitimates you as a core developer.
36+
37+
This is because i could die or even not give a shit to
38+
this project someday and i don't want people to get
39+
stuck.
40+
41+
If you want to help, fill the following with to get
42+
GitHub/NPM r/w access.
43+
44+
-->
45+
### Join
46+
- [ ] I wish to join the core team
47+
- [ ] I agree that with great powers comes responsibilities
48+
- [ ] I'm a nice person
49+
50+
My NPM username:

.gitignore

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# This file is automatically generated by a `metapak`
2+
# module. Do not change it elsewhere, changes would
3+
# be overridden.
4+
5+
# Logs
6+
logs
7+
*.log
8+
npm-debug.log*
9+
10+
# Runtime data
11+
pids
12+
*.pid
13+
*.seed
14+
15+
# Directory for instrumented libs generated by jscoverage/JSCover
16+
lib-cov
17+
18+
# Coverage directory used by tools like istanbul
19+
coverage
20+
21+
# nyc test coverage
22+
.nyc_output
23+
24+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
25+
.grunt
26+
27+
# node-waf configuration
28+
.lock-wscript
29+
30+
# Compiled binary addons (http://nodejs.org/api/addons.html)
31+
build/Release
32+
33+
# Dependency directories
34+
node_modules
35+
jspm_packages
36+
37+
# Optional npm cache directory
38+
.npm
39+
40+
# Optional REPL history
41+
.node_repl_history
42+
43+
# Coveralls key
44+
.coveralls.yml
45+
46+
# Project custom ignored file
47+
dist

.prettierrc.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module.exports = {
2+
semi: true,
3+
printWidth: 80,
4+
singleQuote: true,
5+
trailingComma: 'all',
6+
proseWrap: 'always',
7+
};

0 commit comments

Comments
 (0)