Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalLytek committed May 3, 2024
2 parents 55eb5f6 + 45e33de commit 426a096
Show file tree
Hide file tree
Showing 857 changed files with 44,815 additions and 43,229 deletions.
6 changes: 3 additions & 3 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Editor configuration, see http://editorconfig.org
root = true

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

[*.md]
max_line_length = off
Expand Down
9 changes: 9 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
**/build/
**/dist/
**/coverage/
**/node_modules/
jest.config.ts
sponsorkit.config.ts

# FIXME: Remove
website/
117 changes: 117 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
{
"root": true,
"env": {
"node": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"project": [
"./tsconfig.json",
"./benchmarks/tsconfig.json",
"./examples/tsconfig.json",
"./scripts/tsconfig.json",
"./tests/tsconfig.json"
]
},
"settings": {
"import/parsers": {
"@typescript-eslint/parser": [".ts"]
},
"import/resolver": {
"typescript": {
"alwaysTryTypes": true,
"project": [
"./tsconfig.json",
"./benchmarks/tsconfig.json",
"./examples/tsconfig.json",
"./scripts/tsconfig.json",
"./tests/tsconfig.json"
]
}
}
},
"reportUnusedDisableDirectives": true,
"plugins": ["import", "@typescript-eslint", "eslint-plugin-tsdoc", "jest"],
"extends": [
"airbnb-base",
"airbnb-typescript/base",
"eslint:recommended",
"plugin:@cspell/recommended",
"plugin:@typescript-eslint/recommended",
// "plugin:@typescript-eslint/recommended-type-checked",
"plugin:@typescript-eslint/stylistic",
// "plugin:@typescript-eslint/stylistic-type-checked",
"plugin:import/recommended",
"plugin:import/typescript",
"plugin:jest/recommended",
"prettier"
],
"rules": {
"tsdoc/syntax": "warn",
"semi": "off",
"@typescript-eslint/semi": "error",
"no-restricted-syntax": "off",
"curly": ["error", "all"],
"nonblock-statement-body-position": ["error", "below"],
"sort-imports": ["error", { "ignoreDeclarationSort": true }],
"import/order": [
"error",
{
"alphabetize": {
"caseInsensitive": true,
"order": "asc"
},
"groups": ["builtin", "external", "internal", ["sibling", "parent"], "index", "unknown"],
"newlines-between": "never",
"pathGroups": [
{ "pattern": "@/**", "group": "internal", "position": "before" },
{ "pattern": "type-graphql", "group": "external" }
],
"pathGroupsExcludedImportTypes": ["builtin"]
}
],
"import/no-default-export": "error",
"import/prefer-default-export": "off",
"no-unused-vars": "off",
"no-duplicate-imports": "error",
"@typescript-eslint/no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_"
}
],
"@typescript-eslint/array-type": ["error", { "default": "array-simple" }],
"@typescript-eslint/consistent-type-imports": [
"error",
{
"disallowTypeAnnotations": false,
"fixStyle": "inline-type-imports",
"prefer": "type-imports"
}
],
"@typescript-eslint/consistent-type-exports": "error",
"@typescript-eslint/consistent-type-definitions": ["error", "interface"],
"@typescript-eslint/no-inferrable-types": [
"error",
{ "ignoreParameters": true, "ignoreProperties": true }
],
// FIXME: Remove
"@typescript-eslint/ban-types": [
"error",
{
"types": {
"Function": false,
"Object": false,
"{}": false
},
"extendDefaults": true
}
],
// FIXME: Remove
"@typescript-eslint/no-explicit-any": "off"
}
}
187 changes: 187 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,187 @@
* text=auto eol=lf

# Source code
*.bash text eol=lf
*.bat text eol=crlf
*.cmd text eol=crlf
*.coffee text
*.css text diff=css
*.htm text diff=html
*.html text diff=html
*.inc text
*.ini text
*.js text
*.json text
*.jsx text
*.less text
*.ls text
*.map text -diff
*.od text
*.onlydata text
*.php text diff=php
*.pl text
*.ps1 text eol=crlf
*.py text diff=python
*.rb text diff=ruby
*.sass text
*.scm text
*.scss text diff=css
*.sh text eol=lf
*.sql text
*.styl text
*.tag text
*.ts text
*.tsx text
*.xml text
*.xhtml text diff=html

