Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

Commit

Permalink
Release/migrate to idea (#160)
Browse files Browse the repository at this point in the history
* parent 50dbf8b
author dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1622682428 +0000
committer SocketSomeone <[email protected]> 1622764679 +0200

parent 50dbf8b
author dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1622682428 +0000
committer SocketSomeone <[email protected]> 1622764676 +0200

🔼 Bump husky from 5.2.0 to 6.0.0

Bumps [husky](https://github.com/typicode/husky) from 5.2.0 to 6.0.0.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](typicode/husky@v5.2.0...v6.0.0)

Signed-off-by: dependabot[bot] <[email protected]>

chore(deps):(deps-dev): bump @types/node from 14.14.35 to 15.9.0

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.35 to 15.9.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

🔼 Bump @types/jest from 26.0.21 to 26.0.23

Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.21 to 26.0.23.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot[bot] <[email protected]>

chore: deps

chore(dependabot): fixed config

chore(deps): bump actions/checkout from 2 to 2.3.4

Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 2.3.4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v2...v2.3.4)

Signed-off-by: dependabot[bot] <[email protected]>

??

* yarn.lock

* feat(framework): rewrited framework to Nest JS Library, deleted tslog & tsyringe containers

BREAKING CHANGE: Deleted Tsyringe & TSLog

* chore(eslint): fixed no-inferrable-types rule

* chore(eslint): fixed object rule

* Revert

* refactor: deleted spaces in comments & added no-operation to command

* ...

* test: fixed cache tests

* chore(project): refactor all

* chore(project): refactor all

* chore(codestyle): change eol to lf

* feat(git): hooks and lint-staged

* feat(git): hooks and lint-staged

* TEst

* test

* test

* test

* fix(hooks): commitlint & lint-staged

* ci: changed config for sentry release

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
Someone and dependabot[bot] authored Jun 28, 2021
1 parent a0fa2ca commit d20f0e3
Show file tree
Hide file tree
Showing 246 changed files with 3,424 additions and 3,017 deletions.
28 changes: 28 additions & 0 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"extends": ["@commitlint/config-angular"],
"rules": {
"subject-case": [
2,
"always",
["sentence-case", "start-case", "pascal-case", "upper-case", "lower-case"]
],
"type-enum": [
2,
"always",
[
"build",
"chore",
"ci",
"docs",
"feat",
"fix",
"perf",
"refactor",
"revert",
"style",
"test",
"sample"
]
]
}
}
2 changes: 1 addition & 1 deletion .docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: '3.7'
version: "3.7"
services:
nginx:
image: nginx:1.21.0-alpine
Expand Down
3 changes: 2 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@

.github

.vscode

node_modules

scripts

test

18 changes: 18 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# editorconfig.org
root = true

[*]
end_of_line = lf
indent_style = tab
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
indent_size = 4

[*.{yaml,yml}]
indent_style = space
indent_size = 2

