Skip to content

Commit

Permalink
refactor: complete rewrite
Browse files Browse the repository at this point in the history
chore(deps): update angular to v15.1.2
  • Loading branch information
k3nsei committed Jan 30, 2023
1 parent 4a88da8 commit 8c4e0f3
Show file tree
Hide file tree
Showing 228 changed files with 27,860 additions and 168,467 deletions.
57 changes: 14 additions & 43 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
"projectOwner": "k3nsei",
"repoType": "github",
"repoHost": "https://github.com",
"files": [
"README.md"
],
"files": ["README.md"],
"imageSize": 100,
"commit": false,
"commitConvention": "angular",
Expand All @@ -15,114 +13,87 @@
"name": "Piotr Stępniewski",
"avatar_url": "https://avatars2.githubusercontent.com/u/190422?v=4",
"profile": "https://github.com/k3nsei",
"contributions": [
"code",
"doc",
"review",
"test"
]
"contributions": ["code", "doc", "review", "test"]
},
{
"login": "Bengejd",
"name": "Jordan Benge",
"avatar_url": "https://avatars3.githubusercontent.com/u/11723093?v=4",
"profile": "https://github.com/Bengejd",
"contributions": [
"blog"
]
"contributions": ["blog"]
},
{
"login": "numerized",
"name": "Kévin Perrée",
"avatar_url": "https://avatars1.githubusercontent.com/u/166829?v=4",
"profile": "https://github.com/numerized",
"contributions": [
"bug"
]
"contributions": ["bug"]
},
{
"login": "OzoTek",
"name": "Alexandre Couret",
"avatar_url": "https://avatars3.githubusercontent.com/u/6436053?v=4",
"profile": "https://github.com/OzoTek",
"contributions": [
"bug"
]
"contributions": ["bug"]
},
{
"login": "anwar-elmawardy",
"name": "anwar-elmawardy",
"avatar_url": "https://avatars0.githubusercontent.com/u/23740710?v=4",
"profile": "https://github.com/anwar-elmawardy",
"contributions": [
"bug"
]
"contributions": ["bug"]
},
{
"login": "jwillebrands",
"name": "Jan-Willem Willebrands",
"avatar_url": "https://avatars0.githubusercontent.com/u/8925?v=4",
"profile": "https://github.com/jwillebrands",
"contributions": [
"bug"
]
"contributions": ["bug"]
},
{
"login": "CSchulz",
"name": "CSchulz ",
"avatar_url": "https://avatars2.githubusercontent.com/u/1520593?v=4",
"profile": "https://github.com/CSchulz",
"contributions": [
"bug"
]
"contributions": ["bug"]
},
{
"login": "Silvest89",
"name": "Johnnie Ho",
"avatar_url": "https://avatars2.githubusercontent.com/u/2388338?v=4",
"profile": "https://github.com/Silvest89",
"contributions": [
"bug"
]
"contributions": ["bug"]
},
{
"login": "pasevin",
"name": "Aleksandr Pasevin",
"avatar_url": "https://avatars2.githubusercontent.com/u/1058469?v=4",
"profile": "https://github.com/pasevin",
"contributions": [
"code",
"bug"
]
"contributions": ["code", "bug"]
},
{
"login": "wkurniawan07",
"name": "Wilson Kurniawan",
"avatar_url": "https://avatars2.githubusercontent.com/u/7261051?v=4",
"profile": "https://github.com/wkurniawan07",
"contributions": [
"bug"
]
"contributions": ["bug"]
},
{
"login": "basters",
"name": "Eugene",
"avatar_url": "https://avatars0.githubusercontent.com/u/17099950?v=4",
"profile": "https://github.com/basters",
"contributions": [
"code"
]
"contributions": ["code"]
},
{
"login": "samizarraa",
"name": "Sami Zarraa",
"avatar_url": "https://avatars3.githubusercontent.com/u/20872538?v=4",
"profile": "https://github.com/samizarraa",
"contributions": [
"bug"
]
"contributions": ["bug"]
}
],
"contributorsPerLine": 7,
"linkToUsage": false,
"skipCi": true
}
17 changes: 0 additions & 17 deletions .codacy.yml

This file was deleted.

6 changes: 0 additions & 6 deletions .codebeatignore

This file was deleted.

37 changes: 0 additions & 37 deletions .codeclimate.json

This file was deleted.

14 changes: 3 additions & 11 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,25 +1,17 @@
# Editor configuration, see https://editorconfig.org
root = true

[*]
charset = utf-8
end_of_line = lf
max_line_length = 120
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[*.{js,ts}]
[*.ts]
quote_type = single

