Skip to content

Commit e41770b

Browse files
authored
Initial commit
0 parents  commit e41770b

File tree

229 files changed

+14802
-0
lines changed

Some content is hidden

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

229 files changed

+14802
-0
lines changed

.eslintignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
dist
2+
node_modules
3+
tailwind.config.ts

.eslintrc

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es6": true,
5+
"node": true,
6+
},
7+
"extends": [
8+
"eslint:recommended",
9+
"plugin:react/recommended",
10+
"plugin:@typescript-eslint/recommended",
11+
"plugin:react-hooks/recommended",
12+
"plugin:import/recommended",
13+
"plugin:jsx-a11y/recommended",
14+
"plugin:tailwindcss/recommended",
15+
"prettier",
16+
],
17+
"parser": "@typescript-eslint/parser",
18+
"parserOptions": {
19+
"ecmaFeatures": {
20+
"jsx": true,
21+
},
22+
"ecmaVersion": "latest",
23+
"sourceType": "module",
24+
},
25+
"plugins": ["react", "@typescript-eslint", "react-hooks", "import", "jsx-a11y", "prettier"],
26+
"settings": {
27+
"react": {
28+
"version": "detect",
29+
},
30+
},
31+
"rules": {
32+
"react/react-in-jsx-scope": "off",
33+
"import/no-unresolved": "off",
34+
"@typescript-eslint/consistent-type-imports": "error",
35+
},
36+
"globals": {
37+
"chrome": "readonly",
38+
},
39+
"ignorePatterns": ["watch.js", "dist/**"],
40+
}

.example.env

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
VITE_EXAMPLE=example

.github/CODEOWNERS

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @Jonghakseo

.github/FUNDING.yml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: Jonghakseo

.github/ISSUE_TEMPLATE/bug_report.md

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: bug
6+
assignees: Jonghakseo
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Desktop (please complete the following information):**
27+
- OS: [e.g. Mac, Window, Linux]
28+
- Browser [e.g. chrome, firefox]
29+
- Node Version [e.g. 18.19.1]
30+
31+
**Additional context**
32+
Add any other context about the problem here.
+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: enhancement
6+
assignees: Jonghakseo
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

.github/auto_assign.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Set to true to add reviewers to pull requests
2+
addReviewers: true
3+
4+
# Set to true to add assignees to pull requests
5+
addAssignees: author
6+
7+
# A list of reviewers to be added to pull requests (GitHub user name)
8+
reviewers:
9+
- Jonghakseo
10+
11+
# A number of reviewers added to the pull request
12+
# Set 0 to add all the reviewers (default: 0)
13+
numberOfReviewers: 0
14+
15+
# A list of assignees, overrides reviewers if set
16+
# assignees:
17+
# - assigneeA
18+
19+
# A number of assignees to add to the pull request
20+
# Set to 0 to add all of the assignees.
21+
# Uses numberOfReviewers if unset.
22+
# numberOfAssignees: 2
23+
24+
# A list of keywords to be skipped the process that add reviewers if pull requests include it
25+
# skipKeywords:
26+
# - wip
27+
28+
filterLabels:
29+
exclude:
30+
- dependencies

.github/dependabot.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "npm" # See documentation for possible values
9+
directory: "/" # Location of package manifests
10+
schedule:
11+
interval: "weekly"

.github/pull_request_template.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<!-- Describe what this PR is for in the title. -->
2+
3+
> `*` Please fill in the required items.
4+
5+
## Priority*
6+
7+
- [ ] High: This PR needs to be merged first for other tasks.
8+
- [x] Middle: This PR should be merged quickly to prevent conflicts due to common changes. (default)
9+
- [ ] Low: This PR does not affect other tasks, so it can be merged later.
10+
11+
## Purpose of the PR*
12+
<!-- Describe the purpose of the PR. -->
13+
14+
## Changes*
15+
16+
17+
## How to check the feature
18+
<!-- Describe how to check the feature in detail -->
19+
<!-- If there are any changes to the screen, please attach a screenshot for easy identification. -->
20+
21+
22+
## Reference
23+
<!-- Any helpful information for understanding the PR. -->

.github/stale.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Number of days of inactivity before an Issue or Pull Request becomes stale
2+
daysUntilStale: 90
3+
# Number of days of inactivity before a stale Issue or Pull Request is closed
4+
daysUntilClose: 30
5+
# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
6+
exemptLabels:
7+
- pinned
8+
- security
9+
# Label to use when marking as stale
10+
staleLabel: stale
11+
# Comment to post when marking as stale. Set to `false` to disable
12+
markComment: >
13+
This issue has been automatically marked as stale because it has not had
14+
recent activity. It will be closed if no further activity occurs. Thank you
15+
for your contributions.
16+
# Comment to post when removing the stale label. Set to `false` to disable
17+
unmarkComment: false
18+
# Comment to post when closing a stale Issue or Pull Request. Set to `false` to disable
19+
closeComment: true
20+
# Limit to only `issues` or `pulls`
21+
only: issues

