Skip to content

Commit

Permalink
fix: export alias Input
Browse files Browse the repository at this point in the history
  • Loading branch information
kyechan99 committed Jan 24, 2024
1 parent 9c5e785 commit af3f71c
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 88 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
fetch-depth: 0

- name: 'Install Node'
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: '20.x'
Expand Down
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@
"react-router-dom": "^6.21.3",
"vite-tsconfig-paths": "^4.2.2"
},
"peerDependencies": {
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@commitlint/cli": "^18.4.4",
"@commitlint/config-conventional": "^18.4.4",
Expand Down
4 changes: 2 additions & 2 deletions src/components/common/Input/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { css } from '@emotion/react';
import styled from '@emotion/styled';
import * as React from 'react';

export { default as InputGroup } from '@/components/common/Input/InputGroup';
export { default as InputDesc } from '@/components/common/Input/InputDesc';
export { default as InputGroup } from './InputGroup';
export { default as InputDesc } from './InputDesc';

export interface InputProps extends React.ComponentPropsWithoutRef<'input'> {}

Expand Down
16 changes: 0 additions & 16 deletions src/components/layout/AppLayout.tsx

This file was deleted.

58 changes: 0 additions & 58 deletions src/components/layout/Header.tsx

This file was deleted.

11 changes: 0 additions & 11 deletions src/components/layout/LoginLayout.tsx

This file was deleted.

2 changes: 2 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ export default defineConfig({
assetsInclude: ['/sb-preview/runtime.js'],
// Build
build: {
ssr: true,

lib: {
entry: path.resolve(__dirname, 'src/index.ts'),
name: 'index',
Expand Down

0 comments on commit af3f71c

Please sign in to comment.