Skip to content

Commit 95e3114

Browse files
committed
[Release] v1.0.0
1 parent 5d38b3c commit 95e3114

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+20218
-2
lines changed

.all-contributorsrc

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"projectName": "ptkdev-components/webcomponent-patreon-box",
3+
"projectOwner": "ptkdev",
4+
"repoType": "github",
5+
"repoHost": "https://github.com",
6+
"files": [
7+
"README.md"
8+
],
9+
"imageSize": 100,
10+
"commit": true,
11+
"contributors": [
12+
{
13+
"login": "ptkdev",
14+
"name": "Patryk Rzucidło",
15+
"avatar_url": "https://avatars1.githubusercontent.com/u/442844?v=4",
16+
"profile": "https://ptk.dev",
17+
"contributions": [
18+
"code",
19+
"translation",
20+
"doc",
21+
"bug"
22+
]
23+
},
24+
{
25+
"login": "emanuelefricano93",
26+
"name": "Emanuele Fricano",
27+
"avatar_url": "https://avatars1.githubusercontent.com/u/26500344?v=4",
28+
"contributions": [
29+
"code",
30+
"bug"
31+
]
32+
}
33+
],
34+
"contributorsPerLine": 6,
35+
"commitConvention": "none"
36+
}

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
root = true
4+
5+
[*]
6+
charset = utf-8
7+
end_of_line = lf
8+
insert_final_newline = false
9+
trim_trailing_whitespace = true
10+
indent_style = tab
11+
indent_size = 4
12+
13+
[*.py]
14+
indent_style = space
15+
indent_size = 4

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/dist
2+
/examples

.eslintrc.json

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
{
2+
"env": {
3+
"es6": true,
4+
"node": true,
5+
"browser": true,
6+
"jest/globals": true
7+
},
8+
"extends": "eslint:recommended",
9+
"parserOptions": {
10+
"sourceType": "module",
11+
"ecmaVersion": 2019
12+
},
13+
"plugins": [
14+
"snakecasejs",
15+
"jsdoc",
16+
"jest"
17+
],
18+
"globals": {
19+
"fetch": false
20+
},
21+
"settings": {
22+
"jsdoc": {
23+
"tagNamePreference": {
24+
"returns": "return"
25+
}
26+
},
27+
"snakecasejs/filter": ["AssignmentExpression", "ClassDeclaration", "NewExpression", "CallExpression"],
28+
"snakecasejs/whitelist": ["envOptions", "attributeChangedCallback", "connectedCallback", "customElements", "createServer", "existsSync", "outputFileSync", "sendFile", "attachShadow", "shadowRoot", "cloneNode", "reloadDelay", "observedAttributes", "ProfilePage", "terserOptions", "maxWidth", "maxHeight", "borderRadius", "disconnectedCallback"]
29+
},
30+
"rules": {
31+
"no-multi-spaces": ["error", { "ignoreEOLComments": true, "exceptions": { "VariableDeclarator": true } }],
32+
"block-spacing": ["error", "never"],
33+
"array-bracket-spacing": ["error", "never"],
34+
"space-in-parens": ["error", "never"],
35+
"comma-spacing": ["error", { "before": false, "after": true }],
36+
"key-spacing": ["error", { "afterColon": true, "beforeColon": false }],
37+
"indent": ["error", "tab", { "SwitchCase": 1 }],
38+
"quotes": ["error","double", { "avoidEscape": true, "allowTemplateLiterals": true}],
39+
"semi": ["error", "always"],
40+
"no-console": ["warn"],
41+
"no-constant-condition": ["warn"],
42+
"curly": ["error", "all"],
43+
"brace-style": ["error", "1tbs", { "allowSingleLine": false }],
44+
"keyword-spacing": ["error", { "before": true, "after": true }],
45+
"object-curly-spacing": ["error", "never"],
46+
"no-mixed-spaces-and-tabs": ["error", "smart-tabs"],
47+
"spaced-comment": [2, "always"],
48+
"space-before-blocks": ["error", "always"],
49+
"space-before-function-paren": ["error", "never"],
50+
"prefer-template": "error",
51+
"no-useless-concat": "error",
52+
"linebreak-style": ["error", "unix"],
53+
"template-curly-spacing": ["error", "never"],
54+
"no-multiple-empty-lines": ["error", { "max": 1, "maxEOF": 0 }],
55+
"jest/no-disabled-tests": "warn",
56+
"jest/no-focused-tests": "error",
57+
"jest/no-identical-title": "error",
58+
"jest/prefer-to-have-length": "warn",
59+
"jest/valid-expect": "error",
60+
"snakecasejs/snakecasejs": "warn",
61+
"jsdoc/require-param": 1,
62+
"jsdoc/require-param-description": 1,
63+
"jsdoc/require-param-name": 1,
64+
"jsdoc/require-param-type": 1,
65+
"jsdoc/require-returns": 1,
66+
"jsdoc/require-returns-description": 1,
67+
"jsdoc/require-returns-type": 1,
68+
"jsdoc/require-returns-check": 1,
69+
"jsdoc/require-hyphen-before-param-description": 1
70+
}
71+
}

.gitattributes

