-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from Dionid/feat/massive-refactoring
feat: massive refactoring
- Loading branch information
Showing
34 changed files
with
28,206 additions
and
5,987 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"version": "0.1", | ||
"language": "en", | ||
"words": ["fapfop", "Unbrand", "mult", "Teleadmin", "Качалка", "Давида", "Шекунца"], | ||
"flagWords": [], | ||
"ignorePaths": ["package.json", "package-lock.json", "tsconfig.json", "node_modules/**"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
node_modules | ||
dist | ||
.eslintrc.js | ||
controller-features.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
module.exports = { | ||
"root": true, | ||
"env": { | ||
"es6": true, | ||
"node": true | ||
}, | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"project": "./tsconfig.lint.json" | ||
}, | ||
"plugins": ["import", "@typescript-eslint"], | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:eslint-comments/recommended", | ||
"plugin:@typescript-eslint/eslint-recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:@typescript-eslint/recommended-requiring-type-checking", | ||
"plugin:@typescript-eslint/strict", | ||
"plugin:import/recommended", | ||
"plugin:import/typescript", | ||
"prettier" | ||
], | ||
"settings": { | ||
"import/resolver": { | ||
"typescript": { | ||
"project": "tsconfig.json" | ||
} | ||
} | ||
}, | ||
"rules": { | ||
"import/order": [ | ||
"error", | ||
{ | ||
"alphabetize": { | ||
"order": "asc", | ||
"caseInsensitive": true | ||
} | ||
} | ||
], | ||
"@typescript-eslint/consistent-type-definitions": "off", | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/require-await": "off", | ||
"import/no-extraneous-dependencies": "error", | ||
"import/no-mutable-exports": "error", | ||
"import/no-unused-modules": "error", | ||
"@typescript-eslint/array-type": "off", | ||
"no-restricted-syntax": [ | ||
"error", | ||
{ | ||
selector: | ||
"CallExpression[callee.object.name='console'][callee.property.name=/^(log|warn|error|info|trace)$/]", | ||
message: | ||
"Don't use console, use pino logger (or another library) instead", | ||
}, | ||
{ | ||
selector: "TSEnumDeclaration", | ||
message: "Don't declare enums", | ||
}, | ||
{ | ||
selector: "CallExpression[callee.property.name='save']", | ||
message: "Don't use typeorm save, use insert or update instead", | ||
}, | ||
], | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,25 @@ | ||
*.log | ||
.vscode | ||
node_modules | ||
/dist | ||
/lib | ||
dev | ||
.idea | ||
*.log | ||
*.env | ||
dist | ||
lib | ||
coverage | ||
docs/examples | ||
junit.xml | ||
|
||
.idea | ||
*.iml | ||
|
||
.DS_Store | ||
|
||
.vscode | ||
*.pyc | ||
|
||
devspace.yaml | ||
|
||
backups | ||
.env.test | ||
|
||
*.csv | ||
|
||
junit_int.xml | ||
junit_unit.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npm run lint-staged | ||
npm run build | ||
npm run test:unit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"branch": "main", | ||
"contents": "lib" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
16.18.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
**/node_modules | ||
**/build | ||
**/dist | ||
**/.local | ||
CHANGELOG.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"trailingComma": "es5", | ||
"tabWidth": 2, | ||
"semi": true, | ||
"singleQuote": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"branches": [ | ||
"+([1-9])?(.{+([1-9]),x}).x", | ||
"master", | ||
"main", | ||
"next", | ||
"next-major", | ||
{ | ||
"name": "beta", | ||
"prerelease": true | ||
}, | ||
{ | ||
"name": "alpha", | ||
"prerelease": true | ||
} | ||
], | ||
"plugins": [ | ||
"@semantic-release/commit-analyzer", | ||
"@semantic-release/release-notes-generator", | ||
[ | ||
"@semantic-release/changelog", | ||
{ | ||
"changelogFile": "CHANGELOG.md" | ||
} | ||
], | ||
"@semantic-release/npm", | ||
[ | ||
"@semantic-release/git", | ||
{ | ||
"assets": ["package.json", "package-lock.json", "CHANGELOG.md"], | ||
"message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}" | ||
} | ||
] | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. See [standard-version](https:/conventional-changelog/standard-version) for commit guidelines. | ||
|
||
### [0.0.28](https:/Dionid/fapfop/compare/v0.0.21...v0.0.28) (2023-02-18) | ||
|
||
### Features | ||
|
||
- added async and either ([1ea0200](https:/Dionid/fapfop/commit/1ea02002e238dae4f46b4c98118f5a3dbc68f25c)) | ||
- added error handler ([2eca34b](https:/Dionid/fapfop/commit/2eca34b8322ccc0a84c51bda748f3f900cb15859)) | ||
- added husky ([3f29001](https:/Dionid/fapfop/commit/3f2900138ac808a54fcfcc6e76bbd222137c20cf)) | ||
- added lots of stuff ([06ff361](https:/Dionid/fapfop/commit/06ff361968197e567437b47e34259809a55eac21)) | ||
- added new functionality and also renamed files ([d4bbadb](https:/Dionid/fapfop/commit/d4bbadb887234f389b60a84dd3a23afc9cb530cf)) | ||
- bump version ([d445c64](https:/Dionid/fapfop/commit/d445c64b7687bd09881c4c24946ec2c6be0c4aa8)) | ||
- bumped version ([3173d08](https:/Dionid/fapfop/commit/3173d08fe9c2d5a97d456a90c7bad962f75426ec)) | ||
- bumped version ([c97635b](https:/Dionid/fapfop/commit/c97635be85ee39a88870840f4e8e8cd81141ee1e)) | ||
- changed version ([19e5277](https:/Dionid/fapfop/commit/19e5277158265625f4fec0f74dc33e7c6b8a3652)) | ||
- some cleaning ([be2c4c7](https:/Dionid/fapfop/commit/be2c4c71fca2b350d1c167852f28ab67b764cca9)) | ||
- wg to sleep ([#4](https:/Dionid/fapfop/issues/4)) ([7b2a688](https:/Dionid/fapfop/commit/7b2a688161fa500f5a310577958d4cb21f82fbaf)) | ||
- working on new release mechanics ([da6576b](https:/Dionid/fapfop/commit/da6576bc457b20d77ba6dc7806dfcaed7077f468)) | ||
|
||
### Bug Fixes | ||
|
||
- added underscore to tslint rules ([4925924](https:/Dionid/fapfop/commit/49259245399ed112e05070a4f5ce959694b7a2ef)) | ||
- added underscore to tslint rules ([313d3f5](https:/Dionid/fapfop/commit/313d3f5dc55964415d3366459fdc2cc3f3a1c9d6)) | ||
- adt ([cac224c](https:/Dionid/fapfop/commit/cac224c4feaa33e4dc760781ae57ef83d3651260)) | ||
- change gitignore ([0bb61d4](https:/Dionid/fapfop/commit/0bb61d4ee747f61c1ae23ce9978e232c002cdf2e)) | ||
- deferred ([386dfa0](https:/Dionid/fapfop/commit/386dfa00cc612a473550c552febbd0a3b5783284)) | ||
- no console log ([9db47ab](https:/Dionid/fapfop/commit/9db47ab7352de341bde13ad4ddd05bffd6bd535a)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"testEnvironment": "node", | ||
"testRegex": "(/__tests_unit__/.*|.(unit)(\\.|/)(test|spec))\\.ts$", | ||
"moduleFileExtensions": ["js", "json", "ts"], | ||
"preset": "ts-jest", | ||
"reporters": [ | ||
"default", | ||
[ | ||
"jest-junit", | ||
{ | ||
"outputName": "junit_unit.xml" | ||
} | ||
] | ||
], | ||
"collectCoverage": true, | ||
"coverageDirectory": "coverage", | ||
"coverageReporters": ["lcov", "text", "cobertura"], | ||
"globals": { | ||
"ts-jest": { | ||
"diagnostics": true | ||
} | ||
} | ||
} |
Oops, something went wrong.