diff --git a/apps/web/app/page.tsx b/apps/web/app/page.tsx index d2c63a49..b01771f7 100644 --- a/apps/web/app/page.tsx +++ b/apps/web/app/page.tsx @@ -1,95 +1,11 @@ import Image from "next/image"; import styles from "./page.module.css"; +import { FirstDomainExampleScreen } from "@sambad/domains/first-domain"; export default function Home() { return (
-
-

- Get started by editing  - src/app/page.tsx -

-
- - By{" "} - Vercel Logo - -
-
- -
- Next.js Logo -
- -
- -

- Docs -> -

-

Find in-depth information about Next.js features and API.

-
- - -

- Learn -> -

-

Learn about Next.js in an interactive course with quizzes!

-
- - -

- Templates -> -

-

Explore starter templates for Next.js.

-
- - -

- Deploy -> -

-

- Instantly deploy your Next.js site to a shareable URL with Vercel. -

-
-
+
); } diff --git a/apps/web/app/second/page.tsx b/apps/web/app/second/page.tsx new file mode 100644 index 00000000..4195e489 --- /dev/null +++ b/apps/web/app/second/page.tsx @@ -0,0 +1,11 @@ +import Image from "next/image"; +import styles from "../page.module.css"; +import { SecondDomainExampleScreen } from "@sambad/domains/second-domain"; + +export default function Second() { + return ( +
+ +
+ ); +} diff --git a/apps/web/package.json b/apps/web/package.json index 722fce84..807fbe69 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -9,7 +9,7 @@ "lint": "next lint" }, "dependencies": { - "@sambad/ui": "workspace:*", + "@sambad/domains": "workspace:*", "react": "18.2.0", "react-dom": "18.2.0", "next": "14.2.4" diff --git a/packages/eslint-config/README.md b/packages/core/eslint-config/README.md similarity index 100% rename from packages/eslint-config/README.md rename to packages/core/eslint-config/README.md diff --git a/packages/eslint-config/library.js b/packages/core/eslint-config/library.js similarity index 100% rename from packages/eslint-config/library.js rename to packages/core/eslint-config/library.js diff --git a/packages/eslint-config/next.js b/packages/core/eslint-config/next.js similarity index 100% rename from packages/eslint-config/next.js rename to packages/core/eslint-config/next.js diff --git a/packages/eslint-config/package.json b/packages/core/eslint-config/package.json similarity index 100% rename from packages/eslint-config/package.json rename to packages/core/eslint-config/package.json diff --git a/packages/eslint-config/react-internal.js b/packages/core/eslint-config/react-internal.js similarity index 100% rename from packages/eslint-config/react-internal.js rename to packages/core/eslint-config/react-internal.js diff --git a/packages/ui/.eslintrc.js b/packages/core/sds/.eslintrc.js similarity index 100% rename from packages/ui/.eslintrc.js rename to packages/core/sds/.eslintrc.js diff --git a/packages/core/sds/README.md b/packages/core/sds/README.md new file mode 100644 index 00000000..dc8ecec3 --- /dev/null +++ b/packages/core/sds/README.md @@ -0,0 +1 @@ +# `sds` \ No newline at end of file diff --git a/packages/core/sds/package.json b/packages/core/sds/package.json new file mode 100644 index 00000000..f1f3d899 --- /dev/null +++ b/packages/core/sds/package.json @@ -0,0 +1,20 @@ +{ + "name": "@sambad/sds", + "version": "0.0.0", + "private": true, + "exports": {}, + "scripts": { + "lint": "eslint . --max-warnings 0" + }, + "devDependencies": { + "@sambad/eslint-config": "workspace:*", + "@sambad/typescript-config": "workspace:*", + "@types/node": "^20.11.24", + "@types/eslint": "^8.56.5", + "@types/react": "^18.2.61", + "@types/react-dom": "^18.2.19", + "eslint": "^8.57.0", + "react": "^18", + "typescript": "^5.3.3" + } +} diff --git a/packages/core/sds/src/.gitkeep b/packages/core/sds/src/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/packages/ui/tsconfig.json b/packages/core/sds/tsconfig.json similarity index 64% rename from packages/ui/tsconfig.json rename to packages/core/sds/tsconfig.json index ca86687c..025f77e2 100644 --- a/packages/ui/tsconfig.json +++ b/packages/core/sds/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@repo/typescript-config/react-library.json", + "extends": "@sambad/typescript-config/react-library.json", "compilerOptions": { "outDir": "dist" }, diff --git a/packages/ui/tsconfig.lint.json b/packages/core/sds/tsconfig.lint.json similarity index 66% rename from packages/ui/tsconfig.lint.json rename to packages/core/sds/tsconfig.lint.json index df2762ee..807416b9 100644 --- a/packages/ui/tsconfig.lint.json +++ b/packages/core/sds/tsconfig.lint.json @@ -1,5 +1,5 @@ { - "extends": "@repo/typescript-config/react-library.json", + "extends": "@sambad/typescript-config/react-library.json", "compilerOptions": { "outDir": "dist" }, diff --git a/packages/typescript-config/base.json b/packages/core/typescript-config/base.json similarity index 100% rename from packages/typescript-config/base.json rename to packages/core/typescript-config/base.json diff --git a/packages/typescript-config/nextjs.json b/packages/core/typescript-config/nextjs.json similarity index 100% rename from packages/typescript-config/nextjs.json rename to packages/core/typescript-config/nextjs.json diff --git a/packages/typescript-config/package.json b/packages/core/typescript-config/package.json similarity index 100% rename from packages/typescript-config/package.json rename to packages/core/typescript-config/package.json diff --git a/packages/typescript-config/react-library.json b/packages/core/typescript-config/react-library.json similarity index 100% rename from packages/typescript-config/react-library.json rename to packages/core/typescript-config/react-library.json diff --git a/packages/core/ui/.eslintrc.js b/packages/core/ui/.eslintrc.js new file mode 100644 index 00000000..46464139 --- /dev/null +++ b/packages/core/ui/.eslintrc.js @@ -0,0 +1,10 @@ +/** @type {import("eslint").Linter.Config} */ +module.exports = { + root: true, + extends: ["@repo/eslint-config/react-internal.js"], + parser: "@typescript-eslint/parser", + parserOptions: { + project: "./tsconfig.lint.json", + tsconfigRootDir: __dirname, + }, +}; diff --git a/packages/ui/package.json b/packages/core/ui/package.json similarity index 70% rename from packages/ui/package.json rename to packages/core/ui/package.json index b5b3aee1..8a32a995 100644 --- a/packages/ui/package.json +++ b/packages/core/ui/package.json @@ -3,13 +3,10 @@ "version": "0.0.0", "private": true, "exports": { - "./button": "./src/button.tsx", - "./card": "./src/card.tsx", - "./code": "./src/code.tsx" + ".": "./src/index.ts" }, "scripts": { - "lint": "eslint . --max-warnings 0", - "generate:component": "turbo gen react-component" + "lint": "eslint . --max-warnings 0" }, "devDependencies": { "@sambad/eslint-config": "workspace:*", diff --git a/packages/ui/src/button.tsx b/packages/core/ui/src/Button.tsx similarity index 51% rename from packages/ui/src/button.tsx rename to packages/core/ui/src/Button.tsx index 78e5420c..be9117cd 100644 --- a/packages/ui/src/button.tsx +++ b/packages/core/ui/src/Button.tsx @@ -1,18 +1,24 @@ "use client"; -import { ReactNode } from "react"; +import { HTMLAttributes, ReactNode } from "react"; -interface ButtonProps { +interface ButtonProps extends HTMLAttributes { children: ReactNode; className?: string; appName: string; } -export const Button = ({ children, className, appName }: ButtonProps) => { +export const Button = ({ + children, + className, + appName, + ...rest +}: ButtonProps) => { return ( diff --git a/packages/ui/src/card.tsx b/packages/core/ui/src/Card.tsx similarity index 100% rename from packages/ui/src/card.tsx rename to packages/core/ui/src/Card.tsx diff --git a/packages/ui/src/code.tsx b/packages/core/ui/src/Code.tsx similarity index 100% rename from packages/ui/src/code.tsx rename to packages/core/ui/src/Code.tsx diff --git a/packages/core/ui/src/index.ts b/packages/core/ui/src/index.ts new file mode 100644 index 00000000..5a7e9326 --- /dev/null +++ b/packages/core/ui/src/index.ts @@ -0,0 +1,3 @@ +export { Button } from "./Button"; +export { Card } from "./Card"; +export { Code } from "./Code"; diff --git a/packages/core/ui/tsconfig.json b/packages/core/ui/tsconfig.json new file mode 100644 index 00000000..025f77e2 --- /dev/null +++ b/packages/core/ui/tsconfig.json @@ -0,0 +1,8 @@ +{ + "extends": "@sambad/typescript-config/react-library.json", + "compilerOptions": { + "outDir": "dist" + }, + "include": ["src"], + "exclude": ["node_modules", "dist"] +} diff --git a/packages/core/ui/tsconfig.lint.json b/packages/core/ui/tsconfig.lint.json new file mode 100644 index 00000000..807416b9 --- /dev/null +++ b/packages/core/ui/tsconfig.lint.json @@ -0,0 +1,8 @@ +{ + "extends": "@sambad/typescript-config/react-library.json", + "compilerOptions": { + "outDir": "dist" + }, + "include": ["src", "turbo"], + "exclude": ["node_modules", "dist"] +} diff --git a/packages/domains/.eslintrc.js b/packages/domains/.eslintrc.js new file mode 100644 index 00000000..5b9951b4 --- /dev/null +++ b/packages/domains/.eslintrc.js @@ -0,0 +1,10 @@ +/** @type {import("eslint").Linter.Config} */ +module.exports = { + root: true, + extends: ["@sambad/eslint-config/react-internal.js"], + parser: "@typescript-eslint/parser", + parserOptions: { + project: "./tsconfig.lint.json", + tsconfigRootDir: __dirname, + }, +}; diff --git a/packages/domains/README.md b/packages/domains/README.md new file mode 100644 index 00000000..06e7d8ba --- /dev/null +++ b/packages/domains/README.md @@ -0,0 +1 @@ +# `domains` diff --git a/packages/domains/package.json b/packages/domains/package.json new file mode 100644 index 00000000..ccb37370 --- /dev/null +++ b/packages/domains/package.json @@ -0,0 +1,25 @@ +{ + "name": "@sambad/domains", + "version": "0.0.0", + "private": true, + "exports": { + "./first-domain": "./src/first-domain/index.ts", + "./second-domain": "./src/second-domain/index.ts" + }, + "scripts": { + "lint": "eslint . --max-warnings 0" + }, + "dependencies": {}, + "devDependencies": { + "@sambad/ui": "workspace:*", + "@sambad/eslint-config": "workspace:*", + "@sambad/typescript-config": "workspace:*", + "@types/node": "^20.11.24", + "@types/eslint": "^8.56.5", + "@types/react": "^18.2.61", + "@types/react-dom": "^18.2.19", + "eslint": "^8.57.0", + "react": "^18", + "typescript": "^5.3.3" + } +} diff --git a/packages/domains/src/common/.gitkeep b/packages/domains/src/common/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/packages/domains/src/first-domain/common/.gitkeep b/packages/domains/src/first-domain/common/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/packages/domains/src/first-domain/features/components/FirstFeatureOfFirstDomainTestBox.tsx b/packages/domains/src/first-domain/features/components/FirstFeatureOfFirstDomainTestBox.tsx new file mode 100644 index 00000000..6f44a307 --- /dev/null +++ b/packages/domains/src/first-domain/features/components/FirstFeatureOfFirstDomainTestBox.tsx @@ -0,0 +1,23 @@ +import { Button } from "@sambad/ui"; +import { PropsWithChildren } from "react"; + +interface FirstFeatureOfFirstDomainBoxProps { + displayText: string; + onClick?: () => void; +} + +export const FirstFeatureOfFirstDomainBox = ({ + displayText, + onClick, + children, +}: PropsWithChildren) => { + return ( +
+ + {displayText} + {children} +
+ ); +}; diff --git a/packages/domains/src/first-domain/features/components/FirstFeatureOfFirstDomainTestButton.tsx b/packages/domains/src/first-domain/features/components/FirstFeatureOfFirstDomainTestButton.tsx new file mode 100644 index 00000000..1c285625 --- /dev/null +++ b/packages/domains/src/first-domain/features/components/FirstFeatureOfFirstDomainTestButton.tsx @@ -0,0 +1,23 @@ +import { Button } from "@sambad/ui"; +import { HTMLAttributes, ReactNode } from "react"; +import { useFirstFeatureOfFirstDomainTestButton } from "../hooks/useFirstFeatureOfFirstDomainTestButton"; + +interface FirstFeaturedOfFirstDomainTestButtonProps + extends HTMLAttributes { + children?: ReactNode; +} + +export const FirstFeatureOfFirstDomainTestButton = ({ + children, + ...rest +}: FirstFeaturedOfFirstDomainTestButtonProps) => { + const { testText, handleChangeTestText } = + useFirstFeatureOfFirstDomainTestButton(); + + return ( + + ); +}; diff --git a/packages/domains/src/first-domain/features/containers/FirstFeatureOfFirstDomainTestContainer.tsx b/packages/domains/src/first-domain/features/containers/FirstFeatureOfFirstDomainTestContainer.tsx new file mode 100644 index 00000000..02e2b65c --- /dev/null +++ b/packages/domains/src/first-domain/features/containers/FirstFeatureOfFirstDomainTestContainer.tsx @@ -0,0 +1,23 @@ +"use client"; + +import { FirstFeatureOfFirstDomainBox } from "../components/FirstFeatureOfFirstDomainTestBox"; +import { FirstFeatureOfFirstDomainTestButton } from "../components/FirstFeatureOfFirstDomainTestButton"; +import { useFirstFeatureOfFirstDomainService } from "../services/useFirstFeatureOfFirstDomainTestService"; + +export const FirstFeatureOfFirstDomainTestContainer = () => { + const { displayText, handleChangeDisplayText } = + useFirstFeatureOfFirstDomainService(); + + return ( + + { + alert("Button is Clicked at Container"); + }} + /> + + ); +}; diff --git a/packages/domains/src/first-domain/features/hooks/useFirstFeatureOfFirstDomainTestButton.ts b/packages/domains/src/first-domain/features/hooks/useFirstFeatureOfFirstDomainTestButton.ts new file mode 100644 index 00000000..48e3710f --- /dev/null +++ b/packages/domains/src/first-domain/features/hooks/useFirstFeatureOfFirstDomainTestButton.ts @@ -0,0 +1,14 @@ +import { useState } from "react"; + +export const useFirstFeatureOfFirstDomainTestButton = () => { + const [testText, setTestText] = useState("Default Button Text"); + + const handleChangeTestText = () => { + setTestText("Test Button is Clicked!!"); + }; + + return { + testText, + handleChangeTestText, + }; +}; diff --git a/packages/domains/src/first-domain/features/services/useFirstFeatureOfFirstDomainTestService.ts b/packages/domains/src/first-domain/features/services/useFirstFeatureOfFirstDomainTestService.ts new file mode 100644 index 00000000..ae98bdbe --- /dev/null +++ b/packages/domains/src/first-domain/features/services/useFirstFeatureOfFirstDomainTestService.ts @@ -0,0 +1,14 @@ +import { useState } from "react"; + +export const useFirstFeatureOfFirstDomainService = () => { + const [displayText, setDisplayText] = useState(""); + + const handleChangeDisplayText = () => { + setDisplayText("Test Container Button Clicked"); + }; + + return { + displayText, + handleChangeDisplayText, + }; +}; diff --git a/packages/domains/src/first-domain/index.ts b/packages/domains/src/first-domain/index.ts new file mode 100644 index 00000000..28a3212f --- /dev/null +++ b/packages/domains/src/first-domain/index.ts @@ -0,0 +1 @@ +export { FirstDomainExampleScreen } from "./screens/FirstDomainExampleScreen"; diff --git a/packages/domains/src/first-domain/screens/FirstDomainExampleScreen.tsx b/packages/domains/src/first-domain/screens/FirstDomainExampleScreen.tsx new file mode 100644 index 00000000..67f3ee1f --- /dev/null +++ b/packages/domains/src/first-domain/screens/FirstDomainExampleScreen.tsx @@ -0,0 +1,10 @@ +import { FirstFeatureOfFirstDomainTestContainer } from "../features/containers/FirstFeatureOfFirstDomainTestContainer"; + +export const FirstDomainExampleScreen = () => { + return ( +
+

도메인 화면을 전체 담당 하는 컴포넌트입니다.

+ +
+ ); +}; diff --git a/packages/domains/src/second-domain/common/.gitkeep b/packages/domains/src/second-domain/common/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/packages/domains/src/second-domain/features/components/FirstFeatureOfSecondDomainTestBox.tsx b/packages/domains/src/second-domain/features/components/FirstFeatureOfSecondDomainTestBox.tsx new file mode 100644 index 00000000..792f30fe --- /dev/null +++ b/packages/domains/src/second-domain/features/components/FirstFeatureOfSecondDomainTestBox.tsx @@ -0,0 +1,23 @@ +import { Button } from "@sambad/ui"; +import { PropsWithChildren } from "react"; + +interface FirstFeatureOfSecondDomainBoxProps { + displayText: string; + onClick?: () => void; +} + +export const FirstFeatureOfSecondDomainTestBox = ({ + displayText, + onClick, + children, +}: PropsWithChildren) => { + return ( +
+ + {displayText} + {children} +
+ ); +}; diff --git a/packages/domains/src/second-domain/features/components/FirstFeatureOfSecondDomainTestButton.tsx b/packages/domains/src/second-domain/features/components/FirstFeatureOfSecondDomainTestButton.tsx new file mode 100644 index 00000000..1b12c647 --- /dev/null +++ b/packages/domains/src/second-domain/features/components/FirstFeatureOfSecondDomainTestButton.tsx @@ -0,0 +1,23 @@ +import { Button } from "@sambad/ui"; +import { HTMLAttributes, ReactNode } from "react"; +import { useFirstFeatureOfFirstDomainTestButton } from "../hooks/useFirstFeatureOfFirstDomainTestButton"; + +interface FirstFeaturedOfSecondDomainTestButtonProps + extends HTMLAttributes { + children?: ReactNode; +} + +export const FirstFeatureOfSecondDomainTestButton = ({ + children, + ...rest +}: FirstFeaturedOfSecondDomainTestButtonProps) => { + const { testText, handleChangeTestText } = + useFirstFeatureOfFirstDomainTestButton(); + + return ( + + ); +}; diff --git a/packages/domains/src/second-domain/features/containers/FirstFeatureOfSecondDomainTestContainer.tsx b/packages/domains/src/second-domain/features/containers/FirstFeatureOfSecondDomainTestContainer.tsx new file mode 100644 index 00000000..7b4b84bc --- /dev/null +++ b/packages/domains/src/second-domain/features/containers/FirstFeatureOfSecondDomainTestContainer.tsx @@ -0,0 +1,23 @@ +"use client"; + +import { FirstFeatureOfSecondDomainTestBox } from "../components/FirstFeatureOfSecondDomainTestBox"; +import { FirstFeatureOfSecondDomainTestButton } from "../components/FirstFeatureOfSecondDomainTestButton"; +import { useFirstFeatureOfSecondDomainService } from "../services/useFirstFeatureOfSecondDomainTestService"; + +export const FirstFeatureOfSecondDomainTestContainer = () => { + const { displayText, handleChangeDisplayText } = + useFirstFeatureOfSecondDomainService(); + + return ( + + { + alert("Button is Clicked at Container"); + }} + /> + + ); +}; diff --git a/packages/domains/src/second-domain/features/hooks/useFirstFeatureOfFirstDomainTestButton.ts b/packages/domains/src/second-domain/features/hooks/useFirstFeatureOfFirstDomainTestButton.ts new file mode 100644 index 00000000..48e3710f --- /dev/null +++ b/packages/domains/src/second-domain/features/hooks/useFirstFeatureOfFirstDomainTestButton.ts @@ -0,0 +1,14 @@ +import { useState } from "react"; + +export const useFirstFeatureOfFirstDomainTestButton = () => { + const [testText, setTestText] = useState("Default Button Text"); + + const handleChangeTestText = () => { + setTestText("Test Button is Clicked!!"); + }; + + return { + testText, + handleChangeTestText, + }; +}; diff --git a/packages/domains/src/second-domain/features/services/useFirstFeatureOfSecondDomainTestService.ts b/packages/domains/src/second-domain/features/services/useFirstFeatureOfSecondDomainTestService.ts new file mode 100644 index 00000000..82319706 --- /dev/null +++ b/packages/domains/src/second-domain/features/services/useFirstFeatureOfSecondDomainTestService.ts @@ -0,0 +1,14 @@ +import { useState } from "react"; + +export const useFirstFeatureOfSecondDomainService = () => { + const [displayText, setDisplayText] = useState(""); + + const handleChangeDisplayText = () => { + setDisplayText("Test Container Button Clicked"); + }; + + return { + displayText, + handleChangeDisplayText, + }; +}; diff --git a/packages/domains/src/second-domain/index.ts b/packages/domains/src/second-domain/index.ts new file mode 100644 index 00000000..8f7d1c47 --- /dev/null +++ b/packages/domains/src/second-domain/index.ts @@ -0,0 +1 @@ +export { SecondDomainExampleScreen } from "./screens/SecondDomainExampleScreen"; diff --git a/packages/domains/src/second-domain/screens/SecondDomainExampleScreen.tsx b/packages/domains/src/second-domain/screens/SecondDomainExampleScreen.tsx new file mode 100644 index 00000000..c7755a29 --- /dev/null +++ b/packages/domains/src/second-domain/screens/SecondDomainExampleScreen.tsx @@ -0,0 +1,10 @@ +import { FirstFeatureOfSecondDomainTestContainer } from "../features/containers/FirstFeatureOfSecondDomainTestContainer"; + +export const SecondDomainExampleScreen = () => { + return ( +
+

도메인 화면을 전체 담당 하는 컴포넌트입니다.

+ +
+ ); +}; diff --git a/packages/domains/tsconfig.json b/packages/domains/tsconfig.json new file mode 100644 index 00000000..025f77e2 --- /dev/null +++ b/packages/domains/tsconfig.json @@ -0,0 +1,8 @@ +{ + "extends": "@sambad/typescript-config/react-library.json", + "compilerOptions": { + "outDir": "dist" + }, + "include": ["src"], + "exclude": ["node_modules", "dist"] +} diff --git a/packages/domains/tsconfig.lint.json b/packages/domains/tsconfig.lint.json new file mode 100644 index 00000000..807416b9 --- /dev/null +++ b/packages/domains/tsconfig.lint.json @@ -0,0 +1,8 @@ +{ + "extends": "@sambad/typescript-config/react-library.json", + "compilerOptions": { + "outDir": "dist" + }, + "include": ["src", "turbo"], + "exclude": ["node_modules", "dist"] +} diff --git a/packages/ui/turbo/generators/config.ts b/packages/ui/turbo/generators/config.ts deleted file mode 100644 index 40100baa..00000000 --- a/packages/ui/turbo/generators/config.ts +++ /dev/null @@ -1,30 +0,0 @@ -import type { PlopTypes } from "@turbo/gen"; - -// Learn more about Turborepo Generators at https://turbo.build/repo/docs/core-concepts/monorepos/code-generation - -export default function generator(plop: PlopTypes.NodePlopAPI): void { - // A simple generator to add a new React component to the internal UI library - plop.setGenerator("react-component", { - description: "Adds a new react component", - prompts: [ - { - type: "input", - name: "name", - message: "What is the name of the component?", - }, - ], - actions: [ - { - type: "add", - path: "src/{{kebabCase name}}.tsx", - templateFile: "templates/component.hbs", - }, - { - type: "append", - path: "package.json", - pattern: /"exports": {(?)/g, - template: ' "./{{kebabCase name}}": "./src/{{kebabCase name}}.tsx",', - }, - ], - }); -} diff --git a/packages/ui/turbo/generators/templates/component.hbs b/packages/ui/turbo/generators/templates/component.hbs deleted file mode 100644 index d968b9e3..00000000 --- a/packages/ui/turbo/generators/templates/component.hbs +++ /dev/null @@ -1,8 +0,0 @@ -export const {{ pascalCase name }} = ({ children }: { children: React.ReactNode }) => { - return ( -
-