Lines changed: 145 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,145 @@
1+
## AUTO-DETECT
2+
* text=auto
3+
4+
## SOURCE CODE
5+
*.bat text eol=crlf
6+
*.css text eol=lf
7+
*.html text diff=html eol=lf
8+
*.ini text eol=crlf
9+
*.js text eol=lf
10+
*.json text eol=lf
11+
*.php text diff=php eol=lf
12+
*.py text diff=python eol=lf
13+
*.rb text diff=ruby
14+
*.sass text eol=lf
15+
*.scss text eol=lf
16+
*.sh text eol=lf
17+
*.sql text eol=lf
18+
*.ts text eol=lf
19+
*.vue text eol=lf
20+
*.xml text eol=lf
21+
*.xhtml text diff=html eol=lf
22+
23+
## DOCKER
24+
*.dockerignore text eol=lf
25+
Dockerfile text eol=lf
26+
27+
## DOCUMENTATION
28+
*.md text eol=lf
29+
*.txt text eol=lf
30+
AUTHORS text eol=lf
31+
CHANGELOG text eol=lf
32+
CHANGES text eol=lf
33+
CONTRIBUTING text eol=lf
34+
COPYING text eol=lf
35+
INSTALL text eol=lf
36+
license text eol=lf
37+
LICENSE text eol=lf
38+
NEWS text eol=lf
39+
README text eol=lf
40+
TODO text eol=lf
41+
42+
## TEMPLATES
43+
*.dot text eol=lf
44+
*.tpl text eol=lf
45+
*.twig text eol=lf
46+
47+
## LINTERS
48+
.csslintrc text eol=lf
49+
.eslintrc text eol=lf
50+
.htmlhintrc text eol=lf
51+
.jscsrc text eol=lf
52+
.jshintrc text eol=lf
53+
.jshintignore text eol=lf
54+
.stylelintrc text eol=lf
55+
.npmignore text eol=lf
56+
57+
## CONFIGS
58+
*.bowerrc text eol=lf
59+
*.cnf text eol=lf
60+
*.conf text eol=lf
61+
*.config text eol=lf
62+
.babelrc text eol=lf
63+
.browserslistrc text eol=lf
64+
.editorconfig text eol=lf
65+
.env text eol=lf
66+
.gitattributes text eol=lf
67+
.gitconfig text eol=lf
68+
.htaccess text eol=lf
69+
*.lock text eol=lf
70+
*.npmignore text eol=lf
71+
*.yaml text eol=lf
72+
*.yml text eol=lf
73+
browserslist text eol=lf
74+
Makefile text eol=lf
75+
makefile text eol=lf
76+
77+
## GRAPHICS
78+
*.ai binary
79+
*.bmp binary
80+
*.eps binary
81+
*.gif binary
82+
*.ico binary
83+
*.jng binary
84+
*.jp2 binary
85+
*.jpg binary
86+
*.jpeg binary
87+
*.jpx binary
88+
*.jxr binary
89+
*.pdf binary
90+
*.png binary
91+
*.psb binary
92+
*.psd binary
93+
*.svg text
94+
*.svgz binary
95+
*.tif binary
96+
*.tiff binary
97+
*.wbmp binary
98+
*.webp binary
99+
100+
## AUDIO
101+
*.kar binary
102+
*.m4a binary
103+
*.mid binary
104+
*.midi binary
105+
*.mp3 binary
106+
*.ogg binary
107+
*.ra binary
108+
109+
## VIDEO
110+
*.3gpp binary
111+
*.3gp binary
112+
*.as binary
113+
*.asf binary
114+
*.asx binary
115+
*.fla binary
116+
*.flv binary
117+
*.m4v binary
118+
*.mng binary
119+
*.mov binary
120+
*.mp4 binary
121+
*.mpeg binary
122+
*.mpg binary
123+
*.ogv binary
124+
*.swc binary
125+
*.swf binary
126+
*.webm binary
127+
128+
## ARCHIVES
129+
*.7z binary
130+
*.gz binary
131+
*.jar binary
132+
*.rar binary
133+
*.tar binary
134+
*.zip binary
135+
136+
## FONTS
137+
*.ttf binary
138+
*.eot binary
139+
*.otf binary
140+
*.woff binary
141+
*.woff2 binary
142+
143+
## EXECUTABLES
144+
*.exe binary
145+
*.pyc binary

.github/FUNDING.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
github: [ptkdev]
2+
patreon: ptkdev
3+
ko_fi: ptkdev
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
name: 🐛 Bug report
3+
about: Create a report to help us improve
4+
---
5+
6+
<!-- Please search existing issues to avoid creating duplicates, remember before the title text add tag: [Bug report] -->
7+
8+
### Versions
9+
10+
<!-- Replace or update the values below with your own: -->
11+
12+
- **WebComponent Version:** v1.0.0
13+
- **Node Version:** v13.0.0
14+
- **Operating System:** Windows 10
15+
- **Browser:** Google Chrome v80
16+
17+
### Expected Behavior
18+
19+
<!-- Please describe below this line the program's expected behavior. -->
20+
21+
### Actual Behavior
22+
23+
<!-- Please describe below this line the program's actual behavior. Please include any stack traces
24+
or log output in the back ticks below. -->
25+
26+
### Steps to Reproduce
27+
28+
<!-- Please describe below this line the steps for reproduce this issue, are numbered below. Include as
29+
much detail as possible. -->
30+
31+
1. ...
32+
2. ...
33+
3. ...
34+
35+
### Screenshots (Optional)
36+
37+
<!-- If the error is graphical in nature it is helpful to provide a screenshot below this line. -->
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: 💫 Feature request
3+
about: Suggest an idea for this project
4+
---
5+
6+
<!-- Please search existing issues to avoid creating duplicates, remember before the title text add tag: [Feature request] -->
7+
8+
### Feature description
9+
10+
<!-- Describe below this line the feature you'd like -->
11+
12+
### Feature motivation
13+
14+
<!-- Why do you want this? Write motivation below this line -->

.github/ISSUE_TEMPLATE/question.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
name: 🗨 Question
3+
about: Ask a question
4+
---
5+
6+
<!-- Please search existing issues to avoid creating duplicates, remember before the title text add tag: [Q] -->
7+
8+
### Question
9+
10+
<!-- Describe below this line the question -->
92.7 KB
Loading

0 commit comments

Comments
 (0)