[*.md]
indent_style = space
trim_trailing_whitespace = false
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
**/node_modules/**
165 changes: 92 additions & 73 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,97 +1,116 @@
/* eslint-disable */
module.exports = {
root: true,
env: {
node: true
node: true,
jest: true
},
extends: [
"airbnb-base",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
'airbnb-base',
'plugin:import/errors',
'plugin:import/warnings',
'plugin:import/typescript',
'plugin:@typescript-eslint/recommended',
'plugin:prettier/recommended',
'prettier'
],
parser: "@typescript-eslint/parser",
parser: '@typescript-eslint/parser',
parserOptions: {
project: ['./typescript/tsconfig.eslint.json'],
sourceType: "module",
sourceType: 'module',
tsconfigRootDir: __dirname
},
globals: {
Atomics: "readonly",
SharedArrayBuffer: "readonly"
Atomics: 'readonly',
SharedArrayBuffer: 'readonly'
},
plugins: [
"import",
"@typescript-eslint",
"prettier"
],
plugins: ['import', '@typescript-eslint', '@typescript-eslint/eslint-plugin', 'prettier'],
rules: {
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/naming-convention": [
"error",
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/naming-convention': [
'error',
{
selector: 'interface',
format: ['PascalCase'],
prefix: ['I']
}
],
'@typescript-eslint/ban-ts-comment': [
'error',
{
'ts-ignore': false
}
],
'@typescript-eslint/ban-types': ['off'],
'@typescript-eslint/indent': ['error', 'tab'],
'@typescript-eslint/semi': ['error'],
'@typescript-eslint/consistent-type-imports': ['warn'],
'@typescript-eslint/no-inferrable-types': [
'error',
{
ignoreParameters: true
}
],
'import/extensions': [
'error',
'ignorePackages',
{
"selector": "interface",
"format": ["PascalCase"],
"prefix": ["I"]
js: 'never',
ts: 'never'
}
],
"@typescript-eslint/ban-ts-comment": ["error", {
"ts-ignore": false
}],
"@typescript-eslint/ban-types": ["off"],
"@typescript-eslint/indent": ["error", "tab"],
"@typescript-eslint/semi": ["error"],
"@typescript-eslint/consistent-type-imports": ["warn"],
"import/extensions": ["error", "ignorePackages", {
"js": "never",
"ts": "never"
}],
"import/prefer-default-export": "off",
"import/no-extraneous-dependencies": ["off"],
"import/no-cycle": ["off"],
"no-restricted-syntax": ["error", "WithStatement"],
"class-methods-use-this": "off",
"linebreak-style": ["error", "unix"],
"comma-dangle": ["error", "never"],
"no-param-reassign": ["error", {
"props": false
}],
"no-dupe-class-members": "off",
"no-await-in-loop": "off",
"arrow-parens": "off",
"no-continue": "off",
"no-tabs": ["error", {
"allowIndentationTabs": true
}],
"indent": "off",
"eol-last": ["off"],
"max-len": ["error", { "code": 150 }],
"no-shadow": "off",
"function-paren-newline": "off",
"consistent-return": "off",
"no-useless-return": "off",
"no-useless-constructor": "off",
"prettier/prettier": ["error", {
"parser": "typescript",
"trailingComma": "none",
"printWidth": 120,
"useTabs": true,
"tabWidth": 2,
"bracketSpacing": true,
"singleQuote": true,
"semi": true,
"arrowParens": "avoid",
"endOfLine": "auto"
}]
'import/prefer-default-export': 'off',
'import/no-extraneous-dependencies': 'off',
'import/no-cycle': ['off'],
'no-restricted-syntax': ['error', 'WithStatement'],
'class-methods-use-this': 'off',
'linebreak-style': ['error', 'unix'],
'comma-dangle': ['error', 'never'],
'no-param-reassign': [
'error',
{
props: false
}
],
'no-dupe-class-members': 'off',
'no-await-in-loop': 'off',
'arrow-parens': 'off',
'no-continue': 'off',
'no-tabs': [
'error',
{
allowIndentationTabs: true
}
],
indent: 'off',
'eol-last': ['off'],
'max-len': ['error', { code: 150 }],
'no-shadow': 'off',
'function-paren-newline': 'off',
'consistent-return': 'off',
'no-useless-return': 'off',
'no-useless-constructor': 'off',
'prettier/prettier': [
'error',
{
parser: 'typescript',
trailingComma: 'none',
printWidth: 120,
useTabs: true,
tabWidth: 2,
bracketSpacing: true,
singleQuote: true,
semi: true,
arrowParens: 'avoid',
endOfLine: 'auto'
}
]
},
overrides: [
{
files: ["{apps,packages}/*/test/**/*.test.ts"],
files: ['{apps,packages}/*/test/**/*.test.ts'],
env: {
jest: true
}
}
]
}
};
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
yarn.lock -diff -merge
yarn.lock linguist-generated=true
* text eol=lf
4 changes: 4 additions & 0 deletions .github/husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx commitlint -c .commitlintrc.json --edit $HUSKY_GIT_PARAMS
4 changes: 4 additions & 0 deletions .github/husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
2 changes: 1 addition & 1 deletion .github/husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn run test
yarn run test
5 changes: 0 additions & 5 deletions .github/semantic.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
name: CI
name: Continuous Integration

on:
push:
branches:
- main
- release/*
- develop
paths-ignore:
- '.dockerignore'
- '.github/**'
- '.vscode/**'
- '.gitignore'
- 'LICENSE'
- '**.md'
- "**.md"
- ".github/**"
- ".vscode/**"
- .dockerignore
- .gitignore
- LICENSE
pull_request:
branches:
- main
Expand Down Expand Up @@ -57,6 +58,11 @@ jobs:
run: |
yarn
yarn build
yarn test
yarn test --coverage
env:
CI: true

- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
23 changes: 23 additions & 0 deletions .github/workflows/sentry-deployment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Sentry Deployment

on:
push:
branches:
- main

jobs:
sentryDeploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Create a Sentry release
uses: getsentry/action-release@v1
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
with:
tagName: ${{ github.sha }}
environment: production
20 changes: 13 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,14 @@ yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Tests
/coverage
# 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

Expand All @@ -26,6 +25,8 @@ report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Dependency directories
node_modules/
apps/*/node_modules/
packages/*/node_modules/
jspm_packages/
.github/husky/_

Expand All @@ -44,10 +45,6 @@ jspm_packages/
# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
*.env

# TypeScript cache
*.tsbuildinfo

Expand All @@ -61,3 +58,12 @@ sw.*
apps/*/lib
packages/*/lib
.nuxt

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

Loading

0 comments on commit d20f0e3

Please sign in to comment.