Skip to content

Commit

Permalink
의존성 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
manudeli committed Mar 16, 2024
1 parent 99e2ab9 commit 6ba69be
Show file tree
Hide file tree
Showing 11 changed files with 348 additions and 508 deletions.
8 changes: 4 additions & 4 deletions apps/people/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
"start": "next start -p 4001"
},
"dependencies": {
"@emotion/react": "^11.11.4",
"@jsxcss/emotion": "^1.3.9",
"clsx": "^2.1.0",
"framer-motion": "^11.0.14",
"next": "^14.1.3",
"react": "^18.2.0",
"react-dom": "^18.2.0"
Expand All @@ -20,9 +23,6 @@
"@hamsurang/tsconfig": "workspace:*",
"@next/eslint-plugin-next": "^14.1.3",
"@types/react": "^18.2.65",
"@types/react-dom": "^18.2.21",
"autoprefixer": "^10.4.18",
"postcss": "^8.4.35",
"tailwindcss": "^3.4.1"
"@types/react-dom": "^18.2.21"
}
}
6 changes: 0 additions & 6 deletions apps/people/postcss.config.js

This file was deleted.

8 changes: 0 additions & 8 deletions apps/people/prettier.config.mjs

This file was deleted.

47 changes: 0 additions & 47 deletions apps/people/src/app/global.css

This file was deleted.

6 changes: 4 additions & 2 deletions apps/people/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Metadata } from 'next'
import './global.css'
import Providers from './providers'

export const metadata: Metadata = {
title: 'hamsurang - people',
Expand All @@ -12,7 +12,9 @@ export default function RootLayout({
}) {
return (
<html lang="en">
<body>{children}</body>
<body>
<Providers>{children}</Providers>
</body>
</html>
)
}
13 changes: 12 additions & 1 deletion apps/people/src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
import { Stack } from '@jsxcss/emotion'

export default function Home() {
return <div className="-mt-5 ml-4 mr-4 flex flex-1 justify-center">page</div>
return (
<div>
<Stack spacing={10}>
<div>hi</div>
<div>hi</div>
<div>hi</div>
<div>hi</div>
</Stack>
</div>
)
}
6 changes: 6 additions & 0 deletions apps/people/src/app/providers.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { MediaQueryProvider } from '@jsxcss/emotion'
import { type ReactNode } from 'react'

export default function Providers({ children }: { children: ReactNode }) {
return <MediaQueryProvider>{children}</MediaQueryProvider>
}
8 changes: 0 additions & 8 deletions apps/people/tailwind.config.js

This file was deleted.

19 changes: 13 additions & 6 deletions apps/people/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,20 @@
"incremental": true,
"plugins": [
{
"name": "next",
},
"name": "next"
}
],
"paths": {
"~/*": ["./src/*"],
},
"~/*": ["./src/*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", "./.eslintrc.cjs", "next.config.js", "prettier.config.mjs"],
"exclude": ["node_modules", ".next"],
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
"./.eslintrc.cjs",
"next.config.js"
],
"exclude": ["node_modules", ".next"]
}
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"prettier-plugin-tailwindcss": "^0.5.12",
"sherif": "^0.8.1",
"turbo": "^1.12.5",
"typescript": "^5.4.2"
Expand Down
Loading

0 comments on commit 6ba69be

Please sign in to comment.