{{ pascalCase name }} Component

- {children} -
- ); -}; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c4f0a8d8..c09dfb75 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -20,9 +20,9 @@ importers: apps/web: dependencies: - '@sambad/ui': + '@sambad/domains': specifier: workspace:* - version: link:../../packages/ui + version: link:../../packages/domains next: specifier: 14.2.4 version: 14.2.4(react-dom@18.2.0)(react@18.2.0) @@ -35,10 +35,10 @@ importers: devDependencies: '@sambad/eslint-config': specifier: workspace:* - version: link:../../packages/eslint-config + version: link:../../packages/core/eslint-config '@sambad/typescript-config': specifier: workspace:* - version: link:../../packages/typescript-config + version: link:../../packages/core/typescript-config '@types/node': specifier: ^20 version: 20.11.24 @@ -58,7 +58,37 @@ importers: specifier: ^5 version: 5.4.5 - packages/eslint-config: + packages/bridges: + devDependencies: + '@sambad/eslint-config': + specifier: workspace:* + version: link:../core/eslint-config + '@sambad/typescript-config': + specifier: workspace:* + version: link:../core/typescript-config + '@types/eslint': + specifier: ^8.56.5 + version: 8.56.5 + '@types/node': + specifier: ^20.11.24 + version: 20.11.24 + '@types/react': + specifier: ^18.2.61 + version: 18.2.61 + '@types/react-dom': + specifier: ^18.2.19 + version: 18.2.19 + eslint: + specifier: ^8.57.0 + version: 8.57.0 + react: + specifier: ^18 + version: 18.2.0 + typescript: + specifier: ^5.3.3 + version: 5.4.5 + + packages/core/eslint-config: devDependencies: '@typescript-eslint/eslint-plugin': specifier: ^7.1.0 @@ -82,9 +112,39 @@ importers: specifier: ^5.3.3 version: 5.4.5 - packages/typescript-config: {} + packages/core/sds: + devDependencies: + '@sambad/eslint-config': + specifier: workspace:* + version: link:../eslint-config + '@sambad/typescript-config': + specifier: workspace:* + version: link:../typescript-config + '@types/eslint': + specifier: ^8.56.5 + version: 8.56.5 + '@types/node': + specifier: ^20.11.24 + version: 20.11.24 + '@types/react': + specifier: ^18.2.61 + version: 18.2.61 + '@types/react-dom': + specifier: ^18.2.19 + version: 18.2.19 + eslint: + specifier: ^8.57.0 + version: 8.57.0 + react: + specifier: ^18 + version: 18.2.0 + typescript: + specifier: ^5.3.3 + version: 5.4.5 - packages/ui: + packages/core/typescript-config: {} + + packages/core/ui: devDependencies: '@sambad/eslint-config': specifier: workspace:* @@ -112,7 +172,40 @@ importers: version: 8.57.0 react: specifier: ^18 - version: 18.0.0 + version: 18.2.0 + typescript: + specifier: ^5.3.3 + version: 5.4.5 + + packages/domains: + devDependencies: + '@sambad/eslint-config': + specifier: workspace:* + version: link:../core/eslint-config + '@sambad/typescript-config': + specifier: workspace:* + version: link:../core/typescript-config + '@sambad/ui': + specifier: workspace:* + version: link:../core/ui + '@types/eslint': + specifier: ^8.56.5 + version: 8.56.5 + '@types/node': + specifier: ^20.11.24 + version: 20.11.24 + '@types/react': + specifier: ^18.2.61 + version: 18.2.61 + '@types/react-dom': + specifier: ^18.2.19 + version: 18.2.19 + eslint: + specifier: ^8.57.0 + version: 8.57.0 + react: + specifier: ^18 + version: 18.2.0 typescript: specifier: ^5.3.3 version: 5.4.5 @@ -4054,19 +4147,11 @@ packages: resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==} dev: true - /react@18.0.0: - resolution: {integrity: sha512-x+VL6wbT4JRVPm7EGxXhZ8w8LTROaxPXOqhlGyVSrv0sB1jkyFGgXxJ8LVoPRLvPR6/CIZGFmfzqUa2NYeMr2A==} - engines: {node: '>=0.10.0'} - dependencies: - loose-envify: 1.4.0 - dev: true - /react@18.2.0: resolution: {integrity: sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==} engines: {node: '>=0.10.0'} dependencies: loose-envify: 1.4.0 - dev: false /read-pkg-up@7.0.1: resolution: {integrity: sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==} diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 3ff5faaa..c8c2062e 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,3 +1,5 @@ packages: - "apps/*" - "packages/*" + - "packages/core/*" + - "packages/bridges/*"