# Docker
Dockerfile text

# Documentation
*.ipynb text
*.markdown text diff=markdown
*.md text diff=markdown
*.mdwn text diff=markdown
*.mdown text diff=markdown
*.mkd text diff=markdown
*.mkdn text diff=markdown
*.mdtxt text
*.mdtext text
*.txt text
AUTHORS text
CHANGELOG text
CHANGES text
CONTRIBUTING text
COPYING text
copyright text
*COPYRIGHT* text
INSTALL text
license text
LICENSE text
NEWS text
readme text
*README* text
TODO text

# Templates
*.dot text
*.ejs text
*.erb text
*.haml text
*.handlebars text
*.hbs text
*.hbt text
*.jade text
*.latte text
*.mustache text
*.njk text
*.phtml text
*.svelte text
*.tmpl text
*.tpl text
*.twig text
*.vue text

# Configs
*.cnf text
*.conf text
*.config text
.editorconfig text
.env text
.gitattributes text
.gitconfig text
.htaccess text
*.lock text -diff
package.json text eol=lf
package-lock.json text -diff
pnpm-lock.yaml text eol=lf -diff
.prettierrc text
yarn.lock text -diff
*.toml text
*.yaml text
*.yml text
browserslist text
Makefile text
makefile text

# Heroku
Procfile text

# Graphics
*.ai binary
*.bmp binary
*.eps binary
*.gif binary
*.gifv binary
*.ico binary
*.jng binary
*.jp2 binary
*.jpg binary
*.jpeg binary
*.jpx binary
*.jxr binary
*.pdf binary
*.png binary
*.psb binary
*.psd binary
*.svg text
*.svgz binary
*.tif binary
*.tiff binary
*.wbmp binary
*.webp binary

# Audio
*.kar binary
*.m4a binary
*.mid binary
*.midi binary
*.mp3 binary
*.ogg binary
*.ra binary

# Video
*.3gpp binary
*.3gp binary
*.as binary
*.asf binary
*.asx binary
*.avi binary
*.fla binary
*.flv binary
*.m4v binary
*.mng binary
*.mov binary
*.mp4 binary
*.mpeg binary
*.mpg binary
*.ogv binary
*.swc binary
*.swf binary
*.webm binary

# Archives
*.7z binary
*.gz binary
*.jar binary
*.rar binary
*.tar binary
*.zip binary

# Fonts
*.ttf binary
*.eot binary
*.otf binary
*.woff binary
*.woff2 binary

# Executables
*.exe binary
*.pyc binary

# RC files
*.*rc text

# Ignore files
*.*ignore text
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @MichalLytek
12 changes: 1 addition & 11 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,2 @@
# These are supported funding model platforms

github: typegraphql # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
github: typegraphql
open_collective: typegraphql
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
28 changes: 28 additions & 0 deletions .github/configs/changelog.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"categories": [
{
"title": "## 🚀 Enhancements",
"labels": ["Enhancement 🆕"]
},
{
"title": "## 🐛 Fixes",
"labels": ["Bugfix 🐛 🔨"]
},
{
"title": "## 🧪 Tests",
"labels": ["Test 🧪"]
},
{
"title": "## 📦 Dependencies",
"labels": ["Dependencies 📦"]
},
{
"title": "## 📚 Documentation",
"labels": ["Documentation 📖"]
},
{
"title": "## 🏠 Internal",
"labels": ["Chore 🔨", "Internal 🏠"]
}
]
}
5 changes: 5 additions & 0 deletions .github/configs/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name: CodeQL Configuration

paths-ignore:
- "**/node_modules"
- "**/*.test.ts"
15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
versioning-strategy: increase
schedule:
interval: "weekly"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-patch"]

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"

0 comments on commit 426a096

Please sign in to comment.