Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
290 commits
Select commit Hold shift + click to select a range
ba62424
Update entities
MaksGovor Nov 13, 2021
8c71ceb
Config and typeORM prepared for use
MaksGovor Nov 13, 2021
681d636
renamed controller
tedi4t Nov 13, 2021
641bfc2
Fix intefaces.ts
MaksGovor Nov 13, 2021
f64f0c9
Merge branch 'dev' into add-configuration-modules
MaksGovor Nov 13, 2021
b59265c
Restuctured cofiguration typeOrmModule
MaksGovor Nov 13, 2021
fc875af
Merge branch 'add-configuration-modules' of github.com:Intelligent-Cl…
MaksGovor Nov 13, 2021
78b4347
Deleted unused contoller
MaksGovor Nov 13, 2021
cb9ff69
initial swagger
tedi4t Nov 13, 2021
7671df6
Delete cats controller
MaksGovor Nov 13, 2021
8d002ce
Merge pull request #3 from Intelligent-Cloud-System/add-configuration…
MaksGovor Nov 13, 2021
0e14806
merge dev
tedi4t Nov 14, 2021
d2e06e0
add system module
tedi4t Nov 14, 2021
d79cbe4
merge dev
tedi4t Nov 14, 2021
52e5996
improved swagger config
tedi4t Nov 14, 2021
4420124
Merge pull request #5 from Intelligent-Cloud-System/feature/healthy-e…
tedi4t Nov 14, 2021
da21883
Merge pull request #6 from Intelligent-Cloud-System/feature/swagger-i…
tedi4t Nov 14, 2021
d0e1c33
Init file manager controller
MaksGovor Nov 23, 2021
d3819d9
Add file upload
MaksGovor Nov 23, 2021
2fff82e
Files posting working
MaksGovor Nov 23, 2021
16cb2d0
Delete comments
MaksGovor Nov 23, 2021
65f9be2
Lint fix
MaksGovor Nov 23, 2021
ff2275d
Add service for dir creating
MaksGovor Nov 25, 2021
cea77f7
Fix work for existing directories
MaksGovor Nov 25, 2021
2430b85
configured swagger
tedi4t Nov 25, 2021
c1f3545
add user container bind
tedi4t Nov 27, 2021
dc9a832
add injecting user
tedi4t Nov 27, 2021
13bef6c
add getting user token from header
tedi4t Nov 27, 2021
782d9ea
remove package lock
tedi4t Nov 27, 2021
af3e127
code style improvements
tedi4t Nov 27, 2021
5ec8688
small changes
tedi4t Nov 27, 2021
201f6eb
Fix style
MaksGovor Nov 27, 2021
b49c396
Merge pull request #8 from Intelligent-Cloud-System/feature/auth-midd…
MaksGovor Nov 28, 2021
8dcb7b0
user register endpoint
tedi4t Nov 29, 2021
58e26a5
merge previous commit
tedi4t Nov 29, 2021
51c0e5f
small style changes
tedi4t Nov 29, 2021
9ff967a
Refactor file service
MaksGovor Nov 29, 2021
25e9b27
Formatting interfaces
MaksGovor Nov 29, 2021
014419f
Changed status register
MaksGovor Nov 29, 2021
7eb6be9
Fix user getting
MaksGovor Nov 29, 2021
359ee01
Style fix
MaksGovor Nov 29, 2021
d6990ea
Merge pull request #9 from Intelligent-Cloud-System/feature/auth-midd…
MaksGovor Nov 29, 2021
5b2db81
Merge dev into feature/file-manager
MaksGovor Nov 29, 2021
631d153
Merge changes
MaksGovor Nov 29, 2021
69c23ac
Merge branch 'dev' into feature/file-manager
MaksGovor Nov 29, 2021
427a6dd
temporary solution for user
tedi4t Nov 30, 2021
5d49661
Merge branch 'dev' into feature/file-manager
MaksGovor Nov 30, 2021
c70b9f1
Add creating dir
MaksGovor Nov 30, 2021
625d899
remove inversify
tedi4t Nov 30, 2021
653f5a4
remove user import
tedi4t Nov 30, 2021
17531c4
Add file upload
MaksGovor Nov 30, 2021
e35a053
Optimize writtig files
MaksGovor Nov 30, 2021
7fb6d8e
Add get request for list files
MaksGovor Nov 30, 2021
276ba62
Add downloading files
MaksGovor Nov 30, 2021
1756647
Merge pull request #10 from Intelligent-Cloud-System/feature/remove-i…
MaksGovor Dec 2, 2021
3118609
Merge dev into feature/file-manager
MaksGovor Dec 2, 2021
fbc3a3a
Migrate to Inject from nest instead of inversify
MaksGovor Dec 2, 2021
8695378
Add files entity
MaksGovor Dec 2, 2021
7792439
Style fix
MaksGovor Dec 2, 2021
db5bb3e
Add file repository
MaksGovor Dec 2, 2021
ebeb7c1
Add update file method
MaksGovor Dec 2, 2021
769afaa
Add basic file service functional
MaksGovor Dec 2, 2021
98137a7
routes to exclude for auth middleware
tedi4t Dec 2, 2021
1add0a8
Refactor methods modifiers
MaksGovor Dec 2, 2021
0983146
Merge pull request #7 from Intelligent-Cloud-System/feature/file-manager
MaksGovor Dec 2, 2021
bc63603
merge dev
tedi4t Dec 2, 2021
3a7d796
Merge pull request #11 from Intelligent-Cloud-System/feature/auth-mid…
tedi4t Dec 2, 2021
d0ee3d1
Add husky pre-commit
MaksGovor Dec 3, 2021
5a8a1c6
Add pre-push hook
MaksGovor Dec 3, 2021
8bc57cb
Migrate to nest logger
MaksGovor Dec 3, 2021
0de4207
Fix style
MaksGovor Dec 3, 2021
8c98a91
Merge pull request #12 from Intelligent-Cloud-System/feature/add-husky
MaksGovor Dec 3, 2021
43e8ca7
Merge pull request #13 from Intelligent-Cloud-System/feature/file-man…
MaksGovor Dec 3, 2021
4c4eba1
swagger service method naming
tedi4t Dec 4, 2021
c5438b3
add application error and interceptor
tedi4t Dec 4, 2021
75ff1e4
changed application errors on be
tedi4t Dec 4, 2021
e7b2a18
merge dev
tedi4t Dec 4, 2021
ae3eb90
Update src/interceptor/error.interceptor.ts
tedi4t Dec 4, 2021
c4664a9
Merge pull request #15 from Intelligent-Cloud-System/feature/applicat…
MaksGovor Dec 5, 2021
2223af5
Style fix
MaksGovor Dec 5, 2021
54429c8
Delete try catch blocks from services
MaksGovor Dec 5, 2021
2b1c1f8
Move logic inserting file to service from repository
MaksGovor Dec 5, 2021
a3f0815
Use application errors
MaksGovor Dec 5, 2021
999e3cb
Add Api Response templates
MaksGovor Dec 5, 2021
b5ca9db
Add updating file
MaksGovor Dec 5, 2021
9e1bcf4
Fix returning update
MaksGovor Dec 5, 2021
c28dedb
Add deleting files
MaksGovor Dec 5, 2021
13d5c83
Refactor code
MaksGovor Dec 5, 2021
71b976d
Rewrite request params to id request
MaksGovor Dec 6, 2021
9c98e36
add shared request entity
tedi4t Dec 8, 2021
5f4a292
Review and refactor
MaksGovor Dec 8, 2021
43e8716
improved request for user
tedi4t Dec 8, 2021
1a14922
lint format
tedi4t Dec 8, 2021
f02e4c6
Fix repository
MaksGovor Dec 8, 2021
f76bd5c
Merge pull request #17 from Intelligent-Cloud-System/feature/file-man…
MaksGovor Dec 8, 2021
002a92e
Add current user endpoint
MaksGovor Dec 11, 2021
9b8194b
Style fix
MaksGovor Dec 11, 2021
f3becd8
Update README.md
MaksGovor Dec 11, 2021
cae0086
Update README.md
MaksGovor Dec 11, 2021
829d509
Fix current user
MaksGovor Dec 12, 2021
24f5159
Merge pull request #19 from Intelligent-Cloud-System/feauture/user-en…
MaksGovor Dec 12, 2021
83cc45e
cors
tedi4t Dec 12, 2021
9026b28
Formatting responces with single injectable module
MaksGovor Dec 13, 2021
9c03e75
Merge branch 'dev' into feature/file-manager
MaksGovor Dec 13, 2021
bfecc0f
Merge pull request #22 from Intelligent-Cloud-System/feature/cors
MaksGovor Dec 13, 2021
99cc0fb
Merge pull request #20 from Intelligent-Cloud-System/feature/file-man…
MaksGovor Dec 14, 2021
3130b15
add role for user
tedi4t Dec 16, 2021
e8f9f0c
fix auto migration
MaksGovor Dec 16, 2021
179aac9
Fix configs
MaksGovor Dec 16, 2021
8d8ea05
Fix package.json
MaksGovor Dec 16, 2021
cf6ab88
improved migration
Dec 16, 2021
3ce2b81
Merge pull request #23 from Intelligent-Cloud-System/fix/disabled-aut…
MaksGovor Dec 16, 2021
a0e2bb9
updated auth middleware to throw unauthorized in case of error
Dec 16, 2021
d31a700
line at eof
Dec 16, 2021
2813b52
Add multiple deleting
MaksGovor Dec 17, 2021
bfda840
Merge pull request #24 from Intelligent-Cloud-System/feature/auth-ser…
MaksGovor Dec 17, 2021
ad9b0c2
Fix perfect imports
MaksGovor Dec 17, 2021
2f74e63
Update husky pre-commit
MaksGovor Dec 17, 2021
0350b61
Use service aplication errors
MaksGovor Dec 17, 2021
f001365
Fix file responce size
MaksGovor Dec 17, 2021
f00f0d0
small changes
Dec 17, 2021
249bcb3
Fix swagger request
MaksGovor Dec 17, 2021
f6c4553
Merge branch 'dev' of github.com:Intelligent-Cloud-System/ics-backend…
MaksGovor Dec 17, 2021
a36d234
Update Streamable response
MaksGovor Dec 17, 2021
72048c8
Merge pull request #25 from Intelligent-Cloud-System/fix/response-fil…
MaksGovor Dec 18, 2021
a78e0d0
add file link entity
Dec 19, 2021
6d1496e
file created_at migration
Dec 19, 2021
6a7b738
changed table naming
Dec 19, 2021
60634bd
add file download
Dec 19, 2021
f173fda
Merge pull request #26 from Intelligent-Cloud-System/feature/file-dow…
tedi4t Dec 19, 2021
ba29469
code styling
Dec 19, 2021
f0a1aab
removed unused variable
Dec 19, 2021
7decf16
Merge branch 'dev' of https://github.com/Intelligent-Cloud-System/ics…
MaksGovor Dec 19, 2021
7473c46
Fix imports
MaksGovor Dec 19, 2021
2470765
Merge branch 'dev' of github.com:Intelligent-Cloud-System/ics-backend…
MaksGovor Dec 19, 2021
fc91877
removed unnecessary variable
Dec 19, 2021
a785df8
Add missed migration
MaksGovor Dec 20, 2021
fb21992
Add configuration example file
MaksGovor Dec 20, 2021
b5937f3
Merge pull request #27 from Intelligent-Cloud-System/dev
MaksGovor Dec 21, 2021
0e02d09
Update README.md
tedi4t Dec 21, 2021
4971bef
Minor response fix
MaksGovor Dec 24, 2021
ce6071b
storage service initial commit
Feb 17, 2022
f23e7ab
lint fixes
Feb 17, 2022
b686a87
storage service methods
Feb 19, 2022
6ef1b21
lint fixes
Feb 19, 2022
045fb74
lint formetted
Feb 19, 2022
46023a5
Fix: change eslint max-length from 80 to 120
MaksGovor Feb 19, 2022
49ba040
Merge branch 'dev' into feature/storage-service
Feb 19, 2022
282c6b4
small storage service refactoring
Feb 19, 2022
48a90c1
changed line length for prettier to 120
Feb 19, 2022
0a6bd9b
Merge pull request #29 from Intelligent-Cloud-System/feature/storage-…
tedi4t Feb 20, 2022
bf0a99a
changed file model
Feb 20, 2022
ae98dfd
lint fixes
Feb 20, 2022
823d852
storage service refactoring
Feb 20, 2022
5df3b56
lint fixes
Feb 20, 2022
e63d94c
returning Map for storage service
Feb 20, 2022
eb58e28
Merge pull request #30 from Intelligent-Cloud-System/feature/storage-…
tedi4t Feb 20, 2022
f0e48ca
Merge branch 'dev' into feature/file-service-folders
Feb 20, 2022
eeff1ab
file factory
Feb 20, 2022
7402083
lint fixes
Feb 20, 2022
698f558
Feat: integrate fastify to auth module
MaksGovor Apr 18, 2022
7e24413
Feat: migrate file uploading to fastify
MaksGovor Apr 19, 2022
d5c57bc
Fix: style fixes
MaksGovor Apr 19, 2022
0eee817
Merge branch 'dev' into feature/migrate-arch-to-fastify
MaksGovor Apr 19, 2022
07b7d75
Merge pull request #32 from Intelligent-Cloud-System/feature/migrate-…
tedi4t Apr 26, 2022
a9108b5
Merge pull request #31 from Intelligent-Cloud-System/feature/file-ser…
tedi4t Apr 26, 2022
dd4515d
storage service
Apr 26, 2022
605974a
prettier changes
Apr 26, 2022
4b9f51b
create folder endpoint
May 5, 2022
8f3db7f
lint fixes
May 5, 2022
3003cf8
Update CONTRIBUTING.md
MaksGovor May 6, 2022
3d6f211
Update PULL_REQUEST_TEMPLATE.md
MaksGovor May 6, 2022
d5236b5
Update src/config/configuration.example.ts
MaksGovor May 6, 2022
bd42435
Update README.md
MaksGovor May 6, 2022
2c7ef05
Merge pull request #33 from Intelligent-Cloud-System/feature/create-f…
tedi4t May 8, 2022
a1e56c8
list endpoint
May 8, 2022
b2f9004
lint fixes
May 8, 2022
37517ce
removed excessive import
May 8, 2022
2475dbd
Fix: updated git hooks accordingly new scripts in package.json
MaksGovor May 21, 2022
1f20314
Fix: remove old scripts
MaksGovor May 21, 2022
ac6f8a9
Add file, folder delete endpoints
YAGoOaR May 22, 2022
397e9e6
authentication interceptor
May 23, 2022
1e69061
lint fixes
May 23, 2022
d4ef553
Merge pull request #35 from Intelligent-Cloud-System/fix/husky
MaksGovor May 24, 2022
18c4f33
Merge pull request #34 from Intelligent-Cloud-System/fix/update-docs
MaksGovor May 24, 2022
ca153b3
Refactor new endpoints
YAGoOaR May 24, 2022
aa91cd4
Restructure code to remove extra responsibility of FileManagerService…
YAGoOaR May 24, 2022
e955603
lint fixes
YAGoOaR May 24, 2022
447d651
Remove unused file utils
YAGoOaR May 24, 2022
7169ab9
Remove excessive property definition
YAGoOaR May 24, 2022
1c4593f
Fix uploadFiles method
YAGoOaR May 24, 2022
501b42c
Add folder checks
YAGoOaR May 24, 2022
cbae4f8
Move static method to prototype
YAGoOaR May 24, 2022
cd98843
Fix swagger properties to show correctly
YAGoOaR May 24, 2022
a4b15aa
Fix file factory
YAGoOaR May 24, 2022
6bd259e
Change naming
YAGoOaR May 24, 2022
06b3140
Merge branch dev into feature/file-folder-post-endpoints
YAGoOaR May 24, 2022
0e2c03a
Merge pull request #36 from Intelligent-Cloud-System/feature/file-fol…
YAGoOaR May 24, 2022
eb78851
Fix: removed unused dependencies
MaksGovor May 25, 2022
8c5566d
fix getting signedPostUrls
May 25, 2022
dda7b78
path for file
May 25, 2022
ab170d9
file_manager delete
May 25, 2022
2a559a5
Feat: add path to file responce
MaksGovor May 25, 2022
b3a7cc1
Fix: fix array request interface of open api proprety
MaksGovor May 25, 2022
6f5efab
Fix: fix key-value api properties
MaksGovor May 25, 2022
16acc9e
Add file download endpoint
YAGoOaR May 26, 2022
0cfba18
Change url request naming
YAGoOaR May 27, 2022
54db2b6
Fix HTTP methods
YAGoOaR May 27, 2022
5440b24
Change formatter methods naming
YAGoOaR May 27, 2022
641bfde
Separate post and get expiration time
YAGoOaR May 27, 2022
6339068
Fix: fix get endpoints with body
MaksGovor May 27, 2022
29a0df1
Fix: chande status to CREATED for approptiate post requests
MaksGovor May 27, 2022
64ec14a
Merge pull request #37 from Intelligent-Cloud-System/feature/file-get…
YAGoOaR May 29, 2022
6227bc4
filter for folder files
May 29, 2022
174b159
Merge pull request #38 from Intelligent-Cloud-System/dev
tedi4t May 29, 2022
ec8860a
Fix: fixed service location
MaksGovor Jun 5, 2022
ed39ddb
Husky-fix: fix pre-push hook
MaksGovor Jun 5, 2022
434527a
Merge branch 'dev' into main
MaksGovor Jun 5, 2022
3c2f6ff
Update README.md
MaksGovor Jun 5, 2022
741c327
Remove explicit posix
YAGoOaR Jun 7, 2022
07d4461
Merge branch 'dev'
YAGoOaR Jun 7, 2022
89f1013
ws
Jun 13, 2022
b941719
lint format
Jun 13, 2022
7e656fa
moved ws invoke to other file_manager methods
Jun 13, 2022
fddc229
WebsocketEvent enum
Jun 14, 2022
23ba2be
Merge pull request #39 from Intelligent-Cloud-System/feature/ws
tedi4t Jun 14, 2022
3ca9810
Merge pull request #40 from Intelligent-Cloud-System/dev
tedi4t Jun 14, 2022
93f7b08
Fix: fomatting & \n at EOF
MaksGovor Jun 14, 2022
ba4bade
refactoring
Jun 14, 2022
b9d16f5
linter run
Jun 14, 2022
2a9953c
remove logger for ws controller
Jun 14, 2022
8fad271
removed excessive dependency
Jun 14, 2022
c31ec03
delete .env.example
Jun 14, 2022
b66428d
Merge pull request #41 from Intelligent-Cloud-System/refactor
tedi4t Jun 15, 2022
d1e33ff
Merge pull request #42 from Intelligent-Cloud-System/dev
tedi4t Jun 15, 2022
c8658ac
Merge branch 'dev' of https://github.com/Intelligent-Cloud-System/ics…
YAGoOaR Jun 19, 2022
3e3b470
Add image generation service
YAGoOaR Jun 21, 2022
d037635
Refactor icon generation service
YAGoOaR Jun 21, 2022
45c7ebd
Add autogenerated user icon uploading to s3
YAGoOaR Jun 22, 2022
11f1840
Approve commit suggestion in src/service/user/user.service.ts
YAGoOaR Jun 22, 2022
2ad748e
Fix: fixed dependecies troubles
MaksGovor Jun 22, 2022
8a551b6
Refactor image generation and uploading
YAGoOaR Jun 22, 2022
8229502
Add get user icon endpoint
YAGoOaR Jun 22, 2022
f00b8c9
Change naming
YAGoOaR Jun 22, 2022
ec848a5
Merge pull request #43 from Intelligent-Cloud-System/feature/icon-gen…
MaksGovor Jun 23, 2022
df3ea99
Merge pull request #44 from Intelligent-Cloud-System/dev
MaksGovor Jun 23, 2022
15a288f
Fix naming
YAGoOaR Jun 23, 2022
9c98cdd
Merge branch 'dev'
YAGoOaR Jun 23, 2022
cb2a768
Lint fix
YAGoOaR Jun 23, 2022
573c592
Merge branch 'dev'
YAGoOaR Jun 23, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules/
static/
test/
src/migration
24 changes: 24 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
project: 'tsconfig.json',
sourceType: 'module',
},
plugins: ['@typescript-eslint/eslint-plugin'],
extends: [
'plugin:@typescript-eslint/recommended',
],
root: true,
env: {
node: true,
jest: true,
},
ignorePatterns: ['.eslintrc.js'],
rules: {
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'max-len': ["error", { "code": 120 }]
},
};
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* -text
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''
---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Device (please complete the following information):**

- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---

**Describe the solution you'd like to be released**
A clear and concise description of what you want to happen.

**Additional context**
Add any other context or screenshots about the feature request here.
7 changes: 7 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<!--
Thank you for helping to make our project better,
please check the items below before publishing the pull
reqest and request for review.
-->

- [ ] the style and format of the code corresponds to the style of the organization (yarn lint:format)
122 changes: 28 additions & 94 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,104 +1,38 @@
# compiled output
/dist
/node_modules
/src/config/configuration.ts

# Logs
logs
*.log
npm-debug.log*
pnpm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache
# OS
.DS_Store

# Tests
/coverage
/.nyc_output

# IDEs and editors
/.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace

# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# Next.js build output
.next

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and *not* Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn lint:test
4 changes: 4 additions & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn test
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
README.md
test/
src/migration
13 changes: 13 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"singleQuote": true,
"trailingComma": "es5",
"printWidth": 120,
"overrides": [
{
"files": ".prettierrc",
"options": {
"parser": "json"
}
}
]
}
5 changes: 5 additions & 0 deletions .yarnignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.git
.github
node_modules
npm-debug.log
docs/
128 changes: 128 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
# Contributor Covenant Code of Conduct

## Our Pledge

We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, religion, or sexual identity
and orientation.

We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.

## Our Standards

Examples of behavior that contributes to a positive environment for our
community include:

* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the
overall community

Examples of unacceptable behavior include:

* The use of sexualized language or imagery, and sexual attention or
advances of any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email
address, without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Enforcement Responsibilities

Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.

Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.

## Scope

This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official e-mail address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
.
All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
reporter of any incident.

## Enforcement Guidelines

Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:

### 1. Correction

**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.

**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.

### 2. Warning

**Community Impact**: A violation through a single incident or series
of actions.

**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or
permanent ban.

### 3. Temporary Ban

**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.

**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.

### 4. Permanent Ban

**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.

**Consequence**: A permanent ban from any sort of public interaction within
the community.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.0, available at
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.

Community Impact Guidelines were inspired by [Mozilla's code of conduct
enforcement ladder](https://github.com/mozilla/diversity).

[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, see the FAQ at
https://www.contributor-covenant.org/faq. Translations are available at
https://www.contributor-covenant.org/translations.
Loading