diff --git a/.prettierrc b/.prettierrc deleted file mode 100644 index 3b21174..0000000 --- a/.prettierrc +++ /dev/null @@ -1,34 +0,0 @@ -{ - "singleQuote": true, - "semi": true, - "trailingComma": "all", - "printWidth": 100, - "tabWidth": 2, - "useTabs": false, - "jsxSingleQuote": false, - "bracketSpacing": true, - "bracketSameLine": false, - "arrowParens": "always", - "endOfLine": "lf", - "htmlWhitespaceSensitivity": "css", - "embeddedLanguageFormatting": "auto", - "singleAttributePerLine": false, - "overrides": [ - { - "files": ["*.md", "*.mdx"], - "options": { - "proseWrap": "preserve", - "printWidth": 100, - "tabWidth": 2, - "embeddedLanguageFormatting": "auto" - } - }, - { - "files": ["*.yml", "*.yaml"], - "options": { - "tabWidth": 2, - "singleQuote": false - } - } - ] -} diff --git a/README.md b/README.md index de72824..a1199e1 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# @berrypjh/ui-source +# @berrypjh/shared-stack > **Note** > GitHub Packages 비공개 배포 라이브러리입니다. 설치 전 `.npmrc` 설정이 필요합니다. diff --git a/apps/demo-mobile/eslint.config.mjs b/apps/demo-mobile/eslint.config.mjs index e3050b9..7c520a1 100644 --- a/apps/demo-mobile/eslint.config.mjs +++ b/apps/demo-mobile/eslint.config.mjs @@ -1,15 +1,7 @@ -import nx from '@nx/eslint-plugin'; - import baseConfig from '../../eslint.config.mjs'; export default [ ...baseConfig, - ...nx.configs['flat/react'], - { - files: ['**/*.ts', '**/*.tsx', '**/*.js', '**/*.jsx'], - // Override or add rules here - rules: {}, - }, { ignores: ['.expo', 'web-build', 'cache', 'dist', '**/out-tsc'], }, diff --git a/apps/demo-web/eslint.config.mjs b/apps/demo-web/eslint.config.mjs index b53d175..b7f6277 100644 --- a/apps/demo-web/eslint.config.mjs +++ b/apps/demo-web/eslint.config.mjs @@ -1,13 +1,3 @@ -import nx from '@nx/eslint-plugin'; - import baseConfig from '../../eslint.config.mjs'; -export default [ - ...baseConfig, - ...nx.configs['flat/react'], - { - files: ['**/*.ts', '**/*.tsx', '**/*.js', '**/*.jsx'], - // Override or add rules here - rules: {}, - }, -]; +export default [...baseConfig]; diff --git a/apps/demo-web/src/app/app.tsx b/apps/demo-web/src/app/app.tsx index 273e3f8..2413799 100644 --- a/apps/demo-web/src/app/app.tsx +++ b/apps/demo-web/src/app/app.tsx @@ -1,7 +1,6 @@ import { Route, Routes } from 'react-router-dom'; import { Layout } from './components/Layout'; -import { BubbleButtonPage } from './pages/BubbleButtonPage'; import { ButtonPage } from './pages/ButtonPage'; import { FabPage } from './pages/FabPage'; import { HomePage } from './pages/HomePage'; @@ -25,7 +24,6 @@ export const App = () => { } /> } /> } /> - } /> ); diff --git a/apps/demo-web/src/app/components/Layout.tsx b/apps/demo-web/src/app/components/Layout.tsx index a8cf91d..50986ee 100644 --- a/apps/demo-web/src/app/components/Layout.tsx +++ b/apps/demo-web/src/app/components/Layout.tsx @@ -50,7 +50,6 @@ const NAV_GROUPS = [ { label: 'SearchField', path: '/components/search-field' }, { label: 'FAB', path: '/components/fab' }, { label: 'IconButton', path: '/components/icon-button' }, - { label: 'BubbleButton', path: '/components/bubble-button' }, ], }, ]; diff --git a/apps/demo-web/src/app/pages/BubbleButtonPage.tsx b/apps/demo-web/src/app/pages/BubbleButtonPage.tsx deleted file mode 100644 index a092f2b..0000000 --- a/apps/demo-web/src/app/pages/BubbleButtonPage.tsx +++ /dev/null @@ -1,87 +0,0 @@ -import { BubbleButton } from '@berrypjh/react-ui'; - -import { DemoSection, PageHeader } from '../components/DemoSection'; - -const HomeIcon = () => ( - - - - -); - -const BellIcon = () => ( - - - - -); - -const SettingsIcon = () => ( - - - - -); - -export const BubbleButtonPage = () => ( -
- - - - } /> - } /> - } /> - - - - } /> - } /> - } /> - - - - } delay={0} /> - } delay={100} /> - } delay={200} /> - - - - } disabled /> - } disabled /> - -
-); diff --git a/apps/demo-web/src/app/pages/HomePage.tsx b/apps/demo-web/src/app/pages/HomePage.tsx index c31cb01..f9d6e31 100644 --- a/apps/demo-web/src/app/pages/HomePage.tsx +++ b/apps/demo-web/src/app/pages/HomePage.tsx @@ -64,7 +64,7 @@ export const HomePage = () => {