Skip to content

Commit 1dfb136

Browse files
authored
Merge pull request #26 from themeselection/dev
2 parents 751e533 + 1dd5d5b commit 1dfb136

File tree

125 files changed

+13433
-40196
lines changed

Some content is hidden

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

125 files changed

+13433
-40196
lines changed

.browserslistrc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
defaults,
2-
not IE 11,
3-
maintained node versions
1+
>= 0.5%
2+
last 4 major versions

.editorconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Editor configuration, see http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
indent_style = space
7+
indent_size = 2
8+
end_of_line = lf
9+
insert_final_newline = true
10+
trim_trailing_whitespace = true
11+
12+
[*.md]
13+
max_line_length = off
14+
trim_trailing_whitespace = false

.gitattributes

Lines changed: 209 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,209 @@
1+
* text eol=lf
2+
3+
## GITATTRIBUTES FOR WEB PROJECTS
4+
#
5+
# These settings are for any web project.
6+
#
7+
# Details per file setting:
8+
# text These files should be normalized (i.e. convert CRLF to LF).
9+
# binary These files are binary and should be left untouched.
10+
#
11+
# Note that binary is a macro for -text -diff.
12+
######################################################################
13+
14+
# Auto detect
15+
## Handle line endings automatically for files detected as
16+
## text and leave all files detected as binary untouched.
17+
## This will handle all files NOT defined below.
18+
* text=auto
19+
20+
# Source code
21+
*.bash text eol=lf
22+
*.bat text eol=crlf
23+
*.cmd text eol=crlf
24+
*.coffee text
25+
*.css text diff=css
26+
*.htm text diff=html
27+
*.html text diff=html
28+
*.inc text
29+
*.ini text
30+
*.js text
31+
*.json text
32+
*.jsx text
33+
*.less text
34+
*.ls text
35+
*.map text -diff
36+
*.od text
37+
*.onlydata text
38+
*.php text diff=php
39+
*.pl text
40+
*.ps1 text eol=crlf
41+
*.py text diff=python
42+
*.rb text diff=ruby
43+
*.sass text
44+
*.scm text
45+
*.scss text diff=css
46+
*.sh text eol=lf
47+
.husky/* text eol=lf
48+
*.sql text
49+
*.styl text
50+
*.tag text
51+
*.ts text
52+
*.tsx text
53+
*.xml text
54+
*.xhtml text diff=html
55+
56+
# Docker
57+
Dockerfile text
58+
59+
# Documentation
60+
*.ipynb text eol=lf
61+
*.markdown text diff=markdown
62+
*.md text diff=markdown
63+
*.mdwn text diff=markdown
64+
*.mdown text diff=markdown
65+
*.mkd text diff=markdown
66+
*.mkdn text diff=markdown
67+
*.mdtxt text
68+
*.mdtext text
69+
*.txt text
70+
AUTHORS text
71+
CHANGELOG text
72+
CHANGES text
73+
CONTRIBUTING text
74+
COPYING text
75+
copyright text
76+
*COPYRIGHT* text
77+
INSTALL text
78+
license text
79+
LICENSE text
80+
NEWS text
81+
readme text
82+
*README* text
83+
TODO text
84+
85+
# Templates
86+
*.dot text
87+
*.ejs text
88+
*.erb text
89+
*.haml text
90+
*.handlebars text
91+
*.hbs text
92+
*.hbt text
93+
*.jade text
94+
*.latte text
95+
*.mustache text
96+
*.njk text
97+
*.phtml text
98+
*.svelte text
99+
*.tmpl text
100+
*.tpl text
101+
*.twig text
102+
*.vue text
103+
104+
# Configs
105+
*.cnf text
106+
*.conf text
107+
*.config text
108+
.editorconfig text
109+
.env text
110+
.gitattributes text
111+
.gitconfig text
112+
.htaccess text
113+
*.lock text -diff
114+
package.json text eol=lf
115+
package-lock.json text eol=lf -diff
116+
pnpm-lock.yaml text eol=lf -diff
117+
.prettierrc text
118+
yarn.lock text -diff
119+
*.toml text
120+
*.yaml text
121+
*.yml text
122+
browserslist text
123+
Makefile text
124+
makefile text
125+
126+
# Heroku
127+
Procfile text
128+
129+
# Graphics
130+
*.ai binary
131+
*.bmp binary
132+
*.eps binary
133+
*.gif binary
134+
*.gifv binary
135+
*.ico binary
136+
*.jng binary
137+
*.jp2 binary
138+
*.jpg binary
139+
*.jpeg binary
140+
*.jpx binary
141+
*.jxr binary
142+
*.pdf binary
143+
*.png binary
144+
*.psb binary
145+
*.psd binary
146+
# SVG treated as an asset (binary) by default.
147+
# *.svg text
148+
# If you want to treat it as binary,
149+
# use the following line instead.
150+
*.svg binary
151+
*.svgz binary
152+
*.tif binary
153+
*.tiff binary
154+
*.wbmp binary
155+
*.webp binary
156+
157+
# Audio
158+
*.kar binary
159+
*.m4a binary
160+
*.mid binary
161+
*.midi binary
162+
*.mp3 binary
163+
*.ogg binary
164+
*.ra binary
165+
166+
# Video
167+
*.3gpp binary
168+
*.3gp binary
169+
*.as binary
170+
*.asf binary
171+
*.asx binary
172+
*.avi binary
173+
*.fla binary
174+
*.flv binary
175+
*.m4v binary
176+
*.mng binary
177+
*.mov binary
178+
*.mp4 binary
179+
*.mpeg binary
180+
*.mpg binary
181+
*.ogv binary
182+
*.swc binary
183+
*.swf binary
184+
*.webm binary
185+
186+
# Archives
187+
*.7z binary
188+
*.gz binary
189+
*.jar binary
190+
*.rar binary
191+
*.tar binary
192+
*.zip binary
193+
194+
# Fonts
195+
*.ttf binary
196+
*.eot binary
197+
*.otf binary
198+
*.woff binary
199+
*.woff2 binary
200+
201+
# Executables
202+
*.exe binary
203+
*.pyc binary
204+
205+
# RC files (like .babelrc or .eslintrc)
206+
*.*rc text
207+
208+
# Ignore files (like .npmignore or .gitignore)
209+
*.*ignore text
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: 'Deploy - Changelog'
2+
3+
on: workflow_dispatch
4+
5+
jobs:
6+
deployment:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
11+
- name: Convert changelog.md to changelog.html
12+
uses: jd-solanki/[email protected]
13+
with:
14+
files: '[["CHANGELOG.md", "changelog.html"]]'
15+
theme: 'light'
16+
17+
- name: Upload new changelog
18+
uses: appleboy/scp-action@master
19+
with:
20+
host: ${{ secrets.HOST }}
21+
username: ${{ secrets.USERNAME }}
22+
port: ${{ secrets.PORT }}
23+
key: ${{ secrets.SSHKEY }}
24+
source: changelog.html
25+
target: ${{ secrets.PROD_DIR }}

.github/workflows/handle-issue.yml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: 'Handle issue'
2+
on:
3+
issues:
4+
types: [opened,reopened]
5+
6+
# ℹ️ Required by gh cli
7+
env:
8+
GH_TOKEN: ${{ github.token }}
9+
10+
jobs:
11+
handle_new_issue:
12+
if: github.event.action == 'opened'
13+
runs-on: ubuntu-latest
14+
name: Handle new issue
15+
steps:
16+
- name: Greet & Apply label
17+
uses: themeselection/[email protected]
18+
with:
19+
message: |
20+
### Hi [@${{ github.actor }}](https://github.com/${{ github.actor }}) <img src="https://user-images.githubusercontent.com/47495003/171637050-b790338b-c8fd-4807-af43-19c6fd6713ed.gif" height="25px" width="25px">
21+
Thanks a lot for purchasing our theme and getting in touch with us.
22+
23+
Your support has been raised, our response time could be 1 - 2 business days.
24+
In the meantime, feel free to check out related issues in the repository for more help.
25+
26+
We really appreciate your patience.
27+
raise-support-using-form-msg: |
28+
Thanks for creating an issue ☺️
29+
30+
It seems our [raise support](https://tools.themeselection.com/github/raise-support) form was skipped while creating this issue.
31+
Please consider raising support via our support form only which will create issues using essential information we need to resolve your query quickly.
32+
33+
This will help in growing an excellent community, where:
34+
35+
- Other people can get it resolved if they have the same query
36+
- We can easily understand your query
37+
- Community at a later stage can also provide you solutions/suggestions
38+
39+
Closing this issue.
40+
Regards.
41+
42+
- name: Find duplicates
43+
uses: wow-actions/[email protected]
44+
with:
45+
GITHUB_TOKEN: ${{ github.token }}
46+
label: duplicate
47+
comment: >
48+
Potential duplicates: {{#issues}}
49+
- #{{ number }} _({{ accuracy }}% Match)_
50+
{{/issues}}
51+
52+
remove_awaiting_reply_label:
53+
if: github.event.action == 'reopened'
54+
runs-on: ubuntu-latest
55+
name: Remove Awaiting Reply Label
56+
steps:
57+
- run: gh issue edit --remove-label awaiting-reply --repo ${{ github.repository }}

.github/workflows/handle-new-issue-comment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
name: Handle new issue comment
1010
steps:
1111
- name: Toggle awaiting-reply label
12-
uses: jd-0001/gh-action-toggle-awaiting-reply-label@v2.0.0
12+
uses: jd-solanki/gh-action-toggle-awaiting-reply-label@v2.1.1
1313
with:
1414
label: awaiting-reply
1515
only-if-label: support

.github/workflows/issue-staler.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99
steps:
1010
- uses: actions/stale@v4
1111
with:
12-
stale-issue-message: 'This issue has been automatically marked as stale because its has not had recent activity. It will be closed if no further activity occurs. Thank you for raising the concern.'
13-
close-issue-message: 'This issue has been automatically marked as closed because it has not had recent activity.'
12+
stale-issue-message: 'This issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Thank you for raising the concern.'
13+
close-issue-message: 'This issue has been automatically marked as closed because it has no recent activity.'
1414
stale-issue-label: 'stale'
1515
only-labels: 'awaiting-reply'
1616
exempt-issue-labels: 'triage'
1717
days-before-stale: 7
18-
days-before-close: 7
18+
days-before-close: 7

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
legacy-peer-deps = true

.prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ dist
22
node_modules
33
build
44
assets/vendor
5-
html
5+
html

.prettierrc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"arrowParens": "avoid",
33
"bracketSpacing": true,
4+
"bracketSameLine": true,
45
"htmlWhitespaceSensitivity": "css",
56
"insertPragma": false,
67
"jsxSingleQuote": true,
@@ -13,6 +14,8 @@
1314
"tabWidth": 2,
1415
"trailingComma": "none",
1516
"useTabs": false,
17+
"endOfLine": "lf",
18+
"embeddedLanguageFormatting": "auto",
1619
"overrides": [
1720
{
1821
"files": [

0 commit comments

Comments
 (0)