-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: panda.config.ts 파일의 include 속성을 폴더, 파일 구조 컨벤션에 맞게 수정
- Loading branch information
Showing
21 changed files
with
177 additions
and
31 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 |
---|---|---|
|
@@ -24,7 +24,8 @@ | |
"prettier/prettier": [ | ||
"error", | ||
{ | ||
"endOfLine": "auto" | ||
"endOfLine": "auto", | ||
"semi": 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,38 @@ | ||
enable: | ||
issues: false | ||
prs: true | ||
|
||
labels: | ||
'build': | ||
include: | ||
- '\bbuild\b' | ||
'chore': | ||
include: | ||
- '\bchore\b' | ||
'ci': | ||
include: | ||
- '\bci\b' | ||
'docs': | ||
include: | ||
- '\bdocs\b' | ||
'feat': | ||
include: | ||
- '\bfeat\b' | ||
'fix': | ||
include: | ||
- '\bfix\b' | ||
'refactor': | ||
include: | ||
- '\brefactor\b' | ||
'revert': | ||
include: | ||
- '\brevert\b' | ||
'style': | ||
include: | ||
- '\bstyle\b' | ||
'design': | ||
include: | ||
- '\bdesign\b' | ||
'test': | ||
include: | ||
- '\btest\b' |
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,14 @@ | ||
name: 'Auto Labeling' | ||
on: | ||
pull_request: | ||
types: [opened, synchronize] | ||
|
||
jobs: | ||
labeler: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check Labels | ||
id: labeler | ||
uses: jimschubert/labeler-action@v2 | ||
with: | ||
GITHUB_TOKEN: ${{secrets.ACTIONS_TOKEN}} |
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 @@ | ||
name: 'Review Status Labeling' | ||
on: | ||
pull_request: | ||
types: [opened, edited, reopened, ready_for_review] | ||
pull_request_review: | ||
types: [submitted, edited] | ||
|
||
jobs: | ||
labeler: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Check out the repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Count Approvals | ||
id: count_approvals | ||
uses: actions/github-script@v6 | ||
with: | ||
github-token: ${{ secrets.ACTIONS_TOKEN }} | ||
script: | | ||
const reviewsResponse = await github.rest.pulls.listReviews({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
pull_number: context.issue.number | ||
}); | ||
const approvedReviews = reviewsResponse.data.filter(review => review.state === 'APPROVED'); | ||
return approvedReviews.length; | ||
- name: Get Labels | ||
id: get_labels | ||
uses: actions/github-script@v6 | ||
with: | ||
github-token: ${{ secrets.ACTIONS_TOKEN }} | ||
script: | | ||
const labelsResponse = await github.rest.issues.listLabelsOnIssue({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
issue_number: context.issue.number, | ||
}); | ||
return labelsResponse.data.map(label => label.name); | ||
- name: Apply Labels | ||
uses: actions/github-script@v6 | ||
with: | ||
github-token: ${{ secrets.ACTIONS_TOKEN }} | ||
script: | | ||
const labelNameList = ${{ steps.get_labels.outputs.result }}; | ||
if (${{ steps.count_approvals.outputs.result }} === 0) { | ||
if (labelNameList.includes('Approved 🆗') === true) { | ||
await github.rest.issues.removeLabel({ | ||
issue_number: context.issue.number, | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
name: 'Approved 🆗' | ||
}); | ||
} | ||
if (labelNameList.length === 0 || labelNameList.includes('Review Plz🙏') === false) { | ||
await github.rest.issues.addLabels({ | ||
issue_number: context.issue.number, | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
labels: ['Review Plz🙏'] | ||
}); | ||
} | ||
} else { | ||
if (labelNameList.includes('Review Plz🙏') === true) { | ||
await github.rest.issues.removeLabel({ | ||
issue_number: context.issue.number, | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
name: 'Review Plz🙏' | ||
}); | ||
} | ||
if (labelNameList.includes('Approved 🆗') === false) { | ||
await github.rest.issues.addLabels({ | ||
issue_number: context.issue.number, | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
labels: ['Approved 🆗'] | ||
}); | ||
} | ||
} |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"semi": false, | ||
"semi": true, | ||
"singleQuote": true, | ||
"trailingComma": "all", | ||
"useTabs": 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
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,13 +1,13 @@ | ||
import { css } from '@/styled-system/css' | ||
import { css } from '@/styled-system/css'; | ||
|
||
const styles = css({ | ||
w: 'full', | ||
h: 'full', | ||
fontSize: '40px', | ||
fontWeight: '600', | ||
color: 'green.50', | ||
}) | ||
}); | ||
|
||
export default function Home() { | ||
return <main className={styles}>2팀 웹 파이팅~~</main> | ||
return <main className={styles}>2팀 웹 파이팅~~</main>; | ||
} |
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,16 +1,16 @@ | ||
'use client' | ||
'use client'; | ||
|
||
import { QueryClient, QueryClientProvider } from '@tanstack/react-query' | ||
import { useState } from 'react' | ||
import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; | ||
import { useState } from 'react'; | ||
|
||
export default function ReactQueryProvider({ | ||
children, | ||
}: Readonly<{ | ||
children: React.ReactNode | ||
children: React.ReactNode; | ||
}>) { | ||
const [queryClient] = useState(() => new QueryClient()) | ||
const [queryClient] = useState(() => new QueryClient()); | ||
|
||
return ( | ||
<QueryClientProvider client={queryClient}>{children}</QueryClientProvider> | ||
) | ||
); | ||
} |
Empty file.
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 |
---|---|---|
|
@@ -20,4 +20,4 @@ module.exports = { | |
], | ||
], | ||
}, | ||
} | ||
}; |
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
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,4 +1,4 @@ | ||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = {} | ||
const nextConfig = {}; | ||
|
||
export default nextConfig | ||
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
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 |
---|---|---|
|
@@ -2,4 +2,4 @@ module.exports = { | |
plugins: { | ||
'@pandacss/dev/postcss': {}, | ||
}, | ||
} | ||
}; |
Empty file.