.github/workflows/auto-assign.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: 'Auto Assign'
2+
on:
3+
pull_request:
4+
types: [opened, ready_for_review]
5+
6+
jobs:
7+
add-reviews:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: kentaro-m/[email protected]
11+
with:
12+
configuration-path: '.github/auto_assign.yml'

.github/workflows/build-zip.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Build And Upload Extension Zip Via Artifact
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
8+
jobs:
9+
build:
10+
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: pnpm/action-setup@v4
16+
- uses: actions/setup-node@v4
17+
with:
18+
node-version-file: '.nvmrc'
19+
cache: pnpm
20+
21+
- run: pnpm install --frozen-lockfile --prefer-offline
22+
23+
- run: pnpm build
24+
25+
- uses: actions/upload-artifact@v4
26+
with:
27+
path: dist/*

.github/workflows/e2e.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Run E2E Tests
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
chrome:
11+
name: E2E tests for Chrome
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: pnpm/action-setup@v4
16+
- uses: actions/setup-node@v4
17+
with:
18+
node-version-file: '.nvmrc'
19+
cache: pnpm
20+
- run: pnpm install --frozen-lockfile --prefer-offline
21+
- run: pnpm e2e
22+
23+
firefox:
24+
name: E2E tests for Firefox
25+
runs-on: ubuntu-latest
26+
steps:
27+
- uses: actions/checkout@v4
28+
- uses: pnpm/action-setup@v4
29+
- uses: actions/setup-node@v4
30+
with:
31+
node-version-file: '.nvmrc'
32+
cache: pnpm
33+
- run: pnpm install --frozen-lockfile --prefer-offline
34+
- run: pnpm e2e:firefox

.github/workflows/greetings.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Greetings
2+
3+
on: [pull_request_target, issues]
4+
5+
jobs:
6+
greeting:
7+
runs-on: ubuntu-latest
8+
permissions:
9+
issues: write
10+
pull-requests: write
11+
steps:
12+
- uses: actions/first-interaction@v1
13+
with:
14+
repo-token: ${{ secrets.GITHUB_TOKEN }}
15+
issue-message: 'Thank you for your contribution. We will check and reply to you as soon as possible.'
16+
pr-message: 'Thank you for your contribution. We will check and reply to you as soon as possible.'

.github/workflows/lint.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Lint Check
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
8+
jobs:
9+
eslint:
10+
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: pnpm/action-setup@v4
16+
- uses: actions/setup-node@v4
17+
with:
18+
node-version-file: '.nvmrc'
19+
cache: pnpm
20+
21+
- run: pnpm install --frozen-lockfile --prefer-offline
22+
23+
- run: pnpm lint

.github/workflows/prettier.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Formating validation
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: [main]
7+
8+
jobs:
9+
prettier:
10+
name: Prettier Check
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout Repository
14+
uses: actions/checkout@v2
15+
16+
- name: Run Prettier
17+
id: prettier-run
18+
uses: rutajdash/[email protected]
19+
with:
20+
config_path: ./.prettierrc
21+
file_pattern: "*.{js,jsx,ts,tsx,json}"
22+
23+
# This step only runs if prettier finds errors causing the previous step to fail
24+
# This steps lists the files where errors were found
25+
- name: Prettier Output
26+
if: ${{ failure() }}
27+
shell: bash
28+
run: |
29+
echo "The following files aren't formatted properly:"
30+
echo "${{steps.prettier-run.outputs.prettier_output}}"

.gitignore

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# dependencies
2+
**/node_modules
3+
4+
# testing
5+
**/coverage
6+
7+
# build
8+
**/dist
9+
**/build
10+
**/dist-zip
11+
12+
# env
13+
**/.env.*
14+
**/.env
15+
16+
# etc
17+
.DS_Store
18+
.idea
19+
**/.turbo
20+
21+
# compiled
22+
chrome-extension/public/manifest.json
23+
**/tailwind-output.css
24+
25+
# vite timestamp (because of bug from lib, remove it after fix will have been realased)
26+
**/vite.config.mts.timestamp-*

.husky/pre-commit

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pnpm dlx lint-staged --allow-empty

.npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
public-hoist-pattern[]=@testing-library/dom

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
18.19.1

.prettierignore

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
dist
2+
node_modules
3+
.gitignore
4+
.github
5+
.eslintignore
6+
.husky
7+
.nvmrc
8+
.prettierignore
9+
LICENSE
10+
*.md
11+
pnpm-lock.yaml

0 commit comments

Comments
 (0)