Skip to content

Commit e0b7167

Browse files
committed
✨ feat: initial template
0 parents  commit e0b7167

31 files changed

+4053
-0
lines changed

.commitlintrc.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = { extends: ["gitmoji"] };

.editorconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[*]
2+
indent_size = 2
3+
indent_style = space
4+
max_line_length = 120

.eslintrc.cjs

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
module.exports = {
2+
root: true,
3+
env: { browser: true, es2020: true },
4+
extends: [
5+
'eslint:recommended',
6+
'plugin:@typescript-eslint/recommended',
7+
'plugin:react-hooks/recommended',
8+
'plugin:react/recommended',
9+
'plugin:prettier/recommended',
10+
],
11+
settings: {
12+
react: {
13+
version: "detect"
14+
}
15+
},
16+
ignorePatterns: ['dist', '.eslintrc.cjs'],
17+
parser: '@typescript-eslint/parser',
18+
plugins: ['react-refresh', 'react', 'react-hooks', '@typescript-eslint'],
19+
rules: {
20+
'@typescript-eslint/interface-name-prefix': 'off',
21+
'@typescript-eslint/explicit-function-return-type': 'off',
22+
'@typescript-eslint/explicit-module-boundary-types': 'off',
23+
'@typescript-eslint/no-explicit-any': 'off',
24+
'react-refresh/only-export-components': ['warn', { allowConstantExport: true }],
25+
'no-unused-vars': 'error',
26+
'react/react-in-jsx-scope': 'off',
27+
'prettier/prettier': [
28+
'error',
29+
{
30+
arrowParens: 'always',
31+
semi: true,
32+
trailingComma: 'all',
33+
tabWidth: 2,
34+
endOfLine: 'auto',
35+
useTabs: false,
36+
singleQuote: false,
37+
printWidth: 120,
38+
jsxSingleQuote: false,
39+
proseWrap: "always",
40+
},
41+
],
42+
},
43+
}
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
name: 🐛 Bug report
2+
description: Something isn't working as expected? Here is the right place to report.
3+
labels: ["bug"]
4+
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: Please fill out each section below. This info allows maintainers to diagnose (and fix!) your issue as quickly as possible. Before opening a new issue, please search existing issues [here](https://github.com/saadpasta/developerFolio/issues).
9+
10+
- type: textarea
11+
id: description
12+
attributes:
13+
label: Describe the bug
14+
description: A clear and concise description of what the bug is
15+
validations:
16+
required: true
17+
18+
- type: textarea
19+
id: reproduce
20+
attributes:
21+
label: Steps to reproduce
22+
description: Steps to reproduce the behavior
23+
value: |
24+
1. Go to '...'
25+
2. Click on '....'
26+
3. Scroll down to '....'
27+
4. See error
28+
validations:
29+
required: true
30+
31+
- type: textarea
32+
id: expected
33+
attributes:
34+
label: Expected behavior
35+
description: A clear and concise description of what you expected to happen.
36+
validations:
37+
required: true
38+
39+
- type: input
40+
attributes:
41+
label: Is this responsiveness Issue
42+
description: Write YES/NO in the box below
43+
validations:
44+
required: true
45+
46+
- type: textarea
47+
id: screenshots
48+
attributes:
49+
label: Screenshots
50+
description: Please add screenshots if applicable
51+
validations:
52+
required: false
53+
54+
- type: textarea
55+
attributes:
56+
label: Desktop
57+
description: Please complete the following information
58+
value: |
59+
- OS: [e.g. iOS]
60+
- Browser: [e.g. chrome, safari]
61+
- Version: [e.g. 22]
62+
validations:
63+
required: false
64+
65+
- type: textarea
66+
attributes:
67+
label: Smartphones
68+
description: Please complete the following information
69+
value: |
70+
- Device: [e.g. iPhone6]
71+
- OS: [e.g. iOS8.1]
72+
- Browser [e.g. stock browser, safari]
73+
- Version [e.g. 22]
74+
validations:
75+
required: false
76+
77+
- type: textarea
78+
attributes:
79+
label: Additional context
80+
description: Add any other context about the problem here.
81+
validations:
82+
required: false

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: 💡 Feature request
2+
description: Got a suggestion for a new idea/feature ?
3+
labels: ["enhancement"]
4+
body:
5+
- type: textarea
6+
id: summary
7+
attributes:
8+
label: Summary
9+
description: A brief explanation of the feature.
10+
validations:
11+
required: true
12+
13+
- type: textarea
14+
id: whatsnew
15+
attributes:
16+
label: What's new?
17+
description: If the proposal involves a new component or a redesign of a previous component.
18+
validations:
19+
required: true
20+
21+
- type: textarea
22+
id: motivation
23+
attributes:
24+
label: Motivation
25+
description: Why are we doing this? What use cases does it support? What is the expected outcome?
26+
validations:
27+
required: true
28+
29+
- type: textarea
30+
id: extrainfo
31+
attributes:
32+
label: Additional context
33+
description: Add any other context or screenshots about the feature request here.
34+
validations:
35+
required: false

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Pull Request Template
2+
3+
The code review checklist below is used for all pull requests.
4+
5+
1. Review the list before submitting your pull request.
6+
2. Leave the list intact for the code reviewer's use.
7+
8+
## Description
9+
10+
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
11+
12+
Fixes # (issue)
13+
14+
## Type of change
15+
16+
<!-- Please delete options that are not relevant.-->
17+
18+
- [ ] Bug fix (non-breaking change which fixes an issue)
19+
- [ ] New feature (non-breaking change which adds functionality)
20+
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
21+
- [ ] This change requires a documentation update
22+
23+
## Checklist
24+
25+
- [ ] Latest code from master has been merged into the pull request branch
26+
- [ ] Code is camelCased
27+
- [ ] No linting issues
28+
- [ ] Automated tests exist and pass
29+
30+
## Thanks!
31+
32+
:heart:

.github/workflows/release-tag.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# git tag v0.0.108 && git push origin --tags
2+
3+
name: Create Release
4+
5+
on:
6+
push:
7+
# Sequence of patterns matched against refs/tags
8+
tags:
9+
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
10+
11+
jobs:
12+
build:
13+
name: Create Release
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v2
18+
- name: Create Release
19+
id: create_release
20+
uses: actions/create-release@latest
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
23+
with:
24+
tag_name: ${{ github.ref }}
25+
release_name: Release ${{ github.ref }}
26+
body: |
27+
Changes in this Release
28+
draft: false
29+
prerelease: false

.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?

.husky/commit-msg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
npx --no-install commitlint --edit "$1"

0 commit comments

Comments
 (0)