diff --git a/common/package.json b/common/package.json new file mode 100644 index 00000000..50421fbe --- /dev/null +++ b/common/package.json @@ -0,0 +1,48 @@ +{ + "name": "baron-sso", + "private": true, + "scripts": { + "dev:all": "pnpm -r run dev", + "build:all": "pnpm -r run build", + "lint:all": "pnpm -r run lint" + }, + "devDependencies": { + "@biomejs/biome": "^1.9.4", + "@playwright/test": "^1.58.0", + "autoprefixer": "^10.4.23", + "postcss": "^8.5.6", + "tailwindcss": "^3.4.14", + "tailwindcss-animate": "^1.0.7", + "typescript": "~5.9.3", + "vite": "^8.0.3", + "vitest": "^4.1.5", + "@types/node": "^24.10.1", + "@types/react": "^19.2.5", + "@types/react-dom": "^19.2.3", + "@vitejs/plugin-react": "^6.0.1", + "jsdom": "^28.1.0" + }, + "dependencies": { + "react": "^19.2.0", + "react-dom": "^19.2.0", + "react-router-dom": "^6.28.2", + "@tanstack/react-query": "^5.66.8", + "@tanstack/react-query-devtools": "^5.66.8", + "axios": "^1.7.9", + "lucide-react": "^0.563.0", + "clsx": "^2.1.1", + "tailwind-merge": "^3.4.0", + "class-variance-authority": "^0.7.1", + "zod": "^3.24.1", + "react-hook-form": "^7.71.1", + "oidc-client-ts": "^3.4.1", + "react-oidc-context": "^3.3.0", + "@radix-ui/react-avatar": "^1.1.4", + "@radix-ui/react-dialog": "^1.1.15", + "@radix-ui/react-dropdown-menu": "^2.1.16", + "@radix-ui/react-scroll-area": "^1.1.2", + "@radix-ui/react-select": "^2.2.6", + "@radix-ui/react-slot": "^1.1.2", + "@radix-ui/react-switch": "^1.1.2" + } +} diff --git a/common/pnpm-workspace.yaml b/common/pnpm-workspace.yaml new file mode 100644 index 00000000..afc5f58a --- /dev/null +++ b/common/pnpm-workspace.yaml @@ -0,0 +1,6 @@ +packages: + - "../adminfront" + - "../devfront" + - "../orgfront" +allowBuilds: + '@biomejs/biome': false diff --git a/common/tsconfig.base.json b/common/tsconfig.base.json new file mode 100644 index 00000000..0375220d --- /dev/null +++ b/common/tsconfig.base.json @@ -0,0 +1,8 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "paths": { + "@common/*": ["./*"] + } + } +}