[*.{diff,md}]
[*.md]
max_line_length = off
trim_trailing_whitespace = false

[*.txt]
end_of_line = crlf
max_line_length = off
indent_style = tab

[Makefile]
indent_style = tab
12 changes: 4 additions & 8 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
.husky/
.yarn/
.vscode/
node_modules/
dist/
out-tsc/
tmp/
coverage/
/dist
/out-tsc
/tmp
/coverage
102 changes: 53 additions & 49 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,72 +1,76 @@
{
"root": true,
"ignorePatterns": ["projects/**/*"],
"plugins": ["header"],
"settings": {
"import/resolver": {
"typescript": true,
"node": true
}
},
"overrides": [
{
"files": ["*.ts"],
"parserOptions": {
"project": ["./tsconfig.json", "./tsconfig.*?.json"]
},
"extends": [
"plugin:@angular-eslint/ng-cli-compat",
"plugin:@angular-eslint/ng-cli-compat--formatting-add-on",
"plugin:@angular-eslint/template/process-inline-templates"
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@angular-eslint/recommended",
"plugin:@angular-eslint/template/process-inline-templates",
"plugin:import/recommended",
"plugin:import/typescript",
"plugin:prettier/recommended"
],
"rules": {
"header/header": [
2,
"block",
[
"!",
" * @license",
{
"pattern": " * Copyright \\(c\\) \\d{4} Piotr Stępniewski \\<k3nsei\\.pl@gmail\\.com\\>",
"template": " * Copyright (c) 2020 Piotr Stępniewski <k3nsei.pl@gmail.com>"
},
" *",
" * Use of this source code is governed by an MIT-style license that can be",
" * found in the LICENSE file in the root directory of this source tree.",
" "
],
2
],
"@typescript-eslint/no-inferrable-types": "off",
"@typescript-eslint/naming-convention": [
"sort-imports": [
"error",
{
"selector": "default",
"format": ["camelCase"],
"leadingUnderscore": "allow",
"trailingUnderscore": "allow"
},
{
"selector": "variable",
"format": ["camelCase", "UPPER_CASE"],
"leadingUnderscore": "allow",
"trailingUnderscore": "allow"
},
"ignoreDeclarationSort": true,
"allowSeparatedGroups": true
}
],
"import/first": "error",
"import/order": [
"error",
{
"selector": "typeLike",
"format": ["PascalCase"]
},
"alphabetize": { "order": "asc", "caseInsensitive": true },
"newlines-between": "always",
"groups": [
["builtin", "external"],
"internal",
"parent",
["sibling", "index"],
"object",
"type"
]
}
],
"@typescript-eslint/no-unused-vars": [
"error",
{
"selector": "enum",
"format": ["PascalCase", "UPPER_CASE"]
},
"argsIgnorePattern": "^_",
"caughtErrors": "all",
"caughtErrorsIgnorePattern": "^(_|ignore)",
"destructuredArrayIgnorePattern": "^_",
"ignoreRestSiblings": true
}
],
"@typescript-eslint/explicit-member-accessibility": [
"error",
{
"selector": "memberLike",
"format": ["camelCase", "PascalCase", "UPPER_CASE"]
"accessibility": "explicit",
"overrides": {
"constructors": "no-public"
}
}
]
}
},
{
"files": ["*.html"],
"extends": ["plugin:@angular-eslint/template/recommended"],
"rules": {
"header/header": "off"
}
"extends": [
"plugin:@angular-eslint/template/recommended",
"plugin:prettier/recommended"
],
"rules": {}
}
]
}
3 changes: 0 additions & 3 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# Encrypt the repository
# Remove/modify this line if the repository is meant to be open-source
# *.* filter=git-crypt diff=git-crypt
.gitattributes !filter !diff

# Source code
Expand Down
10 changes: 0 additions & 10 deletions .github/codeql/CODEQL-CONFIG.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ updates:
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: 'weekly'
interval: 'monthly'
timezone: 'Europe/Warsaw'
day: 'saturday'
time: '06:00'
Expand Down
1 change: 0 additions & 1 deletion .github/funding.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
github: k3nsei
custom: ['https://www.paypal.me/k3nseiPL']
Loading

1 comment on commit 8c4e0f3

@vercel
Copy link

@vercel vercel bot commented on 8c4e0f3 Jan 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ng-in-viewport – ./

ng-in-viewport-k3nsei.vercel.app
ng-in-viewport.vercel.app
ng-in-viewport-git-develop-k3nsei.vercel.app

Please sign in to comment.