-
Notifications
You must be signed in to change notification settings - Fork 2
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 #33 from 8princesses/develop
1차 dev->main
- Loading branch information
Showing
195 changed files
with
8,864 additions
and
662 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,2 @@ | ||
NEXT_PUBLIC_API_URL=https://api.modumozu.com/ | ||
NEXT_PUBLIC_KAKAO_KEY="5d83cd0432c767f46c20dceb0f8f3947" |
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 +1 @@ | ||
NEXT_PUBLIC_API_URL=URL | ||
NEXT_PUBLIC_API_URL=https://api.modumozu.com/ |
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,6 +1,4 @@ | ||
{ | ||
"extends": [ | ||
"next/core-web-vitals", | ||
"plugin:storybook/recommended" | ||
] | ||
"extends": ["next/core-web-vitals", "plugin:storybook/recommended"], | ||
"ignorePatterns": ["src/stories"] | ||
} |
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,26 @@ | ||
# Workflow name | ||
name: "Chromatic Deployment" | ||
|
||
# Event for the workflow | ||
on: | ||
push: | ||
branches: | ||
- develop | ||
|
||
# List of jobs | ||
jobs: | ||
test: | ||
# Operating System | ||
runs-on: ubuntu-latest | ||
# Job steps | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- run: npm i -g pnpm | ||
- run: pnpm install | ||
#👇 Adds Chromatic as a step in the workflow | ||
- uses: chromaui/action@v1 | ||
# Options required for Chromatic's GitHub Action | ||
with: | ||
#👇 Chromatic projectToken, see https://storybook.js.org/tutorials/intro-to-storybook/react/ko/deploy/ to obtain it | ||
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | ||
token: ${{ secrets.GITHUB_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
This file was deleted.
Oops, something went wrong.
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,30 @@ | ||
import type { Preview } from "@storybook/react"; | ||
import React from "react"; | ||
import { INITIAL_VIEWPORTS } from "@storybook/addon-viewport/preview"; | ||
import "../src/app/globals.css"; | ||
|
||
const preview: Preview = { | ||
parameters: { | ||
actions: { argTypesRegex: "^on[A-Z].*" }, | ||
controls: { | ||
matchers: { | ||
color: /(background|color)$/i, | ||
date: /Date$/, | ||
}, | ||
}, | ||
viewport: { | ||
viewports: INITIAL_VIEWPORTS, | ||
defaultViewport: "iphone12", | ||
}, | ||
}, | ||
|
||
decorators: [ | ||
(Story) => ( | ||
<> | ||
<Story /> | ||
</> | ||
), | ||
], | ||
}; | ||
|
||
export default preview; |
Large diffs are not rendered by default.
Oops, something went wrong.
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,11 @@ | ||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = {} | ||
const nextConfig = { | ||
compiler: { | ||
styledComponents: true, | ||
}, | ||
images: { | ||
domains: ["d2u3dcdbebyaiu.cloudfront.net", "teamblindstatics.s3.ap-northeast-1.amazonaws.com"], | ||
}, | ||
}; | ||
|
||
module.exports = nextConfig | ||
module.exports = 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,17 +9,23 @@ | |
"lint": "next lint", | ||
"storybook": "storybook dev -p 6006", | ||
"build-storybook": "storybook build", | ||
"preinstall": "npx only-allow pnpm" | ||
"preinstall": "npx only-allow pnpm", | ||
"chromatic": "npx chromatic --project-token=chpt_a2dbd92234c64c2" | ||
}, | ||
"dependencies": { | ||
"@storybook/addon-viewport": "^7.4.0", | ||
"@tanstack/react-query": "^4.36.1", | ||
"@types/node": "20.4.10", | ||
"@types/react": "18.2.20", | ||
"@types/react-dom": "18.2.7", | ||
"axios": "^1.4.0", | ||
"dayjs": "^1.11.10", | ||
"eslint": "8.47.0", | ||
"eslint-config-next": "13.4.13", | ||
"korean-business-day": "^3.1.0", | ||
"next": "13.4.13", | ||
"react": "18.2.0", | ||
"react-datepicker": "^4.19.0", | ||
"react-dom": "18.2.0", | ||
"recoil": "^0.7.7", | ||
"styled-components": "^6.0.7", | ||
|
@@ -35,7 +41,12 @@ | |
"@storybook/react": "^7.2.3", | ||
"@storybook/test-runner": "^0.13.0", | ||
"@storybook/testing-library": "^0.2.0", | ||
"@types/react-datepicker": "^4.15.1", | ||
"chromatic": "^6.23.0", | ||
"eslint-plugin-storybook": "^0.6.13", | ||
"storybook": "^7.2.3" | ||
} | ||
"storybook": "^7.2.3", | ||
"tsconfig-paths-webpack-plugin": "^4.1.0" | ||
}, | ||
"readme": "ERROR: No README data found!", | ||
"_id": "[email protected]" | ||
} |
Oops, something went wrong.