-
Notifications
You must be signed in to change notification settings - Fork 16
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
Showing
84 changed files
with
5,125 additions
and
153 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file added
BIN
+180 KB
frontend-monorepo/.yarn/cache/@adobe-css-tools-npm-4.3.2-779f6c743d-296a03dd29.zip
Binary file not shown.
Binary file added
BIN
+10.6 KB
...o/.yarn/cache/@babel-plugin-transform-react-jsx-self-npm-7.23.3-2352452d70-6b586508fc.zip
Binary file not shown.
Binary file added
BIN
+10.6 KB
....yarn/cache/@babel-plugin-transform-react-jsx-source-npm-7.23.3-6d660a728e-a3aad7cf73.zip
Binary file not shown.
Binary file added
BIN
+267 KB
frontend-monorepo/.yarn/cache/@emotion-css-npm-11.11.2-dbfa42cf83-1300e64d60.zip
Binary file not shown.
Binary file added
BIN
+9.31 MB
frontend-monorepo/.yarn/cache/@esbuild-darwin-arm64-npm-0.19.12-09699ac6cb-10c0.zip
Binary file not shown.
Binary file added
BIN
+26.5 KB
...ache/@joshwooding-vite-plugin-react-docgen-typescript-npm-0.3.0-e20c4a4bd6-31098ad8fc.zip
Binary file not shown.
Binary file added
BIN
+43.7 KB
frontend-monorepo/.yarn/cache/@rollup-pluginutils-npm-5.1.0-6939820ef8-c7bed15711.zip
Binary file not shown.
Binary file added
BIN
+2.24 MB
frontend-monorepo/.yarn/cache/@rollup-rollup-darwin-arm64-npm-4.9.6-e7e3fa5308-10c0.zip
Binary file not shown.
Binary file added
BIN
+304 KB
...end-monorepo/.yarn/cache/@storybook-addon-onboarding-npm-1.0.11-26b8727427-ca3de3eb85.zip
Binary file not shown.
Binary file added
BIN
+302 KB
frontend-monorepo/.yarn/cache/@storybook-builder-vite-npm-7.6.10-590fbdf4ee-5eb5933f55.zip
Binary file not shown.
Binary file added
BIN
+101 KB
frontend-monorepo/.yarn/cache/@storybook-react-vite-npm-7.6.10-784a9ce9f4-997a888f1b.zip
Binary file not shown.
Binary file added
BIN
+1.48 MB
frontend-monorepo/.yarn/cache/@storybook-test-npm-7.6.10-7e6e327416-31b1a06172.zip
Binary file not shown.
Binary file added
BIN
+252 KB
frontend-monorepo/.yarn/cache/@testing-library-jest-dom-npm-6.3.0-3bc6b7f30a-38ef0dc054.zip
Binary file not shown.
Binary file added
BIN
+277 KB
...end-monorepo/.yarn/cache/@testing-library-user-event-npm-14.3.0-570c508fee-8a0e708709.zip
Binary file not shown.
Binary file added
BIN
+7.8 KB
frontend-monorepo/.yarn/cache/@types-babel__preset-env-npm-7.9.6-38dd2bbb04-639bcf5809.zip
Binary file not shown.
Binary file added
BIN
+75.9 KB
frontend-monorepo/.yarn/cache/@types-chai-npm-4.3.11-db685c5f0e-0c216ac4a1.zip
Binary file not shown.
Binary file added
BIN
+7.38 KB
frontend-monorepo/.yarn/cache/@types-glob-npm-7.2.0-772334bf9a-a8eb5d5cb5.zip
Binary file not shown.
Binary file added
BIN
+13.2 KB
frontend-monorepo/.yarn/cache/@types-minimatch-npm-5.1.2-aab9c394d3-83cf1c1174.zip
Binary file not shown.
Binary file added
BIN
+2.58 MB
...onorepo/.yarn/cache/@typescript-eslint-eslint-plugin-npm-6.19.1-e33b439de1-01f1d64321.zip
Binary file not shown.
Binary file added
BIN
+19.9 KB
frontend-monorepo/.yarn/cache/@typescript-eslint-parser-npm-6.19.1-615778ac06-442e860fbc.zip
Binary file not shown.
Binary file added
BIN
+730 KB
...onorepo/.yarn/cache/@typescript-eslint-scope-manager-npm-6.19.1-ad7101299b-a81315b4a2.zip
Binary file not shown.
Binary file added
BIN
+123 KB
...d-monorepo/.yarn/cache/@typescript-eslint-type-utils-npm-6.19.1-95d1c070fd-78c185c64a.zip
Binary file not shown.
Binary file added
BIN
+157 KB
frontend-monorepo/.yarn/cache/@typescript-eslint-types-npm-6.19.1-b1df73ad9d-b8f75df157.zip
Binary file not shown.
Binary file added
BIN
+588 KB
...epo/.yarn/cache/@typescript-eslint-typescript-estree-npm-6.19.1-559df34951-dec16f8730.zip
Binary file not shown.
Binary file added
BIN
+344 KB
frontend-monorepo/.yarn/cache/@typescript-eslint-utils-npm-6.19.1-0ea17c27eb-5fa58a3272.zip
Binary file not shown.
Binary file added
BIN
+22.4 KB
...monorepo/.yarn/cache/@typescript-eslint-visitor-keys-npm-6.19.1-e80d067b31-b0370a9bc6.zip
Binary file not shown.
Binary file added
BIN
+37.9 KB
frontend-monorepo/.yarn/cache/@vitejs-plugin-react-npm-3.1.0-98ff1f6673-259a92a303.zip
Binary file not shown.
Binary file added
BIN
+35.3 KB
frontend-monorepo/.yarn/cache/@vitejs-plugin-react-npm-4.2.1-8b9705c544-de1eec44d7.zip
Binary file not shown.
Binary file added
BIN
+59.7 KB
frontend-monorepo/.yarn/cache/@vitest-expect-npm-0.34.7-c2cb30daa3-3ce5b63a51.zip
Binary file not shown.
Binary file added
BIN
+12.5 KB
frontend-monorepo/.yarn/cache/@vitest-spy-npm-0.34.7-40eb7868de-1150b270eb.zip
Binary file not shown.
Binary file added
BIN
+6.51 KB
frontend-monorepo/.yarn/cache/assertion-error-npm-1.1.0-66b893015e-25456b2aa3.zip
Binary file not shown.
Binary file added
BIN
+745 KB
frontend-monorepo/.yarn/cache/chai-npm-4.4.1-ffd006b4b1-91590a8fe1.zip
Binary file not shown.
Binary file added
BIN
+35.3 KB
frontend-monorepo/.yarn/cache/chalk-npm-4.1.1-f1ce6bae57-3866c8b96e.zip
Binary file not shown.
Binary file added
BIN
+15 KB
frontend-monorepo/.yarn/cache/check-error-npm-1.0.3-137994eabc-94aa37a731.zip
Binary file not shown.
Binary file added
BIN
+7.16 KB
frontend-monorepo/.yarn/cache/css.escape-npm-1.5.1-b24d2ba77a-5e09035e5b.zip
Binary file not shown.
Binary file added
BIN
+24.6 KB
frontend-monorepo/.yarn/cache/deep-eql-npm-4.1.3-020a64f862-ff34e8605d.zip
Binary file not shown.
Binary file added
BIN
+282 KB
frontend-monorepo/.yarn/cache/dom-accessibility-api-npm-0.6.3-0345e4dede-10bee5aa51.zip
Binary file not shown.
Binary file added
BIN
+79.6 KB
frontend-monorepo/.yarn/cache/es-module-lexer-npm-0.9.3-ff6236dadb-be77d73aee.zip
Binary file not shown.
Binary file added
BIN
+132 KB
frontend-monorepo/.yarn/cache/esbuild-npm-0.19.12-fb5a3a4313-0f2d21ffe2.zip
Binary file not shown.
Binary file added
BIN
+14.2 KB
...tend-monorepo/.yarn/cache/eslint-plugin-react-refresh-npm-0.4.5-3f2488eb7c-ea696811c6.zip
Binary file not shown.
Binary file added
BIN
+52.7 KB
frontend-monorepo/.yarn/cache/estree-walker-npm-2.0.2-dfab42f65c-53a6c54e20.zip
Binary file not shown.
Binary file added
BIN
+7.22 KB
frontend-monorepo/.yarn/cache/glob-promise-npm-4.2.2-30777327f7-3eb01bed29.zip
Binary file not shown.
Binary file added
BIN
+132 KB
frontend-monorepo/.yarn/cache/headers-polyfill-npm-3.3.0-9b18abfd30-9123396366.zip
Binary file not shown.
Binary file added
BIN
+397 KB
frontend-monorepo/.yarn/cache/magic-string-npm-0.27.0-a60a83c0b4-cddacfea14.zip
Binary file not shown.
Binary file added
BIN
+1.91 MB
frontend-monorepo/.yarn/cache/msw-npm-1.2.3-e6a5075bf5-d6b1988f2d.zip
Binary file not shown.
Binary file added
BIN
+16.5 KB
frontend-monorepo/.yarn/cache/pathval-npm-1.1.1-ce0311d7e0-f63e1bc1b3.zip
Binary file not shown.
Binary file added
BIN
+8 MB
frontend-monorepo/.yarn/cache/prettier-npm-3.2.4-3ca24592c3-88dfeb78ac.zip
Binary file not shown.
Binary file added
BIN
+225 KB
frontend-monorepo/.yarn/cache/react-confetti-npm-6.1.0-9b9e19a3c8-5b4eb23eef.zip
Binary file not shown.
Binary file added
BIN
+4.41 KB
frontend-monorepo/.yarn/cache/redent-npm-3.0.0-31892f4906-d64a6b5c0b.zip
Binary file not shown.
Binary file added
BIN
+2.41 MB
frontend-monorepo/.yarn/cache/rollup-npm-3.29.4-5e5e5f2087-65eddf84bf.zip
Binary file not shown.
Binary file added
BIN
+2.07 MB
frontend-monorepo/.yarn/cache/rollup-npm-4.9.6-c51b1f3c8f-fcd9ab091c.zip
Binary file not shown.
Binary file added
BIN
+4.2 KB
frontend-monorepo/.yarn/cache/strip-indent-npm-3.0.0-519e75a28d-ae0deaf41c.zip
Binary file not shown.
Binary file added
BIN
+14.4 KB
frontend-monorepo/.yarn/cache/tinyspy-npm-2.2.0-226debb582-8c7b70748d.zip
Binary file not shown.
Binary file added
BIN
+67.8 KB
frontend-monorepo/.yarn/cache/tsconfck-npm-3.0.1-082b8ebe97-7b56c5bf8f.zip
Binary file not shown.
Binary file added
BIN
+10.7 KB
frontend-monorepo/.yarn/cache/tween-functions-npm-1.2.0-4c24ac77a5-7e59295b8b.zip
Binary file not shown.
Binary file added
BIN
+42.1 KB
frontend-monorepo/.yarn/cache/type-detect-npm-4.0.8-8d8127b901-8fb9a51d3f.zip
Binary file not shown.
Binary file added
BIN
+30.6 MB
frontend-monorepo/.yarn/cache/typescript-npm-5.3.3-6b23a5da18-e33cef99d8.zip
Binary file not shown.
Binary file added
BIN
+30.6 MB
frontend-monorepo/.yarn/cache/typescript-patch-4778c7998b-1d0a5f4ce4.zip
Binary file not shown.
Binary file added
BIN
+3.33 MB
frontend-monorepo/.yarn/cache/vite-npm-5.0.12-37f95c18d1-c51b8e4588.zip
Binary file not shown.
Binary file added
BIN
+96 KB
frontend-monorepo/.yarn/cache/vite-tsconfig-paths-npm-4.3.1-09ea77d0b2-47d95952eb.zip
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 |
---|---|---|
|
@@ -5,6 +5,9 @@ | |
}, | ||
{ | ||
"path": "packages/hanglog-service" | ||
}, | ||
{ | ||
"path": "packages/hanglog-admin" | ||
} | ||
], | ||
"settings": { | ||
|
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,17 @@ | ||
{ | ||
"sourceType": "unambiguous", | ||
"presets": [ | ||
[ | ||
"@babel/preset-env", | ||
{ | ||
"targets": { | ||
"chrome": 100 | ||
} | ||
} | ||
], | ||
"@babel/preset-typescript", | ||
"@babel/preset-react", | ||
"@emotion/babel-preset-css-prop" | ||
], | ||
"plugins": ["@emotion", "react-require"] | ||
} |
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,50 @@ | ||
{ | ||
"parser": "@typescript-eslint/parser", | ||
"plugins": ["@typescript-eslint"], | ||
"extends": [ | ||
"eslint:recommended", | ||
"airbnb", | ||
"airbnb/hooks", | ||
"plugin:react/jsx-runtime", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:storybook/recommended", | ||
"plugin:prettier/recommended", | ||
"prettier" | ||
], | ||
"rules": { | ||
"class-methods-use-this": "off", | ||
"no-useless-constructor": "off", | ||
"no-use-before-define": "off", | ||
"no-shadow": "off", | ||
"@typescript-eslint/consistent-type-imports": "error", | ||
"import/prefer-default-export": "off", | ||
"import/no-unresolved": "off", | ||
"import/extensions": "off", | ||
"import/no-extraneous-dependencies": "off", | ||
"react/jsx-filename-extension": [ | ||
1, | ||
{ | ||
"extensions": [".js", ".jsx", ".ts", ".tsx"] | ||
} | ||
], | ||
"react/display-name": "off", | ||
"react/prop-types": "off", | ||
"react/require-default-props": "off", | ||
"react/jsx-props-no-spreading": "off", | ||
"react/function-component-definition": [ | ||
"error", | ||
{ | ||
"namedComponents": "arrow-function" | ||
} | ||
] | ||
}, | ||
"overrides": [ | ||
{ | ||
"files": ["**/*.stories.*"], | ||
"rules": { | ||
"import/no-anonymous-default-export": "off", | ||
"react-hooks/rules-of-hooks": "off" | ||
} | ||
} | ||
] | ||
} |
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,24 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
|
||
node_modules | ||
dist | ||
dist-ssr | ||
*.local | ||
|
||
# Editor directories and files | ||
.vscode/* | ||
!.vscode/extensions.json | ||
.idea | ||
.DS_Store | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? |
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,18 @@ | ||
{ | ||
"endOfLine": "auto", | ||
"singleQuote": true, | ||
"tabWidth": 2, | ||
"printWidth": 100, | ||
"semi": true, | ||
"importOrder": [ | ||
"^@utils/(.*)$", | ||
"^@api/(.*)$", | ||
"^@hooks/(.*)$", | ||
"^@pages/(.*)$", | ||
"^@components/(.*)$", | ||
"^@styles/(.*)$", | ||
"^[./]" | ||
], | ||
"importOrderSeparation": true, | ||
"importOrderSortSpecifiers": true | ||
} |
28 changes: 28 additions & 0 deletions
28
frontend-monorepo/packages/hanglog-admin/.storybook/main.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,28 @@ | ||
import type { StorybookConfig } from '@storybook/react-vite'; | ||
|
||
import { join, dirname } from 'path'; | ||
|
||
/** | ||
* This function is used to resolve the absolute path of a package. | ||
* It is needed in projects that use Yarn PnP or are set up within a monorepo. | ||
*/ | ||
function getAbsolutePath(value: string): any { | ||
return dirname(require.resolve(join(value, 'package.json'))); | ||
} | ||
const config: StorybookConfig = { | ||
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'], | ||
addons: [ | ||
getAbsolutePath('@storybook/addon-links'), | ||
getAbsolutePath('@storybook/addon-essentials'), | ||
getAbsolutePath('@storybook/addon-onboarding'), | ||
getAbsolutePath('@storybook/addon-interactions'), | ||
], | ||
framework: { | ||
name: getAbsolutePath('@storybook/react-vite'), | ||
options: {}, | ||
}, | ||
docs: { | ||
autodocs: 'tag', | ||
}, | ||
}; | ||
export default config; |
15 changes: 15 additions & 0 deletions
15
frontend-monorepo/packages/hanglog-admin/.storybook/preview.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,15 @@ | ||
import type { Preview } from '@storybook/react'; | ||
|
||
const preview: Preview = { | ||
parameters: { | ||
actions: { argTypesRegex: '^on[A-Z].*' }, | ||
controls: { | ||
matchers: { | ||
color: /(background|color)$/i, | ||
date: /Date$/i, | ||
}, | ||
}, | ||
}, | ||
}; | ||
|
||
export default preview; |
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 @@ | ||
# React + TypeScript + Vite | ||
|
||
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. | ||
|
||
Currently, two official plugins are available: | ||
|
||
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh | ||
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh | ||
|
||
## Expanding the ESLint configuration | ||
|
||
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules: | ||
|
||
- Configure the top-level `parserOptions` property like this: | ||
|
||
```js | ||
export default { | ||
// other rules... | ||
parserOptions: { | ||
ecmaVersion: 'latest', | ||
sourceType: 'module', | ||
project: ['./tsconfig.json', './tsconfig.node.json'], | ||
tsconfigRootDir: __dirname, | ||
}, | ||
}; | ||
``` | ||
|
||
- Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked` | ||
- Optionally add `plugin:@typescript-eslint/stylistic-type-checked` | ||
- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list |
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,13 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<link rel="icon" type="image/svg+xml" href="/logo.svg" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>행록 관리자</title> | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
<script type="module" src="/src/index.tsx"></script> | ||
</body> | ||
</html> |
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,62 @@ | ||
{ | ||
"name": "hanglog-admin", | ||
"private": true, | ||
"version": "0.0.0", | ||
"description": "행록 관리자", | ||
"type": "module", | ||
"scripts": { | ||
"dev": "vite", | ||
"build": "tsc && vite build", | ||
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", | ||
"preview": "vite preview", | ||
"storybook": "storybook dev -p 6006", | ||
"build-storybook": "storybook build" | ||
}, | ||
"dependencies": { | ||
"@emotion/css": "^11.11.2", | ||
"@emotion/react": "^11.11.3", | ||
"@tanstack/react-query": "^5.17.19", | ||
"hang-log-design-system": "workspace:^", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"react-router-dom": "^6.21.3", | ||
"recoil": "^0.7.7", | ||
"storybook": "^7.6.10", | ||
"vite-tsconfig-paths": "^4.3.1" | ||
}, | ||
"devDependencies": { | ||
"@babel/preset-env": "^7.23.8", | ||
"@babel/preset-react": "^7.23.3", | ||
"@babel/preset-typescript": "^7.23.3", | ||
"@storybook/addon-essentials": "^7.6.10", | ||
"@storybook/addon-interactions": "^7.6.10", | ||
"@storybook/addon-links": "^7.6.10", | ||
"@storybook/addon-onboarding": "^1.0.11", | ||
"@storybook/blocks": "^7.6.10", | ||
"@storybook/react": "^7.6.10", | ||
"@storybook/react-vite": "^7.6.10", | ||
"@storybook/test": "^7.6.10", | ||
"@types/babel__preset-env": "^7", | ||
"@types/react": "^18.2.43", | ||
"@types/react-dom": "^18.2.17", | ||
"@typescript-eslint/eslint-plugin": "^6.4.0", | ||
"@typescript-eslint/parser": "^6.14.0", | ||
"@vitejs/plugin-react": "^4.2.1", | ||
"eslint": "^8.0.1", | ||
"eslint-config-standard-with-typescript": "^43.0.1", | ||
"eslint-plugin-import": "^2.25.2", | ||
"eslint-plugin-n": "^15.0.0 || ^16.0.0 ", | ||
"eslint-plugin-promise": "^6.0.0", | ||
"eslint-plugin-react": "^7.33.2", | ||
"eslint-plugin-react-hooks": "^4.6.0", | ||
"eslint-plugin-react-refresh": "^0.4.5", | ||
"eslint-plugin-storybook": "^0.6.15", | ||
"msw": "1.2.3", | ||
"prettier": "3.2.4", | ||
"typescript": "*", | ||
"vite": "^5.0.8" | ||
}, | ||
"msw": { | ||
"workerDirectory": "public" | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.