-
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.
- Loading branch information
1 parent
08b6b60
commit 7708dcf
Showing
22 changed files
with
3,440 additions
and
1,403 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,11 @@ | ||
## 변경 사항 | ||
|
||
- 변경사항을 디테일 하게 설명 하거나 히스토리를 상세하게 남겨 주세요. | ||
|
||
## Notes | ||
|
||
- 이후 작업자에게 필요한 필수 전달사항이나 참고 문서가 있는 경우 작성합니다. 없다면 삭제해 주세요. | ||
|
||
## 리뷰 요구사항 | ||
|
||
- 특별히 봐주었으면 하는 부분이 있을 때 작성합니다. 없다면 삭제해 주세요. |
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 @@ | ||
name: PR merge Reminder | ||
on: | ||
pull_request: | ||
branches: [main, master, "dev"] # dev 브랜치 추가 | ||
types: [opened, reopened] | ||
|
||
jobs: | ||
pr-on: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Open main(master) branch | ||
if: ${{ github.base_ref == 'main' }} | ||
uses: peter-evans/create-or-update-comment@v3 | ||
with: | ||
issue-number: ${{ github.event.pull_request.number }} | ||
body: | | ||
master(main) 브랜치에는 `Merge commit`을 해야합니다! | ||
- name: Open dev branch | ||
if: ${{ github.base_ref == 'dev' }} | ||
uses: peter-evans/create-or-update-comment@v3 | ||
with: | ||
issue-number: ${{ github.event.pull_request.number }} | ||
body: | | ||
dev 브랜치에는 `Squash and Merge` 해야합니다! |
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,89 @@ | ||
{ | ||
"주석": { | ||
"prefix": "wntjr", | ||
"body": ["/**", " * ${1:description}", " */"], | ||
"description": "description", | ||
}, | ||
"짧은 주석": { | ||
"prefix": "wkfqwntjr", | ||
"body": ["/** ${1:description} */"], | ||
"description": "description", | ||
}, | ||
"긴 주석": { | ||
"prefix": "rlswntjr", | ||
"body": [ | ||
"/** ------------------------------------------------------------------------------", | ||
" * ", | ||
" * ${1:description}", | ||
" * ", | ||
" ------------------------------------------------------------------------------ */", | ||
], | ||
"description": "description", | ||
}, | ||
"rafce kebab case component template": { | ||
"prefix": "rrr", | ||
"body": [ | ||
"interface ${1:${TM_FILENAME_BASE/^([a-z])|-(\\w)/${1:/upcase}${2:/upcase}/g}}Props {", | ||
" ${2:props}", | ||
"}", | ||
"", | ||
"const ${1:first} = (props: ${1:first}Props) => {", | ||
" const {} = props", | ||
" return <div>${1:first}</div>", | ||
"}", | ||
"", | ||
"export default ${1:first}", | ||
"", | ||
], | ||
"description": "rafce sense template", | ||
}, | ||
"ttt": { | ||
"prefix": "ttt", | ||
"body": [ | ||
"const ${1:${TM_FILENAME_BASE/^([a-z])|-(\\w)/${1:/upcase}${2:/upcase}/g}} = () => {", | ||
" return <div>${1:first}</div>", | ||
"}", | ||
"", | ||
"export default ${1:first}", | ||
], | ||
"description": "ttt", | ||
}, | ||
"clo": { | ||
"prefix": "clo", | ||
"body": ["console.log(`${1:data}`, ${1:data})"], | ||
"description": "clo", | ||
}, | ||
|
||
"use client rrr": { | ||
"prefix": "crrr", | ||
"body": [ | ||
"\"use client\"", | ||
"", | ||
"interface ${1:${TM_FILENAME_BASE/^([a-z])|-(\\w)/${1:/upcase}${2:/upcase}/g}}Props {", | ||
" ${2:props}", | ||
"}", | ||
"", | ||
"const ${1:first} = (props: ${1:first}Props) => {", | ||
" const {} = props", | ||
" return <div>${1:first}</div>", | ||
"}", | ||
"", | ||
"export default ${1:first}", | ||
"", | ||
], | ||
"description": "use client와 props를 가진 snippet", | ||
}, | ||
"use client ttt": { | ||
"prefix": "cttt", | ||
"body": [ | ||
"\"use client\"", | ||
"", | ||
"const ${1:${TM_FILENAME_BASE/^([a-z])|-(\\w)/${1:/upcase}${2:/upcase}/g}} = () => {", | ||
" return <div>${1:first}</div>", | ||
"}", | ||
"", | ||
"export default ${1:first}", | ||
], | ||
"description": "use clint ttt", | ||
}, | ||
} |
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
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,5 @@ | ||
declare module "*.svg" { | ||
import React from "react" | ||
const svg: React.FC<React.SVGProps<SVGSVGElement>> | ||
export default svg | ||
} |
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,7 +1,14 @@ | ||
import type { NextConfig } from "next" | ||
|
||
const nextConfig: NextConfig = { | ||
/* config options here */ | ||
webpack: config => { | ||
config.module.rules.push({ | ||
test: /\.svg$/, | ||
use: ["@svgr/webpack"], | ||
}) | ||
|
||
return config | ||
}, | ||
} | ||
|
||
export default nextConfig |
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
Oops, something went wrong.