diff --git a/README.md b/README.md index 841a2fe0..c8fa9487 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ For pushing events ### Usage ```ts -import { MixanWeb } from '@mixan/sdk-web'; +import { MixanWeb } from '@mixan/web'; // import { MixanNative } from '@mixan/sdk-native'; @@ -151,7 +151,7 @@ mixan.screenView('Article', { mixan.clear(); ``` -## @mixan/web +## @mixan/dashboard A nextjs web app. Collects all events and your gui to analyze your data. diff --git a/apps/sdk-api/Dockerfile b/apps/api/Dockerfile similarity index 89% rename from apps/sdk-api/Dockerfile rename to apps/api/Dockerfile index e880d0b2..d600a717 100644 --- a/apps/sdk-api/Dockerfile +++ b/apps/api/Dockerfile @@ -41,7 +41,7 @@ WORKDIR /app COPY package.json package.json COPY pnpm-lock.yaml pnpm-lock.yaml COPY pnpm-workspace.yaml pnpm-workspace.yaml -COPY apps/sdk-api/package.json apps/sdk-api/package.json +COPY apps/api/package.json apps/api/package.json COPY packages/db/package.json packages/db/package.json COPY packages/redis/package.json packages/redis/package.json COPY packages/queue/package.json packages/queue/package.json @@ -53,7 +53,7 @@ COPY packages/sdk/package.json packages/sdk/package.json # BUILD FROM base AS build -WORKDIR /app/apps/sdk-api +WORKDIR /app/apps/api RUN pnpm install --frozen-lockfile WORKDIR /app @@ -62,13 +62,13 @@ COPY packages packages COPY tooling tooling RUN pnpm db:codegen -WORKDIR /app/apps/sdk-api +WORKDIR /app/apps/api RUN pnpm run build # PROD FROM base AS prod -WORKDIR /app/apps/sdk-api +WORKDIR /app/apps/api RUN pnpm install --frozen-lockfile --prod # FINAL @@ -78,10 +78,10 @@ COPY --from=build /app/package.json /app/package.json COPY --from=prod /app/node_modules /app/node_modules # Apps -COPY --from=build /app/apps/sdk-api /app/apps/sdk-api +COPY --from=build /app/apps/api /app/apps/api # Apps node_modules -COPY --from=prod /app/apps/sdk-api/node_modules /app/apps/sdk-api/node_modules +COPY --from=prod /app/apps/api/node_modules /app/apps/api/node_modules # Packages COPY --from=build /app/packages/db /app/packages/db @@ -97,7 +97,7 @@ COPY --from=prod /app/packages/common/node_modules /app/packages/common/node_mod RUN pnpm db:codegen -WORKDIR /app/apps/sdk-api +WORKDIR /app/apps/api EXPOSE 3000 diff --git a/apps/sdk-api/package.json b/apps/api/package.json similarity index 97% rename from apps/sdk-api/package.json rename to apps/api/package.json index aeb81963..3c226a19 100644 --- a/apps/sdk-api/package.json +++ b/apps/api/package.json @@ -1,5 +1,5 @@ { - "name": "@mixan/sdk-api", + "name": "@mixan/api", "version": "0.0.1", "scripts": { "dev": "dotenv -e ../../.env -c -v WATCH=1 tsup", diff --git a/apps/sdk-api/scripts/get-referrers.ts b/apps/api/scripts/get-referrers.ts similarity index 100% rename from apps/sdk-api/scripts/get-referrers.ts rename to apps/api/scripts/get-referrers.ts diff --git a/apps/sdk-api/scripts/test-events.ts b/apps/api/scripts/test-events.ts similarity index 100% rename from apps/sdk-api/scripts/test-events.ts rename to apps/api/scripts/test-events.ts diff --git a/apps/sdk-api/scripts/test-ua.ts b/apps/api/scripts/test-ua.ts similarity index 100% rename from apps/sdk-api/scripts/test-ua.ts rename to apps/api/scripts/test-ua.ts diff --git a/apps/sdk-api/src/bots/bots.readme.md b/apps/api/src/bots/bots.readme.md similarity index 100% rename from apps/sdk-api/src/bots/bots.readme.md rename to apps/api/src/bots/bots.readme.md diff --git a/apps/sdk-api/src/bots/bots.ts b/apps/api/src/bots/bots.ts similarity index 100% rename from apps/sdk-api/src/bots/bots.ts rename to apps/api/src/bots/bots.ts diff --git a/apps/sdk-api/src/bots/index.ts b/apps/api/src/bots/index.ts similarity index 100% rename from apps/sdk-api/src/bots/index.ts rename to apps/api/src/bots/index.ts diff --git a/apps/sdk-api/src/controllers/event.controller.ts b/apps/api/src/controllers/event.controller.ts similarity index 100% rename from apps/sdk-api/src/controllers/event.controller.ts rename to apps/api/src/controllers/event.controller.ts diff --git a/apps/sdk-api/src/controllers/live.controller.ts b/apps/api/src/controllers/live.controller.ts similarity index 100% rename from apps/sdk-api/src/controllers/live.controller.ts rename to apps/api/src/controllers/live.controller.ts diff --git a/apps/sdk-api/src/controllers/misc.controller.ts b/apps/api/src/controllers/misc.controller.ts similarity index 100% rename from apps/sdk-api/src/controllers/misc.controller.ts rename to apps/api/src/controllers/misc.controller.ts diff --git a/apps/sdk-api/src/controllers/profile.controller.ts b/apps/api/src/controllers/profile.controller.ts similarity index 100% rename from apps/sdk-api/src/controllers/profile.controller.ts rename to apps/api/src/controllers/profile.controller.ts diff --git a/apps/sdk-api/src/index.ts b/apps/api/src/index.ts similarity index 100% rename from apps/sdk-api/src/index.ts rename to apps/api/src/index.ts diff --git a/apps/sdk-api/src/referrers/index.ts b/apps/api/src/referrers/index.ts similarity index 100% rename from apps/sdk-api/src/referrers/index.ts rename to apps/api/src/referrers/index.ts diff --git a/apps/sdk-api/src/referrers/referrers.readme.md b/apps/api/src/referrers/referrers.readme.md similarity index 100% rename from apps/sdk-api/src/referrers/referrers.readme.md rename to apps/api/src/referrers/referrers.readme.md diff --git a/apps/sdk-api/src/routes/event.router.ts b/apps/api/src/routes/event.router.ts similarity index 100% rename from apps/sdk-api/src/routes/event.router.ts rename to apps/api/src/routes/event.router.ts diff --git a/apps/sdk-api/src/routes/live.router.ts b/apps/api/src/routes/live.router.ts similarity index 100% rename from apps/sdk-api/src/routes/live.router.ts rename to apps/api/src/routes/live.router.ts diff --git a/apps/sdk-api/src/routes/misc.router.ts b/apps/api/src/routes/misc.router.ts similarity index 100% rename from apps/sdk-api/src/routes/misc.router.ts rename to apps/api/src/routes/misc.router.ts diff --git a/apps/sdk-api/src/routes/profile.router.ts b/apps/api/src/routes/profile.router.ts similarity index 100% rename from apps/sdk-api/src/routes/profile.router.ts rename to apps/api/src/routes/profile.router.ts diff --git a/apps/sdk-api/src/utils/auth.ts b/apps/api/src/utils/auth.ts similarity index 100% rename from apps/sdk-api/src/utils/auth.ts rename to apps/api/src/utils/auth.ts diff --git a/apps/sdk-api/src/utils/logger.ts b/apps/api/src/utils/logger.ts similarity index 100% rename from apps/sdk-api/src/utils/logger.ts rename to apps/api/src/utils/logger.ts diff --git a/apps/sdk-api/src/utils/parseIp.ts b/apps/api/src/utils/parseIp.ts similarity index 100% rename from apps/sdk-api/src/utils/parseIp.ts rename to apps/api/src/utils/parseIp.ts diff --git a/apps/sdk-api/src/utils/parseReferrer.ts b/apps/api/src/utils/parseReferrer.ts similarity index 100% rename from apps/sdk-api/src/utils/parseReferrer.ts rename to apps/api/src/utils/parseReferrer.ts diff --git a/apps/sdk-api/src/utils/parseUserAgent.ts b/apps/api/src/utils/parseUserAgent.ts similarity index 100% rename from apps/sdk-api/src/utils/parseUserAgent.ts rename to apps/api/src/utils/parseUserAgent.ts diff --git a/apps/sdk-api/src/utils/url.ts b/apps/api/src/utils/url.ts similarity index 100% rename from apps/sdk-api/src/utils/url.ts rename to apps/api/src/utils/url.ts diff --git a/apps/sdk-api/tsconfig.json b/apps/api/tsconfig.json similarity index 100% rename from apps/sdk-api/tsconfig.json rename to apps/api/tsconfig.json diff --git a/apps/sdk-api/tsup.config.ts b/apps/api/tsup.config.ts similarity index 100% rename from apps/sdk-api/tsup.config.ts rename to apps/api/tsup.config.ts diff --git a/apps/web/.gitignore b/apps/dashboard/.gitignore similarity index 100% rename from apps/web/.gitignore rename to apps/dashboard/.gitignore diff --git a/apps/web/Dockerfile b/apps/dashboard/Dockerfile similarity index 90% rename from apps/web/Dockerfile rename to apps/dashboard/Dockerfile index f32f7363..0f19d891 100644 --- a/apps/web/Dockerfile +++ b/apps/dashboard/Dockerfile @@ -50,7 +50,7 @@ WORKDIR /app COPY package.json package.json COPY pnpm-lock.yaml pnpm-lock.yaml COPY pnpm-workspace.yaml pnpm-workspace.yaml -COPY apps/web/package.json apps/web/package.json +COPY apps/dashboard/package.json apps/dashboard/package.json COPY packages/db/package.json packages/db/package.json COPY packages/redis/package.json packages/redis/package.json COPY packages/queue/package.json packages/queue/package.json @@ -62,7 +62,7 @@ COPY packages/sdk/package.json packages/sdk/package.json # BUILD FROM base AS build -WORKDIR /app/apps/web +WORKDIR /app/apps/dashboard RUN pnpm install --frozen-lockfile --ignore-scripts WORKDIR /app @@ -71,13 +71,13 @@ COPY packages packages COPY tooling tooling RUN pnpm db:codegen -WORKDIR /app/apps/web +WORKDIR /app/apps/dashboard RUN pnpm run build # PROD FROM base AS prod -WORKDIR /app/apps/web +WORKDIR /app/apps/dashboard RUN pnpm install --frozen-lockfile --prod --ignore-scripts # FINAL @@ -86,9 +86,9 @@ FROM base AS runner COPY --from=build /app/package.json /app/package.json COPY --from=prod /app/node_modules /app/node_modules # Apps -COPY --from=build /app/apps/web /app/apps/web +COPY --from=build /app/apps/dashboard /app/apps/dashboard # Apps node_modules -COPY --from=prod /app/apps/web/node_modules /app/apps/web/node_modules +COPY --from=prod /app/apps/dashboard/node_modules /app/apps/dashboard/node_modules # Packages COPY --from=build /app/packages/db /app/packages/db COPY --from=build /app/packages/redis /app/packages/redis @@ -106,7 +106,7 @@ COPY --from=prod /app/packages/queue/node_modules /app/packages/queue/node_modul RUN pnpm db:codegen -WORKDIR /app/apps/web +WORKDIR /app/apps/dashboard EXPOSE 3000 diff --git a/apps/web/README.md b/apps/dashboard/README.md similarity index 100% rename from apps/web/README.md rename to apps/dashboard/README.md diff --git a/apps/web/TOOODOO.md b/apps/dashboard/TOOODOO.md similarity index 100% rename from apps/web/TOOODOO.md rename to apps/dashboard/TOOODOO.md diff --git a/apps/web/components.json b/apps/dashboard/components.json similarity index 100% rename from apps/web/components.json rename to apps/dashboard/components.json diff --git a/apps/web/next.config.mjs b/apps/dashboard/next.config.mjs similarity index 100% rename from apps/web/next.config.mjs rename to apps/dashboard/next.config.mjs diff --git a/apps/web/package.json b/apps/dashboard/package.json similarity index 99% rename from apps/web/package.json rename to apps/dashboard/package.json index 3c793cae..6781ebdd 100644 --- a/apps/web/package.json +++ b/apps/dashboard/package.json @@ -1,5 +1,5 @@ { - "name": "@mixan/web", + "name": "@mixan/dashboard", "version": "0.1.0", "private": true, "scripts": { diff --git a/apps/web/postcss.config.cjs b/apps/dashboard/postcss.config.cjs similarity index 100% rename from apps/web/postcss.config.cjs rename to apps/dashboard/postcss.config.cjs diff --git a/apps/web/public/favicon.ico b/apps/dashboard/public/favicon.ico similarity index 100% rename from apps/web/public/favicon.ico rename to apps/dashboard/public/favicon.ico diff --git a/apps/web/public/logo-2.svg b/apps/dashboard/public/logo-2.svg similarity index 100% rename from apps/web/public/logo-2.svg rename to apps/dashboard/public/logo-2.svg diff --git a/apps/web/public/logo-with-text.svg b/apps/dashboard/public/logo-with-text.svg similarity index 100% rename from apps/web/public/logo-with-text.svg rename to apps/dashboard/public/logo-with-text.svg diff --git a/apps/web/public/logo.svg b/apps/dashboard/public/logo.svg similarity index 100% rename from apps/web/public/logo.svg rename to apps/dashboard/public/logo.svg diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/create-client.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/create-client.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/create-client.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/create-client.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/dashboards/[dashboardId]/list-reports.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/dashboards/[dashboardId]/list-reports.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/dashboards/[dashboardId]/list-reports.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/dashboards/[dashboardId]/list-reports.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/dashboards/[dashboardId]/page.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/dashboards/[dashboardId]/page.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/dashboards/[dashboardId]/page.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/dashboards/[dashboardId]/page.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/dashboards/header-dashboards.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/dashboards/header-dashboards.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/dashboards/header-dashboards.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/dashboards/header-dashboards.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/dashboards/list-dashboards.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/dashboards/list-dashboards.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/dashboards/list-dashboards.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/dashboards/list-dashboards.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/dashboards/page.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/dashboards/page.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/dashboards/page.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/dashboards/page.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/events/event-chart.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/events/event-chart.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/events/event-chart.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/events/event-chart.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/events/event-details.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/events/event-details.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/events/event-details.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/events/event-details.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/events/event-edit.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/events/event-edit.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/events/event-edit.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/events/event-edit.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/events/event-icon.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/events/event-icon.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/events/event-icon.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/events/event-icon.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/events/event-list-item.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/events/event-list-item.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/events/event-list-item.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/events/event-list-item.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/events/event-list.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/events/event-list.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/events/event-list.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/events/event-list.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/events/event-listener.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/events/event-listener.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/events/event-listener.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/events/event-listener.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/events/page.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/events/page.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/events/page.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/events/page.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/layout-menu.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/layout-menu.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/layout-menu.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/layout-menu.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/layout-organization-selector.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/layout-organization-selector.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/layout-organization-selector.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/layout-organization-selector.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/layout-project-selector.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/layout-project-selector.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/layout-project-selector.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/layout-project-selector.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/layout-sidebar.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/layout-sidebar.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/layout-sidebar.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/layout-sidebar.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/layout-sticky-below-header.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/layout-sticky-below-header.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/layout-sticky-below-header.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/layout-sticky-below-header.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/layout.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/layout.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/layout.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/layout.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/overview-sticky-header.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/overview-sticky-header.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/overview-sticky-header.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/overview-sticky-header.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/page-layout.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/page-layout.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/page-layout.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/page-layout.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/page.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/page.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/page.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/page.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/profiles/[profileId]/page.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/profiles/[profileId]/page.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/profiles/[profileId]/page.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/profiles/[profileId]/page.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/profiles/page.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/profiles/page.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/profiles/page.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/profiles/page.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/profiles/profile-list-item.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/profiles/profile-list-item.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/profiles/profile-list-item.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/profiles/profile-list-item.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/profiles/profile-list.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/profiles/profile-list.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/profiles/profile-list.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/profiles/profile-list.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/reports/[reportId]/page.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/reports/[reportId]/page.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/reports/[reportId]/page.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/reports/[reportId]/page.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/reports/page.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/reports/page.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/reports/page.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/reports/page.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/reports/report-editor.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/reports/report-editor.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/reports/report-editor.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/reports/report-editor.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/settings/clients/list-clients.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/settings/clients/list-clients.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/settings/clients/list-clients.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/settings/clients/list-clients.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/settings/clients/page.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/settings/clients/page.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/settings/clients/page.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/settings/clients/page.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/settings/organization/edit-organization.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/settings/organization/edit-organization.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/settings/organization/edit-organization.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/settings/organization/edit-organization.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/settings/organization/invite-user.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/settings/organization/invite-user.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/settings/organization/invite-user.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/settings/organization/invite-user.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/settings/organization/invited-users.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/settings/organization/invited-users.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/settings/organization/invited-users.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/settings/organization/invited-users.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/settings/organization/page.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/settings/organization/page.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/settings/organization/page.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/settings/organization/page.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/settings/page.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/settings/page.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/settings/page.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/settings/page.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/settings/profile/edit-profile.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/settings/profile/edit-profile.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/settings/profile/edit-profile.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/settings/profile/edit-profile.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/settings/profile/logout.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/settings/profile/logout.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/settings/profile/logout.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/settings/profile/logout.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/settings/profile/page.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/settings/profile/page.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/settings/profile/page.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/settings/profile/page.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/settings/projects/list-projects.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/settings/projects/list-projects.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/settings/projects/list-projects.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/settings/projects/list-projects.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/settings/projects/page.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/settings/projects/page.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/settings/projects/page.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/settings/projects/page.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/settings/references/list-references.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/settings/references/list-references.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/settings/references/list-references.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/settings/references/list-references.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/settings/references/page.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/settings/references/page.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/settings/references/page.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/settings/references/page.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/[projectId]/test/page.tsx b/apps/dashboard/src/app/(app)/[organizationId]/[projectId]/test/page.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/[projectId]/test/page.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/[projectId]/test/page.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/create-project.tsx b/apps/dashboard/src/app/(app)/[organizationId]/create-project.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/create-project.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/create-project.tsx diff --git a/apps/web/src/app/(app)/[organizationId]/page.tsx b/apps/dashboard/src/app/(app)/[organizationId]/page.tsx similarity index 100% rename from apps/web/src/app/(app)/[organizationId]/page.tsx rename to apps/dashboard/src/app/(app)/[organizationId]/page.tsx diff --git a/apps/web/src/app/(app)/create-organization.tsx b/apps/dashboard/src/app/(app)/create-organization.tsx similarity index 100% rename from apps/web/src/app/(app)/create-organization.tsx rename to apps/dashboard/src/app/(app)/create-organization.tsx diff --git a/apps/web/src/app/(app)/page.tsx b/apps/dashboard/src/app/(app)/page.tsx similarity index 100% rename from apps/web/src/app/(app)/page.tsx rename to apps/dashboard/src/app/(app)/page.tsx diff --git a/apps/web/src/app/(public)/share/overview/[id]/page.tsx b/apps/dashboard/src/app/(public)/share/overview/[id]/page.tsx similarity index 100% rename from apps/web/src/app/(public)/share/overview/[id]/page.tsx rename to apps/dashboard/src/app/(public)/share/overview/[id]/page.tsx diff --git a/apps/web/src/app/_trpc/client.tsx b/apps/dashboard/src/app/_trpc/client.tsx similarity index 100% rename from apps/web/src/app/_trpc/client.tsx rename to apps/dashboard/src/app/_trpc/client.tsx diff --git a/apps/web/src/app/api/trpc/[trpc]/route.ts b/apps/dashboard/src/app/api/trpc/[trpc]/route.ts similarity index 100% rename from apps/web/src/app/api/trpc/[trpc]/route.ts rename to apps/dashboard/src/app/api/trpc/[trpc]/route.ts diff --git a/apps/web/src/app/auth.tsx b/apps/dashboard/src/app/auth.tsx similarity index 100% rename from apps/web/src/app/auth.tsx rename to apps/dashboard/src/app/auth.tsx diff --git a/apps/web/src/app/layout.tsx b/apps/dashboard/src/app/layout.tsx similarity index 100% rename from apps/web/src/app/layout.tsx rename to apps/dashboard/src/app/layout.tsx diff --git a/apps/web/src/app/manifest.ts b/apps/dashboard/src/app/manifest.ts similarity index 100% rename from apps/web/src/app/manifest.ts rename to apps/dashboard/src/app/manifest.ts diff --git a/apps/web/src/app/providers.tsx b/apps/dashboard/src/app/providers.tsx similarity index 100% rename from apps/web/src/app/providers.tsx rename to apps/dashboard/src/app/providers.tsx diff --git a/apps/web/src/components/AutoSizer.tsx b/apps/dashboard/src/components/AutoSizer.tsx similarity index 100% rename from apps/web/src/components/AutoSizer.tsx rename to apps/dashboard/src/components/AutoSizer.tsx diff --git a/apps/web/src/components/ButtonContainer.tsx b/apps/dashboard/src/components/ButtonContainer.tsx similarity index 100% rename from apps/web/src/components/ButtonContainer.tsx rename to apps/dashboard/src/components/ButtonContainer.tsx diff --git a/apps/web/src/components/Card.tsx b/apps/dashboard/src/components/Card.tsx similarity index 100% rename from apps/web/src/components/Card.tsx rename to apps/dashboard/src/components/Card.tsx diff --git a/apps/web/src/components/ColorSquare.tsx b/apps/dashboard/src/components/ColorSquare.tsx similarity index 100% rename from apps/web/src/components/ColorSquare.tsx rename to apps/dashboard/src/components/ColorSquare.tsx diff --git a/apps/web/src/components/Container.tsx b/apps/dashboard/src/components/Container.tsx similarity index 100% rename from apps/web/src/components/Container.tsx rename to apps/dashboard/src/components/Container.tsx diff --git a/apps/web/src/components/Content.tsx b/apps/dashboard/src/components/Content.tsx similarity index 100% rename from apps/web/src/components/Content.tsx rename to apps/dashboard/src/components/Content.tsx diff --git a/apps/web/src/components/DataTable.tsx b/apps/dashboard/src/components/DataTable.tsx similarity index 100% rename from apps/web/src/components/DataTable.tsx rename to apps/dashboard/src/components/DataTable.tsx diff --git a/apps/web/src/components/Dropdown.tsx b/apps/dashboard/src/components/Dropdown.tsx similarity index 100% rename from apps/web/src/components/Dropdown.tsx rename to apps/dashboard/src/components/Dropdown.tsx diff --git a/apps/web/src/components/FullPageEmptyState.tsx b/apps/dashboard/src/components/FullPageEmptyState.tsx similarity index 100% rename from apps/web/src/components/FullPageEmptyState.tsx rename to apps/dashboard/src/components/FullPageEmptyState.tsx diff --git a/apps/web/src/components/Logo.tsx b/apps/dashboard/src/components/Logo.tsx similarity index 100% rename from apps/web/src/components/Logo.tsx rename to apps/dashboard/src/components/Logo.tsx diff --git a/apps/web/src/components/PageTitle.tsx b/apps/dashboard/src/components/PageTitle.tsx similarity index 100% rename from apps/web/src/components/PageTitle.tsx rename to apps/dashboard/src/components/PageTitle.tsx diff --git a/apps/web/src/components/Pagination.tsx b/apps/dashboard/src/components/Pagination.tsx similarity index 100% rename from apps/web/src/components/Pagination.tsx rename to apps/dashboard/src/components/Pagination.tsx diff --git a/apps/web/src/components/Syntax.tsx b/apps/dashboard/src/components/Syntax.tsx similarity index 100% rename from apps/web/src/components/Syntax.tsx rename to apps/dashboard/src/components/Syntax.tsx diff --git a/apps/web/src/components/Widget.tsx b/apps/dashboard/src/components/Widget.tsx similarity index 100% rename from apps/web/src/components/Widget.tsx rename to apps/dashboard/src/components/Widget.tsx diff --git a/apps/web/src/components/WithSidebar.tsx b/apps/dashboard/src/components/WithSidebar.tsx similarity index 100% rename from apps/web/src/components/WithSidebar.tsx rename to apps/dashboard/src/components/WithSidebar.tsx diff --git a/apps/web/src/components/chart-ssr.tsx b/apps/dashboard/src/components/chart-ssr.tsx similarity index 100% rename from apps/web/src/components/chart-ssr.tsx rename to apps/dashboard/src/components/chart-ssr.tsx diff --git a/apps/web/src/components/clients/ClientActions.tsx b/apps/dashboard/src/components/clients/ClientActions.tsx similarity index 100% rename from apps/web/src/components/clients/ClientActions.tsx rename to apps/dashboard/src/components/clients/ClientActions.tsx diff --git a/apps/web/src/components/clients/table.tsx b/apps/dashboard/src/components/clients/table.tsx similarity index 100% rename from apps/web/src/components/clients/table.tsx rename to apps/dashboard/src/components/clients/table.tsx diff --git a/apps/web/src/components/events/ListProperties.tsx b/apps/dashboard/src/components/events/ListProperties.tsx similarity index 100% rename from apps/web/src/components/events/ListProperties.tsx rename to apps/dashboard/src/components/events/ListProperties.tsx diff --git a/apps/web/src/components/forms/InputError.tsx b/apps/dashboard/src/components/forms/InputError.tsx similarity index 100% rename from apps/web/src/components/forms/InputError.tsx rename to apps/dashboard/src/components/forms/InputError.tsx diff --git a/apps/web/src/components/forms/InputWithLabel.tsx b/apps/dashboard/src/components/forms/InputWithLabel.tsx similarity index 100% rename from apps/web/src/components/forms/InputWithLabel.tsx rename to apps/dashboard/src/components/forms/InputWithLabel.tsx diff --git a/apps/web/src/components/general/ExpandableListItem.tsx b/apps/dashboard/src/components/general/ExpandableListItem.tsx similarity index 100% rename from apps/web/src/components/general/ExpandableListItem.tsx rename to apps/dashboard/src/components/general/ExpandableListItem.tsx diff --git a/apps/web/src/components/overview/filters/overview-filters-buttons.tsx b/apps/dashboard/src/components/overview/filters/overview-filters-buttons.tsx similarity index 100% rename from apps/web/src/components/overview/filters/overview-filters-buttons.tsx rename to apps/dashboard/src/components/overview/filters/overview-filters-buttons.tsx diff --git a/apps/web/src/components/overview/filters/overview-filters-drawer-content.tsx b/apps/dashboard/src/components/overview/filters/overview-filters-drawer-content.tsx similarity index 100% rename from apps/web/src/components/overview/filters/overview-filters-drawer-content.tsx rename to apps/dashboard/src/components/overview/filters/overview-filters-drawer-content.tsx diff --git a/apps/web/src/components/overview/filters/overview-filters-drawer.tsx b/apps/dashboard/src/components/overview/filters/overview-filters-drawer.tsx similarity index 100% rename from apps/web/src/components/overview/filters/overview-filters-drawer.tsx rename to apps/dashboard/src/components/overview/filters/overview-filters-drawer.tsx diff --git a/apps/web/src/components/overview/live-counter/index.tsx b/apps/dashboard/src/components/overview/live-counter/index.tsx similarity index 100% rename from apps/web/src/components/overview/live-counter/index.tsx rename to apps/dashboard/src/components/overview/live-counter/index.tsx diff --git a/apps/web/src/components/overview/live-counter/live-counter.tsx b/apps/dashboard/src/components/overview/live-counter/live-counter.tsx similarity index 100% rename from apps/web/src/components/overview/live-counter/live-counter.tsx rename to apps/dashboard/src/components/overview/live-counter/live-counter.tsx diff --git a/apps/web/src/components/overview/overview-latest-events/index.tsx b/apps/dashboard/src/components/overview/overview-latest-events/index.tsx similarity index 100% rename from apps/web/src/components/overview/overview-latest-events/index.tsx rename to apps/dashboard/src/components/overview/overview-latest-events/index.tsx diff --git a/apps/web/src/components/overview/overview-latest-events/overview-latest-events.tsx b/apps/dashboard/src/components/overview/overview-latest-events/overview-latest-events.tsx similarity index 100% rename from apps/web/src/components/overview/overview-latest-events/overview-latest-events.tsx rename to apps/dashboard/src/components/overview/overview-latest-events/overview-latest-events.tsx diff --git a/apps/web/src/components/overview/overview-live-histogram.tsx b/apps/dashboard/src/components/overview/overview-live-histogram.tsx similarity index 100% rename from apps/web/src/components/overview/overview-live-histogram.tsx rename to apps/dashboard/src/components/overview/overview-live-histogram.tsx diff --git a/apps/web/src/components/overview/overview-metrics.tsx b/apps/dashboard/src/components/overview/overview-metrics.tsx similarity index 100% rename from apps/web/src/components/overview/overview-metrics.tsx rename to apps/dashboard/src/components/overview/overview-metrics.tsx diff --git a/apps/web/src/components/overview/overview-share.tsx b/apps/dashboard/src/components/overview/overview-share.tsx similarity index 100% rename from apps/web/src/components/overview/overview-share.tsx rename to apps/dashboard/src/components/overview/overview-share.tsx diff --git a/apps/web/src/components/overview/overview-top-devices.tsx b/apps/dashboard/src/components/overview/overview-top-devices.tsx similarity index 100% rename from apps/web/src/components/overview/overview-top-devices.tsx rename to apps/dashboard/src/components/overview/overview-top-devices.tsx diff --git a/apps/web/src/components/overview/overview-top-events/index.tsx b/apps/dashboard/src/components/overview/overview-top-events/index.tsx similarity index 100% rename from apps/web/src/components/overview/overview-top-events/index.tsx rename to apps/dashboard/src/components/overview/overview-top-events/index.tsx diff --git a/apps/web/src/components/overview/overview-top-events/overview-top-events.tsx b/apps/dashboard/src/components/overview/overview-top-events/overview-top-events.tsx similarity index 100% rename from apps/web/src/components/overview/overview-top-events/overview-top-events.tsx rename to apps/dashboard/src/components/overview/overview-top-events/overview-top-events.tsx diff --git a/apps/web/src/components/overview/overview-top-geo.tsx b/apps/dashboard/src/components/overview/overview-top-geo.tsx similarity index 100% rename from apps/web/src/components/overview/overview-top-geo.tsx rename to apps/dashboard/src/components/overview/overview-top-geo.tsx diff --git a/apps/web/src/components/overview/overview-top-pages.tsx b/apps/dashboard/src/components/overview/overview-top-pages.tsx similarity index 100% rename from apps/web/src/components/overview/overview-top-pages.tsx rename to apps/dashboard/src/components/overview/overview-top-pages.tsx diff --git a/apps/web/src/components/overview/overview-top-sources.tsx b/apps/dashboard/src/components/overview/overview-top-sources.tsx similarity index 100% rename from apps/web/src/components/overview/overview-top-sources.tsx rename to apps/dashboard/src/components/overview/overview-top-sources.tsx diff --git a/apps/web/src/components/overview/overview-widget.tsx b/apps/dashboard/src/components/overview/overview-widget.tsx similarity index 100% rename from apps/web/src/components/overview/overview-widget.tsx rename to apps/dashboard/src/components/overview/overview-widget.tsx diff --git a/apps/web/src/components/overview/useOverviewOptions.ts b/apps/dashboard/src/components/overview/useOverviewOptions.ts similarity index 100% rename from apps/web/src/components/overview/useOverviewOptions.ts rename to apps/dashboard/src/components/overview/useOverviewOptions.ts diff --git a/apps/web/src/components/overview/useOverviewWidget.tsx b/apps/dashboard/src/components/overview/useOverviewWidget.tsx similarity index 100% rename from apps/web/src/components/overview/useOverviewWidget.tsx rename to apps/dashboard/src/components/overview/useOverviewWidget.tsx diff --git a/apps/web/src/components/profiles/ProfileAvatar.tsx b/apps/dashboard/src/components/profiles/ProfileAvatar.tsx similarity index 100% rename from apps/web/src/components/profiles/ProfileAvatar.tsx rename to apps/dashboard/src/components/profiles/ProfileAvatar.tsx diff --git a/apps/web/src/components/projects/ProjectActions.tsx b/apps/dashboard/src/components/projects/ProjectActions.tsx similarity index 100% rename from apps/web/src/components/projects/ProjectActions.tsx rename to apps/dashboard/src/components/projects/ProjectActions.tsx diff --git a/apps/web/src/components/projects/project-card.tsx b/apps/dashboard/src/components/projects/project-card.tsx similarity index 100% rename from apps/web/src/components/projects/project-card.tsx rename to apps/dashboard/src/components/projects/project-card.tsx diff --git a/apps/web/src/components/projects/table.tsx b/apps/dashboard/src/components/projects/table.tsx similarity index 100% rename from apps/web/src/components/projects/table.tsx rename to apps/dashboard/src/components/projects/table.tsx diff --git a/apps/web/src/components/references/table.tsx b/apps/dashboard/src/components/references/table.tsx similarity index 100% rename from apps/web/src/components/references/table.tsx rename to apps/dashboard/src/components/references/table.tsx diff --git a/apps/web/src/components/report/PreviousDiffIndicator.tsx b/apps/dashboard/src/components/report/PreviousDiffIndicator.tsx similarity index 100% rename from apps/web/src/components/report/PreviousDiffIndicator.tsx rename to apps/dashboard/src/components/report/PreviousDiffIndicator.tsx diff --git a/apps/web/src/components/report/ReportChartType.tsx b/apps/dashboard/src/components/report/ReportChartType.tsx similarity index 100% rename from apps/web/src/components/report/ReportChartType.tsx rename to apps/dashboard/src/components/report/ReportChartType.tsx diff --git a/apps/web/src/components/report/ReportInterval.tsx b/apps/dashboard/src/components/report/ReportInterval.tsx similarity index 100% rename from apps/web/src/components/report/ReportInterval.tsx rename to apps/dashboard/src/components/report/ReportInterval.tsx diff --git a/apps/web/src/components/report/ReportLineType.tsx b/apps/dashboard/src/components/report/ReportLineType.tsx similarity index 100% rename from apps/web/src/components/report/ReportLineType.tsx rename to apps/dashboard/src/components/report/ReportLineType.tsx diff --git a/apps/web/src/components/report/ReportRange.tsx b/apps/dashboard/src/components/report/ReportRange.tsx similarity index 100% rename from apps/web/src/components/report/ReportRange.tsx rename to apps/dashboard/src/components/report/ReportRange.tsx diff --git a/apps/web/src/components/report/ReportSaveButton.tsx b/apps/dashboard/src/components/report/ReportSaveButton.tsx similarity index 100% rename from apps/web/src/components/report/ReportSaveButton.tsx rename to apps/dashboard/src/components/report/ReportSaveButton.tsx diff --git a/apps/web/src/components/report/chart/Chart.tsx b/apps/dashboard/src/components/report/chart/Chart.tsx similarity index 100% rename from apps/web/src/components/report/chart/Chart.tsx rename to apps/dashboard/src/components/report/chart/Chart.tsx diff --git a/apps/web/src/components/report/chart/ChartAnimation.tsx b/apps/dashboard/src/components/report/chart/ChartAnimation.tsx similarity index 100% rename from apps/web/src/components/report/chart/ChartAnimation.tsx rename to apps/dashboard/src/components/report/chart/ChartAnimation.tsx diff --git a/apps/web/src/components/report/chart/ChartEmpty.tsx b/apps/dashboard/src/components/report/chart/ChartEmpty.tsx similarity index 100% rename from apps/web/src/components/report/chart/ChartEmpty.tsx rename to apps/dashboard/src/components/report/chart/ChartEmpty.tsx diff --git a/apps/web/src/components/report/chart/ChartLoading.tsx b/apps/dashboard/src/components/report/chart/ChartLoading.tsx similarity index 100% rename from apps/web/src/components/report/chart/ChartLoading.tsx rename to apps/dashboard/src/components/report/chart/ChartLoading.tsx diff --git a/apps/web/src/components/report/chart/ChartProvider.tsx b/apps/dashboard/src/components/report/chart/ChartProvider.tsx similarity index 100% rename from apps/web/src/components/report/chart/ChartProvider.tsx rename to apps/dashboard/src/components/report/chart/ChartProvider.tsx diff --git a/apps/web/src/components/report/chart/LazyChart.tsx b/apps/dashboard/src/components/report/chart/LazyChart.tsx similarity index 100% rename from apps/web/src/components/report/chart/LazyChart.tsx rename to apps/dashboard/src/components/report/chart/LazyChart.tsx diff --git a/apps/web/src/components/report/chart/MetricCard.tsx b/apps/dashboard/src/components/report/chart/MetricCard.tsx similarity index 100% rename from apps/web/src/components/report/chart/MetricCard.tsx rename to apps/dashboard/src/components/report/chart/MetricCard.tsx diff --git a/apps/web/src/components/report/chart/ReportAreaChart.tsx b/apps/dashboard/src/components/report/chart/ReportAreaChart.tsx similarity index 100% rename from apps/web/src/components/report/chart/ReportAreaChart.tsx rename to apps/dashboard/src/components/report/chart/ReportAreaChart.tsx diff --git a/apps/web/src/components/report/chart/ReportBarChart.tsx b/apps/dashboard/src/components/report/chart/ReportBarChart.tsx similarity index 100% rename from apps/web/src/components/report/chart/ReportBarChart.tsx rename to apps/dashboard/src/components/report/chart/ReportBarChart.tsx diff --git a/apps/web/src/components/report/chart/ReportChartTooltip.tsx b/apps/dashboard/src/components/report/chart/ReportChartTooltip.tsx similarity index 100% rename from apps/web/src/components/report/chart/ReportChartTooltip.tsx rename to apps/dashboard/src/components/report/chart/ReportChartTooltip.tsx diff --git a/apps/web/src/components/report/chart/ReportHistogramChart.tsx b/apps/dashboard/src/components/report/chart/ReportHistogramChart.tsx similarity index 100% rename from apps/web/src/components/report/chart/ReportHistogramChart.tsx rename to apps/dashboard/src/components/report/chart/ReportHistogramChart.tsx diff --git a/apps/web/src/components/report/chart/ReportLineChart.tsx b/apps/dashboard/src/components/report/chart/ReportLineChart.tsx similarity index 100% rename from apps/web/src/components/report/chart/ReportLineChart.tsx rename to apps/dashboard/src/components/report/chart/ReportLineChart.tsx diff --git a/apps/web/src/components/report/chart/ReportMapChart.tsx b/apps/dashboard/src/components/report/chart/ReportMapChart.tsx similarity index 100% rename from apps/web/src/components/report/chart/ReportMapChart.tsx rename to apps/dashboard/src/components/report/chart/ReportMapChart.tsx diff --git a/apps/web/src/components/report/chart/ReportMetricChart.tsx b/apps/dashboard/src/components/report/chart/ReportMetricChart.tsx similarity index 100% rename from apps/web/src/components/report/chart/ReportMetricChart.tsx rename to apps/dashboard/src/components/report/chart/ReportMetricChart.tsx diff --git a/apps/web/src/components/report/chart/ReportPieChart.tsx b/apps/dashboard/src/components/report/chart/ReportPieChart.tsx similarity index 100% rename from apps/web/src/components/report/chart/ReportPieChart.tsx rename to apps/dashboard/src/components/report/chart/ReportPieChart.tsx diff --git a/apps/web/src/components/report/chart/ReportTable.tsx b/apps/dashboard/src/components/report/chart/ReportTable.tsx similarity index 100% rename from apps/web/src/components/report/chart/ReportTable.tsx rename to apps/dashboard/src/components/report/chart/ReportTable.tsx diff --git a/apps/web/src/components/report/chart/ResponsiveContainer.tsx b/apps/dashboard/src/components/report/chart/ResponsiveContainer.tsx similarity index 100% rename from apps/web/src/components/report/chart/ResponsiveContainer.tsx rename to apps/dashboard/src/components/report/chart/ResponsiveContainer.tsx diff --git a/apps/web/src/components/report/chart/SerieIcon.tsx b/apps/dashboard/src/components/report/chart/SerieIcon.tsx similarity index 100% rename from apps/web/src/components/report/chart/SerieIcon.tsx rename to apps/dashboard/src/components/report/chart/SerieIcon.tsx diff --git a/apps/web/src/components/report/chart/chart-utils.ts b/apps/dashboard/src/components/report/chart/chart-utils.ts similarity index 100% rename from apps/web/src/components/report/chart/chart-utils.ts rename to apps/dashboard/src/components/report/chart/chart-utils.ts diff --git a/apps/web/src/components/report/chart/index.tsx b/apps/dashboard/src/components/report/chart/index.tsx similarity index 100% rename from apps/web/src/components/report/chart/index.tsx rename to apps/dashboard/src/components/report/chart/index.tsx diff --git a/apps/web/src/components/report/funnel/Funnel.tsx b/apps/dashboard/src/components/report/funnel/Funnel.tsx similarity index 100% rename from apps/web/src/components/report/funnel/Funnel.tsx rename to apps/dashboard/src/components/report/funnel/Funnel.tsx diff --git a/apps/web/src/components/report/funnel/index.tsx b/apps/dashboard/src/components/report/funnel/index.tsx similarity index 100% rename from apps/web/src/components/report/funnel/index.tsx rename to apps/dashboard/src/components/report/funnel/index.tsx diff --git a/apps/web/src/components/report/reportSlice.ts b/apps/dashboard/src/components/report/reportSlice.ts similarity index 100% rename from apps/web/src/components/report/reportSlice.ts rename to apps/dashboard/src/components/report/reportSlice.ts diff --git a/apps/web/src/components/report/sidebar/EventPropertiesCombobox.tsx b/apps/dashboard/src/components/report/sidebar/EventPropertiesCombobox.tsx similarity index 100% rename from apps/web/src/components/report/sidebar/EventPropertiesCombobox.tsx rename to apps/dashboard/src/components/report/sidebar/EventPropertiesCombobox.tsx diff --git a/apps/web/src/components/report/sidebar/ReportBreakdownMore.tsx b/apps/dashboard/src/components/report/sidebar/ReportBreakdownMore.tsx similarity index 100% rename from apps/web/src/components/report/sidebar/ReportBreakdownMore.tsx rename to apps/dashboard/src/components/report/sidebar/ReportBreakdownMore.tsx diff --git a/apps/web/src/components/report/sidebar/ReportBreakdowns.tsx b/apps/dashboard/src/components/report/sidebar/ReportBreakdowns.tsx similarity index 100% rename from apps/web/src/components/report/sidebar/ReportBreakdowns.tsx rename to apps/dashboard/src/components/report/sidebar/ReportBreakdowns.tsx diff --git a/apps/web/src/components/report/sidebar/ReportEventMore.tsx b/apps/dashboard/src/components/report/sidebar/ReportEventMore.tsx similarity index 100% rename from apps/web/src/components/report/sidebar/ReportEventMore.tsx rename to apps/dashboard/src/components/report/sidebar/ReportEventMore.tsx diff --git a/apps/web/src/components/report/sidebar/ReportEvents.tsx b/apps/dashboard/src/components/report/sidebar/ReportEvents.tsx similarity index 100% rename from apps/web/src/components/report/sidebar/ReportEvents.tsx rename to apps/dashboard/src/components/report/sidebar/ReportEvents.tsx diff --git a/apps/web/src/components/report/sidebar/ReportForumula.tsx b/apps/dashboard/src/components/report/sidebar/ReportForumula.tsx similarity index 100% rename from apps/web/src/components/report/sidebar/ReportForumula.tsx rename to apps/dashboard/src/components/report/sidebar/ReportForumula.tsx diff --git a/apps/web/src/components/report/sidebar/ReportSidebar.tsx b/apps/dashboard/src/components/report/sidebar/ReportSidebar.tsx similarity index 100% rename from apps/web/src/components/report/sidebar/ReportSidebar.tsx rename to apps/dashboard/src/components/report/sidebar/ReportSidebar.tsx diff --git a/apps/web/src/components/report/sidebar/filters/FilterItem.tsx b/apps/dashboard/src/components/report/sidebar/filters/FilterItem.tsx similarity index 100% rename from apps/web/src/components/report/sidebar/filters/FilterItem.tsx rename to apps/dashboard/src/components/report/sidebar/filters/FilterItem.tsx diff --git a/apps/web/src/components/report/sidebar/filters/FiltersCombobox.tsx b/apps/dashboard/src/components/report/sidebar/filters/FiltersCombobox.tsx similarity index 100% rename from apps/web/src/components/report/sidebar/filters/FiltersCombobox.tsx rename to apps/dashboard/src/components/report/sidebar/filters/FiltersCombobox.tsx diff --git a/apps/web/src/components/report/sidebar/filters/FiltersList.tsx b/apps/dashboard/src/components/report/sidebar/filters/FiltersList.tsx similarity index 100% rename from apps/web/src/components/report/sidebar/filters/FiltersList.tsx rename to apps/dashboard/src/components/report/sidebar/filters/FiltersList.tsx diff --git a/apps/web/src/components/ui/RenderDots.tsx b/apps/dashboard/src/components/ui/RenderDots.tsx similarity index 100% rename from apps/web/src/components/ui/RenderDots.tsx rename to apps/dashboard/src/components/ui/RenderDots.tsx diff --git a/apps/web/src/components/ui/accordion.tsx b/apps/dashboard/src/components/ui/accordion.tsx similarity index 100% rename from apps/web/src/components/ui/accordion.tsx rename to apps/dashboard/src/components/ui/accordion.tsx diff --git a/apps/web/src/components/ui/alert-dialog.tsx b/apps/dashboard/src/components/ui/alert-dialog.tsx similarity index 100% rename from apps/web/src/components/ui/alert-dialog.tsx rename to apps/dashboard/src/components/ui/alert-dialog.tsx diff --git a/apps/web/src/components/ui/alert.tsx b/apps/dashboard/src/components/ui/alert.tsx similarity index 100% rename from apps/web/src/components/ui/alert.tsx rename to apps/dashboard/src/components/ui/alert.tsx diff --git a/apps/web/src/components/ui/aspect-ratio.tsx b/apps/dashboard/src/components/ui/aspect-ratio.tsx similarity index 100% rename from apps/web/src/components/ui/aspect-ratio.tsx rename to apps/dashboard/src/components/ui/aspect-ratio.tsx diff --git a/apps/web/src/components/ui/avatar.tsx b/apps/dashboard/src/components/ui/avatar.tsx similarity index 100% rename from apps/web/src/components/ui/avatar.tsx rename to apps/dashboard/src/components/ui/avatar.tsx diff --git a/apps/web/src/components/ui/badge.tsx b/apps/dashboard/src/components/ui/badge.tsx similarity index 100% rename from apps/web/src/components/ui/badge.tsx rename to apps/dashboard/src/components/ui/badge.tsx diff --git a/apps/web/src/components/ui/button.tsx b/apps/dashboard/src/components/ui/button.tsx similarity index 100% rename from apps/web/src/components/ui/button.tsx rename to apps/dashboard/src/components/ui/button.tsx diff --git a/apps/web/src/components/ui/calendar.tsx b/apps/dashboard/src/components/ui/calendar.tsx similarity index 100% rename from apps/web/src/components/ui/calendar.tsx rename to apps/dashboard/src/components/ui/calendar.tsx diff --git a/apps/web/src/components/ui/carousel.tsx b/apps/dashboard/src/components/ui/carousel.tsx similarity index 100% rename from apps/web/src/components/ui/carousel.tsx rename to apps/dashboard/src/components/ui/carousel.tsx diff --git a/apps/web/src/components/ui/checkbox.tsx b/apps/dashboard/src/components/ui/checkbox.tsx similarity index 100% rename from apps/web/src/components/ui/checkbox.tsx rename to apps/dashboard/src/components/ui/checkbox.tsx diff --git a/apps/web/src/components/ui/combobox-advanced.tsx b/apps/dashboard/src/components/ui/combobox-advanced.tsx similarity index 100% rename from apps/web/src/components/ui/combobox-advanced.tsx rename to apps/dashboard/src/components/ui/combobox-advanced.tsx diff --git a/apps/web/src/components/ui/combobox.tsx b/apps/dashboard/src/components/ui/combobox.tsx similarity index 100% rename from apps/web/src/components/ui/combobox.tsx rename to apps/dashboard/src/components/ui/combobox.tsx diff --git a/apps/web/src/components/ui/command.tsx b/apps/dashboard/src/components/ui/command.tsx similarity index 100% rename from apps/web/src/components/ui/command.tsx rename to apps/dashboard/src/components/ui/command.tsx diff --git a/apps/web/src/components/ui/dialog.tsx b/apps/dashboard/src/components/ui/dialog.tsx similarity index 100% rename from apps/web/src/components/ui/dialog.tsx rename to apps/dashboard/src/components/ui/dialog.tsx diff --git a/apps/web/src/components/ui/dropdown-menu.tsx b/apps/dashboard/src/components/ui/dropdown-menu.tsx similarity index 100% rename from apps/web/src/components/ui/dropdown-menu.tsx rename to apps/dashboard/src/components/ui/dropdown-menu.tsx diff --git a/apps/web/src/components/ui/gradient-background.tsx b/apps/dashboard/src/components/ui/gradient-background.tsx similarity index 100% rename from apps/web/src/components/ui/gradient-background.tsx rename to apps/dashboard/src/components/ui/gradient-background.tsx diff --git a/apps/web/src/components/ui/input.tsx b/apps/dashboard/src/components/ui/input.tsx similarity index 100% rename from apps/web/src/components/ui/input.tsx rename to apps/dashboard/src/components/ui/input.tsx diff --git a/apps/web/src/components/ui/key-value.tsx b/apps/dashboard/src/components/ui/key-value.tsx similarity index 100% rename from apps/web/src/components/ui/key-value.tsx rename to apps/dashboard/src/components/ui/key-value.tsx diff --git a/apps/web/src/components/ui/label.tsx b/apps/dashboard/src/components/ui/label.tsx similarity index 100% rename from apps/web/src/components/ui/label.tsx rename to apps/dashboard/src/components/ui/label.tsx diff --git a/apps/web/src/components/ui/popover.tsx b/apps/dashboard/src/components/ui/popover.tsx similarity index 100% rename from apps/web/src/components/ui/popover.tsx rename to apps/dashboard/src/components/ui/popover.tsx diff --git a/apps/web/src/components/ui/progress.tsx b/apps/dashboard/src/components/ui/progress.tsx similarity index 100% rename from apps/web/src/components/ui/progress.tsx rename to apps/dashboard/src/components/ui/progress.tsx diff --git a/apps/web/src/components/ui/radio-group.tsx b/apps/dashboard/src/components/ui/radio-group.tsx similarity index 100% rename from apps/web/src/components/ui/radio-group.tsx rename to apps/dashboard/src/components/ui/radio-group.tsx diff --git a/apps/web/src/components/ui/scroll-area.tsx b/apps/dashboard/src/components/ui/scroll-area.tsx similarity index 100% rename from apps/web/src/components/ui/scroll-area.tsx rename to apps/dashboard/src/components/ui/scroll-area.tsx diff --git a/apps/web/src/components/ui/sheet.tsx b/apps/dashboard/src/components/ui/sheet.tsx similarity index 100% rename from apps/web/src/components/ui/sheet.tsx rename to apps/dashboard/src/components/ui/sheet.tsx diff --git a/apps/web/src/components/ui/sonner.tsx b/apps/dashboard/src/components/ui/sonner.tsx similarity index 100% rename from apps/web/src/components/ui/sonner.tsx rename to apps/dashboard/src/components/ui/sonner.tsx diff --git a/apps/web/src/components/ui/table.tsx b/apps/dashboard/src/components/ui/table.tsx similarity index 100% rename from apps/web/src/components/ui/table.tsx rename to apps/dashboard/src/components/ui/table.tsx diff --git a/apps/web/src/components/ui/toast.tsx b/apps/dashboard/src/components/ui/toast.tsx similarity index 100% rename from apps/web/src/components/ui/toast.tsx rename to apps/dashboard/src/components/ui/toast.tsx diff --git a/apps/web/src/components/ui/toaster.tsx b/apps/dashboard/src/components/ui/toaster.tsx similarity index 100% rename from apps/web/src/components/ui/toaster.tsx rename to apps/dashboard/src/components/ui/toaster.tsx diff --git a/apps/web/src/components/ui/toggle-group.tsx b/apps/dashboard/src/components/ui/toggle-group.tsx similarity index 100% rename from apps/web/src/components/ui/toggle-group.tsx rename to apps/dashboard/src/components/ui/toggle-group.tsx diff --git a/apps/web/src/components/ui/toggle.tsx b/apps/dashboard/src/components/ui/toggle.tsx similarity index 100% rename from apps/web/src/components/ui/toggle.tsx rename to apps/dashboard/src/components/ui/toggle.tsx diff --git a/apps/web/src/components/ui/tooltip.tsx b/apps/dashboard/src/components/ui/tooltip.tsx similarity index 100% rename from apps/web/src/components/ui/tooltip.tsx rename to apps/dashboard/src/components/ui/tooltip.tsx diff --git a/apps/web/src/env.mjs b/apps/dashboard/src/env.mjs similarity index 100% rename from apps/web/src/env.mjs rename to apps/dashboard/src/env.mjs diff --git a/apps/web/src/hooks/useAppParams.ts b/apps/dashboard/src/hooks/useAppParams.ts similarity index 100% rename from apps/web/src/hooks/useAppParams.ts rename to apps/dashboard/src/hooks/useAppParams.ts diff --git a/apps/web/src/hooks/useBreakpoint.ts b/apps/dashboard/src/hooks/useBreakpoint.ts similarity index 100% rename from apps/web/src/hooks/useBreakpoint.ts rename to apps/dashboard/src/hooks/useBreakpoint.ts diff --git a/apps/web/src/hooks/useCursor.ts b/apps/dashboard/src/hooks/useCursor.ts similarity index 100% rename from apps/web/src/hooks/useCursor.ts rename to apps/dashboard/src/hooks/useCursor.ts diff --git a/apps/web/src/hooks/useDebounceFn.ts b/apps/dashboard/src/hooks/useDebounceFn.ts similarity index 100% rename from apps/web/src/hooks/useDebounceFn.ts rename to apps/dashboard/src/hooks/useDebounceFn.ts diff --git a/apps/web/src/hooks/useEventNames.ts b/apps/dashboard/src/hooks/useEventNames.ts similarity index 100% rename from apps/web/src/hooks/useEventNames.ts rename to apps/dashboard/src/hooks/useEventNames.ts diff --git a/apps/web/src/hooks/useEventProperties.ts b/apps/dashboard/src/hooks/useEventProperties.ts similarity index 100% rename from apps/web/src/hooks/useEventProperties.ts rename to apps/dashboard/src/hooks/useEventProperties.ts diff --git a/apps/web/src/hooks/useEventQueryFilters.ts b/apps/dashboard/src/hooks/useEventQueryFilters.ts similarity index 100% rename from apps/web/src/hooks/useEventQueryFilters.ts rename to apps/dashboard/src/hooks/useEventQueryFilters.ts diff --git a/apps/web/src/hooks/useEventValues.ts b/apps/dashboard/src/hooks/useEventValues.ts similarity index 100% rename from apps/web/src/hooks/useEventValues.ts rename to apps/dashboard/src/hooks/useEventValues.ts diff --git a/apps/web/src/hooks/useFormatDateInterval.ts b/apps/dashboard/src/hooks/useFormatDateInterval.ts similarity index 100% rename from apps/web/src/hooks/useFormatDateInterval.ts rename to apps/dashboard/src/hooks/useFormatDateInterval.ts diff --git a/apps/web/src/hooks/useMappings.ts b/apps/dashboard/src/hooks/useMappings.ts similarity index 100% rename from apps/web/src/hooks/useMappings.ts rename to apps/dashboard/src/hooks/useMappings.ts diff --git a/apps/web/src/hooks/useNumerFormatter.ts b/apps/dashboard/src/hooks/useNumerFormatter.ts similarity index 100% rename from apps/web/src/hooks/useNumerFormatter.ts rename to apps/dashboard/src/hooks/useNumerFormatter.ts diff --git a/apps/web/src/hooks/useProfileProperties.ts b/apps/dashboard/src/hooks/useProfileProperties.ts similarity index 100% rename from apps/web/src/hooks/useProfileProperties.ts rename to apps/dashboard/src/hooks/useProfileProperties.ts diff --git a/apps/web/src/hooks/useProfileValues.ts b/apps/dashboard/src/hooks/useProfileValues.ts similarity index 100% rename from apps/web/src/hooks/useProfileValues.ts rename to apps/dashboard/src/hooks/useProfileValues.ts diff --git a/apps/web/src/hooks/useQueryParams.ts b/apps/dashboard/src/hooks/useQueryParams.ts similarity index 100% rename from apps/web/src/hooks/useQueryParams.ts rename to apps/dashboard/src/hooks/useQueryParams.ts diff --git a/apps/web/src/hooks/useRechartDataModel.ts b/apps/dashboard/src/hooks/useRechartDataModel.ts similarity index 100% rename from apps/web/src/hooks/useRechartDataModel.ts rename to apps/dashboard/src/hooks/useRechartDataModel.ts diff --git a/apps/web/src/hooks/useRefetchActive.ts b/apps/dashboard/src/hooks/useRefetchActive.ts similarity index 100% rename from apps/web/src/hooks/useRefetchActive.ts rename to apps/dashboard/src/hooks/useRefetchActive.ts diff --git a/apps/web/src/hooks/useRouterBeforeLeave.ts b/apps/dashboard/src/hooks/useRouterBeforeLeave.ts similarity index 100% rename from apps/web/src/hooks/useRouterBeforeLeave.ts rename to apps/dashboard/src/hooks/useRouterBeforeLeave.ts diff --git a/apps/web/src/hooks/useSetCookie.ts b/apps/dashboard/src/hooks/useSetCookie.ts similarity index 100% rename from apps/web/src/hooks/useSetCookie.ts rename to apps/dashboard/src/hooks/useSetCookie.ts diff --git a/apps/web/src/hooks/useThrottle.ts b/apps/dashboard/src/hooks/useThrottle.ts similarity index 100% rename from apps/web/src/hooks/useThrottle.ts rename to apps/dashboard/src/hooks/useThrottle.ts diff --git a/apps/web/src/hooks/useVisibleSeries.ts b/apps/dashboard/src/hooks/useVisibleSeries.ts similarity index 100% rename from apps/web/src/hooks/useVisibleSeries.ts rename to apps/dashboard/src/hooks/useVisibleSeries.ts diff --git a/apps/web/src/lottie/airplane.json b/apps/dashboard/src/lottie/airplane.json similarity index 100% rename from apps/web/src/lottie/airplane.json rename to apps/dashboard/src/lottie/airplane.json diff --git a/apps/web/src/lottie/ballon.json b/apps/dashboard/src/lottie/ballon.json similarity index 100% rename from apps/web/src/lottie/ballon.json rename to apps/dashboard/src/lottie/ballon.json diff --git a/apps/web/src/lottie/no-data.json b/apps/dashboard/src/lottie/no-data.json similarity index 100% rename from apps/web/src/lottie/no-data.json rename to apps/dashboard/src/lottie/no-data.json diff --git a/apps/web/src/mappings.json b/apps/dashboard/src/mappings.json similarity index 100% rename from apps/web/src/mappings.json rename to apps/dashboard/src/mappings.json diff --git a/apps/web/src/middleware.ts b/apps/dashboard/src/middleware.ts similarity index 100% rename from apps/web/src/middleware.ts rename to apps/dashboard/src/middleware.ts diff --git a/apps/web/src/modals/AddClient.tsx b/apps/dashboard/src/modals/AddClient.tsx similarity index 100% rename from apps/web/src/modals/AddClient.tsx rename to apps/dashboard/src/modals/AddClient.tsx diff --git a/apps/web/src/modals/AddDashboard.tsx b/apps/dashboard/src/modals/AddDashboard.tsx similarity index 100% rename from apps/web/src/modals/AddDashboard.tsx rename to apps/dashboard/src/modals/AddDashboard.tsx diff --git a/apps/web/src/modals/AddProject.tsx b/apps/dashboard/src/modals/AddProject.tsx similarity index 100% rename from apps/web/src/modals/AddProject.tsx rename to apps/dashboard/src/modals/AddProject.tsx diff --git a/apps/web/src/modals/AddReference.tsx b/apps/dashboard/src/modals/AddReference.tsx similarity index 100% rename from apps/web/src/modals/AddReference.tsx rename to apps/dashboard/src/modals/AddReference.tsx diff --git a/apps/web/src/modals/Confirm.tsx b/apps/dashboard/src/modals/Confirm.tsx similarity index 100% rename from apps/web/src/modals/Confirm.tsx rename to apps/dashboard/src/modals/Confirm.tsx diff --git a/apps/web/src/modals/EditClient.tsx b/apps/dashboard/src/modals/EditClient.tsx similarity index 100% rename from apps/web/src/modals/EditClient.tsx rename to apps/dashboard/src/modals/EditClient.tsx diff --git a/apps/web/src/modals/EditDashboard.tsx b/apps/dashboard/src/modals/EditDashboard.tsx similarity index 100% rename from apps/web/src/modals/EditDashboard.tsx rename to apps/dashboard/src/modals/EditDashboard.tsx diff --git a/apps/web/src/modals/EditProject.tsx b/apps/dashboard/src/modals/EditProject.tsx similarity index 100% rename from apps/web/src/modals/EditProject.tsx rename to apps/dashboard/src/modals/EditProject.tsx diff --git a/apps/web/src/modals/EditReport.tsx b/apps/dashboard/src/modals/EditReport.tsx similarity index 100% rename from apps/web/src/modals/EditReport.tsx rename to apps/dashboard/src/modals/EditReport.tsx diff --git a/apps/web/src/modals/Modal/Container.tsx b/apps/dashboard/src/modals/Modal/Container.tsx similarity index 100% rename from apps/web/src/modals/Modal/Container.tsx rename to apps/dashboard/src/modals/Modal/Container.tsx diff --git a/apps/web/src/modals/SaveReport.tsx b/apps/dashboard/src/modals/SaveReport.tsx similarity index 100% rename from apps/web/src/modals/SaveReport.tsx rename to apps/dashboard/src/modals/SaveReport.tsx diff --git a/apps/web/src/modals/ShareOverviewModal.tsx b/apps/dashboard/src/modals/ShareOverviewModal.tsx similarity index 100% rename from apps/web/src/modals/ShareOverviewModal.tsx rename to apps/dashboard/src/modals/ShareOverviewModal.tsx diff --git a/apps/web/src/modals/index.tsx b/apps/dashboard/src/modals/index.tsx similarity index 100% rename from apps/web/src/modals/index.tsx rename to apps/dashboard/src/modals/index.tsx diff --git a/apps/web/src/redux/index.ts b/apps/dashboard/src/redux/index.ts similarity index 100% rename from apps/web/src/redux/index.ts rename to apps/dashboard/src/redux/index.ts diff --git a/apps/web/src/server/api/root.ts b/apps/dashboard/src/server/api/root.ts similarity index 100% rename from apps/web/src/server/api/root.ts rename to apps/dashboard/src/server/api/root.ts diff --git a/apps/web/src/server/api/routers/chart.helpers.ts b/apps/dashboard/src/server/api/routers/chart.helpers.ts similarity index 100% rename from apps/web/src/server/api/routers/chart.helpers.ts rename to apps/dashboard/src/server/api/routers/chart.helpers.ts diff --git a/apps/web/src/server/api/routers/chart.ts b/apps/dashboard/src/server/api/routers/chart.ts similarity index 100% rename from apps/web/src/server/api/routers/chart.ts rename to apps/dashboard/src/server/api/routers/chart.ts diff --git a/apps/web/src/server/api/routers/client.ts b/apps/dashboard/src/server/api/routers/client.ts similarity index 100% rename from apps/web/src/server/api/routers/client.ts rename to apps/dashboard/src/server/api/routers/client.ts diff --git a/apps/web/src/server/api/routers/dashboard.ts b/apps/dashboard/src/server/api/routers/dashboard.ts similarity index 100% rename from apps/web/src/server/api/routers/dashboard.ts rename to apps/dashboard/src/server/api/routers/dashboard.ts diff --git a/apps/web/src/server/api/routers/event.ts b/apps/dashboard/src/server/api/routers/event.ts similarity index 100% rename from apps/web/src/server/api/routers/event.ts rename to apps/dashboard/src/server/api/routers/event.ts diff --git a/apps/web/src/server/api/routers/onboarding.ts b/apps/dashboard/src/server/api/routers/onboarding.ts similarity index 100% rename from apps/web/src/server/api/routers/onboarding.ts rename to apps/dashboard/src/server/api/routers/onboarding.ts diff --git a/apps/web/src/server/api/routers/organization.ts b/apps/dashboard/src/server/api/routers/organization.ts similarity index 100% rename from apps/web/src/server/api/routers/organization.ts rename to apps/dashboard/src/server/api/routers/organization.ts diff --git a/apps/web/src/server/api/routers/profile.ts b/apps/dashboard/src/server/api/routers/profile.ts similarity index 100% rename from apps/web/src/server/api/routers/profile.ts rename to apps/dashboard/src/server/api/routers/profile.ts diff --git a/apps/web/src/server/api/routers/project.ts b/apps/dashboard/src/server/api/routers/project.ts similarity index 100% rename from apps/web/src/server/api/routers/project.ts rename to apps/dashboard/src/server/api/routers/project.ts diff --git a/apps/web/src/server/api/routers/reference.ts b/apps/dashboard/src/server/api/routers/reference.ts similarity index 100% rename from apps/web/src/server/api/routers/reference.ts rename to apps/dashboard/src/server/api/routers/reference.ts diff --git a/apps/web/src/server/api/routers/report.ts b/apps/dashboard/src/server/api/routers/report.ts similarity index 100% rename from apps/web/src/server/api/routers/report.ts rename to apps/dashboard/src/server/api/routers/report.ts diff --git a/apps/web/src/server/api/routers/share.ts b/apps/dashboard/src/server/api/routers/share.ts similarity index 100% rename from apps/web/src/server/api/routers/share.ts rename to apps/dashboard/src/server/api/routers/share.ts diff --git a/apps/web/src/server/api/routers/ui.ts b/apps/dashboard/src/server/api/routers/ui.ts similarity index 100% rename from apps/web/src/server/api/routers/ui.ts rename to apps/dashboard/src/server/api/routers/ui.ts diff --git a/apps/web/src/server/api/routers/user.ts b/apps/dashboard/src/server/api/routers/user.ts similarity index 100% rename from apps/web/src/server/api/routers/user.ts rename to apps/dashboard/src/server/api/routers/user.ts diff --git a/apps/web/src/server/api/trpc.ts b/apps/dashboard/src/server/api/trpc.ts similarity index 100% rename from apps/web/src/server/api/trpc.ts rename to apps/dashboard/src/server/api/trpc.ts diff --git a/apps/web/src/server/auth.ts b/apps/dashboard/src/server/auth.ts similarity index 100% rename from apps/web/src/server/auth.ts rename to apps/dashboard/src/server/auth.ts diff --git a/apps/web/src/server/cache.ts b/apps/dashboard/src/server/cache.ts similarity index 100% rename from apps/web/src/server/cache.ts rename to apps/dashboard/src/server/cache.ts diff --git a/apps/web/src/server/db.ts b/apps/dashboard/src/server/db.ts similarity index 100% rename from apps/web/src/server/db.ts rename to apps/dashboard/src/server/db.ts diff --git a/apps/web/src/server/pageExists.tsx b/apps/dashboard/src/server/pageExists.tsx similarity index 100% rename from apps/web/src/server/pageExists.tsx rename to apps/dashboard/src/server/pageExists.tsx diff --git a/apps/web/src/styles/globals.css b/apps/dashboard/src/styles/globals.css similarity index 100% rename from apps/web/src/styles/globals.css rename to apps/dashboard/src/styles/globals.css diff --git a/apps/web/src/types/index.ts b/apps/dashboard/src/types/index.ts similarity index 100% rename from apps/web/src/types/index.ts rename to apps/dashboard/src/types/index.ts diff --git a/apps/web/src/utils/clipboard.ts b/apps/dashboard/src/utils/clipboard.ts similarity index 100% rename from apps/web/src/utils/clipboard.ts rename to apps/dashboard/src/utils/clipboard.ts diff --git a/apps/web/src/utils/cn.ts b/apps/dashboard/src/utils/cn.ts similarity index 100% rename from apps/web/src/utils/cn.ts rename to apps/dashboard/src/utils/cn.ts diff --git a/apps/web/src/utils/date.ts b/apps/dashboard/src/utils/date.ts similarity index 100% rename from apps/web/src/utils/date.ts rename to apps/dashboard/src/utils/date.ts diff --git a/apps/web/src/utils/getters.ts b/apps/dashboard/src/utils/getters.ts similarity index 100% rename from apps/web/src/utils/getters.ts rename to apps/dashboard/src/utils/getters.ts diff --git a/apps/web/src/utils/math.ts b/apps/dashboard/src/utils/math.ts similarity index 100% rename from apps/web/src/utils/math.ts rename to apps/dashboard/src/utils/math.ts diff --git a/apps/web/src/utils/meta.ts b/apps/dashboard/src/utils/meta.ts similarity index 100% rename from apps/web/src/utils/meta.ts rename to apps/dashboard/src/utils/meta.ts diff --git a/apps/web/src/utils/slug.ts b/apps/dashboard/src/utils/slug.ts similarity index 100% rename from apps/web/src/utils/slug.ts rename to apps/dashboard/src/utils/slug.ts diff --git a/apps/web/src/utils/theme.ts b/apps/dashboard/src/utils/theme.ts similarity index 100% rename from apps/web/src/utils/theme.ts rename to apps/dashboard/src/utils/theme.ts diff --git a/apps/web/src/utils/truncate.ts b/apps/dashboard/src/utils/truncate.ts similarity index 100% rename from apps/web/src/utils/truncate.ts rename to apps/dashboard/src/utils/truncate.ts diff --git a/apps/web/tailwind.config.js b/apps/dashboard/tailwind.config.js similarity index 100% rename from apps/web/tailwind.config.js rename to apps/dashboard/tailwind.config.js diff --git a/apps/web/tsconfig.json b/apps/dashboard/tsconfig.json similarity index 100% rename from apps/web/tsconfig.json rename to apps/dashboard/tsconfig.json diff --git a/apps/test/next.config.mjs b/apps/test/next.config.mjs index dc8d3d3b..4b9938c8 100644 --- a/apps/test/next.config.mjs +++ b/apps/test/next.config.mjs @@ -6,7 +6,7 @@ /** @type {import("next").NextConfig} */ const config = { reactStrictMode: false, - transpilePackages: ['@mixan/sdk', '@mixan/web-sdk', '@mixan/next'], + transpilePackages: ['@mixan/sdk', '@mixan/web', '@mixan/nextjs'], eslint: { ignoreDuringBuilds: true }, typescript: { ignoreBuildErrors: true }, /** diff --git a/apps/test/package.json b/apps/test/package.json index 40c19fad..cf7e9246 100644 --- a/apps/test/package.json +++ b/apps/test/package.json @@ -12,9 +12,9 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@mixan-test/next": "workspace:@mixan/next@*", + "@mixan-test/nextjs": "workspace:@mixan/nextjs@*", "@mixan-test/sdk": "workspace:@mixan/sdk@*", - "@mixan-test/sdk-web": "workspace:@mixan/sdk-web@*", + "@mixan-test/web": "workspace:@mixan/web@*", "next": "~14.1.0", "react": "18.2.0", "react-dom": "18.2.0" diff --git a/apps/test/src/analytics.ts b/apps/test/src/analytics.ts index 8f38e2c8..910620b9 100644 --- a/apps/test/src/analytics.ts +++ b/apps/test/src/analytics.ts @@ -1,4 +1,4 @@ -// import { MixanWeb } from '@mixan-test/sdk-web'; +// import { MixanWeb } from '@mixan-test/web'; // export const mixan = new MixanWeb({ // verbose: true, diff --git a/apps/test/src/app/app-dir/page.tsx b/apps/test/src/app/app-dir/page.tsx index 0869e85d..45836297 100644 --- a/apps/test/src/app/app-dir/page.tsx +++ b/apps/test/src/app/app-dir/page.tsx @@ -1,4 +1,8 @@ -import { OpenpanelProvider, SetProfileId, trackEvent } from '@mixan-test/next'; +import { + OpenpanelProvider, + SetProfileId, + trackEvent, +} from '@mixan-test/nextjs'; import { Mixan as Openpanel } from '@mixan-test/sdk'; const opServer = new Openpanel({ diff --git a/apps/test/src/app/layout.tsx b/apps/test/src/app/layout.tsx index bcf742dd..2a1915d1 100644 --- a/apps/test/src/app/layout.tsx +++ b/apps/test/src/app/layout.tsx @@ -1,4 +1,4 @@ -import { OpenpanelProvider } from '@mixan-test/next'; +import { OpenpanelProvider } from '@mixan-test/nextjs'; export default function Layout({ children }: { children: React.ReactNode }) { return ( diff --git a/apps/test/src/pages/_app.tsx b/apps/test/src/pages/_app.tsx index 0abca388..61c6ad43 100644 --- a/apps/test/src/pages/_app.tsx +++ b/apps/test/src/pages/_app.tsx @@ -1,4 +1,4 @@ -import { OpenpanelProvider } from '@mixan-test/next'; +import { OpenpanelProvider } from '@mixan-test/nextjs'; import type { AppProps } from 'next/app'; export default function MyApp({ Component, pageProps }: AppProps) { diff --git a/apps/test/src/pages/test.tsx b/apps/test/src/pages/test.tsx index 4fe7f5cf..1cdd3918 100644 --- a/apps/test/src/pages/test.tsx +++ b/apps/test/src/pages/test.tsx @@ -5,7 +5,7 @@ import { increment, setProfile, trackEvent, -} from '@mixan-test/next'; +} from '@mixan-test/nextjs'; import Link from 'next/link'; export default function Test() { diff --git a/captain-definition-api b/captain-definition-api index 60d7cf9c..53da2dd3 100644 --- a/captain-definition-api +++ b/captain-definition-api @@ -1,4 +1,4 @@ { "schemaVersion": 2, - "dockerfilePath": "./apps/sdk-api/Dockerfile" + "dockerfilePath": "./apps/api/Dockerfile" } diff --git a/captain-definition-dashboard b/captain-definition-dashboard index 3a98786d..921af95f 100644 --- a/captain-definition-dashboard +++ b/captain-definition-dashboard @@ -1,4 +1,4 @@ { "schemaVersion": 2, - "dockerfilePath": "./apps/web/Dockerfile" + "dockerfilePath": "./apps/dashboard/Dockerfile" } diff --git a/docker/Dockerfile-composed b/docker/Dockerfile-composed index fe35a6db..713202a1 100644 --- a/docker/Dockerfile-composed +++ b/docker/Dockerfile-composed @@ -35,7 +35,7 @@ WORKDIR /app COPY package.json package.json COPY pnpm-lock.yaml pnpm-lock.yaml COPY pnpm-workspace.yaml pnpm-workspace.yaml -COPY apps/web/package.json apps/web/package.json +COPY apps/dashboard/package.json apps/dashboard/package.json COPY apps/worker/package.json apps/worker/package.json COPY packages/db/package.json packages/db/package.json COPY packages/queue/package.json packages/queue/package.json @@ -45,7 +45,7 @@ COPY packages/sdk/package.json packages/sdk/package.json # BUILD FROM base AS build -WORKDIR /app/apps/web +WORKDIR /app/apps/dashboard RUN pnpm install --frozen-lockfile --ignore-scripts WORKDIR /app/apps/worker @@ -57,7 +57,7 @@ COPY packages packages COPY tooling tooling RUN pnpm db:codegen -WORKDIR /app/apps/web +WORKDIR /app/apps/dashboard RUN pnpm run build WORKDIR /app/apps/worker @@ -75,10 +75,10 @@ FROM base AS runner COPY --from=build /app/package.json /app/package.json COPY --from=prod /app/node_modules /app/node_modules # Apps -COPY --from=build /app/apps/web /app/apps/web +COPY --from=build /app/apps/dashboard /app/apps/dashboard COPY --from=build /app/apps/worker /app/apps/worker # Apps node_modules -COPY --from=prod /app/apps/web/node_modules /app/apps/web/node_modules +COPY --from=prod /app/apps/dashboard/node_modules /app/apps/dashboard/node_modules COPY --from=prod /app/apps/worker/node_modules /app/apps/worker/node_modules # Packages COPY --from=build /app/packages/db /app/packages/db diff --git a/docker/Dockerfile-web b/docker/Dockerfile-web index c2c04624..9bc83e58 100644 --- a/docker/Dockerfile-web +++ b/docker/Dockerfile-web @@ -31,7 +31,7 @@ WORKDIR /app COPY package.json package.json COPY pnpm-lock.yaml pnpm-lock.yaml COPY pnpm-workspace.yaml pnpm-workspace.yaml -COPY apps/web/package.json apps/web/package.json +COPY apps/dashboard/package.json apps/dashboard/package.json COPY packages/db/package.json packages/db/package.json COPY packages/queue/package.json packages/queue/package.json COPY packages/common/package.json packages/common/package.json @@ -40,7 +40,7 @@ COPY packages/sdk/package.json packages/sdk/package.json # BUILD FROM base AS build -WORKDIR /app/apps/web +WORKDIR /app/apps/dashboard RUN pnpm install --frozen-lockfile --ignore-scripts WORKDIR /app @@ -49,13 +49,13 @@ COPY packages packages COPY tooling tooling RUN pnpm db:codegen -WORKDIR /app/apps/web +WORKDIR /app/apps/dashboard RUN pnpm run build # PROD FROM base AS prod -WORKDIR /app/apps/web +WORKDIR /app/apps/dashboard RUN pnpm install --frozen-lockfile --prod --ignore-scripts # FINAL @@ -64,9 +64,9 @@ FROM base AS runner COPY --from=build /app/package.json /app/package.json COPY --from=prod /app/node_modules /app/node_modules # Apps -COPY --from=build /app/apps/web /app/apps/web +COPY --from=build /app/apps/dashboard /app/apps/dashboard # Apps node_modules -COPY --from=prod /app/apps/web/node_modules /app/apps/web/node_modules +COPY --from=prod /app/apps/dashboard/node_modules /app/apps/dashboard/node_modules # Packages COPY --from=build /app/packages/db /app/packages/db COPY --from=build /app/packages/queue /app/packages/queue @@ -76,7 +76,7 @@ COPY --from=prod /app/packages/queue/node_modules /app/packages/queue/node_modul RUN pnpm db:codegen -WORKDIR /app/apps/web +WORKDIR /app/apps/dashboard EXPOSE 3000 diff --git a/docker/supervisord.conf b/docker/supervisord.conf index aae6adf3..8bec4016 100644 --- a/docker/supervisord.conf +++ b/docker/supervisord.conf @@ -8,7 +8,7 @@ logfile_maxbytes=0 files = /etc/supervisor/conf.d/*.conf [program:web] -directory=/app/apps/web +directory=/app/apps/dashboard command=pnpm start autostart=true autorestart=true diff --git a/packages/sdk-next/index.tsx b/packages/sdks/nextjs/index.tsx similarity index 98% rename from packages/sdk-next/index.tsx rename to packages/sdks/nextjs/index.tsx index f2b396e4..32cdd748 100644 --- a/packages/sdk-next/index.tsx +++ b/packages/sdks/nextjs/index.tsx @@ -5,7 +5,7 @@ import type { MixanWebOptions, PostEventPayload, UpdateProfilePayload, -} from '@mixan/sdk-web'; +} from '@mixan/web'; const CDN_URL = 'http://localhost:3002/op.js'; diff --git a/packages/sdk-next/package.json b/packages/sdks/nextjs/package.json similarity index 93% rename from packages/sdk-next/package.json rename to packages/sdks/nextjs/package.json index c0d2b9b4..92e69484 100644 --- a/packages/sdk-next/package.json +++ b/packages/sdks/nextjs/package.json @@ -1,5 +1,5 @@ { - "name": "@mixan/next", + "name": "@mixan/nextjs", "version": "0.0.1", "module": "index.ts", "scripts": { @@ -11,7 +11,7 @@ }, "dependencies": { "@mixan/sdk": "workspace:*", - "@mixan/sdk-web": "workspace:*" + "@mixan/web": "workspace:*" }, "peerDependencies": { "next": "^13.0.0" diff --git a/packages/sdk-next/tsconfig.json b/packages/sdks/nextjs/tsconfig.json similarity index 100% rename from packages/sdk-next/tsconfig.json rename to packages/sdks/nextjs/tsconfig.json diff --git a/packages/sdk-next/tsup.config.ts b/packages/sdks/nextjs/tsup.config.ts similarity index 100% rename from packages/sdk-next/tsup.config.ts rename to packages/sdks/nextjs/tsup.config.ts diff --git a/packages/sdk-native/index.ts b/packages/sdks/react-native/index.ts similarity index 100% rename from packages/sdk-native/index.ts rename to packages/sdks/react-native/index.ts diff --git a/packages/sdk-native/package.json b/packages/sdks/react-native/package.json similarity index 96% rename from packages/sdk-native/package.json rename to packages/sdks/react-native/package.json index e10ec0ca..7c368140 100644 --- a/packages/sdk-native/package.json +++ b/packages/sdks/react-native/package.json @@ -1,5 +1,5 @@ { - "name": "@mixan/sdk-native", + "name": "@mixan/react-native", "version": "0.0.1", "module": "index.ts", "scripts": { diff --git a/packages/sdk-native/tsconfig.json b/packages/sdks/react-native/tsconfig.json similarity index 100% rename from packages/sdk-native/tsconfig.json rename to packages/sdks/react-native/tsconfig.json diff --git a/packages/sdk-native/tsup.config.ts b/packages/sdks/react-native/tsup.config.ts similarity index 100% rename from packages/sdk-native/tsup.config.ts rename to packages/sdks/react-native/tsup.config.ts diff --git a/packages/sdk/index.ts b/packages/sdks/sdk/index.ts similarity index 100% rename from packages/sdk/index.ts rename to packages/sdks/sdk/index.ts diff --git a/packages/sdk/package.json b/packages/sdks/sdk/package.json similarity index 100% rename from packages/sdk/package.json rename to packages/sdks/sdk/package.json diff --git a/packages/sdks/sdk/profileId.txt b/packages/sdks/sdk/profileId.txt new file mode 100644 index 00000000..9edaca56 --- /dev/null +++ b/packages/sdks/sdk/profileId.txt @@ -0,0 +1 @@ +f97a3167-8dc6-4bed-923b-3d118c544006 \ No newline at end of file diff --git a/packages/sdk-web/tsconfig.json b/packages/sdks/sdk/tsconfig.json similarity index 100% rename from packages/sdk-web/tsconfig.json rename to packages/sdks/sdk/tsconfig.json diff --git a/packages/sdk/tsup.config.ts b/packages/sdks/sdk/tsup.config.ts similarity index 100% rename from packages/sdk/tsup.config.ts rename to packages/sdks/sdk/tsup.config.ts diff --git a/packages/sdk-web/cdn.ts b/packages/sdks/web/cdn.ts similarity index 100% rename from packages/sdk-web/cdn.ts rename to packages/sdks/web/cdn.ts diff --git a/packages/sdk-web/index.ts b/packages/sdks/web/index.ts similarity index 100% rename from packages/sdk-web/index.ts rename to packages/sdks/web/index.ts diff --git a/packages/sdk-web/package.json b/packages/sdks/web/package.json similarity index 96% rename from packages/sdk-web/package.json rename to packages/sdks/web/package.json index c13507fc..07828d23 100644 --- a/packages/sdk-web/package.json +++ b/packages/sdks/web/package.json @@ -1,5 +1,5 @@ { - "name": "@mixan/sdk-web", + "name": "@mixan/web", "version": "0.0.1", "module": "index.ts", "scripts": { diff --git a/packages/sdk/tsconfig.json b/packages/sdks/web/tsconfig.json similarity index 100% rename from packages/sdk/tsconfig.json rename to packages/sdks/web/tsconfig.json diff --git a/packages/sdk-web/tsup.config.ts b/packages/sdks/web/tsup.config.ts similarity index 100% rename from packages/sdk-web/tsup.config.ts rename to packages/sdks/web/tsup.config.ts diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 49216315..2f623f32 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -24,213 +24,7 @@ importers: specifier: ^5.2.2 version: 5.3.3 - apps/docs: - dependencies: - next: - specifier: ~14.0.4 - version: 14.0.4(react-dom@18.2.0)(react@18.2.0) - nextra: - specifier: ^2.13.4 - version: 2.13.4(next@14.0.4)(react-dom@18.2.0)(react@18.2.0) - nextra-theme-docs: - specifier: ^2.13.4 - version: 2.13.4(next@14.0.4)(nextra@2.13.4)(react-dom@18.2.0)(react@18.2.0) - react: - specifier: 18.2.0 - version: 18.2.0 - react-dom: - specifier: 18.2.0 - version: 18.2.0(react@18.2.0) - devDependencies: - '@mixan/eslint-config': - specifier: workspace:* - version: link:../../tooling/eslint - '@mixan/prettier-config': - specifier: workspace:* - version: link:../../tooling/prettier - '@mixan/tsconfig': - specifier: workspace:* - version: link:../../tooling/typescript - '@types/node': - specifier: ^18.16.0 - version: 18.19.17 - '@types/react': - specifier: ^18.2.20 - version: 18.2.56 - '@types/react-dom': - specifier: ^18.2.7 - version: 18.2.19 - '@typescript-eslint/eslint-plugin': - specifier: ^6.6.0 - version: 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/parser': - specifier: ^6.6.0 - version: 6.21.0(eslint@8.56.0)(typescript@5.3.3) - autoprefixer: - specifier: ^10.4.18 - version: 10.4.18(postcss@8.4.35) - eslint: - specifier: ^8.48.0 - version: 8.56.0 - postcss: - specifier: ^8.4.35 - version: 8.4.35 - prettier: - specifier: ^3.0.3 - version: 3.2.5 - tailwindcss: - specifier: ^3.4.1 - version: 3.4.1 - typescript: - specifier: ^5.2.2 - version: 5.3.3 - - apps/public: - dependencies: - '@mixan/db': - specifier: workspace:* - version: link:../../packages/db - '@radix-ui/react-alert-dialog': - specifier: ^1.0.5 - version: 1.0.5(@types/react-dom@18.2.19)(@types/react@18.2.56)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-aspect-ratio': - specifier: ^1.0.3 - version: 1.0.3(@types/react-dom@18.2.19)(@types/react@18.2.56)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-avatar': - specifier: ^1.0.4 - version: 1.0.4(@types/react-dom@18.2.19)(@types/react@18.2.56)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-checkbox': - specifier: ^1.0.4 - version: 1.0.4(@types/react-dom@18.2.19)(@types/react@18.2.56)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-dialog': - specifier: ^1.0.5 - version: 1.0.5(@types/react-dom@18.2.19)(@types/react@18.2.56)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-dropdown-menu': - specifier: ^2.0.6 - version: 2.0.6(@types/react-dom@18.2.19)(@types/react@18.2.56)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-label': - specifier: ^2.0.2 - version: 2.0.2(@types/react-dom@18.2.19)(@types/react@18.2.56)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-popover': - specifier: ^1.0.7 - version: 1.0.7(@types/react-dom@18.2.19)(@types/react@18.2.56)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-scroll-area': - specifier: ^1.0.5 - version: 1.0.5(@types/react-dom@18.2.19)(@types/react@18.2.56)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-slot': - specifier: ^1.0.2 - version: 1.0.2(@types/react@18.2.56)(react@18.2.0) - '@radix-ui/react-toast': - specifier: ^1.1.5 - version: 1.1.5(@types/react-dom@18.2.19)(@types/react@18.2.56)(react-dom@18.2.0)(react@18.2.0) - '@radix-ui/react-tooltip': - specifier: ^1.0.7 - version: 1.0.7(@types/react-dom@18.2.19)(@types/react@18.2.56)(react-dom@18.2.0)(react@18.2.0) - '@t3-oss/env-nextjs': - specifier: ^0.7.0 - version: 0.7.3(typescript@5.3.3)(zod@3.22.4) - class-variance-authority: - specifier: ^0.7.0 - version: 0.7.0 - clsx: - specifier: ^2.0.0 - version: 2.1.0 - email-validator: - specifier: ^2.0.4 - version: 2.0.4 - embla-carousel-autoplay: - specifier: 8.0.0-rc22 - version: 8.0.0-rc22(embla-carousel@8.0.0-rc22) - embla-carousel-react: - specifier: 8.0.0-rc22 - version: 8.0.0-rc22(react@18.2.0) - lucide-react: - specifier: ^0.323.0 - version: 0.323.0(react@18.2.0) - next: - specifier: ~14.0.4 - version: 14.0.4(react-dom@18.2.0)(react@18.2.0) - nextra: - specifier: ^2.13.4 - version: 2.13.4(next@14.0.4)(react-dom@18.2.0)(react@18.2.0) - nextra-theme-docs: - specifier: ^2.13.4 - version: 2.13.4(next@14.0.4)(nextra@2.13.4)(react-dom@18.2.0)(react@18.2.0) - react: - specifier: 18.2.0 - version: 18.2.0 - react-animate-height: - specifier: ^3.2.3 - version: 3.2.3(react-dom@18.2.0)(react@18.2.0) - react-dom: - specifier: 18.2.0 - version: 18.2.0(react@18.2.0) - react-syntax-highlighter: - specifier: ^15.5.0 - version: 15.5.0(react@18.2.0) - tailwind-merge: - specifier: ^1.14.0 - version: 1.14.0 - tailwindcss-animate: - specifier: ^1.0.7 - version: 1.0.7(tailwindcss@3.4.1) - zod: - specifier: ^3.22.4 - version: 3.22.4 - devDependencies: - '@mixan/eslint-config': - specifier: workspace:* - version: link:../../tooling/eslint - '@mixan/prettier-config': - specifier: workspace:* - version: link:../../tooling/prettier - '@mixan/tsconfig': - specifier: workspace:* - version: link:../../tooling/typescript - '@tailwindcss/typography': - specifier: ^0.5.10 - version: 0.5.10(tailwindcss@3.4.1) - '@types/node': - specifier: ^18.16.0 - version: 18.19.17 - '@types/react': - specifier: ^18.2.20 - version: 18.2.56 - '@types/react-dom': - specifier: ^18.2.7 - version: 18.2.19 - '@types/react-syntax-highlighter': - specifier: ^15.5.9 - version: 15.5.11 - '@typescript-eslint/eslint-plugin': - specifier: ^6.6.0 - version: 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/parser': - specifier: ^6.6.0 - version: 6.21.0(eslint@8.56.0)(typescript@5.3.3) - autoprefixer: - specifier: ^10.4.14 - version: 10.4.17(postcss@8.4.35) - eslint: - specifier: ^8.48.0 - version: 8.56.0 - postcss: - specifier: ^8.4.27 - version: 8.4.35 - prettier: - specifier: ^3.0.3 - version: 3.2.5 - prettier-plugin-tailwindcss: - specifier: ^0.5.1 - version: 0.5.11(prettier@3.2.5) - tailwindcss: - specifier: ^3.3.3 - version: 3.4.1 - typescript: - specifier: ^5.2.2 - version: 5.3.3 - - apps/sdk-api: + apps/api: dependencies: '@fastify/cors': specifier: ^9.0.0 @@ -286,7 +80,7 @@ importers: version: link:../../tooling/prettier '@mixan/sdk': specifier: workspace:* - version: link:../../packages/sdk + version: link:../../packages/sdks/sdk '@mixan/tsconfig': specifier: workspace:* version: link:../../tooling/typescript @@ -315,74 +109,7 @@ importers: specifier: ^5.2.2 version: 5.3.3 - apps/test: - dependencies: - '@mixan-test/next': - specifier: workspace:@mixan/next@* - version: link:../../packages/sdk-next - '@mixan-test/sdk': - specifier: workspace:@mixan/sdk@* - version: link:../../packages/sdk - '@mixan-test/sdk-web': - specifier: workspace:@mixan/sdk-web@* - version: link:../../packages/sdk-web - next: - specifier: ~14.1.0 - version: 14.1.0(react-dom@18.2.0)(react@18.2.0) - react: - specifier: 18.2.0 - version: 18.2.0 - react-dom: - specifier: 18.2.0 - version: 18.2.0(react@18.2.0) - devDependencies: - '@mixan/eslint-config': - specifier: workspace:* - version: link:../../tooling/eslint - '@mixan/prettier-config': - specifier: workspace:* - version: link:../../tooling/prettier - '@mixan/tsconfig': - specifier: workspace:* - version: link:../../tooling/typescript - '@types/react': - specifier: ^18.2.20 - version: 18.2.56 - '@types/react-dom': - specifier: ^18.2.7 - version: 18.2.19 - '@types/react-syntax-highlighter': - specifier: ^15.5.9 - version: 15.5.11 - '@typescript-eslint/eslint-plugin': - specifier: ^6.6.0 - version: 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/parser': - specifier: ^6.6.0 - version: 6.21.0(eslint@8.56.0)(typescript@5.3.3) - autoprefixer: - specifier: ^10.4.14 - version: 10.4.17(postcss@8.4.35) - eslint: - specifier: ^8.48.0 - version: 8.56.0 - postcss: - specifier: ^8.4.27 - version: 8.4.35 - prettier: - specifier: ^3.0.3 - version: 3.2.5 - prettier-plugin-tailwindcss: - specifier: ^0.5.1 - version: 0.5.11(prettier@3.2.5) - tailwindcss: - specifier: ^3.3.3 - version: 3.4.1 - typescript: - specifier: ^5.2.2 - version: 5.3.3 - - apps/web: + apps/dashboard: dependencies: '@clerk/nextjs': specifier: ^4.29.7 @@ -663,7 +390,7 @@ importers: version: 6.21.0(eslint@8.56.0)(typescript@5.3.3) autoprefixer: specifier: ^10.4.17 - version: 10.4.17(postcss@8.4.35) + version: 10.4.18(postcss@8.4.35) eslint: specifier: ^8.56.0 version: 8.56.0 @@ -683,6 +410,273 @@ importers: specifier: ^5.3.3 version: 5.3.3 + apps/docs: + dependencies: + next: + specifier: ~14.0.4 + version: 14.0.4(react-dom@18.2.0)(react@18.2.0) + nextra: + specifier: ^2.13.4 + version: 2.13.4(next@14.0.4)(react-dom@18.2.0)(react@18.2.0) + nextra-theme-docs: + specifier: ^2.13.4 + version: 2.13.4(next@14.0.4)(nextra@2.13.4)(react-dom@18.2.0)(react@18.2.0) + react: + specifier: 18.2.0 + version: 18.2.0 + react-dom: + specifier: 18.2.0 + version: 18.2.0(react@18.2.0) + devDependencies: + '@mixan/eslint-config': + specifier: workspace:* + version: link:../../tooling/eslint + '@mixan/prettier-config': + specifier: workspace:* + version: link:../../tooling/prettier + '@mixan/tsconfig': + specifier: workspace:* + version: link:../../tooling/typescript + '@types/node': + specifier: ^18.16.0 + version: 18.19.17 + '@types/react': + specifier: ^18.2.20 + version: 18.2.56 + '@types/react-dom': + specifier: ^18.2.7 + version: 18.2.19 + '@typescript-eslint/eslint-plugin': + specifier: ^6.6.0 + version: 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/parser': + specifier: ^6.6.0 + version: 6.21.0(eslint@8.56.0)(typescript@5.3.3) + autoprefixer: + specifier: ^10.4.18 + version: 10.4.18(postcss@8.4.35) + eslint: + specifier: ^8.48.0 + version: 8.56.0 + postcss: + specifier: ^8.4.35 + version: 8.4.35 + prettier: + specifier: ^3.0.3 + version: 3.2.5 + tailwindcss: + specifier: ^3.4.1 + version: 3.4.1 + typescript: + specifier: ^5.2.2 + version: 5.3.3 + + apps/public: + dependencies: + '@mixan/db': + specifier: workspace:* + version: link:../../packages/db + '@radix-ui/react-alert-dialog': + specifier: ^1.0.5 + version: 1.0.5(@types/react-dom@18.2.19)(@types/react@18.2.56)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-aspect-ratio': + specifier: ^1.0.3 + version: 1.0.3(@types/react-dom@18.2.19)(@types/react@18.2.56)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-avatar': + specifier: ^1.0.4 + version: 1.0.4(@types/react-dom@18.2.19)(@types/react@18.2.56)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-checkbox': + specifier: ^1.0.4 + version: 1.0.4(@types/react-dom@18.2.19)(@types/react@18.2.56)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-dialog': + specifier: ^1.0.5 + version: 1.0.5(@types/react-dom@18.2.19)(@types/react@18.2.56)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-dropdown-menu': + specifier: ^2.0.6 + version: 2.0.6(@types/react-dom@18.2.19)(@types/react@18.2.56)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-label': + specifier: ^2.0.2 + version: 2.0.2(@types/react-dom@18.2.19)(@types/react@18.2.56)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-popover': + specifier: ^1.0.7 + version: 1.0.7(@types/react-dom@18.2.19)(@types/react@18.2.56)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-scroll-area': + specifier: ^1.0.5 + version: 1.0.5(@types/react-dom@18.2.19)(@types/react@18.2.56)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-slot': + specifier: ^1.0.2 + version: 1.0.2(@types/react@18.2.56)(react@18.2.0) + '@radix-ui/react-toast': + specifier: ^1.1.5 + version: 1.1.5(@types/react-dom@18.2.19)(@types/react@18.2.56)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-tooltip': + specifier: ^1.0.7 + version: 1.0.7(@types/react-dom@18.2.19)(@types/react@18.2.56)(react-dom@18.2.0)(react@18.2.0) + '@t3-oss/env-nextjs': + specifier: ^0.7.0 + version: 0.7.3(typescript@5.3.3)(zod@3.22.4) + class-variance-authority: + specifier: ^0.7.0 + version: 0.7.0 + clsx: + specifier: ^2.0.0 + version: 2.1.0 + email-validator: + specifier: ^2.0.4 + version: 2.0.4 + embla-carousel-autoplay: + specifier: 8.0.0-rc22 + version: 8.0.0-rc22(embla-carousel@8.0.0-rc22) + embla-carousel-react: + specifier: 8.0.0-rc22 + version: 8.0.0-rc22(react@18.2.0) + lucide-react: + specifier: ^0.323.0 + version: 0.323.0(react@18.2.0) + next: + specifier: ~14.0.4 + version: 14.0.4(react-dom@18.2.0)(react@18.2.0) + react: + specifier: 18.2.0 + version: 18.2.0 + react-animate-height: + specifier: ^3.2.3 + version: 3.2.3(react-dom@18.2.0)(react@18.2.0) + react-dom: + specifier: 18.2.0 + version: 18.2.0(react@18.2.0) + react-syntax-highlighter: + specifier: ^15.5.0 + version: 15.5.0(react@18.2.0) + tailwind-merge: + specifier: ^1.14.0 + version: 1.14.0 + tailwindcss-animate: + specifier: ^1.0.7 + version: 1.0.7(tailwindcss@3.4.1) + zod: + specifier: ^3.22.4 + version: 3.22.4 + devDependencies: + '@mixan/eslint-config': + specifier: workspace:* + version: link:../../tooling/eslint + '@mixan/prettier-config': + specifier: workspace:* + version: link:../../tooling/prettier + '@mixan/tsconfig': + specifier: workspace:* + version: link:../../tooling/typescript + '@tailwindcss/typography': + specifier: ^0.5.10 + version: 0.5.10(tailwindcss@3.4.1) + '@types/node': + specifier: ^18.16.0 + version: 18.19.17 + '@types/react': + specifier: ^18.2.20 + version: 18.2.56 + '@types/react-dom': + specifier: ^18.2.7 + version: 18.2.19 + '@types/react-syntax-highlighter': + specifier: ^15.5.9 + version: 15.5.11 + '@typescript-eslint/eslint-plugin': + specifier: ^6.6.0 + version: 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/parser': + specifier: ^6.6.0 + version: 6.21.0(eslint@8.56.0)(typescript@5.3.3) + autoprefixer: + specifier: ^10.4.14 + version: 10.4.17(postcss@8.4.35) + eslint: + specifier: ^8.48.0 + version: 8.56.0 + postcss: + specifier: ^8.4.27 + version: 8.4.35 + prettier: + specifier: ^3.0.3 + version: 3.2.5 + prettier-plugin-tailwindcss: + specifier: ^0.5.1 + version: 0.5.11(prettier@3.2.5) + tailwindcss: + specifier: ^3.3.3 + version: 3.4.1 + typescript: + specifier: ^5.2.2 + version: 5.3.3 + + apps/test: + dependencies: + '@mixan-test/nextjs': + specifier: workspace:@mixan/nextjs@* + version: link:../../packages/sdks/nextjs + '@mixan-test/sdk': + specifier: workspace:@mixan/sdk@* + version: link:../../packages/sdks/sdk + '@mixan-test/web': + specifier: workspace:@mixan/web@* + version: link:../../packages/sdks/web + next: + specifier: ~14.1.0 + version: 14.1.0(react-dom@18.2.0)(react@18.2.0) + react: + specifier: 18.2.0 + version: 18.2.0 + react-dom: + specifier: 18.2.0 + version: 18.2.0(react@18.2.0) + devDependencies: + '@mixan/eslint-config': + specifier: workspace:* + version: link:../../tooling/eslint + '@mixan/prettier-config': + specifier: workspace:* + version: link:../../tooling/prettier + '@mixan/tsconfig': + specifier: workspace:* + version: link:../../tooling/typescript + '@types/react': + specifier: ^18.2.20 + version: 18.2.56 + '@types/react-dom': + specifier: ^18.2.7 + version: 18.2.19 + '@types/react-syntax-highlighter': + specifier: ^15.5.9 + version: 15.5.11 + '@typescript-eslint/eslint-plugin': + specifier: ^6.6.0 + version: 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/parser': + specifier: ^6.6.0 + version: 6.21.0(eslint@8.56.0)(typescript@5.3.3) + autoprefixer: + specifier: ^10.4.14 + version: 10.4.17(postcss@8.4.35) + eslint: + specifier: ^8.48.0 + version: 8.56.0 + postcss: + specifier: ^8.4.27 + version: 8.4.35 + prettier: + specifier: ^3.0.3 + version: 3.2.5 + prettier-plugin-tailwindcss: + specifier: ^0.5.1 + version: 0.5.11(prettier@3.2.5) + tailwindcss: + specifier: ^3.3.3 + version: 3.4.1 + typescript: + specifier: ^5.2.2 + version: 5.3.3 + apps/worker: dependencies: '@bull-board/api': @@ -928,17 +922,27 @@ importers: specifier: ^5.2.2 version: 5.3.3 - packages/sdk: + packages/sdks/nextjs: + dependencies: + '@mixan/sdk': + specifier: workspace:* + version: link:../sdk + '@mixan/web': + specifier: workspace:* + version: link:../web + next: + specifier: ^13.0.0 + version: 13.4.19(react-dom@18.2.0)(react@18.2.0) devDependencies: '@mixan/eslint-config': specifier: workspace:* - version: link:../../tooling/eslint + version: link:../../../tooling/eslint '@mixan/prettier-config': specifier: workspace:* - version: link:../../tooling/prettier + version: link:../../../tooling/prettier '@mixan/tsconfig': specifier: workspace:* - version: link:../../tooling/typescript + version: link:../../../tooling/typescript eslint: specifier: ^8.48.0 version: 8.56.0 @@ -952,7 +956,7 @@ importers: specifier: ^5.2.2 version: 5.3.3 - packages/sdk-native: + packages/sdks/react-native: dependencies: '@mixan/sdk': specifier: workspace:* @@ -969,13 +973,13 @@ importers: devDependencies: '@mixan/eslint-config': specifier: workspace:* - version: link:../../tooling/eslint + version: link:../../../tooling/eslint '@mixan/prettier-config': specifier: workspace:* - version: link:../../tooling/prettier + version: link:../../../tooling/prettier '@mixan/tsconfig': specifier: workspace:* - version: link:../../tooling/typescript + version: link:../../../tooling/typescript eslint: specifier: ^8.48.0 version: 8.56.0 @@ -989,27 +993,17 @@ importers: specifier: ^5.2.2 version: 5.3.3 - packages/sdk-next: - dependencies: - '@mixan/sdk': - specifier: workspace:* - version: link:../sdk - '@mixan/sdk-web': - specifier: workspace:* - version: link:../sdk-web - next: - specifier: ^13.0.0 - version: 13.4.19(react-dom@18.2.0)(react@18.2.0) + packages/sdks/sdk: devDependencies: '@mixan/eslint-config': specifier: workspace:* - version: link:../../tooling/eslint + version: link:../../../tooling/eslint '@mixan/prettier-config': specifier: workspace:* - version: link:../../tooling/prettier + version: link:../../../tooling/prettier '@mixan/tsconfig': specifier: workspace:* - version: link:../../tooling/typescript + version: link:../../../tooling/typescript eslint: specifier: ^8.48.0 version: 8.56.0 @@ -1023,7 +1017,7 @@ importers: specifier: ^5.2.2 version: 5.3.3 - packages/sdk-web: + packages/sdks/web: dependencies: '@mixan/sdk': specifier: workspace:* @@ -1031,13 +1025,13 @@ importers: devDependencies: '@mixan/eslint-config': specifier: workspace:* - version: link:../../tooling/eslint + version: link:../../../tooling/eslint '@mixan/prettier-config': specifier: workspace:* - version: link:../../tooling/prettier + version: link:../../../tooling/prettier '@mixan/tsconfig': specifier: workspace:* - version: link:../../tooling/typescript + version: link:../../../tooling/typescript eslint: specifier: ^8.48.0 version: 8.56.0 @@ -13376,7 +13370,7 @@ packages: '@next/env': 13.4.19 '@swc/helpers': 0.5.1 busboy: 1.6.0 - caniuse-lite: 1.0.30001587 + caniuse-lite: 1.0.30001596 postcss: 8.4.14 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 44a69b0f..71f1c669 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,4 +1,4 @@ packages: - 'apps/*' - - 'packages/*' + - 'packages/**' - 'tooling/*'