-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from GDG-on-Campus-KNU/develop
Release 1.0.0
- Loading branch information
Showing
152 changed files
with
8,949 additions
and
555 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
name: "\bBUG REPORT" | ||
about: 버그 발생 보고서 | ||
title: "[BUG] " | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
## **📝 설명** | ||
|
||
|
||
## **❎ 재현 단계** | ||
|
||
1. | ||
2. | ||
3. | ||
4. | ||
|
||
## **✅ 예상 결과** | ||
정상 작동시 나타나야할 결과를 적어주세요 | ||
|
||
## **🔗 첨부파일** | ||
스크린샷과 같은 첨부파일이 있다면 첨부 해 주세요 | ||
|
||
## **🏔️ 실행환경** | ||
|
||
(특정 브라우저 또는 기기에서 발생시 선택적으로 작성해주세요) | ||
### **데스크톱 : ** | ||
- OS: [e.g. iOS] ( | ||
- Browser [e.g. chrome, safari] | ||
- Version [e.g. 22] | ||
|
||
### **모바일 : ** | ||
- Device: [e.g. iPhone6] | ||
- OS: [e.g. iOS8.1] | ||
- Browser [e.g. stock browser, safari] | ||
- Version [e.g. 22] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
name: FEATURE REQUEST | ||
about: 기능 추가 보고서 | ||
title: "[FEATURE] " | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
## **✅ 추가/누락된 기능** | ||
|
||
## **📷 스크린샷** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: Deply Client Page to AWS | ||
|
||
on: | ||
pull_request: | ||
branches: ["release"] | ||
types: ["closed"] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install NodeJS | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 22 | ||
|
||
- name: Install Yarn | ||
run: npm i -g yarn | ||
|
||
- name: Install Dependencies | ||
run: yarn client install | ||
|
||
- name: Build | ||
run: yarn client build:prerender | ||
|
||
- name: Configure AWS Credentials | ||
uses: aws-actions/configure-aws-credentials@v4 | ||
with: | ||
aws-access-key-id: ${{secrets.AWS_ACCESS_KEY_ID}} | ||
aws-secret-access-key: ${{secrets.AWS_SECRET_ACCESS_KEY}} | ||
aws-region: ap-northeast-2 | ||
|
||
- name: Upload to S3 Bucket | ||
env: | ||
BUCKET_NAME: ${{secrets.CLIENT_BUCKET_NAME}} | ||
run: aws s3 sync packages/client/dist s3://$BUCKET_NAME --delete | ||
|
||
- name: Invalidate Cloudfront Cache | ||
run: aws cloudfront create-invalidation --distribution-id ${{secrets.CLIENT_CLOUDFRONT_ID}} --paths /* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
module.exports = { | ||
arrowParens: "always", | ||
bracketSpacing: true, | ||
|
||
jsxBracketSameLine: false, | ||
jsxSingleQuote: false, | ||
singleQuote: false, | ||
|
||
quoteProps: "as-needed", | ||
|
||
printWidth: 120, | ||
tabWidth: 4, | ||
|
||
plugins: ["@trivago/prettier-plugin-sort-imports"], | ||
importOrder: [ | ||
"^react", | ||
"<THIRD_PARTY_MODULES>", | ||
|
||
"^(@/common)(.*)$", | ||
"^(@/components)(.*)$", | ||
"^(@/pages)(.*)$", | ||
|
||
"^(@/hooks)(.*)$", | ||
"^(@/services)(.*)$", | ||
|
||
"^(@/assets)(.*)$", | ||
"^(@/constants)(.*)$", | ||
"^(@/config)(.*)$", | ||
"^(@/utils)(.*)$", | ||
"^(@/styles)(.*)$", | ||
|
||
"^(.*)/(.*)$", | ||
], | ||
importOrderSeparation: true, | ||
importOrderSortSpecifiers: false, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.formatOnSave": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
vite.config.ts | ||
jest.config.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
module.exports = { | ||
...require("../../.prettierrc.cjs"), | ||
plugins: ["@trivago/prettier-plugin-sort-imports"], | ||
importOrder: [ | ||
"^react", | ||
"<THIRD_PARTY_MODULES>", | ||
|
||
"^(@/common)(.*)$", | ||
"^(@/components)(.*)$", | ||
"^(@/pages)(.*)$", | ||
|
||
"^(@/hooks)(.*)$", | ||
"^(@/services)(.*)$", | ||
|
||
"^(@/assets)(.*)$", | ||
"^(@/constants)(.*)$", | ||
"^(@/config)(.*)$", | ||
"^(@/utils)(.*)$", | ||
"^(@/styles)(.*)$", | ||
|
||
"^(.*)/(.*)$", | ||
], | ||
importOrderSeparation: true, | ||
importOrderSortSpecifiers: false, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"$schema": "https://ui.shadcn.com/schema.json", | ||
"style": "new-york", | ||
"rsc": false, | ||
"tsx": true, | ||
"tailwind": { | ||
"config": "tailwind.config.js", | ||
"css": "src/index.css", | ||
"baseColor": "neutral", | ||
"cssVariables": true, | ||
"prefix": "" | ||
}, | ||
"aliases": { | ||
"components": "@/components", | ||
"utils": "@/lib/utils", | ||
"ui": "@/components/ui", | ||
"lib": "@/lib", | ||
"hooks": "@/hooks" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,72 @@ | ||
import js from '@eslint/js' | ||
import globals from 'globals' | ||
import reactHooks from 'eslint-plugin-react-hooks' | ||
import reactRefresh from 'eslint-plugin-react-refresh' | ||
import tseslint from 'typescript-eslint' | ||
import importPlugin from "eslint-plugin-import"; | ||
import a11y from "eslint-plugin-jsx-a11y"; | ||
import prettier from "eslint-plugin-prettier"; | ||
import reactHooks from "eslint-plugin-react-hooks"; | ||
import reactRefresh from "eslint-plugin-react-refresh"; | ||
import globals from "globals"; | ||
import tseslint from "typescript-eslint"; | ||
|
||
import js from "@eslint/js"; | ||
|
||
export default tseslint.config( | ||
{ ignores: ['dist'] }, | ||
{ | ||
extends: [js.configs.recommended, ...tseslint.configs.recommended], | ||
files: ['**/*.{ts,tsx}'], | ||
languageOptions: { | ||
ecmaVersion: 2020, | ||
globals: globals.browser, | ||
}, | ||
plugins: { | ||
'react-hooks': reactHooks, | ||
'react-refresh': reactRefresh, | ||
}, | ||
rules: { | ||
...reactHooks.configs.recommended.rules, | ||
'react-refresh/only-export-components': [ | ||
'warn', | ||
{ allowConstantExport: true }, | ||
], | ||
{ ignores: ["dist"] }, | ||
{ | ||
extends: [ | ||
js.configs.recommended, | ||
"plugin:prettier/recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:react/recommended", | ||
"plugin:react-hooks/recommended", | ||
"plugin:jsx-a11y/recommended", | ||
"plugin:import/errors", | ||
"plugin:import/warnings", | ||
"plugin:import/typescript", | ||
...tseslint.configs.recommended, | ||
], | ||
files: ["**/*.{ts,tsx}"], | ||
languageOptions: { | ||
ecmaVersion: 2021, | ||
globals: globals.browser, | ||
sourceType: "module", | ||
project: "./tsconfig.json", | ||
createDefaultProgram: true, | ||
}, | ||
plugins: { | ||
"@typescript-eslint": tseslint, | ||
"react-hooks": reactHooks, | ||
"react-refresh": reactRefresh, | ||
prettier: prettier, | ||
"jsx-a11y": a11y, | ||
import: importPlugin, | ||
react: "eslint-plugin-react", | ||
}, | ||
settings: { | ||
"import/resolver": { | ||
typescript: { | ||
alwaysTryTypes: true, | ||
}, | ||
}, | ||
react: { | ||
version: "detect", | ||
}, | ||
}, | ||
rules: { | ||
"no-param-reassign": ["error", { props: false }], | ||
"@typescript-eslint/no-non-null-assertion": "off", | ||
"@typescript-eslint/no-explicit-any": "warn", | ||
"@typescript-eslint/no-misused-promises": "off", | ||
"@typescript-eslint/no-floating-promises": "off", | ||
"react/prop-types": "off", | ||
"prettier/prettier": [ | ||
"error", | ||
{ | ||
endOfLine: "auto", | ||
}, | ||
], | ||
"react/react-in-jsx-scope": "off", | ||
"import/no-unresolved": "off", | ||
...reactHooks.configs.recommended.rules, | ||
"react-refresh/only-export-components": ["warn", { allowConstantExport: true }], | ||
}, | ||
}, | ||
}, | ||
) | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export default { | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {}, | ||
}, | ||
}; |
Oops, something went wrong.