From 7b9892129c62aebff8f3ea5f13053fa1531b3800 Mon Sep 17 00:00:00 2001 From: Nate Kelley Date: Thu, 10 Jul 2025 10:52:21 -0600 Subject: [PATCH 1/6] update imports and type checks --- apps/server/Dockerfile.custom-base | 37 -------------- apps/server/docker-workflow.md | 51 ------------------- apps/server/package.json | 8 +-- .../src/api/v2/security/test-db-utils.ts | 18 ++++--- .../v2/security/update-workspace-settings.ts | 4 +- .../server-shared/src/user/roles.types.ts | 3 +- pnpm-lock.yaml | 46 ++++++++--------- 7 files changed, 42 insertions(+), 125 deletions(-) delete mode 100644 apps/server/Dockerfile.custom-base delete mode 100644 apps/server/docker-workflow.md diff --git a/apps/server/Dockerfile.custom-base b/apps/server/Dockerfile.custom-base deleted file mode 100644 index dd6a604fb..000000000 --- a/apps/server/Dockerfile.custom-base +++ /dev/null @@ -1,37 +0,0 @@ -# Custom Base Image - Published base with tools + dependencies -# ================================================================ -# This image contains: -# - Node 22 + npm -# - pnpm + bun -# - All workspace dependencies pre-installed -# -# Build and publish this multi-platform image: -# docker buildx build --platform linux/amd64,linux/arm64 \ -# -f apps/server/Dockerfile.custom-base \ -# -t ghcr.io/buster-so/server-base:latest \ -# --push . - -FROM node:22-alpine -WORKDIR /app - -# Install tools: pnpm + bun -RUN echo "=== Installing build tools: $(date) ===" && \ - apk add --no-cache curl bash git && \ - npm install -g pnpm@9.15.0 turbo && \ - curl -fsSL https://bun.sh/install | bash && \ - echo "=== Tools installed: $(date) ===" - -ENV PATH="/root/.bun/bin:$PATH" - -# Copy package configuration files -COPY package.json pnpm-lock.yaml* turbo.json* pnpm-workspace.yaml* ./ -COPY packages/ ./packages/ -COPY apps/server/package.json ./apps/server/ - -# Install ALL dependencies (this is the heavy lifting) -RUN echo "=== Installing all dependencies: $(date) ===" && \ - time pnpm install --ignore-scripts && \ - echo "=== Dependencies installed: $(date) ===" && \ - echo "Base image ready with $(du -sh node_modules | cut -f1) of dependencies" - -# This base image is now ready to be published and reused! \ No newline at end of file diff --git a/apps/server/docker-workflow.md b/apps/server/docker-workflow.md deleted file mode 100644 index 572950c3e..000000000 --- a/apps/server/docker-workflow.md +++ /dev/null @@ -1,51 +0,0 @@ -# Buster Server Docker Workflow -Two-step build process for maximum efficiency - -## 🔐 GitHub Container Registry Setup - -First, authenticate with GitHub Container Registry: - -- The password to login must be a github access token (made with token classic) with write and write package permissions - -```bash -docker login ghcr.io -``` - -## 🏗️ Step 1: Build & Publish Base Image (Do this occasionally) - -The base image contains all heavy dependencies and build tools. - -```bash -# Build the base image with all dependencies -docker build -f apps/server/Dockerfile.custom-base -t ghcr.io/buster-so/server-base:latest . - -# Publish to GitHub Container Registry -docker push ghcr.io/buster-so/server-base:latest -``` - -**When to rebuild the base:** -- Major dependency updates -- New packages added to workspace -- Tool version updates (pnpm, bun) -- Weekly/monthly maintenance - -## ⚡ Step 2: Ultra-Fast App Builds (CI/CD) - -Use the published base for lightning-fast builds: - -```bash -# Pull the latest base (in CI/CD) -docker pull ghcr.io/buster-so/buster-server-base:latest - -# Build your app (super fast!) -docker build -f apps/server/Dockerfile.ultra-fast -t buster-server:latest . -``` - - -### Update Base Image (periodically): -```bash -# Rebuild and push new base -docker buildx build --platform linux/amd64,linux/arm64 \ - -f apps/server/Dockerfile.custom-base \ - -t ghcr.io/buster-so/server-base:latest \ - --push . \ No newline at end of file diff --git a/apps/server/package.json b/apps/server/package.json index 07bbe4f58..6750cd4b9 100644 --- a/apps/server/package.json +++ b/apps/server/package.json @@ -7,8 +7,8 @@ } }, "scripts": { - "prebuild": "bun run scripts/validate-env.js", - "build": "bun build src/index.ts --outdir ./dist --target bun --external pino-pretty", + "prebuild": "bun run scripts/validate-env.js && pnpm run typecheck", + "build": "bun build src/index.ts --outdir ./dist --target bun", "dev": "bun --max-old-space-size=512 run --hot src/index.ts", "lint": "biome check", "prod": "pnpm run build:vercel && pnpm run start:vercel", @@ -31,13 +31,13 @@ "@trigger.dev/sdk": "catalog:", "drizzle-orm": "catalog:", "hono": "catalog:", - "hono-pino": "^0.8.0", + "hono-pino": "^0.9.1", "pino": "^9.7.0", "pino-pretty": "^13.0.0", "zod": "catalog:" }, "devDependencies": { - "@vercel/node": "^5.3.3", + "@vercel/node": "^5.3.4", "tsup": "^8.5.0" } } diff --git a/apps/server/src/api/v2/security/test-db-utils.ts b/apps/server/src/api/v2/security/test-db-utils.ts index 7a1d4318e..02ed00245 100644 --- a/apps/server/src/api/v2/security/test-db-utils.ts +++ b/apps/server/src/api/v2/security/test-db-utils.ts @@ -1,6 +1,10 @@ import { randomUUID } from 'node:crypto'; import { db, organizations, users, usersToOrganizations } from '@buster/database'; -import type { Organization, User } from '@buster/database'; +import type { User } from '@buster/database'; +import type { UserOrganizationRole } from '@buster/server-shared/user'; +import type { InferInsertModel, InferSelectModel } from 'drizzle-orm'; + +type Organization = InferSelectModel; import { and, eq, isNull } from 'drizzle-orm'; export async function createTestUserInDb(userData: Partial = {}): Promise { @@ -48,26 +52,28 @@ export async function createTestOrganizationInDb( const id = randomUUID(); // Use a unique domain for each organization to avoid conflicts with the trigger const uniqueDomain = `test-${id.substring(0, 8)}.com`; - const org = { + const org: Organization = { id, name: `Test Organization ${id}`, domains: orgData.domains !== undefined ? orgData.domains : [uniqueDomain], restrictNewUserInvitations: false, - defaultRole: 'restricted_querier', + defaultRole: 'restricted_querier' as const, createdAt: new Date().toISOString(), updatedAt: new Date().toISOString(), deletedAt: null, + domain: null, + paymentRequired: true, ...orgData, }; await db.insert(organizations).values(org); - return org as Organization; + return org; } export async function createTestOrgMemberInDb( userId: string, organizationId: string, - role = 'querier' + role: UserOrganizationRole = 'querier' ): Promise { // First check if there's already a membership const existing = await db @@ -80,7 +86,7 @@ export async function createTestOrgMemberInDb( await db.delete(usersToOrganizations).where(eq(usersToOrganizations.userId, userId)); } - const member = { + const member: InferInsertModel = { userId, organizationId, role, diff --git a/apps/server/src/api/v2/security/update-workspace-settings.ts b/apps/server/src/api/v2/security/update-workspace-settings.ts index 030082aed..b77bb4191 100644 --- a/apps/server/src/api/v2/security/update-workspace-settings.ts +++ b/apps/server/src/api/v2/security/update-workspace-settings.ts @@ -111,8 +111,8 @@ async function updateOrganizationSettings( restrictNewUserInvitations: updateData.restrictNewUserInvitations, }), ...(updateData.defaultRole !== undefined && - updateData.defaultRole !== 'none' && { - defaultRole: updateData.defaultRole as Exclude, + updateData.defaultRole && { + defaultRole: updateData.defaultRole, }), }; diff --git a/packages/server-shared/src/user/roles.types.ts b/packages/server-shared/src/user/roles.types.ts index b49fb5ba8..ada001255 100644 --- a/packages/server-shared/src/user/roles.types.ts +++ b/packages/server-shared/src/user/roles.types.ts @@ -1,11 +1,10 @@ import type { userOrganizationRoleEnum } from '@buster/database'; //we import as type to avoid postgres dependency in the frontend ☹️ import { z } from 'zod/v4'; -type UserOrganizationRoleBase = (typeof userOrganizationRoleEnum.enumValues)[number] | 'none'; +type UserOrganizationRoleBase = (typeof userOrganizationRoleEnum.enumValues)[number]; const UserOrganizationRoleEnums: Record = Object.freeze({ - none: 'none', viewer: 'viewer', workspace_admin: 'workspace_admin', data_admin: 'data_admin', diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 22f30a889..09355e54a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -130,8 +130,8 @@ importers: specifier: 'catalog:' version: 4.8.3 hono-pino: - specifier: ^0.8.0 - version: 0.8.0(hono@4.8.3)(pino@9.7.0) + specifier: ^0.9.1 + version: 0.9.1(hono@4.8.3)(pino@9.7.0) pino: specifier: ^9.7.0 version: 9.7.0 @@ -143,8 +143,8 @@ importers: version: 3.25.67 devDependencies: '@vercel/node': - specifier: ^5.3.3 - version: 5.3.3(rollup@4.44.2) + specifier: ^5.3.4 + version: 5.3.4(rollup@4.44.2) tsup: specifier: ^8.5.0 version: 8.5.0(jiti@2.4.2)(postcss@8.5.6)(tsx@4.20.3)(typescript@4.9.5)(yaml@2.8.0) @@ -5382,8 +5382,8 @@ packages: cpu: [x64] os: [win32] - '@vercel/build-utils@10.6.4': - resolution: {integrity: sha512-7qmpqKdp8cQwV1NaBoONZVvR5leIdxI/AB85VsIiNhYXIgK4z5j52PfzKAlivDYQUTgYMwQv2FWOEBUh4KQoyw==} + '@vercel/build-utils@10.6.5': + resolution: {integrity: sha512-bNw+CcAr1i7nSnoUfRtxx9reX/iuKo/kM61jpFmu32cW36BZzS8KLIz6wvIlWnU7HTTmxENR3tc2PT3yi7yEow==} '@vercel/error-utils@2.0.3': resolution: {integrity: sha512-CqC01WZxbLUxoiVdh9B/poPbNpY9U+tO1N9oWHwTl5YAZxcqXmmWJ8KNMFItJCUUWdY3J3xv8LvAuQv2KZ5YdQ==} @@ -5402,8 +5402,8 @@ packages: engines: {node: '>=18'} hasBin: true - '@vercel/node@5.3.3': - resolution: {integrity: sha512-r+9vBv0JabLVwzfvS1sAl/M9FfRSzRt53rrj5Ge4ZSNEvrLCtw89Zs6zLipcVkHfYSDkDp6esNalHwyOdmPGRA==} + '@vercel/node@5.3.4': + resolution: {integrity: sha512-U3VvStXs608RYjczrrZQtU8Q/hDF0FShJPYrTCJq64ppfvgjiRJra+33bd32Gqmn19QjuQNLE2qxGjKZGjsYDw==} '@vercel/static-config@3.1.1': resolution: {integrity: sha512-IRtKnm9N1Uqd2ayIbLPjRtdwcl1GTWvqF1PuEVNm9O43kmoI+m9VpGlW8oga+5LQq1LmJ2Y67zHr7NbjrH1rrw==} @@ -7854,8 +7854,8 @@ packages: zod-openapi: optional: true - hono-pino@0.8.0: - resolution: {integrity: sha512-JFQcOIHApa22NUqZpyNCYf/ni2kwnn85vABjpAzssiQeEt7rkN/sRW19Z+WQzdHDluZVSNnF6Mk7nY13MJzJDA==} + hono-pino@0.9.1: + resolution: {integrity: sha512-5HopJgf7FBAHw1NBXNSDMB9Iuxp6RD0IkXDqmA+MxNQk6s566B0a8GtdSkApbow9wbrhghtHE8aLri9RsvzG1A==} engines: {node: '>=18'} peerDependencies: hono: '>=4.0.0' @@ -14071,7 +14071,7 @@ snapshots: consola: 3.4.2 detect-libc: 2.0.4 https-proxy-agent: 7.0.6 - node-fetch: 2.6.9 + node-fetch: 2.7.0 nopt: 8.1.0 semver: 7.7.2 tar: 7.4.3 @@ -17390,7 +17390,7 @@ snapshots: '@unrs/resolver-binding-win32-x64-msvc@1.11.0': optional: true - '@vercel/build-utils@10.6.4': {} + '@vercel/build-utils@10.6.5': {} '@vercel/error-utils@2.0.3': {} @@ -17417,13 +17417,13 @@ snapshots: - rollup - supports-color - '@vercel/node@5.3.3(rollup@4.44.2)': + '@vercel/node@5.3.4(rollup@4.44.2)': dependencies: '@edge-runtime/node-utils': 2.3.0 '@edge-runtime/primitives': 4.1.0 '@edge-runtime/vm': 3.2.0 '@types/node': 16.18.11 - '@vercel/build-utils': 10.6.4 + '@vercel/build-utils': 10.6.5 '@vercel/error-utils': 2.0.3 '@vercel/nft': 0.29.2(rollup@4.44.2) '@vercel/static-config': 3.1.1 @@ -19351,8 +19351,8 @@ snapshots: '@typescript-eslint/parser': 8.35.1(eslint@8.57.1)(typescript@5.8.3) eslint: 8.57.1 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.10.1(eslint-plugin-import@2.32.0)(eslint@8.57.1) - eslint-plugin-import: 2.32.0(@typescript-eslint/parser@8.35.1(eslint@8.57.1)(typescript@5.8.3))(eslint-import-resolver-typescript@3.10.1)(eslint@8.57.1) + eslint-import-resolver-typescript: 3.10.1(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.35.1(eslint@8.57.1)(typescript@5.8.3))(eslint@8.57.1))(eslint@8.57.1) + eslint-plugin-import: 2.32.0(@typescript-eslint/parser@8.35.1(eslint@8.57.1)(typescript@5.8.3))(eslint-import-resolver-typescript@3.10.1(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.35.1(eslint@8.57.1)(typescript@5.8.3))(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1) eslint-plugin-jsx-a11y: 6.10.2(eslint@8.57.1) eslint-plugin-react: 7.37.5(eslint@8.57.1) eslint-plugin-react-hooks: 5.2.0(eslint@8.57.1) @@ -19375,7 +19375,7 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-import-resolver-typescript@3.10.1(eslint-plugin-import@2.32.0)(eslint@8.57.1): + eslint-import-resolver-typescript@3.10.1(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.35.1(eslint@8.57.1)(typescript@5.8.3))(eslint@8.57.1))(eslint@8.57.1): dependencies: '@nolyfill/is-core-module': 1.0.39 debug: 4.4.1 @@ -19386,22 +19386,22 @@ snapshots: tinyglobby: 0.2.14 unrs-resolver: 1.11.0 optionalDependencies: - eslint-plugin-import: 2.32.0(@typescript-eslint/parser@8.35.1(eslint@8.57.1)(typescript@5.8.3))(eslint-import-resolver-typescript@3.10.1)(eslint@8.57.1) + eslint-plugin-import: 2.32.0(@typescript-eslint/parser@8.35.1(eslint@8.57.1)(typescript@5.8.3))(eslint-import-resolver-typescript@3.10.1(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.35.1(eslint@8.57.1)(typescript@5.8.3))(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1) transitivePeerDependencies: - supports-color - eslint-module-utils@2.12.1(@typescript-eslint/parser@8.35.1(eslint@8.57.1)(typescript@5.8.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.10.1)(eslint@8.57.1): + eslint-module-utils@2.12.1(@typescript-eslint/parser@8.35.1(eslint@8.57.1)(typescript@5.8.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.10.1(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.35.1(eslint@8.57.1)(typescript@5.8.3))(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1): dependencies: debug: 3.2.7 optionalDependencies: '@typescript-eslint/parser': 8.35.1(eslint@8.57.1)(typescript@5.8.3) eslint: 8.57.1 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.10.1(eslint-plugin-import@2.32.0)(eslint@8.57.1) + eslint-import-resolver-typescript: 3.10.1(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.35.1(eslint@8.57.1)(typescript@5.8.3))(eslint@8.57.1))(eslint@8.57.1) transitivePeerDependencies: - supports-color - eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.35.1(eslint@8.57.1)(typescript@5.8.3))(eslint-import-resolver-typescript@3.10.1)(eslint@8.57.1): + eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.35.1(eslint@8.57.1)(typescript@5.8.3))(eslint-import-resolver-typescript@3.10.1(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.35.1(eslint@8.57.1)(typescript@5.8.3))(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1): dependencies: '@rtsao/scc': 1.1.0 array-includes: 3.1.9 @@ -19412,7 +19412,7 @@ snapshots: doctrine: 2.1.0 eslint: 8.57.1 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.12.1(@typescript-eslint/parser@8.35.1(eslint@8.57.1)(typescript@5.8.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.10.1)(eslint@8.57.1) + eslint-module-utils: 2.12.1(@typescript-eslint/parser@8.35.1(eslint@8.57.1)(typescript@5.8.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.10.1(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.35.1(eslint@8.57.1)(typescript@5.8.3))(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1) hasown: 2.0.2 is-core-module: 2.16.1 is-glob: 4.0.3 @@ -20255,7 +20255,7 @@ snapshots: hono: 4.8.4 zod: 3.25.67 - hono-pino@0.8.0(hono@4.8.3)(pino@9.7.0): + hono-pino@0.9.1(hono@4.8.3)(pino@9.7.0): dependencies: defu: 6.1.4 hono: 4.8.3 From e7ee2560722ffdc9d51854eb1114283e329a9f21 Mon Sep 17 00:00:00 2001 From: Nate Kelley Date: Thu, 10 Jul 2025 12:16:34 -0600 Subject: [PATCH 2/6] move shared to be zod v4 --- apps/server/package.json | 2 +- .../src/api/v2/chats/services/chat-helpers.ts | 9 +- apps/server/src/api/v2/slack/handler.ts | 6 +- .../v2/slack/services/slack-oauth-service.ts | 4 +- apps/server/src/index.ts | 8 +- apps/trigger/package.json | 6 +- packages/ai/package.json | 2 +- packages/server-shared/package.json | 2 +- .../src/chats/chat-errors.types.ts | 2 +- .../src/chats/chat-message.types.ts | 2 +- .../server-shared/src/chats/chat.types.ts | 2 +- .../src/currency/currency.types.ts | 2 +- .../src/message/post-processing.ts | 2 +- .../metrics/charts/annotationInterfaces.ts | 2 +- .../src/metrics/charts/axisInterfaces.ts | 2 +- .../src/metrics/charts/barChartProps.ts | 2 +- .../src/metrics/charts/chartConfigProps.ts | 2 +- .../src/metrics/charts/columnInterfaces.ts | 2 +- .../metrics/charts/columnLabelInterfaces.ts | 20 +- .../src/metrics/charts/comboChartProps.ts | 2 +- .../server-shared/src/metrics/charts/enum.ts | 2 +- .../src/metrics/charts/etcInterfaces.ts | 2 +- .../src/metrics/charts/lineChartProps.ts | 2 +- .../src/metrics/charts/metricChartProps.ts | 2 +- .../src/metrics/charts/pieChartProps.ts | 2 +- .../src/metrics/charts/scatterChartProps.ts | 2 +- .../src/metrics/charts/tableChartProps.ts | 2 +- .../src/metrics/charts/tickInterfaces.ts | 2 +- .../src/metrics/defaultHelpers.test.ts | 2 +- .../src/metrics/defaultHelpers.ts | 2 +- .../src/metrics/metadata.type.ts | 2 +- .../server-shared/src/metrics/metric.types.ts | 2 +- .../src/metrics/metrics-list.types.ts | 2 +- .../src/metrics/requests.types.ts | 2 +- .../src/metrics/responses.types.ts | 2 +- .../src/organization/organization.types.ts | 2 +- .../src/organization/roles.types.ts | 6 +- .../src/organization/user.types.ts | 2 +- .../server-shared/src/security/requests.ts | 4 +- .../server-shared/src/security/responses.ts | 2 +- .../src/share/share-interfaces.types.ts | 2 +- .../src/share/verification.types.ts | 2 +- .../server-shared/src/slack/requests.types.ts | 2 +- packages/server-shared/src/teams/requests.ts | 2 +- packages/server-shared/src/teams/responses.ts | 2 +- .../server-shared/src/teams/teams.types.ts | 6 +- .../server-shared/src/user/favorites.types.ts | 2 +- .../server-shared/src/user/request.types.ts | 2 +- .../server-shared/src/user/responses.types.ts | 2 +- .../server-shared/src/user/roles.types.ts | 9 +- .../src/user/sharing-setting.types.ts | 7 +- .../server-shared/src/user/users.types.ts | 2 +- packages/stored-values/package.json | 2 +- packages/typescript-config/base.json | 1 + pnpm-lock.yaml | 265 +++++++++--------- pnpm-workspace.yaml | 7 +- 56 files changed, 224 insertions(+), 218 deletions(-) diff --git a/apps/server/package.json b/apps/server/package.json index 6750cd4b9..38ae6e2dd 100644 --- a/apps/server/package.json +++ b/apps/server/package.json @@ -7,7 +7,7 @@ } }, "scripts": { - "prebuild": "bun run scripts/validate-env.js && pnpm run typecheck", + "prebuild": "bun run scripts/validate-env.js", "build": "bun build src/index.ts --outdir ./dist --target bun", "dev": "bun --max-old-space-size=512 run --hot src/index.ts", "lint": "biome check", diff --git a/apps/server/src/api/v2/chats/services/chat-helpers.ts b/apps/server/src/api/v2/chats/services/chat-helpers.ts index aaf94158a..0932b3821 100644 --- a/apps/server/src/api/v2/chats/services/chat-helpers.ts +++ b/apps/server/src/api/v2/chats/services/chat-helpers.ts @@ -16,15 +16,10 @@ import type { ChatMessageResponseMessage, ChatWithMessages, } from '@buster/server-shared/chats'; -import { - ChatError, - ChatErrorCode, - ReasoningMessageSchema, - ResponseMessageSchema, -} from '@buster/server-shared/chats'; +import { ChatError, ChatErrorCode } from '@buster/server-shared/chats'; import { PostProcessingMessageSchema } from '@buster/server-shared/message'; import { and, eq, gte, isNull } from 'drizzle-orm'; -import type { z } from 'zod/v4'; +import type { z } from 'zod'; /** * Validates a nullable JSONB field against a Zod schema diff --git a/apps/server/src/api/v2/slack/handler.ts b/apps/server/src/api/v2/slack/handler.ts index f5d759ec0..5a2a1356a 100644 --- a/apps/server/src/api/v2/slack/handler.ts +++ b/apps/server/src/api/v2/slack/handler.ts @@ -130,10 +130,10 @@ export class SlackHandler { * Handle OAuth callback from Slack */ async handleOAuthCallback(c: Context): Promise { - try { - // Get base URL from environment - const baseUrl = process.env.BUSTER_URL || ''; + // Get base URL from environment + const baseUrl = process.env.BUSTER_URL || ''; + try { // Get service instance (lazy initialization) const slackOAuthService = this.getSlackOAuthService(); diff --git a/apps/server/src/api/v2/slack/services/slack-oauth-service.ts b/apps/server/src/api/v2/slack/services/slack-oauth-service.ts index 9dcf88291..18f1a8b03 100644 --- a/apps/server/src/api/v2/slack/services/slack-oauth-service.ts +++ b/apps/server/src/api/v2/slack/services/slack-oauth-service.ts @@ -10,8 +10,8 @@ const SlackEnvSchema = z.object({ SERVER_URL: z.string().url(), SLACK_INTEGRATION_ENABLED: z .string() - .transform((val) => val === 'true') - .default('false'), + .default('false') + .transform((val) => val === 'true'), }); // OAuth metadata schema diff --git a/apps/server/src/index.ts b/apps/server/src/index.ts index 21cbab3f0..39079192b 100644 --- a/apps/server/src/index.ts +++ b/apps/server/src/index.ts @@ -32,7 +32,13 @@ app.onError((err, c) => { } if (err instanceof z.ZodError) { - return c.text(err.errors.map((e) => e.message).join(', '), 400); + return c.json( + { + error: 'Validation Error', + message: err.issues.map((issue) => issue.message).join(', '), + }, + 400 + ); } return c.json( diff --git a/apps/trigger/package.json b/apps/trigger/package.json index 9128e864c..1f5af7480 100644 --- a/apps/trigger/package.json +++ b/apps/trigger/package.json @@ -27,13 +27,13 @@ "@buster/typescript-config": "workspace:*", "@buster/vitest-config": "workspace:*", "@mastra/core": "catalog:", - "@trigger.dev/sdk": "4.0.0-v4-beta.22", + "@trigger.dev/sdk": "catalog:", "ai": "catalog:", - "braintrust": "^0.0.206", + "braintrust": "catalog:", "vitest": "catalog:", "zod": "catalog:" }, "devDependencies": { - "@trigger.dev/build": "4.0.0-v4-beta.22" + "@trigger.dev/build": "catalog:" } } diff --git a/packages/ai/package.json b/packages/ai/package.json index 3a58bce20..2c743f085 100644 --- a/packages/ai/package.json +++ b/packages/ai/package.json @@ -41,7 +41,7 @@ "@mastra/core": "catalog:", "@mastra/loggers": "^0.10.3", "ai": "catalog:", - "braintrust": "^0.0.206", + "braintrust": "catalog:", "drizzle-orm": "catalog:", "glob": "^11.0.3", "minimatch": "^10.0.3", diff --git a/packages/server-shared/package.json b/packages/server-shared/package.json index f6afa5714..35faaa858 100644 --- a/packages/server-shared/package.json +++ b/packages/server-shared/package.json @@ -66,7 +66,7 @@ "@buster/vitest-config": "workspace:*", "@buster/typescript-config": "workspace:*", "@buster/database": "workspace:*", - "zod": "catalog:" + "zod": "^3.0.0" }, "devDependencies": { "vitest": "catalog:" diff --git a/packages/server-shared/src/chats/chat-errors.types.ts b/packages/server-shared/src/chats/chat-errors.types.ts index 622db945a..c0b45b567 100644 --- a/packages/server-shared/src/chats/chat-errors.types.ts +++ b/packages/server-shared/src/chats/chat-errors.types.ts @@ -1,4 +1,4 @@ -import { z } from 'zod/v4'; +import { z } from 'zod'; /** * Error codes for chat operations diff --git a/packages/server-shared/src/chats/chat-message.types.ts b/packages/server-shared/src/chats/chat-message.types.ts index 5fb990afd..5a67669e0 100644 --- a/packages/server-shared/src/chats/chat-message.types.ts +++ b/packages/server-shared/src/chats/chat-message.types.ts @@ -1,4 +1,4 @@ -import { z } from 'zod/v4'; +import { z } from 'zod'; import { PostProcessingMessageSchema } from '../message'; // Message role for chat messages diff --git a/packages/server-shared/src/chats/chat.types.ts b/packages/server-shared/src/chats/chat.types.ts index b0d237ac4..93208fb44 100644 --- a/packages/server-shared/src/chats/chat.types.ts +++ b/packages/server-shared/src/chats/chat.types.ts @@ -1,4 +1,4 @@ -import { z } from 'zod/v4'; +import { z } from 'zod'; import { ChatMessageSchema } from './chat-message.types'; const AssetType = z.enum(['metric_file', 'dashboard_file']); diff --git a/packages/server-shared/src/currency/currency.types.ts b/packages/server-shared/src/currency/currency.types.ts index 415ce8814..1b6f1ca94 100644 --- a/packages/server-shared/src/currency/currency.types.ts +++ b/packages/server-shared/src/currency/currency.types.ts @@ -1,4 +1,4 @@ -import { z } from 'zod/v4'; +import { z } from 'zod'; export const CurrencySchema = z.object({ code: z.string(), diff --git a/packages/server-shared/src/message/post-processing.ts b/packages/server-shared/src/message/post-processing.ts index 3296c2ce3..fe746b4b6 100644 --- a/packages/server-shared/src/message/post-processing.ts +++ b/packages/server-shared/src/message/post-processing.ts @@ -1,4 +1,4 @@ -import { z } from 'zod/v4'; +import { z } from 'zod'; export const AssumptionClassificationSchema = z.enum([ 'fieldMapping', diff --git a/packages/server-shared/src/metrics/charts/annotationInterfaces.ts b/packages/server-shared/src/metrics/charts/annotationInterfaces.ts index 27efefd8c..74ded381a 100644 --- a/packages/server-shared/src/metrics/charts/annotationInterfaces.ts +++ b/packages/server-shared/src/metrics/charts/annotationInterfaces.ts @@ -1,4 +1,4 @@ -import { z } from 'zod/v4'; +import { z } from 'zod'; import { getDefaults } from '../defaultHelpers'; // Goal line is a line that is drawn on the chart to represent a goal. diff --git a/packages/server-shared/src/metrics/charts/axisInterfaces.ts b/packages/server-shared/src/metrics/charts/axisInterfaces.ts index cccf23c10..5d128ea59 100644 --- a/packages/server-shared/src/metrics/charts/axisInterfaces.ts +++ b/packages/server-shared/src/metrics/charts/axisInterfaces.ts @@ -1,4 +1,4 @@ -import { z } from 'zod/v4'; +import { z } from 'zod'; export const BarAndLineAxisSchema = z .object({ diff --git a/packages/server-shared/src/metrics/charts/barChartProps.ts b/packages/server-shared/src/metrics/charts/barChartProps.ts index e184d8630..3a194df8c 100644 --- a/packages/server-shared/src/metrics/charts/barChartProps.ts +++ b/packages/server-shared/src/metrics/charts/barChartProps.ts @@ -1,4 +1,4 @@ -import { z } from 'zod/v4'; +import { z } from 'zod'; import { BarAndLineAxisSchema } from './axisInterfaces'; import { BarSortBySchema } from './etcInterfaces'; diff --git a/packages/server-shared/src/metrics/charts/chartConfigProps.ts b/packages/server-shared/src/metrics/charts/chartConfigProps.ts index 8876e6856..146157634 100644 --- a/packages/server-shared/src/metrics/charts/chartConfigProps.ts +++ b/packages/server-shared/src/metrics/charts/chartConfigProps.ts @@ -1,4 +1,4 @@ -import { z } from 'zod/v4'; +import { z } from 'zod'; import { getDefaults } from '../defaultHelpers'; import { GoalLineSchema, TrendlineSchema } from './annotationInterfaces'; import { BarChartPropsSchema } from './barChartProps'; diff --git a/packages/server-shared/src/metrics/charts/columnInterfaces.ts b/packages/server-shared/src/metrics/charts/columnInterfaces.ts index 04cf038f1..4d367c063 100644 --- a/packages/server-shared/src/metrics/charts/columnInterfaces.ts +++ b/packages/server-shared/src/metrics/charts/columnInterfaces.ts @@ -1,4 +1,4 @@ -import { z } from 'zod/v4'; +import { z } from 'zod'; import { getDefaults } from '../defaultHelpers'; export const LineColumnSettingsSchema = z.object({ diff --git a/packages/server-shared/src/metrics/charts/columnLabelInterfaces.ts b/packages/server-shared/src/metrics/charts/columnLabelInterfaces.ts index ce7dc11aa..d25678bba 100644 --- a/packages/server-shared/src/metrics/charts/columnLabelInterfaces.ts +++ b/packages/server-shared/src/metrics/charts/columnLabelInterfaces.ts @@ -1,4 +1,4 @@ -import { z } from 'zod/v4'; +import { z } from 'zod'; import { getDefaults } from '../defaultHelpers'; export const ColumnLabelFormatSchema = z.object({ @@ -14,10 +14,8 @@ export const ColumnLabelFormatSchema = z.object({ .optional( z .number() - .check( - z.gte(0, 'Minimum fraction digits must be at least 0'), - z.lte(20, 'Minimum fraction digits must be at most 20') - ) + .min(0, 'Minimum fraction digits must be at least 0') + .max(20, 'Minimum fraction digits must be at most 20') ) .default(0), // OPTIONAL: default is 2. This is essentially used to set a maximum number of decimal places. This will only apply if the format is set to 'number'. @@ -25,10 +23,8 @@ export const ColumnLabelFormatSchema = z.object({ .optional( z .number() - .check( - z.gte(0, 'Maximum fraction digits must be at least 0'), - z.lte(20, 'Maximum fraction digits must be at most 20') - ) + .min(0, 'Maximum fraction digits must be at least 0') + .max(20, 'Maximum fraction digits must be at most 20') ) .default(2), // OPTIONAL: default is 1. This will only apply if the format is set to 'number', 'currency', or 'percent'. @@ -36,10 +32,8 @@ export const ColumnLabelFormatSchema = z.object({ .optional( z .number() - .check( - z.gte(0.001, 'Multiplier must be at least 0.001'), - z.lte(1000000, 'Multiplier must be at most 1,000,000') - ) + .min(0.001, 'Multiplier must be at least 0.001') + .max(1000000, 'Multiplier must be at most 1,000,000') ) .default(1), // OPTIONAL: default is ''. This sets a prefix to go in front of each value found within the column. This will only apply if the format is set to 'number' or 'percent'. diff --git a/packages/server-shared/src/metrics/charts/comboChartProps.ts b/packages/server-shared/src/metrics/charts/comboChartProps.ts index 1581406a2..db8e11cd3 100644 --- a/packages/server-shared/src/metrics/charts/comboChartProps.ts +++ b/packages/server-shared/src/metrics/charts/comboChartProps.ts @@ -1,4 +1,4 @@ -import { z } from 'zod/v4'; +import { z } from 'zod'; import { ComboChartAxisSchema } from './axisInterfaces'; export const ComboChartPropsSchema = z.object({ diff --git a/packages/server-shared/src/metrics/charts/enum.ts b/packages/server-shared/src/metrics/charts/enum.ts index a1a7e04fc..18ff973c2 100644 --- a/packages/server-shared/src/metrics/charts/enum.ts +++ b/packages/server-shared/src/metrics/charts/enum.ts @@ -1,4 +1,4 @@ -import { z } from 'zod/v4'; +import { z } from 'zod'; export const ChartTypeSchema = z .enum(['line', 'bar', 'scatter', 'pie', 'metric', 'table', 'combo']) diff --git a/packages/server-shared/src/metrics/charts/etcInterfaces.ts b/packages/server-shared/src/metrics/charts/etcInterfaces.ts index 1191c16b0..30c5f451e 100644 --- a/packages/server-shared/src/metrics/charts/etcInterfaces.ts +++ b/packages/server-shared/src/metrics/charts/etcInterfaces.ts @@ -1,4 +1,4 @@ -import { z } from 'zod/v4'; +import { z } from 'zod'; // OPTIONAL: default is no sorting (none). The first item in the array will be the primary sort. The second item will be the secondary sort. This will only apply if the X axis type is not a date. export const BarSortBySchema = z.array(z.enum(['asc', 'desc', 'none'])).default([]); diff --git a/packages/server-shared/src/metrics/charts/lineChartProps.ts b/packages/server-shared/src/metrics/charts/lineChartProps.ts index 7e4d9a8e5..52f428d1f 100644 --- a/packages/server-shared/src/metrics/charts/lineChartProps.ts +++ b/packages/server-shared/src/metrics/charts/lineChartProps.ts @@ -1,4 +1,4 @@ -import { z } from 'zod/v4'; +import { z } from 'zod'; export const LineChartPropsSchema = z.object({ // OPTIONAL: default is null. This will only apply if the columnVisualization is set to 'line'. If this is set to stack it will stack the lines on top of each other. The UI has this labeled as "Show as %" diff --git a/packages/server-shared/src/metrics/charts/metricChartProps.ts b/packages/server-shared/src/metrics/charts/metricChartProps.ts index 4f3e58225..e54da0189 100644 --- a/packages/server-shared/src/metrics/charts/metricChartProps.ts +++ b/packages/server-shared/src/metrics/charts/metricChartProps.ts @@ -1,4 +1,4 @@ -import { z } from 'zod/v4'; +import { z } from 'zod'; export const DerivedMetricTitleSchema = z.object({ // which column to use. diff --git a/packages/server-shared/src/metrics/charts/pieChartProps.ts b/packages/server-shared/src/metrics/charts/pieChartProps.ts index b1f6c52e9..13a706a1a 100644 --- a/packages/server-shared/src/metrics/charts/pieChartProps.ts +++ b/packages/server-shared/src/metrics/charts/pieChartProps.ts @@ -1,4 +1,4 @@ -import { z } from 'zod/v4'; +import { z } from 'zod'; import { PieChartAxisSchema } from './axisInterfaces'; import { PieSortBySchema } from './etcInterfaces'; diff --git a/packages/server-shared/src/metrics/charts/scatterChartProps.ts b/packages/server-shared/src/metrics/charts/scatterChartProps.ts index 31b5acded..0b5a538e1 100644 --- a/packages/server-shared/src/metrics/charts/scatterChartProps.ts +++ b/packages/server-shared/src/metrics/charts/scatterChartProps.ts @@ -1,4 +1,4 @@ -import { z } from 'zod/v4'; +import { z } from 'zod'; import { ScatterAxisSchema } from './axisInterfaces'; export const ScatterChartPropsSchema = z.object({ diff --git a/packages/server-shared/src/metrics/charts/tableChartProps.ts b/packages/server-shared/src/metrics/charts/tableChartProps.ts index 01ee96de8..83f29d705 100644 --- a/packages/server-shared/src/metrics/charts/tableChartProps.ts +++ b/packages/server-shared/src/metrics/charts/tableChartProps.ts @@ -1,4 +1,4 @@ -import { z } from 'zod/v4'; +import { z } from 'zod'; export const TableChartPropsSchema = z.object({ tableColumnOrder: z.nullable(z.array(z.string())).default(null), diff --git a/packages/server-shared/src/metrics/charts/tickInterfaces.ts b/packages/server-shared/src/metrics/charts/tickInterfaces.ts index 9bd30473b..d82b2d2e7 100644 --- a/packages/server-shared/src/metrics/charts/tickInterfaces.ts +++ b/packages/server-shared/src/metrics/charts/tickInterfaces.ts @@ -1,4 +1,4 @@ -import { z } from 'zod/v4'; +import { z } from 'zod'; /** * Configuration options for the Y-axis of a chart. diff --git a/packages/server-shared/src/metrics/defaultHelpers.test.ts b/packages/server-shared/src/metrics/defaultHelpers.test.ts index c4f6def3f..83661cb32 100644 --- a/packages/server-shared/src/metrics/defaultHelpers.test.ts +++ b/packages/server-shared/src/metrics/defaultHelpers.test.ts @@ -1,5 +1,5 @@ import { describe, expect, it } from 'vitest'; -import { z } from 'zod/v4'; +import { z } from 'zod'; import { getDefaults, getDefaultsPartial } from './defaultHelpers'; describe('getDefaults', () => { diff --git a/packages/server-shared/src/metrics/defaultHelpers.ts b/packages/server-shared/src/metrics/defaultHelpers.ts index f281cb0ed..2edaf7d87 100644 --- a/packages/server-shared/src/metrics/defaultHelpers.ts +++ b/packages/server-shared/src/metrics/defaultHelpers.ts @@ -1,4 +1,4 @@ -import type { z } from 'zod/v4'; +import type { z } from 'zod'; /** * Extracts all default values from a Zod schema. diff --git a/packages/server-shared/src/metrics/metadata.type.ts b/packages/server-shared/src/metrics/metadata.type.ts index 34dcd58af..251d6ba7e 100644 --- a/packages/server-shared/src/metrics/metadata.type.ts +++ b/packages/server-shared/src/metrics/metadata.type.ts @@ -1,4 +1,4 @@ -import { z } from 'zod/v4'; +import { z } from 'zod'; export const ColumnMetaDataSchema = z.object({ name: z.string(), diff --git a/packages/server-shared/src/metrics/metric.types.ts b/packages/server-shared/src/metrics/metric.types.ts index a5b07a264..81b7d8169 100644 --- a/packages/server-shared/src/metrics/metric.types.ts +++ b/packages/server-shared/src/metrics/metric.types.ts @@ -1,4 +1,4 @@ -import { z } from 'zod/v4'; +import { z } from 'zod'; import { ShareConfigSchema, VerificationStatusSchema } from '../share'; import { ChartConfigPropsSchema } from './charts'; import { DEFAULT_CHART_CONFIG } from './charts/chartConfigProps'; diff --git a/packages/server-shared/src/metrics/metrics-list.types.ts b/packages/server-shared/src/metrics/metrics-list.types.ts index 2166728c8..7fd7ca979 100644 --- a/packages/server-shared/src/metrics/metrics-list.types.ts +++ b/packages/server-shared/src/metrics/metrics-list.types.ts @@ -1,4 +1,4 @@ -import { z } from 'zod/v4'; +import { z } from 'zod'; import { VerificationStatusSchema } from '../share'; export const MetricListItemSchema = z.object({ diff --git a/packages/server-shared/src/metrics/requests.types.ts b/packages/server-shared/src/metrics/requests.types.ts index 39fe52b33..91bb227df 100644 --- a/packages/server-shared/src/metrics/requests.types.ts +++ b/packages/server-shared/src/metrics/requests.types.ts @@ -1,4 +1,4 @@ -import { z } from 'zod/v4'; +import { z } from 'zod'; import { ShareRoleSchema, VerificationStatusSchema } from '../share'; import { ChartConfigPropsSchema } from './charts'; diff --git a/packages/server-shared/src/metrics/responses.types.ts b/packages/server-shared/src/metrics/responses.types.ts index 63f20e1f2..4f4028882 100644 --- a/packages/server-shared/src/metrics/responses.types.ts +++ b/packages/server-shared/src/metrics/responses.types.ts @@ -1,4 +1,4 @@ -import { z } from 'zod/v4'; +import { z } from 'zod'; import { DataMetadataSchema, DataResultSchema } from './metadata.type'; import { MetricSchema } from './metric.types'; import { MetricListItemSchema } from './metrics-list.types'; diff --git a/packages/server-shared/src/organization/organization.types.ts b/packages/server-shared/src/organization/organization.types.ts index f26e4b8ab..2baede804 100644 --- a/packages/server-shared/src/organization/organization.types.ts +++ b/packages/server-shared/src/organization/organization.types.ts @@ -1,4 +1,4 @@ -import { z } from 'zod/v4'; +import { z } from 'zod'; import { OrganizationRoleSchema } from './roles.types'; export const OrganizationSchema = z.object({ diff --git a/packages/server-shared/src/organization/roles.types.ts b/packages/server-shared/src/organization/roles.types.ts index 51f0d41fb..423246083 100644 --- a/packages/server-shared/src/organization/roles.types.ts +++ b/packages/server-shared/src/organization/roles.types.ts @@ -1,5 +1,5 @@ import type { userOrganizationRoleEnum } from '@buster/database'; //we import as type to avoid postgres dependency in the frontend ☹️ -import { z } from 'zod/v4'; +import { z } from 'zod'; type OrganizationRoleBase = (typeof userOrganizationRoleEnum.enumValues)[number]; @@ -14,6 +14,8 @@ export const OrganizationRoleEnum: Record; diff --git a/packages/server-shared/src/organization/user.types.ts b/packages/server-shared/src/organization/user.types.ts index 106ae1335..8e926e6bf 100644 --- a/packages/server-shared/src/organization/user.types.ts +++ b/packages/server-shared/src/organization/user.types.ts @@ -1,4 +1,4 @@ -import { z } from 'zod/v4'; +import { z } from 'zod'; import { OrganizationRoleSchema } from './roles.types'; export const LineageUserItemTypeSchema = z.enum(['user', 'datasets', 'permissionGroups']); diff --git a/packages/server-shared/src/security/requests.ts b/packages/server-shared/src/security/requests.ts index 0103bfaab..3ce682c60 100644 --- a/packages/server-shared/src/security/requests.ts +++ b/packages/server-shared/src/security/requests.ts @@ -1,4 +1,4 @@ -import { z } from 'zod/v4'; +import { z } from 'zod'; import { OrganizationRoleSchema } from '../organization'; export const UpdateInviteLinkRequestSchema = z.object({ @@ -43,7 +43,7 @@ export const UpdateWorkspaceSettingsRequestSchema = z.object({ restrict_new_user_invitations: z.boolean().optional(), default_role: OrganizationRoleSchema.optional(), // this can either be a uuid or "all" - default_datasets_ids: z.array(z.union([z.uuid(), z.literal('all')])).optional(), + default_datasets_ids: z.array(z.union([z.string(), z.literal('all')])).optional(), }); export type UpdateWorkspaceSettingsRequest = z.infer; diff --git a/packages/server-shared/src/security/responses.ts b/packages/server-shared/src/security/responses.ts index eb10a45d2..99fe0eb15 100644 --- a/packages/server-shared/src/security/responses.ts +++ b/packages/server-shared/src/security/responses.ts @@ -1,4 +1,4 @@ -import { z } from 'zod/v4'; +import { z } from 'zod'; import { OrganizationRoleSchema } from '../organization'; export const GetInviteLinkResponseSchema = z.object({ diff --git a/packages/server-shared/src/share/share-interfaces.types.ts b/packages/server-shared/src/share/share-interfaces.types.ts index 3b5e28060..a0b03af15 100644 --- a/packages/server-shared/src/share/share-interfaces.types.ts +++ b/packages/server-shared/src/share/share-interfaces.types.ts @@ -1,4 +1,4 @@ -import { z } from 'zod/v4'; +import { z } from 'zod'; export const ShareRoleSchema = z.enum([ 'owner', //owner of the asset diff --git a/packages/server-shared/src/share/verification.types.ts b/packages/server-shared/src/share/verification.types.ts index 851d2993d..249e7ad87 100644 --- a/packages/server-shared/src/share/verification.types.ts +++ b/packages/server-shared/src/share/verification.types.ts @@ -1,4 +1,4 @@ -import { z } from 'zod/v4'; +import { z } from 'zod'; export const VerificationStatusSchema = z.enum([ 'notRequested', diff --git a/packages/server-shared/src/slack/requests.types.ts b/packages/server-shared/src/slack/requests.types.ts index ee6d43401..522ce976d 100644 --- a/packages/server-shared/src/slack/requests.types.ts +++ b/packages/server-shared/src/slack/requests.types.ts @@ -1,4 +1,4 @@ -import { z } from 'zod/v4'; +import { z } from 'zod'; // POST /api/v2/slack/auth/init export const InitiateOAuthSchema = z diff --git a/packages/server-shared/src/teams/requests.ts b/packages/server-shared/src/teams/requests.ts index 33ff9af1e..33d27ba2e 100644 --- a/packages/server-shared/src/teams/requests.ts +++ b/packages/server-shared/src/teams/requests.ts @@ -1,4 +1,4 @@ -import { z } from 'zod/v4'; +import { z } from 'zod'; export const CreateTeamRequestSchema = z.object({ name: z.string(), diff --git a/packages/server-shared/src/teams/responses.ts b/packages/server-shared/src/teams/responses.ts index 5d6cef58a..bc8d3d09f 100644 --- a/packages/server-shared/src/teams/responses.ts +++ b/packages/server-shared/src/teams/responses.ts @@ -1,4 +1,4 @@ -import { z } from 'zod/v4'; +import { z } from 'zod'; import { TeamSchema } from './teams.types'; export const TeamListResponseSchema = z.array(TeamSchema); diff --git a/packages/server-shared/src/teams/teams.types.ts b/packages/server-shared/src/teams/teams.types.ts index 538176cd9..047ad96d0 100644 --- a/packages/server-shared/src/teams/teams.types.ts +++ b/packages/server-shared/src/teams/teams.types.ts @@ -1,5 +1,5 @@ import type { teamRoleEnum } from '@buster/database'; //we import as type to avoid postgres dependency in the frontend ☹️ -import { z } from 'zod/v4'; +import { z } from 'zod'; import { SharingSettingSchema } from '../user/sharing-setting.types'; type TeamRoleBase = (typeof teamRoleEnum.enumValues)[number] | 'none'; @@ -8,7 +8,9 @@ const TeamRoleEnums: Record = Object.freeze({ manager: 'manager', member: 'member', }); -export const TeamRoleSchema = z.enum(Object.values(TeamRoleEnums)); +export const TeamRoleSchema = z.enum( + Object.values(TeamRoleEnums) as [TeamRoleBase, ...TeamRoleBase[]] +); export type TeamRole = z.infer; diff --git a/packages/server-shared/src/user/favorites.types.ts b/packages/server-shared/src/user/favorites.types.ts index 204373db0..3dc7b2c96 100644 --- a/packages/server-shared/src/user/favorites.types.ts +++ b/packages/server-shared/src/user/favorites.types.ts @@ -1,4 +1,4 @@ -import { z } from 'zod/v4'; +import { z } from 'zod'; import { ShareAssetTypeSchema } from '../share'; export const UserFavoriteSchema = z.object({ diff --git a/packages/server-shared/src/user/request.types.ts b/packages/server-shared/src/user/request.types.ts index 1e8b0b16b..4b0b7d5ef 100644 --- a/packages/server-shared/src/user/request.types.ts +++ b/packages/server-shared/src/user/request.types.ts @@ -1,4 +1,4 @@ -import { z } from 'zod/v4'; +import { z } from 'zod'; import { OrganizationRoleSchema } from '../organization/roles.types'; import { ShareAssetTypeSchema } from '../share'; diff --git a/packages/server-shared/src/user/responses.types.ts b/packages/server-shared/src/user/responses.types.ts index f5c06c749..e3a288e17 100644 --- a/packages/server-shared/src/user/responses.types.ts +++ b/packages/server-shared/src/user/responses.types.ts @@ -1,4 +1,4 @@ -import { z } from 'zod/v4'; +import { z } from 'zod'; import { OrganizationSchema } from '../organization/organization.types'; import { OrganizationRoleSchema } from '../organization/roles.types'; import { TeamSchema } from '../teams/teams.types'; diff --git a/packages/server-shared/src/user/roles.types.ts b/packages/server-shared/src/user/roles.types.ts index ada001255..2cb0b17a4 100644 --- a/packages/server-shared/src/user/roles.types.ts +++ b/packages/server-shared/src/user/roles.types.ts @@ -1,5 +1,5 @@ import type { userOrganizationRoleEnum } from '@buster/database'; //we import as type to avoid postgres dependency in the frontend ☹️ -import { z } from 'zod/v4'; +import { z } from 'zod'; type UserOrganizationRoleBase = (typeof userOrganizationRoleEnum.enumValues)[number]; @@ -12,6 +12,11 @@ const UserOrganizationRoleEnums: Record; diff --git a/packages/server-shared/src/user/sharing-setting.types.ts b/packages/server-shared/src/user/sharing-setting.types.ts index c559f9867..a9d6ce6e3 100644 --- a/packages/server-shared/src/user/sharing-setting.types.ts +++ b/packages/server-shared/src/user/sharing-setting.types.ts @@ -1,5 +1,5 @@ import type { sharingSettingEnum } from '@buster/database'; //we import as type to avoid postgres dependency in the frontend ☹️ -import { z } from 'zod/v4'; +import { z } from 'zod'; type SharingSettingBase = (typeof sharingSettingEnum.enumValues)[number] | 'none'; @@ -9,6 +9,9 @@ const SharingSettingEnums: Record = Obje team: 'team', organization: 'organization', }); -export const SharingSettingSchema = z.enum(Object.values(SharingSettingEnums)); + +const test = Object.values(SharingSettingEnums) as [SharingSettingBase, ...SharingSettingBase[]]; + +export const SharingSettingSchema = z.enum(test); export type SharingSetting = z.infer; diff --git a/packages/server-shared/src/user/users.types.ts b/packages/server-shared/src/user/users.types.ts index a4c6121ab..0681ef0df 100644 --- a/packages/server-shared/src/user/users.types.ts +++ b/packages/server-shared/src/user/users.types.ts @@ -1,4 +1,4 @@ -import { z } from 'zod/v4'; +import { z } from 'zod'; import type { UserFavorite } from './favorites.types'; import type { UserOrganizationRole } from './roles.types'; diff --git a/packages/stored-values/package.json b/packages/stored-values/package.json index ed05d4f8d..4a2f8660b 100644 --- a/packages/stored-values/package.json +++ b/packages/stored-values/package.json @@ -35,6 +35,6 @@ "@buster/typescript-config": "workspace:*", "@buster/vitest-config": "workspace:*", "ai": "catalog:", - "zod": "catalog:" + "zod": "^3.0.0" } } diff --git a/packages/typescript-config/base.json b/packages/typescript-config/base.json index 596bddaff..3dc01e19a 100644 --- a/packages/typescript-config/base.json +++ b/packages/typescript-config/base.json @@ -1,6 +1,7 @@ { "$schema": "https://json.schemastore.org/tsconfig", "compilerOptions": { + "strict": true, "allowImportingTsExtensions": false, "composite": true, "declaration": true, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 09355e54a..d4f1c621a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,6 +12,9 @@ catalogs: '@supabase/supabase-js': specifier: ^2.50.0 version: 2.50.2 + '@trigger.dev/build': + specifier: ^4.0.0-v4-beta.22 + version: 4.0.0-v4-beta.22 '@trigger.dev/sdk': specifier: ^4.0.0-v4-beta.22 version: 4.0.0-v4-beta.22 @@ -21,6 +24,9 @@ catalogs: axios: specifier: ^1.10.0 version: 1.10.0 + braintrust: + specifier: ^0.0.209 + version: 0.0.209 drizzle-orm: specifier: ^0.44.2 version: 0.44.2 @@ -44,7 +50,7 @@ catalogs: version: 3.2.4 zod: specifier: ^3.0.0 - version: 3.25.67 + version: 3.25.75 importers: @@ -116,13 +122,13 @@ importers: version: link:../../packages/vitest-config '@hono/zod-validator': specifier: ^0.7.0 - version: 0.7.0(hono@4.8.3)(zod@3.25.67) + version: 0.7.0(hono@4.8.3)(zod@3.25.75) '@supabase/supabase-js': specifier: 'catalog:' version: 2.50.2 '@trigger.dev/sdk': specifier: 'catalog:' - version: 4.0.0-v4-beta.22(ai@4.3.16(react@18.3.1)(zod@3.25.67))(zod@3.25.67) + version: 4.0.0-v4-beta.22(ai@4.3.16(react@18.3.1)(zod@3.25.75))(zod@3.25.75) drizzle-orm: specifier: 'catalog:' version: 0.44.2(@opentelemetry/api@1.9.0)(@types/pg@8.15.4)(mysql2@3.14.1)(pg@8.16.3)(postgres@3.4.7) @@ -140,7 +146,7 @@ importers: version: 13.0.0 zod: specifier: 'catalog:' - version: 3.25.67 + version: 3.25.75 devDependencies: '@vercel/node': specifier: ^5.3.4 @@ -177,25 +183,25 @@ importers: version: link:../../packages/vitest-config '@mastra/core': specifier: 'catalog:' - version: 0.10.8(openapi-types@12.1.3)(react@18.3.1)(zod@3.25.67) + version: 0.10.8(openapi-types@12.1.3)(react@18.3.1)(zod@3.25.75) '@trigger.dev/sdk': - specifier: 4.0.0-v4-beta.22 - version: 4.0.0-v4-beta.22(ai@4.3.16(react@18.3.1)(zod@3.25.67))(zod@3.25.67) + specifier: 'catalog:' + version: 4.0.0-v4-beta.22(ai@4.3.16(react@18.3.1)(zod@3.25.75))(zod@3.25.75) ai: specifier: 'catalog:' - version: 4.3.16(react@18.3.1)(zod@3.25.67) + version: 4.3.16(react@18.3.1)(zod@3.25.75) braintrust: - specifier: ^0.0.206 - version: 0.0.206(@aws-sdk/credential-provider-web-identity@3.840.0)(react@18.3.1)(sswr@2.2.0(svelte@5.34.9))(svelte@5.34.9)(vue@3.5.17(typescript@5.8.3))(zod@3.25.67) + specifier: 'catalog:' + version: 0.0.209(@aws-sdk/credential-provider-web-identity@3.840.0)(react@18.3.1)(sswr@2.2.0(svelte@5.34.9))(svelte@5.34.9)(vue@3.5.17(typescript@5.8.3))(zod@3.25.75) vitest: specifier: 'catalog:' version: 3.2.4(@edge-runtime/vm@3.2.0)(@types/debug@4.1.12)(@types/node@24.0.10)(@vitest/ui@3.2.4)(jiti@2.4.2)(jsdom@26.1.0)(lightningcss@1.30.1)(msw@2.10.3(@types/node@24.0.10)(typescript@5.8.3))(sass@1.89.2)(terser@5.43.1)(tsx@4.20.3)(yaml@2.8.0) zod: specifier: 'catalog:' - version: 3.25.67 + version: 3.25.75 devDependencies: '@trigger.dev/build': - specifier: 4.0.0-v4-beta.22 + specifier: 'catalog:' version: 4.0.0-v4-beta.22(typescript@5.8.3) apps/web: @@ -505,7 +511,7 @@ importers: version: 5.1.4(typescript@5.8.3)(vite@6.3.5(@types/node@24.0.10)(jiti@2.4.2)(lightningcss@1.30.1)(sass@1.89.2)(terser@5.43.1)(tsx@4.20.3)(yaml@2.8.0)) zod: specifier: 'catalog:' - version: 3.25.67 + version: 3.25.75 zustand: specifier: ^5.0.6 version: 5.0.6(@types/react@18.3.23)(react@18.3.1)(use-sync-external-store@1.5.0(react@18.3.1)) @@ -623,13 +629,13 @@ importers: version: 11.1.0 zod: specifier: 'catalog:' - version: 3.25.67 + version: 3.25.75 packages/ai: dependencies: '@ai-sdk/anthropic': specifier: ^1.2.12 - version: 1.2.12(zod@3.25.67) + version: 1.2.12(zod@3.25.75) '@ai-sdk/provider': specifier: ^1.1.3 version: 1.1.3 @@ -659,16 +665,16 @@ importers: version: link:../vitest-config '@mastra/core': specifier: 'catalog:' - version: 0.10.8(openapi-types@12.1.3)(react@18.3.1)(zod@3.25.67) + version: 0.10.8(openapi-types@12.1.3)(react@18.3.1)(zod@3.25.75) '@mastra/loggers': specifier: ^0.10.3 - version: 0.10.3(@mastra/core@0.10.8(openapi-types@12.1.3)(react@18.3.1)(zod@3.25.67)) + version: 0.10.3(@mastra/core@0.10.8(openapi-types@12.1.3)(react@18.3.1)(zod@3.25.75)) ai: specifier: 'catalog:' - version: 4.3.16(react@18.3.1)(zod@3.25.67) + version: 4.3.16(react@18.3.1)(zod@3.25.75) braintrust: - specifier: ^0.0.206 - version: 0.0.206(@aws-sdk/credential-provider-web-identity@3.840.0)(react@18.3.1)(sswr@2.2.0(svelte@5.34.9))(svelte@5.34.9)(vue@3.5.17(typescript@5.8.3))(zod@3.25.67) + specifier: 'catalog:' + version: 0.0.209(@aws-sdk/credential-provider-web-identity@3.840.0)(react@18.3.1)(sswr@2.2.0(svelte@5.34.9))(svelte@5.34.9)(vue@3.5.17(typescript@5.8.3))(zod@3.25.75) drizzle-orm: specifier: 'catalog:' version: 0.44.2(@opentelemetry/api@1.9.0)(@types/pg@8.15.4)(mysql2@3.14.1)(pg@8.16.3)(postgres@3.4.7) @@ -689,7 +695,7 @@ importers: version: 2.8.0 zod: specifier: 'catalog:' - version: 3.25.67 + version: 3.25.75 packages/data-source: dependencies: @@ -738,7 +744,7 @@ importers: version: link:../vitest-config ai: specifier: 'catalog:' - version: 4.3.16(react@18.3.1)(zod@3.25.67) + version: 4.3.16(react@18.3.1)(zod@3.25.75) drizzle-kit: specifier: ^0.31.4 version: 0.31.4 @@ -750,7 +756,7 @@ importers: version: 3.4.7 zod: specifier: 'catalog:' - version: 3.25.67 + version: 3.25.75 packages/rerank: dependencies: @@ -765,7 +771,7 @@ importers: version: 1.10.0 zod: specifier: 'catalog:' - version: 3.25.67 + version: 3.25.75 packages/server-shared: dependencies: @@ -779,8 +785,8 @@ importers: specifier: workspace:* version: link:../vitest-config zod: - specifier: 'catalog:' - version: 3.25.67 + specifier: ^3.0.0 + version: 3.25.75 devDependencies: vitest: specifier: 'catalog:' @@ -793,7 +799,7 @@ importers: version: 6.13.0 zod: specifier: 'catalog:' - version: 3.25.67 + version: 3.25.75 devDependencies: '@buster/typescript-config': specifier: workspace:* @@ -809,7 +815,7 @@ importers: dependencies: '@ai-sdk/openai': specifier: ^1.3.23 - version: 1.3.23(zod@3.25.67) + version: 1.3.23(zod@3.25.75) '@buster/database': specifier: workspace:* version: link:../database @@ -821,10 +827,10 @@ importers: version: link:../vitest-config ai: specifier: 'catalog:' - version: 4.3.16(react@18.3.1)(zod@3.25.67) + version: 4.3.16(react@18.3.1)(zod@3.25.75) zod: - specifier: 'catalog:' - version: 3.25.67 + specifier: ^3.0.0 + version: 3.25.75 packages/supabase: {} @@ -1899,8 +1905,8 @@ packages: cpu: [x64] os: [win32] - '@braintrust/core@0.0.88': - resolution: {integrity: sha512-asVr//nyiXvnagf2Av+k3Ggv2UFiygwvlzreI8rS87+9DYRlw0ofy13gSxr7a0ycd0yfRomdVSEpDRlEzpQm5w==} + '@braintrust/core@0.0.89': + resolution: {integrity: sha512-BBLVfFxM6/d4B+i4LUTDW/FvZa4C0HN1/Cqo1W1vOflxnCJ8QVXFSqEUl+MhIU9+cJV9vwjTUVukmyscMT24hA==} '@bugsnag/cuid@3.2.1': resolution: {integrity: sha512-zpvN8xQ5rdRWakMd/BcVkdn2F8HKlDSbM3l7duueK590WmI1T0ObTLc1V/1e55r14WNjPd5AJTYX4yPEAFVi+Q==} @@ -5965,8 +5971,8 @@ packages: resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} engines: {node: '>=8'} - braintrust@0.0.206: - resolution: {integrity: sha512-gnevuFoXxb+lkdMktYPPTYZk9FpZMH5juMcUETRYvgrvhAQI5+woRksE6uHIDpAXy9T9k567k+Ziic0ghYZaLg==} + braintrust@0.0.209: + resolution: {integrity: sha512-acsjb06ttD/gllfb59idiq1lDAdvsoHcHSJPkmddSIRPORy3vIYt3kfKXiW+WlhwZs2pl3lN8X8pTVuLyj5NNw==} hasBin: true peerDependencies: zod: ^3.0.0 @@ -11648,9 +11654,6 @@ packages: zod@3.23.8: resolution: {integrity: sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==} - zod@3.25.67: - resolution: {integrity: sha512-idA2YXwpCdqUSKRCACDE6ItZD9TZzy3OZMtpfLoh6oPR47lipysRrJfjzMqFxQ3uJuUPyUeWe1r9vLH33xO/Qw==} - zod@3.25.75: resolution: {integrity: sha512-OhpzAmVzabPOL6C3A3gpAifqr9MqihV/Msx3gor2b2kviCgcb+HM9SEOpMWwwNp9MRunWnhtAKUoo0AHhjyPPg==} @@ -11679,33 +11682,33 @@ snapshots: '@adobe/css-tools@4.4.3': {} - '@ai-sdk/anthropic@1.2.12(zod@3.25.67)': + '@ai-sdk/anthropic@1.2.12(zod@3.25.75)': dependencies: '@ai-sdk/provider': 1.1.3 - '@ai-sdk/provider-utils': 2.2.8(zod@3.25.67) - zod: 3.25.67 + '@ai-sdk/provider-utils': 2.2.8(zod@3.25.75) + zod: 3.25.75 - '@ai-sdk/openai@1.3.23(zod@3.25.67)': + '@ai-sdk/openai@1.3.23(zod@3.25.75)': dependencies: '@ai-sdk/provider': 1.1.3 - '@ai-sdk/provider-utils': 2.2.8(zod@3.25.67) - zod: 3.25.67 + '@ai-sdk/provider-utils': 2.2.8(zod@3.25.75) + zod: 3.25.75 - '@ai-sdk/provider-utils@1.0.22(zod@3.25.67)': + '@ai-sdk/provider-utils@1.0.22(zod@3.25.75)': dependencies: '@ai-sdk/provider': 0.0.26 eventsource-parser: 1.1.2 nanoid: 3.3.11 secure-json-parse: 2.7.0 optionalDependencies: - zod: 3.25.67 + zod: 3.25.75 - '@ai-sdk/provider-utils@2.2.8(zod@3.25.67)': + '@ai-sdk/provider-utils@2.2.8(zod@3.25.75)': dependencies: '@ai-sdk/provider': 1.1.3 nanoid: 3.3.11 secure-json-parse: 2.7.0 - zod: 3.25.67 + zod: 3.25.75 '@ai-sdk/provider@0.0.26': dependencies: @@ -11715,64 +11718,64 @@ snapshots: dependencies: json-schema: 0.4.0 - '@ai-sdk/react@0.0.70(react@18.3.1)(zod@3.25.67)': + '@ai-sdk/react@0.0.70(react@18.3.1)(zod@3.25.75)': dependencies: - '@ai-sdk/provider-utils': 1.0.22(zod@3.25.67) - '@ai-sdk/ui-utils': 0.0.50(zod@3.25.67) + '@ai-sdk/provider-utils': 1.0.22(zod@3.25.75) + '@ai-sdk/ui-utils': 0.0.50(zod@3.25.75) swr: 2.3.4(react@18.3.1) throttleit: 2.1.0 optionalDependencies: react: 18.3.1 - zod: 3.25.67 + zod: 3.25.75 - '@ai-sdk/react@1.2.12(react@18.3.1)(zod@3.25.67)': + '@ai-sdk/react@1.2.12(react@18.3.1)(zod@3.25.75)': dependencies: - '@ai-sdk/provider-utils': 2.2.8(zod@3.25.67) - '@ai-sdk/ui-utils': 1.2.11(zod@3.25.67) + '@ai-sdk/provider-utils': 2.2.8(zod@3.25.75) + '@ai-sdk/ui-utils': 1.2.11(zod@3.25.75) react: 18.3.1 swr: 2.3.4(react@18.3.1) throttleit: 2.1.0 optionalDependencies: - zod: 3.25.67 + zod: 3.25.75 - '@ai-sdk/solid@0.0.54(zod@3.25.67)': + '@ai-sdk/solid@0.0.54(zod@3.25.75)': dependencies: - '@ai-sdk/provider-utils': 1.0.22(zod@3.25.67) - '@ai-sdk/ui-utils': 0.0.50(zod@3.25.67) + '@ai-sdk/provider-utils': 1.0.22(zod@3.25.75) + '@ai-sdk/ui-utils': 0.0.50(zod@3.25.75) transitivePeerDependencies: - zod - '@ai-sdk/svelte@0.0.57(svelte@5.34.9)(zod@3.25.67)': + '@ai-sdk/svelte@0.0.57(svelte@5.34.9)(zod@3.25.75)': dependencies: - '@ai-sdk/provider-utils': 1.0.22(zod@3.25.67) - '@ai-sdk/ui-utils': 0.0.50(zod@3.25.67) + '@ai-sdk/provider-utils': 1.0.22(zod@3.25.75) + '@ai-sdk/ui-utils': 0.0.50(zod@3.25.75) sswr: 2.2.0(svelte@5.34.9) optionalDependencies: svelte: 5.34.9 transitivePeerDependencies: - zod - '@ai-sdk/ui-utils@0.0.50(zod@3.25.67)': + '@ai-sdk/ui-utils@0.0.50(zod@3.25.75)': dependencies: '@ai-sdk/provider': 0.0.26 - '@ai-sdk/provider-utils': 1.0.22(zod@3.25.67) + '@ai-sdk/provider-utils': 1.0.22(zod@3.25.75) json-schema: 0.4.0 secure-json-parse: 2.7.0 - zod-to-json-schema: 3.24.6(zod@3.25.67) + zod-to-json-schema: 3.24.6(zod@3.25.75) optionalDependencies: - zod: 3.25.67 + zod: 3.25.75 - '@ai-sdk/ui-utils@1.2.11(zod@3.25.67)': + '@ai-sdk/ui-utils@1.2.11(zod@3.25.75)': dependencies: '@ai-sdk/provider': 1.1.3 - '@ai-sdk/provider-utils': 2.2.8(zod@3.25.67) - zod: 3.25.67 - zod-to-json-schema: 3.24.6(zod@3.25.67) + '@ai-sdk/provider-utils': 2.2.8(zod@3.25.75) + zod: 3.25.75 + zod-to-json-schema: 3.24.6(zod@3.25.75) - '@ai-sdk/vue@0.0.59(vue@3.5.17(typescript@5.8.3))(zod@3.25.67)': + '@ai-sdk/vue@0.0.59(vue@3.5.17(typescript@5.8.3))(zod@3.25.75)': dependencies: - '@ai-sdk/provider-utils': 1.0.22(zod@3.25.67) - '@ai-sdk/ui-utils': 0.0.50(zod@3.25.67) + '@ai-sdk/provider-utils': 1.0.22(zod@3.25.75) + '@ai-sdk/ui-utils': 0.0.50(zod@3.25.75) swrv: 1.1.0(vue@3.5.17(typescript@5.8.3)) optionalDependencies: vue: 3.5.17(typescript@5.8.3) @@ -11800,10 +11803,10 @@ snapshots: '@csstools/css-tokenizer': 3.0.4 lru-cache: 10.4.3 - '@asteasolutions/zod-to-openapi@6.4.0(zod@3.25.67)': + '@asteasolutions/zod-to-openapi@6.4.0(zod@3.25.75)': dependencies: openapi3-ts: 4.5.0 - zod: 3.25.67 + zod: 3.25.75 '@aws-crypto/crc32@3.0.0': dependencies: @@ -13385,11 +13388,11 @@ snapshots: '@biomejs/cli-win32-x64@1.9.4': optional: true - '@braintrust/core@0.0.88': + '@braintrust/core@0.0.89': dependencies: - '@asteasolutions/zod-to-openapi': 6.4.0(zod@3.25.67) + '@asteasolutions/zod-to-openapi': 6.4.0(zod@3.25.75) uuid: 9.0.1 - zod: 3.25.67 + zod: 3.25.75 '@bugsnag/cuid@3.2.1': {} @@ -13811,10 +13814,10 @@ snapshots: protobufjs: 7.5.3 yargs: 17.7.2 - '@hono/zod-validator@0.7.0(hono@4.8.3)(zod@3.25.67)': + '@hono/zod-validator@0.7.0(hono@4.8.3)(zod@3.25.75)': dependencies: hono: 4.8.3 - zod: 3.25.67 + zod: 3.25.75 '@humanwhocodes/config-array@0.13.0': dependencies: @@ -14079,12 +14082,12 @@ snapshots: - encoding - supports-color - '@mastra/core@0.10.8(openapi-types@12.1.3)(react@18.3.1)(zod@3.25.67)': + '@mastra/core@0.10.8(openapi-types@12.1.3)(react@18.3.1)(zod@3.25.75)': dependencies: '@ai-sdk/provider': 1.1.3 - '@ai-sdk/provider-utils': 2.2.8(zod@3.25.67) - '@ai-sdk/ui-utils': 1.2.11(zod@3.25.67) - '@mastra/schema-compat': 0.10.3(ai@4.3.16(react@18.3.1)(zod@3.25.67))(zod@3.25.67) + '@ai-sdk/provider-utils': 2.2.8(zod@3.25.75) + '@ai-sdk/ui-utils': 1.2.11(zod@3.25.75) + '@mastra/schema-compat': 0.10.3(ai@4.3.16(react@18.3.1)(zod@3.25.75))(zod@3.25.75) '@opentelemetry/api': 1.9.0 '@opentelemetry/auto-instrumentations-node': 0.59.0(@opentelemetry/api@1.9.0)(@opentelemetry/core@2.0.1(@opentelemetry/api@1.9.0)) '@opentelemetry/core': 2.0.1(@opentelemetry/api@1.9.0) @@ -14099,12 +14102,12 @@ snapshots: '@opentelemetry/sdk-trace-node': 2.0.1(@opentelemetry/api@1.9.0) '@opentelemetry/semantic-conventions': 1.34.0 '@sindresorhus/slugify': 2.2.1 - ai: 4.3.16(react@18.3.1)(zod@3.25.67) + ai: 4.3.16(react@18.3.1)(zod@3.25.75) cohere-ai: 7.17.1 date-fns: 3.6.0 dotenv: 16.6.1 hono: 4.8.4 - hono-openapi: 0.4.8(hono@4.8.4)(openapi-types@12.1.3)(zod@3.25.67) + hono-openapi: 0.4.8(hono@4.8.4)(openapi-types@12.1.3)(zod@3.25.75) json-schema: 0.4.0 json-schema-to-zod: 2.6.1 pino: 9.7.0 @@ -14112,8 +14115,8 @@ snapshots: radash: 12.1.1 sift: 17.1.3 xstate: 5.20.1 - zod: 3.25.67 - zod-to-json-schema: 3.24.6(zod@3.25.67) + zod: 3.25.75 + zod-to-json-schema: 3.24.6(zod@3.25.75) transitivePeerDependencies: - '@hono/arktype-validator' - '@hono/effect-validator' @@ -14132,19 +14135,19 @@ snapshots: - valibot - zod-openapi - '@mastra/loggers@0.10.3(@mastra/core@0.10.8(openapi-types@12.1.3)(react@18.3.1)(zod@3.25.67))': + '@mastra/loggers@0.10.3(@mastra/core@0.10.8(openapi-types@12.1.3)(react@18.3.1)(zod@3.25.75))': dependencies: - '@mastra/core': 0.10.8(openapi-types@12.1.3)(react@18.3.1)(zod@3.25.67) + '@mastra/core': 0.10.8(openapi-types@12.1.3)(react@18.3.1)(zod@3.25.75) pino: 9.7.0 pino-pretty: 13.0.0 - '@mastra/schema-compat@0.10.3(ai@4.3.16(react@18.3.1)(zod@3.25.67))(zod@3.25.67)': + '@mastra/schema-compat@0.10.3(ai@4.3.16(react@18.3.1)(zod@3.25.75))(zod@3.25.75)': dependencies: - ai: 4.3.16(react@18.3.1)(zod@3.25.67) + ai: 4.3.16(react@18.3.1)(zod@3.25.75) json-schema: 0.4.0 - zod: 3.25.67 + zod: 3.25.75 zod-from-json-schema: 0.0.5 - zod-to-json-schema: 3.24.6(zod@3.25.67) + zod-to-json-schema: 3.24.6(zod@3.25.75) '@mdx-js/react@3.1.0(@types/react@18.3.23)(react@18.3.1)': dependencies: @@ -16905,7 +16908,7 @@ snapshots: - supports-color - utf-8-validate - '@trigger.dev/sdk@4.0.0-v4-beta.22(ai@4.3.16(react@18.3.1)(zod@3.25.67))(zod@3.25.67)': + '@trigger.dev/sdk@4.0.0-v4-beta.22(ai@4.3.16(react@18.3.1)(zod@3.25.75))(zod@3.25.75)': dependencies: '@opentelemetry/api': 1.9.0 '@opentelemetry/api-logs': 0.52.1 @@ -16920,9 +16923,9 @@ snapshots: uncrypto: 0.1.3 uuid: 9.0.1 ws: 8.18.3 - zod: 3.25.67 + zod: 3.25.75 optionalDependencies: - ai: 4.3.16(react@18.3.1)(zod@3.25.67) + ai: 4.3.16(react@18.3.1)(zod@3.25.75) transitivePeerDependencies: - bufferutil - supports-color @@ -17744,39 +17747,39 @@ snapshots: clean-stack: 2.2.0 indent-string: 4.0.0 - ai@3.4.33(react@18.3.1)(sswr@2.2.0(svelte@5.34.9))(svelte@5.34.9)(vue@3.5.17(typescript@5.8.3))(zod@3.25.67): + ai@3.4.33(react@18.3.1)(sswr@2.2.0(svelte@5.34.9))(svelte@5.34.9)(vue@3.5.17(typescript@5.8.3))(zod@3.25.75): dependencies: '@ai-sdk/provider': 0.0.26 - '@ai-sdk/provider-utils': 1.0.22(zod@3.25.67) - '@ai-sdk/react': 0.0.70(react@18.3.1)(zod@3.25.67) - '@ai-sdk/solid': 0.0.54(zod@3.25.67) - '@ai-sdk/svelte': 0.0.57(svelte@5.34.9)(zod@3.25.67) - '@ai-sdk/ui-utils': 0.0.50(zod@3.25.67) - '@ai-sdk/vue': 0.0.59(vue@3.5.17(typescript@5.8.3))(zod@3.25.67) + '@ai-sdk/provider-utils': 1.0.22(zod@3.25.75) + '@ai-sdk/react': 0.0.70(react@18.3.1)(zod@3.25.75) + '@ai-sdk/solid': 0.0.54(zod@3.25.75) + '@ai-sdk/svelte': 0.0.57(svelte@5.34.9)(zod@3.25.75) + '@ai-sdk/ui-utils': 0.0.50(zod@3.25.75) + '@ai-sdk/vue': 0.0.59(vue@3.5.17(typescript@5.8.3))(zod@3.25.75) '@opentelemetry/api': 1.9.0 eventsource-parser: 1.1.2 json-schema: 0.4.0 jsondiffpatch: 0.6.0 secure-json-parse: 2.7.0 - zod-to-json-schema: 3.24.6(zod@3.25.67) + zod-to-json-schema: 3.24.6(zod@3.25.75) optionalDependencies: react: 18.3.1 sswr: 2.2.0(svelte@5.34.9) svelte: 5.34.9 - zod: 3.25.67 + zod: 3.25.75 transitivePeerDependencies: - solid-js - vue - ai@4.3.16(react@18.3.1)(zod@3.25.67): + ai@4.3.16(react@18.3.1)(zod@3.25.75): dependencies: '@ai-sdk/provider': 1.1.3 - '@ai-sdk/provider-utils': 2.2.8(zod@3.25.67) - '@ai-sdk/react': 1.2.12(react@18.3.1)(zod@3.25.67) - '@ai-sdk/ui-utils': 1.2.11(zod@3.25.67) + '@ai-sdk/provider-utils': 2.2.8(zod@3.25.75) + '@ai-sdk/react': 1.2.12(react@18.3.1)(zod@3.25.75) + '@ai-sdk/ui-utils': 1.2.11(zod@3.25.75) '@opentelemetry/api': 1.9.0 jsondiffpatch: 0.6.0 - zod: 3.25.67 + zod: 3.25.75 optionalDependencies: react: 18.3.1 @@ -18146,13 +18149,13 @@ snapshots: dependencies: fill-range: 7.1.1 - braintrust@0.0.206(@aws-sdk/credential-provider-web-identity@3.840.0)(react@18.3.1)(sswr@2.2.0(svelte@5.34.9))(svelte@5.34.9)(vue@3.5.17(typescript@5.8.3))(zod@3.25.67): + braintrust@0.0.209(@aws-sdk/credential-provider-web-identity@3.840.0)(react@18.3.1)(sswr@2.2.0(svelte@5.34.9))(svelte@5.34.9)(vue@3.5.17(typescript@5.8.3))(zod@3.25.75): dependencies: '@ai-sdk/provider': 1.1.3 - '@braintrust/core': 0.0.88 + '@braintrust/core': 0.0.89 '@next/env': 14.2.30 '@vercel/functions': 1.6.0(@aws-sdk/credential-provider-web-identity@3.840.0) - ai: 3.4.33(react@18.3.1)(sswr@2.2.0(svelte@5.34.9))(svelte@5.34.9)(vue@3.5.17(typescript@5.8.3))(zod@3.25.67) + ai: 3.4.33(react@18.3.1)(sswr@2.2.0(svelte@5.34.9))(svelte@5.34.9)(vue@3.5.17(typescript@5.8.3))(zod@3.25.75) argparse: 2.0.1 chalk: 4.1.2 cli-progress: 3.12.0 @@ -18170,8 +18173,8 @@ snapshots: slugify: 1.6.6 source-map: 0.7.4 uuid: 9.0.1 - zod: 3.25.67 - zod-to-json-schema: 3.24.6(zod@3.25.67) + zod: 3.25.75 + zod-to-json-schema: 3.24.6(zod@3.25.75) transitivePeerDependencies: - '@aws-sdk/credential-provider-web-identity' - openai @@ -19351,8 +19354,8 @@ snapshots: '@typescript-eslint/parser': 8.35.1(eslint@8.57.1)(typescript@5.8.3) eslint: 8.57.1 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.10.1(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.35.1(eslint@8.57.1)(typescript@5.8.3))(eslint@8.57.1))(eslint@8.57.1) - eslint-plugin-import: 2.32.0(@typescript-eslint/parser@8.35.1(eslint@8.57.1)(typescript@5.8.3))(eslint-import-resolver-typescript@3.10.1(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.35.1(eslint@8.57.1)(typescript@5.8.3))(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1) + eslint-import-resolver-typescript: 3.10.1(eslint-plugin-import@2.32.0)(eslint@8.57.1) + eslint-plugin-import: 2.32.0(@typescript-eslint/parser@8.35.1(eslint@8.57.1)(typescript@5.8.3))(eslint-import-resolver-typescript@3.10.1)(eslint@8.57.1) eslint-plugin-jsx-a11y: 6.10.2(eslint@8.57.1) eslint-plugin-react: 7.37.5(eslint@8.57.1) eslint-plugin-react-hooks: 5.2.0(eslint@8.57.1) @@ -19375,7 +19378,7 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-import-resolver-typescript@3.10.1(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.35.1(eslint@8.57.1)(typescript@5.8.3))(eslint@8.57.1))(eslint@8.57.1): + eslint-import-resolver-typescript@3.10.1(eslint-plugin-import@2.32.0)(eslint@8.57.1): dependencies: '@nolyfill/is-core-module': 1.0.39 debug: 4.4.1 @@ -19386,22 +19389,22 @@ snapshots: tinyglobby: 0.2.14 unrs-resolver: 1.11.0 optionalDependencies: - eslint-plugin-import: 2.32.0(@typescript-eslint/parser@8.35.1(eslint@8.57.1)(typescript@5.8.3))(eslint-import-resolver-typescript@3.10.1(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.35.1(eslint@8.57.1)(typescript@5.8.3))(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1) + eslint-plugin-import: 2.32.0(@typescript-eslint/parser@8.35.1(eslint@8.57.1)(typescript@5.8.3))(eslint-import-resolver-typescript@3.10.1)(eslint@8.57.1) transitivePeerDependencies: - supports-color - eslint-module-utils@2.12.1(@typescript-eslint/parser@8.35.1(eslint@8.57.1)(typescript@5.8.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.10.1(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.35.1(eslint@8.57.1)(typescript@5.8.3))(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1): + eslint-module-utils@2.12.1(@typescript-eslint/parser@8.35.1(eslint@8.57.1)(typescript@5.8.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.10.1)(eslint@8.57.1): dependencies: debug: 3.2.7 optionalDependencies: '@typescript-eslint/parser': 8.35.1(eslint@8.57.1)(typescript@5.8.3) eslint: 8.57.1 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.10.1(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.35.1(eslint@8.57.1)(typescript@5.8.3))(eslint@8.57.1))(eslint@8.57.1) + eslint-import-resolver-typescript: 3.10.1(eslint-plugin-import@2.32.0)(eslint@8.57.1) transitivePeerDependencies: - supports-color - eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.35.1(eslint@8.57.1)(typescript@5.8.3))(eslint-import-resolver-typescript@3.10.1(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.35.1(eslint@8.57.1)(typescript@5.8.3))(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1): + eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.35.1(eslint@8.57.1)(typescript@5.8.3))(eslint-import-resolver-typescript@3.10.1)(eslint@8.57.1): dependencies: '@rtsao/scc': 1.1.0 array-includes: 3.1.9 @@ -19412,7 +19415,7 @@ snapshots: doctrine: 2.1.0 eslint: 8.57.1 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.12.1(@typescript-eslint/parser@8.35.1(eslint@8.57.1)(typescript@5.8.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.10.1(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.35.1(eslint@8.57.1)(typescript@5.8.3))(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1) + eslint-module-utils: 2.12.1(@typescript-eslint/parser@8.35.1(eslint@8.57.1)(typescript@5.8.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.10.1)(eslint@8.57.1) hasown: 2.0.2 is-core-module: 2.16.1 is-glob: 4.0.3 @@ -20247,13 +20250,13 @@ snapshots: dependencies: parse-passwd: 1.0.0 - hono-openapi@0.4.8(hono@4.8.4)(openapi-types@12.1.3)(zod@3.25.67): + hono-openapi@0.4.8(hono@4.8.4)(openapi-types@12.1.3)(zod@3.25.75): dependencies: json-schema-walker: 2.0.0 openapi-types: 12.1.3 optionalDependencies: hono: 4.8.4 - zod: 3.25.67 + zod: 3.25.75 hono-pino@0.9.1(hono@4.8.3)(pino@9.7.0): dependencies: @@ -24627,15 +24630,11 @@ snapshots: zod-error@1.5.0: dependencies: - zod: 3.25.67 + zod: 3.25.75 zod-from-json-schema@0.0.5: dependencies: - zod: 3.25.67 - - zod-to-json-schema@3.24.6(zod@3.25.67): - dependencies: - zod: 3.25.67 + zod: 3.25.75 zod-to-json-schema@3.24.6(zod@3.25.75): dependencies: @@ -24647,8 +24646,6 @@ snapshots: zod@3.23.8: {} - zod@3.25.67: {} - zod@3.25.75: {} zustand@5.0.6(@types/react@18.3.23)(react@18.3.1)(use-sync-external-store@1.5.0(react@18.3.1)): diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index dc22dbe71..7609d2774 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -10,17 +10,18 @@ packages: - "apps/api" catalog: + "@mastra/core": "^0.10.8" "@supabase/supabase-js": "^2.50.0" "@trigger.dev/build": "^4.0.0-v4-beta.22" "@trigger.dev/sdk": "^4.0.0-v4-beta.22" ai: "^4.0.0" axios: "^1.10.0" - "vite-tsconfig-paths": "^5.1.4" + "braintrust": "^0.0.209" drizzle-orm: "^0.44.2" hono: "^4.8.0" - "@mastra/core": "^0.10.8" pg: "^8.16.2" uuid: "^11.0.0" - vitest: "3.2.4" vite: "6.3.5" + "vite-tsconfig-paths": "^5.1.4" + vitest: "3.2.4" zod: "^3.0.0" From e6307838b749660368fcef4427a2ed6d1f02fe45 Mon Sep 17 00:00:00 2001 From: Nate Kelley Date: Thu, 10 Jul 2025 12:22:18 -0600 Subject: [PATCH 3/6] Update base.json --- packages/typescript-config/base.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/typescript-config/base.json b/packages/typescript-config/base.json index 3dc01e19a..188b73fdd 100644 --- a/packages/typescript-config/base.json +++ b/packages/typescript-config/base.json @@ -1,23 +1,23 @@ { "$schema": "https://json.schemastore.org/tsconfig", "compilerOptions": { - "strict": true, "allowImportingTsExtensions": false, + "allowSyntheticDefaultImports": true, "composite": true, "declaration": true, "declarationMap": true, "esModuleInterop": true, - "allowSyntheticDefaultImports": true, "incremental": true, "inlineSources": false, "isolatedModules": true, + "lib": ["ESNext"], "module": "ESNext", "moduleResolution": "bundler", "noEmit": false, "preserveWatchOutput": true, "skipLibCheck": true, - "target": "ES2022", - "lib": ["ESNext"] + "strict": true, + "target": "ES2022" }, "exclude": ["node_modules"], "extends": "./type-checking.json" From 07ebe9c9b7b611b4889e156e57394651e78ed596 Mon Sep 17 00:00:00 2001 From: Nate Kelley Date: Thu, 10 Jul 2025 12:27:57 -0600 Subject: [PATCH 4/6] finalized typechecking --- apps/server/package.json | 4 - pnpm-lock.yaml | 875 +-------------------------------------- pnpm-workspace.yaml | 2 +- 3 files changed, 5 insertions(+), 876 deletions(-) diff --git a/apps/server/package.json b/apps/server/package.json index 38ae6e2dd..d22d059a2 100644 --- a/apps/server/package.json +++ b/apps/server/package.json @@ -35,9 +35,5 @@ "pino": "^9.7.0", "pino-pretty": "^13.0.0", "zod": "catalog:" - }, - "devDependencies": { - "@vercel/node": "^5.3.4", - "tsup": "^8.5.0" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d4f1c621a..85bf0c305 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -49,7 +49,7 @@ catalogs: specifier: 3.2.4 version: 3.2.4 zod: - specifier: ^3.0.0 + specifier: ^3.25.0 version: 3.25.75 importers: @@ -147,13 +147,6 @@ importers: zod: specifier: 'catalog:' version: 3.25.75 - devDependencies: - '@vercel/node': - specifier: ^5.3.4 - version: 5.3.4(rollup@4.44.2) - tsup: - specifier: ^8.5.0 - version: 8.5.0(jiti@2.4.2)(postcss@8.5.6)(tsx@4.20.3)(typescript@4.9.5)(yaml@2.8.0) apps/trigger: dependencies: @@ -1930,10 +1923,6 @@ packages: resolution: {integrity: sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA==} engines: {node: '>=0.1.90'} - '@cspotcode/source-map-support@0.8.1': - resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==} - engines: {node: '>=12'} - '@csstools/color-helpers@5.0.2': resolution: {integrity: sha512-JqWH1vsgdGcw2RR6VliXXdA0/59LttzlU8UlRT/iUUsEeWfYq8I+K0yhihEUTTHLRm1EXvpsCx3083EU15ecsA==} engines: {node: '>=18'} @@ -2000,18 +1989,6 @@ packages: '@drizzle-team/brocli@0.10.2': resolution: {integrity: sha512-z33Il7l5dKjUgGULTqBsQBQwckHh5AbIuxhdsIxDDiZAzBOrZO6q9ogcWC65kU382AfynTfgNumVcNIjuIua6w==} - '@edge-runtime/format@2.2.1': - resolution: {integrity: sha512-JQTRVuiusQLNNLe2W9tnzBlV/GvSVcozLl4XZHk5swnRZ/v6jp8TqR8P7sqmJsQqblDZ3EztcWmLDbhRje/+8g==} - engines: {node: '>=16'} - - '@edge-runtime/node-utils@2.3.0': - resolution: {integrity: sha512-uUtx8BFoO1hNxtHjp3eqVPC/mWImGb2exOfGjMLUoipuWgjej+f4o/VP4bUI8U40gu7Teogd5VTeZUkGvJSPOQ==} - engines: {node: '>=16'} - - '@edge-runtime/ponyfill@2.4.2': - resolution: {integrity: sha512-oN17GjFr69chu6sDLvXxdhg0Qe8EZviGSuqzR9qOiKh4MhFYGdBBcqRNzdmYeAdeRzOW2mM9yil4RftUQ7sUOA==} - engines: {node: '>=16'} - '@edge-runtime/primitives@4.1.0': resolution: {integrity: sha512-Vw0lbJ2lvRUqc7/soqygUX216Xb8T3WBZ987oywz6aJqRxcwSVWwr9e+Nqo2m9bxobA9mdbWNNoRY6S9eko1EQ==} engines: {node: '>=16'} @@ -2355,10 +2332,6 @@ packages: resolution: {integrity: sha512-OEl393iCOoo/z8bMezRlJu+GlRGlsKbUAN7jKB6LhnKoqKve5DXRpalbItIIcwnCjs1k/FOPjFzcA6Qn+H+YbA==} engines: {node: '>=18.0.0', npm: '>=9.0.0'} - '@fastify/busboy@2.1.1': - resolution: {integrity: sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==} - engines: {node: '>=14'} - '@floating-ui/core@1.7.2': resolution: {integrity: sha512-wNB5ooIKHQc+Kui96jE/n69rHFWAVoxn5CAzL1Xdd8FG03cgY3MLO+GF9U3W737fYDSgPWA6MReKhBQBop6Pcw==} @@ -2631,9 +2604,6 @@ packages: '@jridgewell/trace-mapping@0.3.29': resolution: {integrity: sha512-uw6guiW/gcAGPDhLmd77/6lW8QLeiV5RUTsAX46Db6oLhGaVj4lhnPwb184s1bkc8kdVg/+h988dro8GRDpmYQ==} - '@jridgewell/trace-mapping@0.3.9': - resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==} - '@js-joda/core@5.6.5': resolution: {integrity: sha512-3zwefSMwHpu8iVUW8YYz227sIv6UFqO31p1Bf1ZH/Vom7CmNyUsXjDBlnNzcuhmOL1XfxZ3nvND42kR23XlbcQ==} @@ -2674,11 +2644,6 @@ packages: '@llm-ui/shared@0.13.3': resolution: {integrity: sha512-+vt6uHnYXKqCtA+rNxCRwxdLFft3muMFA0JYMxf1b11gSMriO0Jgvwwx72dn1YWmX4gF1YHGRbMPWBe7V6CQCA==} - '@mapbox/node-pre-gyp@2.0.0': - resolution: {integrity: sha512-llMXd39jtP0HpQLVI37Bf1m2ADlEb35GYSh1SDSLsBhR+5iCxiNGlT31yqbNtVHygHAtMy6dWFERpU2JgufhPg==} - engines: {node: '>=18'} - hasBin: true - '@mastra/core@0.10.8': resolution: {integrity: sha512-FR8yQwx/wDDY0E4BOGW/vcqt/DtZtDxmsfOVpMuuu/QVdDzCX2g7LXTeKoduMb0RQT1f5//Rpvi8A7+dJrPmMw==} engines: {node: '>=20'} @@ -4105,15 +4070,6 @@ packages: '@radix-ui/rect@1.1.1': resolution: {integrity: sha512-HPwpGIzkl28mWyZqG52jiqDJ12waP11Pa1lGoiyUkIEuMLBP0oeK/C89esbXrxsky5we7dfd8U58nm0SgAWpVw==} - '@rollup/pluginutils@5.2.0': - resolution: {integrity: sha512-qWJ2ZTbmumwiLFomfzTyt5Kng4hwPi9rwCYN4SHb6eaRU1KNO4ccxINHr/VhH4GgPlt1XfSTLX2LBTme8ne4Zw==} - engines: {node: '>=14.0.0'} - peerDependencies: - rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 - peerDependenciesMeta: - rollup: - optional: true - '@rollup/rollup-android-arm-eabi@4.44.2': resolution: {integrity: sha512-g0dF8P1e2QYPOj1gu7s/3LVP6kze9A7m6x0BZ9iTdXK8N5c2V7cpBKHV3/9A4Zd8xxavdhK0t4PnqjkqVmUc9Q==} cpu: [arm] @@ -4953,21 +4909,6 @@ packages: ai: optional: true - '@ts-morph/common@0.11.1': - resolution: {integrity: sha512-7hWZS0NRpEsNV8vWJzg7FEz6V8MaLNeJOmwmghqUXTpzk16V1LLZhdo+4QvE/+zv4cVci0OviuJFnqhEfoV3+g==} - - '@tsconfig/node10@1.0.11': - resolution: {integrity: sha512-DcRjDCujK/kCk/cUe8Xz8ZSpm8mS3mNNpta+jGCA6USEDfktlNvm1+IuZ9eTcDbNk41BHwpHHeW+N1lKCz4zOw==} - - '@tsconfig/node12@1.0.11': - resolution: {integrity: sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==} - - '@tsconfig/node14@1.0.3': - resolution: {integrity: sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==} - - '@tsconfig/node16@1.0.4': - resolution: {integrity: sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==} - '@tybys/wasm-util@0.9.0': resolution: {integrity: sha512-6+7nlbMVX/PVDCwaIQ8nTOPveOcFLSt8GcXdx8hD0bt39uWxYT88uXzqTd4fTvqta7oeUJqudepapKNt2DYJFw==} @@ -5082,9 +5023,6 @@ packages: '@types/mysql@2.15.26': resolution: {integrity: sha512-DSLCOXhkvfS5WNNPbfn2KdICAmk8lLc+/PNvnPnF7gOdMZCxopXduqv0OQ13y/yA/zXTSikZZqVgybUxOEg6YQ==} - '@types/node@16.18.11': - resolution: {integrity: sha512-3oJbGBUWuS6ahSnEq1eN2XrCyf4YsWI8OyCvo7c64zQJNplk3mO84t53o8lfTk+2ji59g5ycfc6qQ3fdHliHuA==} - '@types/node@20.19.4': resolution: {integrity: sha512-OP+We5WV8Xnbuvw0zC2m4qfB/BJvjyCwtNjhHdJxV1639SGSKrLmJkc3fMnp2Qy8nJyHp8RO6umxELN/dS1/EA==} @@ -5388,12 +5326,6 @@ packages: cpu: [x64] os: [win32] - '@vercel/build-utils@10.6.5': - resolution: {integrity: sha512-bNw+CcAr1i7nSnoUfRtxx9reX/iuKo/kM61jpFmu32cW36BZzS8KLIz6wvIlWnU7HTTmxENR3tc2PT3yi7yEow==} - - '@vercel/error-utils@2.0.3': - resolution: {integrity: sha512-CqC01WZxbLUxoiVdh9B/poPbNpY9U+tO1N9oWHwTl5YAZxcqXmmWJ8KNMFItJCUUWdY3J3xv8LvAuQv2KZ5YdQ==} - '@vercel/functions@1.6.0': resolution: {integrity: sha512-R6FKQrYT5MZs5IE1SqeCJWxMuBdHawFcCZboKKw8p7s+6/mcd55Gx6tWmyKnQTyrSEA04NH73Tc9CbqpEle8RA==} engines: {node: '>= 16'} @@ -5403,17 +5335,6 @@ packages: '@aws-sdk/credential-provider-web-identity': optional: true - '@vercel/nft@0.29.2': - resolution: {integrity: sha512-A/Si4mrTkQqJ6EXJKv5EYCDQ3NL6nJXxG8VGXePsaiQigsomHYQC9xSpX8qGk7AEZk4b1ssbYIqJ0ISQQ7bfcA==} - engines: {node: '>=18'} - hasBin: true - - '@vercel/node@5.3.4': - resolution: {integrity: sha512-U3VvStXs608RYjczrrZQtU8Q/hDF0FShJPYrTCJq64ppfvgjiRJra+33bd32Gqmn19QjuQNLE2qxGjKZGjsYDw==} - - '@vercel/static-config@3.1.1': - resolution: {integrity: sha512-IRtKnm9N1Uqd2ayIbLPjRtdwcl1GTWvqF1PuEVNm9O43kmoI+m9VpGlW8oga+5LQq1LmJ2Y67zHr7NbjrH1rrw==} - '@vitest/coverage-v8@3.2.4': resolution: {integrity: sha512-EyF9SXU6kS5Ku/U82E259WSnvg6c8KTjppUncuNdm5QHpe17mwREHnjDzozC8x9MZ0xfBUFSaLkRv4TMA75ALQ==} peerDependencies: @@ -5555,10 +5476,6 @@ packages: '@xtuc/long@4.2.2': resolution: {integrity: sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==} - abbrev@3.0.1: - resolution: {integrity: sha512-AO2ac6pjRB3SJmGJo+v5/aK6Omggp6fsLrs6wN9bd35ulu4cCwaAU9+7ZhXjeqHVkaHThLuzH0nZr0YpCDhygg==} - engines: {node: ^18.17.0 || >=20.5.0} - abort-controller@3.0.0: resolution: {integrity: sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==} engines: {node: '>=6.5'} @@ -5657,9 +5574,6 @@ packages: ajv@8.17.1: resolution: {integrity: sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==} - ajv@8.6.3: - resolution: {integrity: sha512-SMJOdDP6LqTkD0Uq8qLi+gMwSt0imXLSV080qFVwJCpH9U6Mb+SUGHAXM0KNbcBPguytWyvFxcHgMLe2D2XSpw==} - ansi-escapes@4.3.2: resolution: {integrity: sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==} engines: {node: '>=8'} @@ -5715,9 +5629,6 @@ packages: peerDependencies: antlr4ng-cli: 1.0.7 - any-promise@1.3.0: - resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==} - anymatch@3.1.3: resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} engines: {node: '>= 8'} @@ -5729,9 +5640,6 @@ packages: archy@1.0.0: resolution: {integrity: sha512-Xg+9RwCg/0p32teKdGMPTPnVXKD0w3DfHnFTficozsAgsvq2XenPJq/MYpzzQ/v8zrOyJn6Ds39VA4JIDwFfqw==} - arg@4.1.3: - resolution: {integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==} - argparse@1.0.10: resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==} @@ -5831,20 +5739,9 @@ packages: resolution: {integrity: sha512-hsU18Ae8CDTR6Kgu9DYf0EbCr/a5iGL0rytQDobUcdpYOKokk8LEjVphnXkDkgpi0wYVsqrXuP0bZxJaTqdgoA==} engines: {node: '>= 0.4'} - async-listen@3.0.0: - resolution: {integrity: sha512-V+SsTpDqkrWTimiotsyl33ePSjA5/KrithwupuvJ6ztsqPvGv6ge4OredFhPffVXiLN/QUWvE0XcqJaYgt6fOg==} - engines: {node: '>= 14'} - - async-listen@3.0.1: - resolution: {integrity: sha512-cWMaNwUJnf37C/S5TfCkk/15MwbPRwVYALA2jtjkbHjCmAPiDXyNJy2q3p1KAZzDLHAWyarUWSujUoHR4pEgrA==} - engines: {node: '>= 14'} - async-retry@1.3.3: resolution: {integrity: sha512-wfr/jstw9xNi/0teMHrRW7dsz3Lt5ARhYNZ2ewpadnhaIp5mbALhOAP+EAdsC7t4Z6wqsDVv9+W6gm1Dk9mEyw==} - async-sema@3.1.1: - resolution: {integrity: sha512-tLRNUXati5MFePdAk8dw7Qt7DpxPB60ofAgn8WRhW6a2rcimZnYBP9oxHiv0OHy+Wz7kPMG+t4LGdt31+4EmGg==} - async@3.2.6: resolution: {integrity: sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==} @@ -5936,9 +5833,6 @@ packages: binascii@0.0.2: resolution: {integrity: sha512-rA2CrUl1+6yKrn+XgLs8Hdy18OER1UW146nM+ixzhQXDY+Bd3ySkyIJGwF2a4I45JwbvF1mDL/nWkqBwpOcdBA==} - bindings@1.5.0: - resolution: {integrity: sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==} - bintrees@1.0.2: resolution: {integrity: sha512-VOMgTMwjAaUG580SXn3LacVgjurrbMme7ZZNYGSSV7mmtY6QQRh0Eg3pwIcntQ77DErK1L0NxkbetjcoXzVwKw==} @@ -6036,12 +5930,6 @@ packages: resolution: {integrity: sha512-tjwM5exMg6BGRI+kNmTntNsvdZS1X8BFYS6tnJ2hdH0kVxM6/eVZ2xy+FqStSWvYmtfFMDLIxurorHwDKfDz5Q==} engines: {node: '>=18'} - bundle-require@5.1.0: - resolution: {integrity: sha512-3WrrOuZiyaaZPWiEt4G3+IffISVC9HYlWueJEBWED4ZH4aIAC2PnkdnuRrR94M+w6yGWn4AglWtJtBI8YqvgoA==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - peerDependencies: - esbuild: '>=0.18' - busboy@1.6.0: resolution: {integrity: sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==} engines: {node: '>=10.16.0'} @@ -6197,9 +6085,6 @@ packages: resolution: {integrity: sha512-3Ek9H3X6pj5TgenXYtNWdaBon1tgYCaebd+XPg0keyjEbEfkD4KkmAxkQ/i1vYvxdcT5nscLBfq9VJRmCBcFSw==} engines: {node: '>= 0.10'} - cjs-module-lexer@1.2.3: - resolution: {integrity: sha512-0TNiGstbQmCFwt4akjjBg5pLRTSyj/PkWQ1ZoO2zntmg9yLqSRxwEa4iCfQLGjqhiqBfOJa7W/E8wfGrTDmlZQ==} - cjs-module-lexer@1.4.3: resolution: {integrity: sha512-9z8TZaGM1pfswYeXrUpzPrkx8UnWYdhJclsiYMm6x/w5+nN+8Tf/LnAgfLGQCm59qAOxU8WwHEq2vNwF6i4j+Q==} @@ -6250,9 +6135,6 @@ packages: react: ^18 || ^19 || ^19.0.0-rc react-dom: ^18 || ^19 || ^19.0.0-rc - code-block-writer@10.1.1: - resolution: {integrity: sha512-67ueh2IRGst/51p0n6FvPrnRjAGHY5F8xdjkgrYE7DDzpJe6qA07RYQ9VcoUeo5ATOjSOiWpSL3SWBRRbempMw==} - cohere-ai@7.17.1: resolution: {integrity: sha512-GI/uWVYYGIN3gdjJRlbjEaLJNJVXsUJyOlPqwBWgAmK18kP4CJoErxKwU0aLe3tHHOBcC2RqXe6PmGO0dz7dpQ==} @@ -6302,10 +6184,6 @@ packages: commander@2.20.3: resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} - commander@4.1.1: - resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==} - engines: {node: '>= 6'} - commander@7.2.0: resolution: {integrity: sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==} engines: {node: '>= 10'} @@ -6330,10 +6208,6 @@ packages: confbox@0.1.8: resolution: {integrity: sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==} - consola@3.4.2: - resolution: {integrity: sha512-5IKcdX0nnYavi6G7TtOhwkYzyjfJlatbjMjuLSfE2kYT5pMDOilZ4OvMhi637CcDICTmz3wARPoyhqyX1Y+XvA==} - engines: {node: ^14.18.0 || >=16.10.0} - console-browserify@1.2.0: resolution: {integrity: sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA==} @@ -6352,10 +6226,6 @@ packages: resolution: {integrity: sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==} engines: {node: '>= 0.6'} - convert-hrtime@3.0.0: - resolution: {integrity: sha512-7V+KqSvMiHp8yWDuwfww06XleMWVVB9b9tURBx+G7UTADuo5hYPuowKloz4OzOqbPezxgo+fdQ1522WzPG4OeA==} - engines: {node: '>=8'} - convert-source-map@1.9.0: resolution: {integrity: sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==} @@ -6430,9 +6300,6 @@ packages: create-hmac@1.1.7: resolution: {integrity: sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==} - create-require@1.1.1: - resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==} - cronstrue@2.59.0: resolution: {integrity: sha512-YKGmAy84hKH+hHIIER07VCAHf9u0Ldelx1uU6EBxsRPDXIA1m5fsKmJfyC3xBhw6cVC/1i83VdbL4PvepTrt8A==} hasBin: true @@ -6653,10 +6520,6 @@ packages: diff-match-patch@1.0.5: resolution: {integrity: sha512-IayShXAgj/QMXgB0IWmKx+rOPuGMhqm5w6jvFxmVenXKIzRqTAAsbBPT3kWQeGANj3jGgvcvv4yK6SxqYmikgw==} - diff@4.0.2: - resolution: {integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==} - engines: {node: '>=0.3.1'} - diffie-hellman@5.0.3: resolution: {integrity: sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==} @@ -6848,11 +6711,6 @@ packages: ecdsa-sig-formatter@1.0.11: resolution: {integrity: sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==} - edge-runtime@2.5.9: - resolution: {integrity: sha512-pk+k0oK0PVXdlT4oRp4lwh+unuKB7Ng4iZ2HB+EZ7QCEQizX360Rp/F4aRpgpRgdP2ufB35N+1KppHmYjqIGSg==} - engines: {node: '>=16'} - hasBin: true - ee-first@1.1.1: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} @@ -6945,9 +6803,6 @@ packages: resolution: {integrity: sha512-uDn+FE1yrDzyC0pCo961B2IHbdM8y/ACZsKD4dG6WqrjV53BADjwa7D+1aom2rsNVfLyDgU/eigvlJGJ08OQ4w==} engines: {node: '>= 0.4'} - es-module-lexer@1.4.1: - resolution: {integrity: sha512-cXLGjP0c4T3flZJKQSuziYoq7MlT+rnvfZjfp7h+I7K9BNX54kP9nyWvdbwjQ4u1iWbOL4u96fgeZLToQlZC7w==} - es-module-lexer@1.7.0: resolution: {integrity: sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==} @@ -6970,136 +6825,11 @@ packages: es6-error@4.1.1: resolution: {integrity: sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==} - esbuild-android-64@0.14.47: - resolution: {integrity: sha512-R13Bd9+tqLVFndncMHssZrPWe6/0Kpv2/dt4aA69soX4PRxlzsVpCvoJeFE8sOEoeVEiBkI0myjlkDodXlHa0g==} - engines: {node: '>=12'} - cpu: [x64] - os: [android] - - esbuild-android-arm64@0.14.47: - resolution: {integrity: sha512-OkwOjj7ts4lBp/TL6hdd8HftIzOy/pdtbrNA4+0oVWgGG64HrdVzAF5gxtJufAPOsEjkyh1oIYvKAUinKKQRSQ==} - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - - esbuild-darwin-64@0.14.47: - resolution: {integrity: sha512-R6oaW0y5/u6Eccti/TS6c/2c1xYTb1izwK3gajJwi4vIfNs1s8B1dQzI1UiC9T61YovOQVuePDcfqHLT3mUZJA==} - engines: {node: '>=12'} - cpu: [x64] - os: [darwin] - - esbuild-darwin-arm64@0.14.47: - resolution: {integrity: sha512-seCmearlQyvdvM/noz1L9+qblC5vcBrhUaOoLEDDoLInF/VQ9IkobGiLlyTPYP5dW1YD4LXhtBgOyevoIHGGnw==} - engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] - - esbuild-freebsd-64@0.14.47: - resolution: {integrity: sha512-ZH8K2Q8/Ux5kXXvQMDsJcxvkIwut69KVrYQhza/ptkW50DC089bCVrJZZ3sKzIoOx+YPTrmsZvqeZERjyYrlvQ==} - engines: {node: '>=12'} - cpu: [x64] - os: [freebsd] - - esbuild-freebsd-arm64@0.14.47: - resolution: {integrity: sha512-ZJMQAJQsIOhn3XTm7MPQfCzEu5b9STNC+s90zMWe2afy9EwnHV7Ov7ohEMv2lyWlc2pjqLW8QJnz2r0KZmeAEQ==} - engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] - - esbuild-linux-32@0.14.47: - resolution: {integrity: sha512-FxZOCKoEDPRYvq300lsWCTv1kcHgiiZfNrPtEhFAiqD7QZaXrad8LxyJ8fXGcWzIFzRiYZVtB3ttvITBvAFhKw==} - engines: {node: '>=12'} - cpu: [ia32] - os: [linux] - - esbuild-linux-64@0.14.47: - resolution: {integrity: sha512-nFNOk9vWVfvWYF9YNYksZptgQAdstnDCMtR6m42l5Wfugbzu11VpMCY9XrD4yFxvPo9zmzcoUL/88y0lfJZJJw==} - engines: {node: '>=12'} - cpu: [x64] - os: [linux] - - esbuild-linux-arm64@0.14.47: - resolution: {integrity: sha512-ywfme6HVrhWcevzmsufjd4iT3PxTfCX9HOdxA7Hd+/ZM23Y9nXeb+vG6AyA6jgq/JovkcqRHcL9XwRNpWG6XRw==} - engines: {node: '>=12'} - cpu: [arm64] - os: [linux] - - esbuild-linux-arm@0.14.47: - resolution: {integrity: sha512-ZGE1Bqg/gPRXrBpgpvH81tQHpiaGxa8c9Rx/XOylkIl2ypLuOcawXEAo8ls+5DFCcRGt/o3sV+PzpAFZobOsmA==} - engines: {node: '>=12'} - cpu: [arm] - os: [linux] - - esbuild-linux-mips64le@0.14.47: - resolution: {integrity: sha512-mg3D8YndZ1LvUiEdDYR3OsmeyAew4MA/dvaEJxvyygahWmpv1SlEEnhEZlhPokjsUMfRagzsEF/d/2XF+kTQGg==} - engines: {node: '>=12'} - cpu: [mips64el] - os: [linux] - - esbuild-linux-ppc64le@0.14.47: - resolution: {integrity: sha512-WER+f3+szmnZiWoK6AsrTKGoJoErG2LlauSmk73LEZFQ/iWC+KhhDsOkn1xBUpzXWsxN9THmQFltLoaFEH8F8w==} - engines: {node: '>=12'} - cpu: [ppc64] - os: [linux] - - esbuild-linux-riscv64@0.14.47: - resolution: {integrity: sha512-1fI6bP3A3rvI9BsaaXbMoaOjLE3lVkJtLxsgLHqlBhLlBVY7UqffWBvkrX/9zfPhhVMd9ZRFiaqXnB1T7BsL2g==} - engines: {node: '>=12'} - cpu: [riscv64] - os: [linux] - - esbuild-linux-s390x@0.14.47: - resolution: {integrity: sha512-eZrWzy0xFAhki1CWRGnhsHVz7IlSKX6yT2tj2Eg8lhAwlRE5E96Hsb0M1mPSE1dHGpt1QVwwVivXIAacF/G6mw==} - engines: {node: '>=12'} - cpu: [s390x] - os: [linux] - - esbuild-netbsd-64@0.14.47: - resolution: {integrity: sha512-Qjdjr+KQQVH5Q2Q1r6HBYswFTToPpss3gqCiSw2Fpq/ua8+eXSQyAMG+UvULPqXceOwpnPo4smyZyHdlkcPppQ==} - engines: {node: '>=12'} - cpu: [x64] - os: [netbsd] - - esbuild-openbsd-64@0.14.47: - resolution: {integrity: sha512-QpgN8ofL7B9z8g5zZqJE+eFvD1LehRlxr25PBkjyyasakm4599iroUpaj96rdqRlO2ShuyqwJdr+oNqWwTUmQw==} - engines: {node: '>=12'} - cpu: [x64] - os: [openbsd] - esbuild-register@3.6.0: resolution: {integrity: sha512-H2/S7Pm8a9CL1uhp9OvjwrBh5Pvx0H8qVOxNu8Wed9Y7qv56MPtq+GGM8RJpq6glYJn9Wspr8uw7l55uyinNeg==} peerDependencies: esbuild: '>=0.12 <1' - esbuild-sunos-64@0.14.47: - resolution: {integrity: sha512-uOeSgLUwukLioAJOiGYm3kNl+1wJjgJA8R671GYgcPgCx7QR73zfvYqXFFcIO93/nBdIbt5hd8RItqbbf3HtAQ==} - engines: {node: '>=12'} - cpu: [x64] - os: [sunos] - - esbuild-windows-32@0.14.47: - resolution: {integrity: sha512-H0fWsLTp2WBfKLBgwYT4OTfFly4Im/8B5f3ojDv1Kx//kiubVY0IQunP2Koc/fr/0wI7hj3IiBDbSrmKlrNgLQ==} - engines: {node: '>=12'} - cpu: [ia32] - os: [win32] - - esbuild-windows-64@0.14.47: - resolution: {integrity: sha512-/Pk5jIEH34T68r8PweKRi77W49KwanZ8X6lr3vDAtOlH5EumPE4pBHqkCUdELanvsT14yMXLQ/C/8XPi1pAtkQ==} - engines: {node: '>=12'} - cpu: [x64] - os: [win32] - - esbuild-windows-arm64@0.14.47: - resolution: {integrity: sha512-HFSW2lnp62fl86/qPQlqw6asIwCnEsEoNIL1h2uVMgakddf+vUuMcCbtUY1i8sst7KkgHrVKCJQB33YhhOweCQ==} - engines: {node: '>=12'} - cpu: [arm64] - os: [win32] - - esbuild@0.14.47: - resolution: {integrity: sha512-wI4ZiIfFxpkuxB8ju4MHrGwGLyp1+awEHAHVpx6w7a+1pmYIq8T9FGEVVwFo0iFierDoMj++Xq69GXWYn2EiwA==} - engines: {node: '>=12'} - hasBin: true - esbuild@0.18.20: resolution: {integrity: sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==} engines: {node: '>=12'} @@ -7416,9 +7146,6 @@ packages: resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==} engines: {node: ^10.12.0 || >=12.0.0} - file-uri-to-path@1.0.0: - resolution: {integrity: sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==} - filesize@10.1.6: resolution: {integrity: sha512-sJslQKU2uM33qH5nqewAwVB2QgR6w1aMNsYUp3aN5rMRyXEwJGmZvaWzeJFNTOXWlHQyBFCWrdj3fV/fsTOX8w==} engines: {node: '>= 10.4.0'} @@ -7455,9 +7182,6 @@ packages: resolution: {integrity: sha512-v2ZsoEuVHYy8ZIlYqwPe/39Cy+cFDzp4dXPaxNvkEuouymu+2Jbz0PxpKarJHYJTmv2HWT3O382qY8l4jMWthw==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - fix-dts-default-cjs-exports@1.0.1: - resolution: {integrity: sha512-pVIECanWFC61Hzl2+oOCtoJ3F17kglZC/6N94eRWycFgBH35hHx0Li604ZIzhseh97mf2p0cv7vVrOZGoqhlEg==} - flat-cache@3.2.0: resolution: {integrity: sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==} engines: {node: ^10.12.0 || >=12.0.0} @@ -8382,9 +8106,6 @@ packages: json-parse-even-better-errors@2.3.1: resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} - json-schema-to-ts@1.6.4: - resolution: {integrity: sha512-pR4yQ9DHz6itqswtHCm26mw45FSNfQ9rEQjosaZErhn5J3J2sIViQiz8rDaezjKAhFGpmsoczYVBgGHzFw/stA==} - json-schema-to-zod@2.6.1: resolution: {integrity: sha512-uiHmWH21h9FjKJkRBntfVGTLpYlCZ1n98D0izIlByqQLqpmkQpNTBtfbdP04Na6+43lgsvrShFh2uWLkQDKJuQ==} hasBin: true @@ -8530,17 +8251,9 @@ packages: resolution: {integrity: sha512-xi6IyHML+c9+Q3W0S4fCQJOym42pyurFiJUHEcEyHS0CeKzia4yZDEsLlqOFykxOdHpNy0NmvVO31vcSqAxJCg==} engines: {node: '>= 12.0.0'} - lilconfig@3.1.3: - resolution: {integrity: sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==} - engines: {node: '>=14'} - lines-and-columns@1.2.4: resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} - load-tsconfig@0.2.5: - resolution: {integrity: sha512-IXO6OCs9yg8tMKzfPZ1YmheJbZCiEsnBdcB03l0OcfK9prKnJb96siuHCr5Fl37/yo9DnKU+TLpxzTUspw9shg==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - loader-runner@4.3.0: resolution: {integrity: sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==} engines: {node: '>=6.11.5'} @@ -8607,9 +8320,6 @@ packages: lodash.once@4.1.1: resolution: {integrity: sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==} - lodash.sortby@4.7.0: - resolution: {integrity: sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==} - lodash@4.17.21: resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} @@ -8682,9 +8392,6 @@ packages: resolution: {integrity: sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==} engines: {node: '>=10'} - make-error@1.3.6: - resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==} - map-or-similar@1.5.0: resolution: {integrity: sha512-0aF7ZmVon1igznGI4VS30yugpduQW3y3GkcgGJOp7d8x8QrizhigUxjI/m2UojsXXto+jLAH3KSz+xOJTiORjg==} @@ -8980,10 +8687,6 @@ packages: motion-utils@12.23.2: resolution: {integrity: sha512-cIEXlBlXAOUyiAtR0S+QPQUM9L3Diz23Bo+zM420NvSd/oPQJwg6U+rT+WRTpp0rizMsBGQOsAwhWIfglUcZfA==} - mri@1.2.0: - resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} - engines: {node: '>=4'} - mrmime@2.0.1: resolution: {integrity: sha512-Y3wQdFg2Va6etvQ5I82yUhGdsKrcYox6p7FfL1LbK2J4V01F9TGlepTIhnK24t7koZibmg82KGglhA1XK5IsLQ==} engines: {node: '>=10'} @@ -9030,9 +8733,6 @@ packages: resolution: {integrity: sha512-7ytuPQJjQB8TNAYX/H2yhL+iQOnIBjAMam361R7UAL0lOVXWjtdrmoL9HYKqKoLp/8UUTRcvo1QPvK9KL7wA8w==} engines: {node: '>= 8.0'} - mz@2.7.0: - resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} - named-placeholders@1.1.3: resolution: {integrity: sha512-eLoBxg6wE/rZkJPhU/xRX1WTpkFEwDJEN96oxFrTsqBdbT5ec295Q+CoHrL9IT0DipqKhmGcaZmwOt8OON5x1w==} engines: {node: '>=12.0.0'} @@ -9103,15 +8803,6 @@ packages: engines: {node: '>=10.5.0'} deprecated: Use your platform's native DOMException instead - node-fetch@2.6.9: - resolution: {integrity: sha512-DJm/CJkZkRjKKj4Zi4BsKVZh3ValV5IR5s7LVZnW+6YMh0W1BfNA8XSs6DLMGYlId5F3KnA70uu2qepcR08Qqg==} - engines: {node: 4.x || >=6.0.0} - peerDependencies: - encoding: ^0.1.0 - peerDependenciesMeta: - encoding: - optional: true - node-fetch@2.7.0: resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==} engines: {node: 4.x || >=6.0.0} @@ -9125,10 +8816,6 @@ packages: resolution: {integrity: sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - node-gyp-build@4.8.4: - resolution: {integrity: sha512-LA4ZjwlnUblHVgq0oBF3Jl/6h/Nvs5fzBLwdEF4nuxnFdsfajde4WfxtJr3CaiH+F6ewcIB/q4jQ4UzPyid+CQ==} - hasBin: true - node-polyfill-webpack-plugin@2.0.1: resolution: {integrity: sha512-ZUMiCnZkP1LF0Th2caY6J/eKKoA0TefpoVa68m/LQU1I/mE8rGt4fNYGgNuCcK+aG8P8P43nbeJ2RqJMOL/Y1A==} engines: {node: '>=12'} @@ -9146,11 +8833,6 @@ packages: resolution: {integrity: sha512-cf+iXXJ9Foz4hBIu+eNNeg207ac6XruA9I9DXEs+jCxeS9t/k9T0GZK8NZngPwkv+P26i3zNFj9jxJU2v3pJnw==} engines: {node: '>=8'} - nopt@8.1.0: - resolution: {integrity: sha512-ieGu42u/Qsa4TFktmaKEwM6MQH0pOWnaB3htzh0JRtx84+Mebc0cbZYN5bC+6WTZ4+77xrL9Pn5m7CV6VIkV7A==} - engines: {node: ^18.17.0 || >=20.5.0} - hasBin: true - normalize-path@3.0.0: resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} engines: {node: '>=0.10.0'} @@ -9348,10 +9030,6 @@ packages: resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} engines: {node: '>=8'} - parse-ms@2.1.0: - resolution: {integrity: sha512-kHt7kzLoS9VBZfUsiKjv43mr91ea+U05EyKkEtqp7vNbHxmaVuEqN7XxeEVnGrMtYOAxGrDElSi96K7EgO1zCA==} - engines: {node: '>=6'} - parse-passwd@1.0.0: resolution: {integrity: sha512-1Y1A//QUXEZK7YKz+rD9WydcE1+EuPr6ZBgKecAB8tmoW6UFv0NREVJe1p+jRxtThkcbbKkfwIbWJe/IeE6m2Q==} engines: {node: '>=0.10.0'} @@ -9403,9 +9081,6 @@ packages: path-to-regexp@0.1.12: resolution: {integrity: sha512-RA1GjUVMnvYFxuqovrEqZoxxW5NUZqbwKtYz/Tt7nXerk0LbLblQmrsgdeOxV5SFHf0UDggjS/bSeOZwt1pmEQ==} - path-to-regexp@6.1.0: - resolution: {integrity: sha512-h9DqehX3zZZDCEm+xbfU0ZmwCGFCAAraPJWMXJ4+v32NjZJilVg3k1TcKsRgIb8IQ/izZSaydDc1OhJCZvs2Dw==} - path-to-regexp@6.3.0: resolution: {integrity: sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==} @@ -9463,9 +9138,6 @@ packages: pgpass@1.0.5: resolution: {integrity: sha512-FdW9r/jQZhSeohs1Z3sI1yxFQNFvMcnmfuj4WBMUTxOrAyLMaTcE1aAMBiTlbMNaXvBCQuVi0R7hd8udDSP7ug==} - picocolors@1.0.0: - resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} - picocolors@1.1.1: resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} @@ -9491,10 +9163,6 @@ packages: resolution: {integrity: sha512-vnMCM6xZTb1WDmLvtG2lE/2p+t9hDEIvTWJsu6FejkE62vB7gDhvzrpFR4Cw2to+9JNQxVnkAKVPA1KPB98vWg==} hasBin: true - pirates@4.0.7: - resolution: {integrity: sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==} - engines: {node: '>= 6'} - pkg-dir@4.2.0: resolution: {integrity: sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==} engines: {node: '>=8'} @@ -9532,24 +9200,6 @@ packages: resolution: {integrity: sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg==} engines: {node: '>= 0.4'} - postcss-load-config@6.0.1: - resolution: {integrity: sha512-oPtTM4oerL+UXmx+93ytZVN82RrlY/wPUV8IeDxFrzIjXOLF1pN+EmKPLbubvKHT2HC20xXsCAH2Z+CKV6Oz/g==} - engines: {node: '>= 18'} - peerDependencies: - jiti: '>=1.21.0' - postcss: '>=8.0.9' - tsx: ^4.8.1 - yaml: ^2.4.2 - peerDependenciesMeta: - jiti: - optional: true - postcss: - optional: true - tsx: - optional: true - yaml: - optional: true - postcss-loader@8.1.1: resolution: {integrity: sha512-0IeqyAsG6tYiDRCYKQJLAmgQr47DX6N7sFSWvQxt6AcupX8DIdmykuk/o/tx0Lze3ErGHJEp5OSRxrelC6+NdQ==} engines: {node: '>= 18.12.0'} @@ -9729,10 +9379,6 @@ packages: resolution: {integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - pretty-ms@7.0.1: - resolution: {integrity: sha512-973driJZvxiGOQ5ONsFhOF/DtzPMOMtgC11kCpUrPGMTgqp2q/1gwzCquocrN33is0VZ5GFHXZYMM9l6h67v2Q==} - engines: {node: '>=10'} - prism-react-renderer@2.4.1: resolution: {integrity: sha512-ey8Ls/+Di31eqzUxC46h8MksNuGx/n0AAC8uKpwFau4RPDYLuE3EXTp8N8G2vX2N7UC/+IXeNUnlWBGGcAG+Ig==} peerDependencies: @@ -10311,10 +9957,6 @@ packages: signal-exit@3.0.7: resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} - signal-exit@4.0.2: - resolution: {integrity: sha512-MY2/qGx4enyjprQnFaZsHib3Yadh3IXyV2C321GY0pjGfVBu4un0uDJkwgdxqO+Rdx8JMT8IfJIRwbYVz3Ob3Q==} - engines: {node: '>=14'} - signal-exit@4.1.0: resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} engines: {node: '>=14'} @@ -10391,10 +10033,6 @@ packages: resolution: {integrity: sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==} engines: {node: '>= 8'} - source-map@0.8.0-beta.0: - resolution: {integrity: sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA==} - engines: {node: '>= 8'} - space-separated-tokens@1.1.5: resolution: {integrity: sha512-q/JSVd1Lptzhf5bkYm4ob4iWPjx0KiRe3sRFBNrVqbJkFaBm5vbbowy1mymoPNLRa52+oadOhJ+K49wsSeSjTA==} @@ -10614,11 +10252,6 @@ packages: babel-plugin-macros: optional: true - sucrase@3.35.0: - resolution: {integrity: sha512-8EbVDiu9iN/nESwxeSxDKe0dunta1GOlHufmSSXxMD2z2/tMZpDMpvXQGsc+ajGo8y2uYUmixaSRUc/QPoQ0GA==} - engines: {node: '>=16 || 14 >=14.17'} - hasBin: true - superjson@2.2.2: resolution: {integrity: sha512-5JRxVqC8I8NuOUjzBbvVJAKNM8qoVuH0O77h4WInc/qC2q5IreqKxYwgkga3PfA22OayK2ikceb/B26dztPl+Q==} engines: {node: '>=16'} @@ -10738,13 +10371,6 @@ packages: text-table@0.2.0: resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==} - thenify-all@1.6.0: - resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==} - engines: {node: '>=0.8'} - - thenify@3.3.1: - resolution: {integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==} - thread-stream@3.1.0: resolution: {integrity: sha512-OqyPZ9u96VohAyMfJykzmivOrY2wfMSf3C5TtFJVgN+Hm6aj+voFhlK+kZEIv2FBh1X6Xp3DlnCOfEQ3B2J86A==} @@ -10752,10 +10378,6 @@ packages: resolution: {integrity: sha512-nt6AMGKW1p/70DF/hGBdJB57B8Tspmbp5gfJ8ilhLnt7kkr2ye7hzD6NVG8GGErk2HWF34igrL2CXmNIkzKqKw==} engines: {node: '>=18'} - time-span@4.0.0: - resolution: {integrity: sha512-MyqZCTGLDZ77u4k+jqg4UlrzPTPZ49NDlaekU6uuFaJLzPIN1woaRXCbGeqOfxwc3Y37ZROGAJ614Rdv7Olt+g==} - engines: {node: '>=10'} - timers-browserify@2.0.12: resolution: {integrity: sha512-9phl76Cqm6FhSX9Xe1ZUAMLtm1BLkKj2Qd5ApyWkXzsMRaA7dgr81kf4wJmQf/hAvg8EEyJxDo3du/0KlhPiKQ==} engines: {node: '>=0.6.0'} @@ -10833,17 +10455,10 @@ packages: tr46@0.0.3: resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} - tr46@1.0.1: - resolution: {integrity: sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA==} - tr46@5.1.1: resolution: {integrity: sha512-hdF5ZgjTqgAntKkklYw0R03MG2x/bSzTtkxmIRw/sTNV8YXsCJ1tfLAX23lhxhHJlEf3CRCOCGGWw3vI3GaSPw==} engines: {node: '>=18'} - tree-kill@1.2.2: - resolution: {integrity: sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==} - hasBin: true - trim-lines@3.0.1: resolution: {integrity: sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==} @@ -10870,26 +10485,6 @@ packages: resolution: {integrity: sha512-q5W7tVM71e2xjHZTlgfTDoPF/SmqKG5hddq9SzR49CH2hayqRKJtQ4mtRlSxKaJlR/+9rEM+mnBHf7I2/BQcpQ==} engines: {node: '>=6.10'} - ts-interface-checker@0.1.13: - resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} - - ts-morph@12.0.0: - resolution: {integrity: sha512-VHC8XgU2fFW7yO1f/b3mxKDje1vmyzFXHWzOYmKEkCEwcLjDtbdLgBQviqj4ZwP4MJkQtRo6Ha2I29lq/B+VxA==} - - ts-node@10.9.1: - resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==} - hasBin: true - peerDependencies: - '@swc/core': '>=1.2.50' - '@swc/wasm': '>=1.2.50' - '@types/node': '*' - typescript: '>=2.7' - peerDependenciesMeta: - '@swc/core': - optional: true - '@swc/wasm': - optional: true - ts-pnp@1.2.0: resolution: {integrity: sha512-csd+vJOb/gkzvcCHgTGSChYpy5f1/XKNsmvBGO4JXS+z1v2HobugDz4s1IeFXM3wZB44uczs+eazB5Q/ccdhQw==} engines: {node: '>=6'} @@ -10899,9 +10494,6 @@ packages: typescript: optional: true - ts-toolbelt@6.15.5: - resolution: {integrity: sha512-FZIXf1ksVyLcfr7M317jbB67XFJhOO1YqdTcuGaq9q5jLUoTikukZ+98TPjKiP2jC5CgmYdWWYs0s2nLSU0/1A==} - tsafe@1.8.5: resolution: {integrity: sha512-LFWTWQrW6rwSY+IBNFl2ridGfUzVsPwrZ26T4KUJww/py8rzaQ/SY+MIz6YROozpUCaRcuISqagmlwub9YT9kw==} @@ -10942,25 +10534,6 @@ packages: tslib@2.8.1: resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} - tsup@8.5.0: - resolution: {integrity: sha512-VmBp77lWNQq6PfuMqCHD3xWl22vEoWsKajkF8t+yMBawlUS8JzEI+vOVMeuNZIuMML8qXRizFKi9oD5glKQVcQ==} - engines: {node: '>=18'} - hasBin: true - peerDependencies: - '@microsoft/api-extractor': ^7.36.0 - '@swc/core': ^1 - postcss: ^8.4.12 - typescript: '>=4.5.0' - peerDependenciesMeta: - '@microsoft/api-extractor': - optional: true - '@swc/core': - optional: true - postcss: - optional: true - typescript: - optional: true - tsx@4.20.3: resolution: {integrity: sha512-qjbnuR9Tr+FJOMBqJCW5ehvIo/buZq7vH7qD7JziU98h6l3qGy0a/yPFjwO+y0/T7GFpNgNAvEcPPVfyT8rrPQ==} engines: {node: '>=18.0.0'} @@ -11060,11 +10633,6 @@ packages: typescript-event-target@1.1.1: resolution: {integrity: sha512-dFSOFBKV6uwaloBCCUhxlD3Pr/P1a/tJdcmPrTXCHlEFD3faj0mztjcGn6VBAhQ0/Bdy8K3VWrrqwbt/ffsYsg==} - typescript@4.9.5: - resolution: {integrity: sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==} - engines: {node: '>=4.2.0'} - hasBin: true - typescript@5.8.3: resolution: {integrity: sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==} engines: {node: '>=14.17'} @@ -11090,10 +10658,6 @@ packages: undici-types@7.8.0: resolution: {integrity: sha512-9UJ2xGDvQ43tYyVMpuHlsgApydB8ZKfVYTsLDhXkFL/6gfkp+U8xTGdh8pMJv1SpZna0zxG1DwsKZsreLbXBxw==} - undici@5.28.4: - resolution: {integrity: sha512-72RFADWFqKmUb2hmmvNODKL3p9hcB6Gt2DOQMis1SEBaV6a4MH8soBvzg+95CYhCKPFedut2JY9bMfrDl9D23g==} - engines: {node: '>=14.0'} - unicode-canonical-property-names-ecmascript@2.0.1: resolution: {integrity: sha512-dA8WbNeb2a6oQzAQ55YlT5vQAWGV9WXOsi3SskE3bcCdM0P4SDd+24zS/OCacdRq5BkdsRj9q3Pg6YyQoxIGqg==} engines: {node: '>=4'} @@ -11226,9 +10790,6 @@ packages: resolution: {integrity: sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==} hasBin: true - v8-compile-cache-lib@3.0.1: - resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==} - vary@1.1.2: resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==} engines: {node: '>= 0.8'} @@ -11400,9 +10961,6 @@ packages: webidl-conversions@3.0.1: resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} - webidl-conversions@4.0.2: - resolution: {integrity: sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==} - webidl-conversions@7.0.0: resolution: {integrity: sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==} engines: {node: '>=12'} @@ -11456,9 +11014,6 @@ packages: whatwg-url@5.0.0: resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} - whatwg-url@7.1.0: - resolution: {integrity: sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==} - which-boxed-primitive@1.1.1: resolution: {integrity: sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA==} engines: {node: '>= 0.4'} @@ -11615,10 +11170,6 @@ packages: resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==} engines: {node: '>=12'} - yn@3.1.1: - resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==} - engines: {node: '>=6'} - yocto-queue@0.1.0: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} @@ -13424,10 +12975,6 @@ snapshots: '@colors/colors@1.6.0': {} - '@cspotcode/source-map-support@0.8.1': - dependencies: - '@jridgewell/trace-mapping': 0.3.9 - '@csstools/color-helpers@5.0.2': {} '@csstools/css-calc@2.1.4(@csstools/css-parser-algorithms@3.0.5(@csstools/css-tokenizer@3.0.4))(@csstools/css-tokenizer@3.0.4)': @@ -13490,17 +13037,13 @@ snapshots: '@drizzle-team/brocli@0.10.2': {} - '@edge-runtime/format@2.2.1': {} - - '@edge-runtime/node-utils@2.3.0': {} - - '@edge-runtime/ponyfill@2.4.2': {} - - '@edge-runtime/primitives@4.1.0': {} + '@edge-runtime/primitives@4.1.0': + optional: true '@edge-runtime/vm@3.2.0': dependencies: '@edge-runtime/primitives': 4.1.0 + optional: true '@electric-sql/client@1.0.0-beta.1': optionalDependencies: @@ -13711,8 +13254,6 @@ snapshots: '@faker-js/faker@9.9.0': {} - '@fastify/busboy@2.1.1': {} - '@floating-ui/core@1.7.2': dependencies: '@floating-ui/utils': 0.2.10 @@ -14015,11 +13556,6 @@ snapshots: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.5.4 - '@jridgewell/trace-mapping@0.3.9': - dependencies: - '@jridgewell/resolve-uri': 3.1.2 - '@jridgewell/sourcemap-codec': 1.5.4 - '@js-joda/core@5.6.5': {} '@js-sdsl/ordered-map@4.4.2': {} @@ -14069,19 +13605,6 @@ snapshots: transitivePeerDependencies: - react - '@mapbox/node-pre-gyp@2.0.0': - dependencies: - consola: 3.4.2 - detect-libc: 2.0.4 - https-proxy-agent: 7.0.6 - node-fetch: 2.7.0 - nopt: 8.1.0 - semver: 7.7.2 - tar: 7.4.3 - transitivePeerDependencies: - - encoding - - supports-color - '@mastra/core@0.10.8(openapi-types@12.1.3)(react@18.3.1)(zod@3.25.75)': dependencies: '@ai-sdk/provider': 1.1.3 @@ -15772,14 +15295,6 @@ snapshots: '@radix-ui/rect@1.1.1': {} - '@rollup/pluginutils@5.2.0(rollup@4.44.2)': - dependencies: - '@types/estree': 1.0.8 - estree-walker: 2.0.2 - picomatch: 4.0.2 - optionalDependencies: - rollup: 4.44.2 - '@rollup/rollup-android-arm-eabi@4.44.2': optional: true @@ -16931,21 +16446,6 @@ snapshots: - supports-color - utf-8-validate - '@ts-morph/common@0.11.1': - dependencies: - fast-glob: 3.3.3 - minimatch: 3.1.2 - mkdirp: 1.0.4 - path-browserify: 1.0.1 - - '@tsconfig/node10@1.0.11': {} - - '@tsconfig/node12@1.0.11': {} - - '@tsconfig/node14@1.0.3': {} - - '@tsconfig/node16@1.0.4': {} - '@tybys/wasm-util@0.9.0': dependencies: tslib: 2.8.1 @@ -17074,8 +16574,6 @@ snapshots: dependencies: '@types/node': 24.0.10 - '@types/node@16.18.11': {} - '@types/node@20.19.4': dependencies: undici-types: 6.21.0 @@ -17393,69 +16891,10 @@ snapshots: '@unrs/resolver-binding-win32-x64-msvc@1.11.0': optional: true - '@vercel/build-utils@10.6.5': {} - - '@vercel/error-utils@2.0.3': {} - '@vercel/functions@1.6.0(@aws-sdk/credential-provider-web-identity@3.840.0)': optionalDependencies: '@aws-sdk/credential-provider-web-identity': 3.840.0 - '@vercel/nft@0.29.2(rollup@4.44.2)': - dependencies: - '@mapbox/node-pre-gyp': 2.0.0 - '@rollup/pluginutils': 5.2.0(rollup@4.44.2) - acorn: 8.15.0 - acorn-import-attributes: 1.9.5(acorn@8.15.0) - async-sema: 3.1.1 - bindings: 1.5.0 - estree-walker: 2.0.2 - glob: 10.4.5 - graceful-fs: 4.2.11 - node-gyp-build: 4.8.4 - picomatch: 4.0.2 - resolve-from: 5.0.0 - transitivePeerDependencies: - - encoding - - rollup - - supports-color - - '@vercel/node@5.3.4(rollup@4.44.2)': - dependencies: - '@edge-runtime/node-utils': 2.3.0 - '@edge-runtime/primitives': 4.1.0 - '@edge-runtime/vm': 3.2.0 - '@types/node': 16.18.11 - '@vercel/build-utils': 10.6.5 - '@vercel/error-utils': 2.0.3 - '@vercel/nft': 0.29.2(rollup@4.44.2) - '@vercel/static-config': 3.1.1 - async-listen: 3.0.0 - cjs-module-lexer: 1.2.3 - edge-runtime: 2.5.9 - es-module-lexer: 1.4.1 - esbuild: 0.14.47 - etag: 1.8.1 - node-fetch: 2.6.9 - path-to-regexp: 6.1.0 - path-to-regexp-updated: path-to-regexp@6.3.0 - ts-morph: 12.0.0 - ts-node: 10.9.1(@types/node@16.18.11)(typescript@4.9.5) - typescript: 4.9.5 - undici: 5.28.4 - transitivePeerDependencies: - - '@swc/core' - - '@swc/wasm' - - encoding - - rollup - - supports-color - - '@vercel/static-config@3.1.1': - dependencies: - ajv: 8.6.3 - json-schema-to-ts: 1.6.4 - ts-morph: 12.0.0 - '@vitest/coverage-v8@3.2.4(vitest@3.2.4)': dependencies: '@ampproject/remapping': 2.3.0 @@ -17704,8 +17143,6 @@ snapshots: '@xtuc/long@4.2.2': {} - abbrev@3.0.1: {} - abort-controller@3.0.0: dependencies: event-target-shim: 5.0.1 @@ -17810,13 +17247,6 @@ snapshots: json-schema-traverse: 1.0.0 require-from-string: 2.0.2 - ajv@8.6.3: - dependencies: - fast-deep-equal: 3.1.3 - json-schema-traverse: 1.0.0 - require-from-string: 2.0.2 - uri-js: 4.4.1 - ansi-escapes@4.3.2: dependencies: type-fest: 0.21.3 @@ -17853,8 +17283,6 @@ snapshots: dependencies: antlr4ng-cli: 1.0.7 - any-promise@1.3.0: {} - anymatch@3.1.3: dependencies: normalize-path: 3.0.0 @@ -17866,8 +17294,6 @@ snapshots: archy@1.0.0: {} - arg@4.1.3: {} - argparse@1.0.10: dependencies: sprintf-js: 1.0.3 @@ -18005,16 +17431,10 @@ snapshots: async-function@1.0.0: {} - async-listen@3.0.0: {} - - async-listen@3.0.1: {} - async-retry@1.3.3: dependencies: retry: 0.13.1 - async-sema@3.1.1: {} - async@3.2.6: {} asynckit@0.4.0: {} @@ -18098,10 +17518,6 @@ snapshots: binascii@0.0.2: {} - bindings@1.5.0: - dependencies: - file-uri-to-path: 1.0.0 - bintrees@1.0.2: {} bl@6.1.0: @@ -18274,11 +17690,6 @@ snapshots: dependencies: run-applescript: 7.0.0 - bundle-require@5.1.0(esbuild@0.25.5): - dependencies: - esbuild: 0.25.5 - load-tsconfig: 0.2.5 - busboy@1.6.0: dependencies: streamsearch: 1.1.0 @@ -18420,8 +17831,6 @@ snapshots: inherits: 2.0.4 safe-buffer: 5.2.1 - cjs-module-lexer@1.2.3: {} - cjs-module-lexer@1.4.3: {} class-variance-authority@0.7.1: @@ -18473,8 +17882,6 @@ snapshots: - '@types/react' - '@types/react-dom' - code-block-writer@10.1.1: {} - cohere-ai@7.17.1: dependencies: '@aws-sdk/client-sagemaker': 3.843.0 @@ -18541,8 +17948,6 @@ snapshots: commander@2.20.3: {} - commander@4.1.1: {} - commander@7.2.0: {} commander@8.3.0: {} @@ -18557,8 +17962,6 @@ snapshots: confbox@0.1.8: {} - consola@3.4.2: {} - console-browserify@1.2.0: {} console.table@0.10.0: @@ -18573,8 +17976,6 @@ snapshots: content-type@1.0.5: {} - convert-hrtime@3.0.0: {} - convert-source-map@1.9.0: {} convert-source-map@2.0.0: {} @@ -18659,8 +18060,6 @@ snapshots: safe-buffer: 5.2.1 sha.js: 2.4.12 - create-require@1.1.1: {} - cronstrue@2.59.0: {} cross-spawn@7.0.6: @@ -18851,8 +18250,6 @@ snapshots: diff-match-patch@1.0.5: {} - diff@4.0.2: {} - diffie-hellman@5.0.3: dependencies: bn.js: 4.12.2 @@ -18984,18 +18381,6 @@ snapshots: dependencies: safe-buffer: 5.2.1 - edge-runtime@2.5.9: - dependencies: - '@edge-runtime/format': 2.2.1 - '@edge-runtime/ponyfill': 2.4.2 - '@edge-runtime/vm': 3.2.0 - async-listen: 3.0.1 - mri: 1.2.0 - picocolors: 1.0.0 - pretty-ms: 7.0.1 - signal-exit: 4.0.2 - time-span: 4.0.0 - ee-first@1.1.1: {} electron-to-chromium@1.5.179: {} @@ -19166,8 +18551,6 @@ snapshots: iterator.prototype: 1.1.5 safe-array-concat: 1.1.3 - es-module-lexer@1.4.1: {} - es-module-lexer@1.7.0: {} es-object-atoms@1.1.1: @@ -19193,54 +18576,6 @@ snapshots: es6-error@4.1.1: {} - esbuild-android-64@0.14.47: - optional: true - - esbuild-android-arm64@0.14.47: - optional: true - - esbuild-darwin-64@0.14.47: - optional: true - - esbuild-darwin-arm64@0.14.47: - optional: true - - esbuild-freebsd-64@0.14.47: - optional: true - - esbuild-freebsd-arm64@0.14.47: - optional: true - - esbuild-linux-32@0.14.47: - optional: true - - esbuild-linux-64@0.14.47: - optional: true - - esbuild-linux-arm64@0.14.47: - optional: true - - esbuild-linux-arm@0.14.47: - optional: true - - esbuild-linux-mips64le@0.14.47: - optional: true - - esbuild-linux-ppc64le@0.14.47: - optional: true - - esbuild-linux-riscv64@0.14.47: - optional: true - - esbuild-linux-s390x@0.14.47: - optional: true - - esbuild-netbsd-64@0.14.47: - optional: true - - esbuild-openbsd-64@0.14.47: - optional: true - esbuild-register@3.6.0(esbuild@0.25.5): dependencies: debug: 4.4.1 @@ -19248,41 +18583,6 @@ snapshots: transitivePeerDependencies: - supports-color - esbuild-sunos-64@0.14.47: - optional: true - - esbuild-windows-32@0.14.47: - optional: true - - esbuild-windows-64@0.14.47: - optional: true - - esbuild-windows-arm64@0.14.47: - optional: true - - esbuild@0.14.47: - optionalDependencies: - esbuild-android-64: 0.14.47 - esbuild-android-arm64: 0.14.47 - esbuild-darwin-64: 0.14.47 - esbuild-darwin-arm64: 0.14.47 - esbuild-freebsd-64: 0.14.47 - esbuild-freebsd-arm64: 0.14.47 - esbuild-linux-32: 0.14.47 - esbuild-linux-64: 0.14.47 - esbuild-linux-arm: 0.14.47 - esbuild-linux-arm64: 0.14.47 - esbuild-linux-mips64le: 0.14.47 - esbuild-linux-ppc64le: 0.14.47 - esbuild-linux-riscv64: 0.14.47 - esbuild-linux-s390x: 0.14.47 - esbuild-netbsd-64: 0.14.47 - esbuild-openbsd-64: 0.14.47 - esbuild-sunos-64: 0.14.47 - esbuild-windows-32: 0.14.47 - esbuild-windows-64: 0.14.47 - esbuild-windows-arm64: 0.14.47 - esbuild@0.18.20: optionalDependencies: '@esbuild/android-arm': 0.18.20 @@ -19739,8 +19039,6 @@ snapshots: dependencies: flat-cache: 3.2.0 - file-uri-to-path@1.0.0: {} - filesize@10.1.6: {} fill-range@7.1.1: @@ -19787,12 +19085,6 @@ snapshots: locate-path: 7.2.0 path-exists: 5.0.0 - fix-dts-default-cjs-exports@1.0.1: - dependencies: - magic-string: 0.30.17 - mlly: 1.7.4 - rollup: 4.44.2 - flat-cache@3.2.0: dependencies: flatted: 3.3.3 @@ -20787,11 +20079,6 @@ snapshots: json-parse-even-better-errors@2.3.1: {} - json-schema-to-ts@1.6.4: - dependencies: - '@types/json-schema': 7.0.15 - ts-toolbelt: 6.15.5 - json-schema-to-zod@2.6.1: {} json-schema-traverse@0.4.1: {} @@ -20933,12 +20220,8 @@ snapshots: lightningcss-win32-arm64-msvc: 1.30.1 lightningcss-win32-x64-msvc: 1.30.1 - lilconfig@3.1.3: {} - lines-and-columns@1.2.4: {} - load-tsconfig@0.2.5: {} - loader-runner@4.3.0: {} loader-utils@2.0.4: @@ -20989,8 +20272,6 @@ snapshots: lodash.once@4.1.1: {} - lodash.sortby@4.7.0: {} - lodash@4.17.21: {} logform@2.7.0: @@ -21062,8 +20343,6 @@ snapshots: dependencies: semver: 7.7.2 - make-error@1.3.6: {} - map-or-similar@1.5.0: {} markdown-table@3.0.4: {} @@ -21559,8 +20838,6 @@ snapshots: motion-utils@12.23.2: {} - mri@1.2.0: {} - mrmime@2.0.1: {} ms@2.0.0: {} @@ -21652,12 +20929,6 @@ snapshots: seq-queue: 0.0.5 sqlstring: 2.3.3 - mz@2.7.0: - dependencies: - any-promise: 1.3.0 - object-assign: 4.1.1 - thenify-all: 1.6.0 - named-placeholders@1.1.3: dependencies: lru-cache: 7.18.3 @@ -21721,10 +20992,6 @@ snapshots: node-domexception@1.0.0: {} - node-fetch@2.6.9: - dependencies: - whatwg-url: 5.0.0 - node-fetch@2.7.0: dependencies: whatwg-url: 5.0.0 @@ -21735,8 +21002,6 @@ snapshots: fetch-blob: 3.2.0 formdata-polyfill: 4.0.10 - node-gyp-build@4.8.4: {} - node-polyfill-webpack-plugin@2.0.1(webpack@5.99.9(esbuild@0.25.5)): dependencies: assert: 2.1.0 @@ -21777,10 +21042,6 @@ snapshots: '@types/pegjs': 0.10.6 big-integer: 1.6.52 - nopt@8.1.0: - dependencies: - abbrev: 3.0.1 - normalize-path@3.0.0: {} npm-run-path@5.3.0: @@ -22042,8 +21303,6 @@ snapshots: json-parse-even-better-errors: 2.3.1 lines-and-columns: 1.2.4 - parse-ms@2.1.0: {} - parse-passwd@1.0.0: {} parse5@7.3.0: @@ -22083,8 +21342,6 @@ snapshots: path-to-regexp@0.1.12: {} - path-to-regexp@6.1.0: {} - path-to-regexp@6.3.0: {} path-type@4.0.0: {} @@ -22141,8 +21398,6 @@ snapshots: dependencies: split2: 4.2.0 - picocolors@1.0.0: {} - picocolors@1.1.1: {} picomatch@2.3.1: {} @@ -22185,8 +21440,6 @@ snapshots: sonic-boom: 4.2.0 thread-stream: 3.1.0 - pirates@4.0.7: {} - pkg-dir@4.2.0: dependencies: find-up: 4.1.0 @@ -22223,15 +21476,6 @@ snapshots: possible-typed-array-names@1.1.0: {} - postcss-load-config@6.0.1(jiti@2.4.2)(postcss@8.5.6)(tsx@4.20.3)(yaml@2.8.0): - dependencies: - lilconfig: 3.1.3 - optionalDependencies: - jiti: 2.4.2 - postcss: 8.5.6 - tsx: 4.20.3 - yaml: 2.8.0 - postcss-loader@8.1.1(postcss@8.5.6)(typescript@5.8.3)(webpack@5.99.9(esbuild@0.25.5)): dependencies: cosmiconfig: 9.0.0(typescript@5.8.3) @@ -22347,10 +21591,6 @@ snapshots: ansi-styles: 5.2.0 react-is: 18.3.1 - pretty-ms@7.0.1: - dependencies: - parse-ms: 2.1.0 - prism-react-renderer@2.4.1(react@18.3.1): dependencies: '@types/prismjs': 1.26.5 @@ -23094,8 +22334,6 @@ snapshots: signal-exit@3.0.7: {} - signal-exit@4.0.2: {} - signal-exit@4.1.0: {} simple-git@3.28.0: @@ -23238,10 +22476,6 @@ snapshots: source-map@0.7.4: {} - source-map@0.8.0-beta.0: - dependencies: - whatwg-url: 7.1.0 - space-separated-tokens@1.1.5: {} space-separated-tokens@2.0.2: {} @@ -23468,16 +22702,6 @@ snapshots: optionalDependencies: '@babel/core': 7.28.0 - sucrase@3.35.0: - dependencies: - '@jridgewell/gen-mapping': 0.3.12 - commander: 4.1.1 - glob: 10.4.5 - lines-and-columns: 1.2.4 - mz: 2.7.0 - pirates: 4.0.7 - ts-interface-checker: 0.1.13 - superjson@2.2.2: dependencies: copy-anything: 3.0.5 @@ -23626,24 +22850,12 @@ snapshots: text-table@0.2.0: {} - thenify-all@1.6.0: - dependencies: - thenify: 3.3.1 - - thenify@3.3.1: - dependencies: - any-promise: 1.3.0 - thread-stream@3.1.0: dependencies: real-require: 0.2.0 throttleit@2.1.0: {} - time-span@4.0.0: - dependencies: - convert-hrtime: 3.0.0 - timers-browserify@2.0.12: dependencies: setimmediate: 1.0.5 @@ -23706,16 +22918,10 @@ snapshots: tr46@0.0.3: {} - tr46@1.0.1: - dependencies: - punycode: 2.3.1 - tr46@5.1.1: dependencies: punycode: 2.3.1 - tree-kill@1.2.2: {} - trim-lines@3.0.1: {} triple-beam@1.4.1: {} @@ -23732,37 +22938,10 @@ snapshots: ts-dedent@2.2.0: {} - ts-interface-checker@0.1.13: {} - - ts-morph@12.0.0: - dependencies: - '@ts-morph/common': 0.11.1 - code-block-writer: 10.1.1 - - ts-node@10.9.1(@types/node@16.18.11)(typescript@4.9.5): - dependencies: - '@cspotcode/source-map-support': 0.8.1 - '@tsconfig/node10': 1.0.11 - '@tsconfig/node12': 1.0.11 - '@tsconfig/node14': 1.0.3 - '@tsconfig/node16': 1.0.4 - '@types/node': 16.18.11 - acorn: 8.15.0 - acorn-walk: 8.3.4 - arg: 4.1.3 - create-require: 1.1.1 - diff: 4.0.2 - make-error: 1.3.6 - typescript: 4.9.5 - v8-compile-cache-lib: 3.0.1 - yn: 3.1.1 - ts-pnp@1.2.0(typescript@5.8.3): optionalDependencies: typescript: 5.8.3 - ts-toolbelt@6.15.5: {} - tsafe@1.8.5: {} tsconfck@3.1.3(typescript@5.8.3): @@ -23797,34 +22976,6 @@ snapshots: tslib@2.8.1: {} - tsup@8.5.0(jiti@2.4.2)(postcss@8.5.6)(tsx@4.20.3)(typescript@4.9.5)(yaml@2.8.0): - dependencies: - bundle-require: 5.1.0(esbuild@0.25.5) - cac: 6.7.14 - chokidar: 4.0.3 - consola: 3.4.2 - debug: 4.4.1 - esbuild: 0.25.5 - fix-dts-default-cjs-exports: 1.0.1 - joycon: 3.1.1 - picocolors: 1.1.1 - postcss-load-config: 6.0.1(jiti@2.4.2)(postcss@8.5.6)(tsx@4.20.3)(yaml@2.8.0) - resolve-from: 5.0.0 - rollup: 4.44.2 - source-map: 0.8.0-beta.0 - sucrase: 3.35.0 - tinyexec: 0.3.2 - tinyglobby: 0.2.14 - tree-kill: 1.2.2 - optionalDependencies: - postcss: 8.5.6 - typescript: 4.9.5 - transitivePeerDependencies: - - jiti - - supports-color - - tsx - - yaml - tsx@4.20.3: dependencies: esbuild: 0.25.5 @@ -23923,8 +23074,6 @@ snapshots: typescript-event-target@1.1.1: {} - typescript@4.9.5: {} - typescript@5.8.3: {} ufo@1.6.1: {} @@ -23944,10 +23093,6 @@ snapshots: undici-types@7.8.0: {} - undici@5.28.4: - dependencies: - '@fastify/busboy': 2.1.1 - unicode-canonical-property-names-ecmascript@2.0.1: {} unicode-match-property-ecmascript@2.0.0: @@ -24095,8 +23240,6 @@ snapshots: uuid@9.0.1: {} - v8-compile-cache-lib@3.0.1: {} - vary@1.1.2: {} vfile-location@5.0.3: @@ -24360,8 +23503,6 @@ snapshots: webidl-conversions@3.0.1: {} - webidl-conversions@4.0.2: {} - webidl-conversions@7.0.0: {} webpack-bundle-analyzer@4.10.1: @@ -24450,12 +23591,6 @@ snapshots: tr46: 0.0.3 webidl-conversions: 3.0.1 - whatwg-url@7.1.0: - dependencies: - lodash.sortby: 4.7.0 - tr46: 1.0.1 - webidl-conversions: 4.0.2 - which-boxed-primitive@1.1.1: dependencies: is-bigint: 1.1.0 @@ -24618,8 +23753,6 @@ snapshots: y18n: 5.0.8 yargs-parser: 21.1.1 - yn@3.1.1: {} - yocto-queue@0.1.0: {} yocto-queue@1.2.1: {} diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 7609d2774..23791e54a 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -24,4 +24,4 @@ catalog: vite: "6.3.5" "vite-tsconfig-paths": "^5.1.4" vitest: "3.2.4" - zod: "^3.0.0" + zod: "^3.25.0" From e63706e1738fa9545198e96864bfcdee1c4d5582 Mon Sep 17 00:00:00 2001 From: Nate Kelley Date: Thu, 10 Jul 2025 12:35:03 -0600 Subject: [PATCH 5/6] Use type checking --- apps/server/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/server/package.json b/apps/server/package.json index d22d059a2..e9a18c5b4 100644 --- a/apps/server/package.json +++ b/apps/server/package.json @@ -7,7 +7,7 @@ } }, "scripts": { - "prebuild": "bun run scripts/validate-env.js", + "prebuild": "bun run scripts/validate-env.js && pnpm run typecheck", "build": "bun build src/index.ts --outdir ./dist --target bun", "dev": "bun --max-old-space-size=512 run --hot src/index.ts", "lint": "biome check", From 10e741fa9386a4306012f66c2ad716ee0b30c158 Mon Sep 17 00:00:00 2001 From: Nate Kelley Date: Thu, 10 Jul 2025 12:49:46 -0600 Subject: [PATCH 6/6] Use up for server dev --- apps/server/package.json | 6 +- .../src/api/v2/security/test-fixtures.ts | 5 +- apps/server/tsup.config.ts | 35 +++ pnpm-lock.yaml | 219 ++++++++++++++++++ pnpm-workspace.yaml | 1 + 5 files changed, 262 insertions(+), 4 deletions(-) create mode 100644 apps/server/tsup.config.ts diff --git a/apps/server/package.json b/apps/server/package.json index e9a18c5b4..03c0a8fb2 100644 --- a/apps/server/package.json +++ b/apps/server/package.json @@ -8,10 +8,9 @@ }, "scripts": { "prebuild": "bun run scripts/validate-env.js && pnpm run typecheck", - "build": "bun build src/index.ts --outdir ./dist --target bun", - "dev": "bun --max-old-space-size=512 run --hot src/index.ts", + "build": "tsup", + "dev": "tsup --watch", "lint": "biome check", - "prod": "pnpm run build:vercel && pnpm run start:vercel", "start": "bun dist/index.js", "test": "vitest run", "test:coverage": "vitest --coverage", @@ -34,6 +33,7 @@ "hono-pino": "^0.9.1", "pino": "^9.7.0", "pino-pretty": "^13.0.0", + "tsup": "catalog:", "zod": "catalog:" } } diff --git a/apps/server/src/api/v2/security/test-fixtures.ts b/apps/server/src/api/v2/security/test-fixtures.ts index a0027a931..5724d9cc9 100644 --- a/apps/server/src/api/v2/security/test-fixtures.ts +++ b/apps/server/src/api/v2/security/test-fixtures.ts @@ -1,4 +1,7 @@ -import type { Organization, User } from '@buster/database'; +import type { User, organizations } from '@buster/database'; +import type { InferSelectModel } from 'drizzle-orm'; + +type Organization = InferSelectModel; export function createTestUser(overrides?: Partial): User { const id = `test-user-${Math.random().toString(36).substring(7)}`; diff --git a/apps/server/tsup.config.ts b/apps/server/tsup.config.ts new file mode 100644 index 000000000..98b18587e --- /dev/null +++ b/apps/server/tsup.config.ts @@ -0,0 +1,35 @@ +import { defineConfig } from 'tsup'; + +export default defineConfig({ + entry: ['src/index.ts'], + format: ['esm'], + target: 'node22', // Bun is compatible with recent Node.js versions + platform: 'node', + outDir: 'dist', + clean: true, + dts: false, // Disable for now due to TypeScript file list errors + sourcemap: true, + minify: false, // Don't minify for bun runtime + splitting: false, + shims: false, // Bun doesn't need shims + external: [ + // Mark all workspace packages as external to avoid bundling them + '@buster/access-controls', + '@buster/database', + '@buster/server-shared', + '@buster/slack', + '@buster/test-utils', + '@buster/typescript-config', + '@buster/vitest-config', + ], + noExternal: [ + // Bundle these specific packages if needed + ], + esbuildOptions(options) { + // Additional esbuild options for bun compatibility + options.keepNames = true; // Preserve function names for better debugging + }, + onSuccess: async () => { + console.log('Build completed successfully!'); + }, +}); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 85bf0c305..0f155025f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -36,6 +36,9 @@ catalogs: pg: specifier: ^8.16.2 version: 8.16.3 + tsup: + specifier: ^8.5.0 + version: 8.5.0 uuid: specifier: ^11.0.0 version: 11.1.0 @@ -144,6 +147,9 @@ importers: pino-pretty: specifier: ^13.0.0 version: 13.0.0 + tsup: + specifier: 'catalog:' + version: 8.5.0(jiti@2.4.2)(postcss@8.5.6)(tsx@4.20.3)(typescript@5.8.3)(yaml@2.8.0) zod: specifier: 'catalog:' version: 3.25.75 @@ -5629,6 +5635,9 @@ packages: peerDependencies: antlr4ng-cli: 1.0.7 + any-promise@1.3.0: + resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==} + anymatch@3.1.3: resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} engines: {node: '>= 8'} @@ -5930,6 +5939,12 @@ packages: resolution: {integrity: sha512-tjwM5exMg6BGRI+kNmTntNsvdZS1X8BFYS6tnJ2hdH0kVxM6/eVZ2xy+FqStSWvYmtfFMDLIxurorHwDKfDz5Q==} engines: {node: '>=18'} + bundle-require@5.1.0: + resolution: {integrity: sha512-3WrrOuZiyaaZPWiEt4G3+IffISVC9HYlWueJEBWED4ZH4aIAC2PnkdnuRrR94M+w6yGWn4AglWtJtBI8YqvgoA==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + peerDependencies: + esbuild: '>=0.18' + busboy@1.6.0: resolution: {integrity: sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==} engines: {node: '>=10.16.0'} @@ -6184,6 +6199,10 @@ packages: commander@2.20.3: resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} + commander@4.1.1: + resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==} + engines: {node: '>= 6'} + commander@7.2.0: resolution: {integrity: sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==} engines: {node: '>= 10'} @@ -6208,6 +6227,10 @@ packages: confbox@0.1.8: resolution: {integrity: sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==} + consola@3.4.2: + resolution: {integrity: sha512-5IKcdX0nnYavi6G7TtOhwkYzyjfJlatbjMjuLSfE2kYT5pMDOilZ4OvMhi637CcDICTmz3wARPoyhqyX1Y+XvA==} + engines: {node: ^14.18.0 || >=16.10.0} + console-browserify@1.2.0: resolution: {integrity: sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA==} @@ -7182,6 +7205,9 @@ packages: resolution: {integrity: sha512-v2ZsoEuVHYy8ZIlYqwPe/39Cy+cFDzp4dXPaxNvkEuouymu+2Jbz0PxpKarJHYJTmv2HWT3O382qY8l4jMWthw==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + fix-dts-default-cjs-exports@1.0.1: + resolution: {integrity: sha512-pVIECanWFC61Hzl2+oOCtoJ3F17kglZC/6N94eRWycFgBH35hHx0Li604ZIzhseh97mf2p0cv7vVrOZGoqhlEg==} + flat-cache@3.2.0: resolution: {integrity: sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==} engines: {node: ^10.12.0 || >=12.0.0} @@ -8251,9 +8277,17 @@ packages: resolution: {integrity: sha512-xi6IyHML+c9+Q3W0S4fCQJOym42pyurFiJUHEcEyHS0CeKzia4yZDEsLlqOFykxOdHpNy0NmvVO31vcSqAxJCg==} engines: {node: '>= 12.0.0'} + lilconfig@3.1.3: + resolution: {integrity: sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==} + engines: {node: '>=14'} + lines-and-columns@1.2.4: resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} + load-tsconfig@0.2.5: + resolution: {integrity: sha512-IXO6OCs9yg8tMKzfPZ1YmheJbZCiEsnBdcB03l0OcfK9prKnJb96siuHCr5Fl37/yo9DnKU+TLpxzTUspw9shg==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + loader-runner@4.3.0: resolution: {integrity: sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==} engines: {node: '>=6.11.5'} @@ -8320,6 +8354,9 @@ packages: lodash.once@4.1.1: resolution: {integrity: sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==} + lodash.sortby@4.7.0: + resolution: {integrity: sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==} + lodash@4.17.21: resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} @@ -8733,6 +8770,9 @@ packages: resolution: {integrity: sha512-7ytuPQJjQB8TNAYX/H2yhL+iQOnIBjAMam361R7UAL0lOVXWjtdrmoL9HYKqKoLp/8UUTRcvo1QPvK9KL7wA8w==} engines: {node: '>= 8.0'} + mz@2.7.0: + resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} + named-placeholders@1.1.3: resolution: {integrity: sha512-eLoBxg6wE/rZkJPhU/xRX1WTpkFEwDJEN96oxFrTsqBdbT5ec295Q+CoHrL9IT0DipqKhmGcaZmwOt8OON5x1w==} engines: {node: '>=12.0.0'} @@ -9163,6 +9203,10 @@ packages: resolution: {integrity: sha512-vnMCM6xZTb1WDmLvtG2lE/2p+t9hDEIvTWJsu6FejkE62vB7gDhvzrpFR4Cw2to+9JNQxVnkAKVPA1KPB98vWg==} hasBin: true + pirates@4.0.7: + resolution: {integrity: sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==} + engines: {node: '>= 6'} + pkg-dir@4.2.0: resolution: {integrity: sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==} engines: {node: '>=8'} @@ -9200,6 +9244,24 @@ packages: resolution: {integrity: sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg==} engines: {node: '>= 0.4'} + postcss-load-config@6.0.1: + resolution: {integrity: sha512-oPtTM4oerL+UXmx+93ytZVN82RrlY/wPUV8IeDxFrzIjXOLF1pN+EmKPLbubvKHT2HC20xXsCAH2Z+CKV6Oz/g==} + engines: {node: '>= 18'} + peerDependencies: + jiti: '>=1.21.0' + postcss: '>=8.0.9' + tsx: ^4.8.1 + yaml: ^2.4.2 + peerDependenciesMeta: + jiti: + optional: true + postcss: + optional: true + tsx: + optional: true + yaml: + optional: true + postcss-loader@8.1.1: resolution: {integrity: sha512-0IeqyAsG6tYiDRCYKQJLAmgQr47DX6N7sFSWvQxt6AcupX8DIdmykuk/o/tx0Lze3ErGHJEp5OSRxrelC6+NdQ==} engines: {node: '>= 18.12.0'} @@ -10033,6 +10095,10 @@ packages: resolution: {integrity: sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==} engines: {node: '>= 8'} + source-map@0.8.0-beta.0: + resolution: {integrity: sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA==} + engines: {node: '>= 8'} + space-separated-tokens@1.1.5: resolution: {integrity: sha512-q/JSVd1Lptzhf5bkYm4ob4iWPjx0KiRe3sRFBNrVqbJkFaBm5vbbowy1mymoPNLRa52+oadOhJ+K49wsSeSjTA==} @@ -10252,6 +10318,11 @@ packages: babel-plugin-macros: optional: true + sucrase@3.35.0: + resolution: {integrity: sha512-8EbVDiu9iN/nESwxeSxDKe0dunta1GOlHufmSSXxMD2z2/tMZpDMpvXQGsc+ajGo8y2uYUmixaSRUc/QPoQ0GA==} + engines: {node: '>=16 || 14 >=14.17'} + hasBin: true + superjson@2.2.2: resolution: {integrity: sha512-5JRxVqC8I8NuOUjzBbvVJAKNM8qoVuH0O77h4WInc/qC2q5IreqKxYwgkga3PfA22OayK2ikceb/B26dztPl+Q==} engines: {node: '>=16'} @@ -10371,6 +10442,13 @@ packages: text-table@0.2.0: resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==} + thenify-all@1.6.0: + resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==} + engines: {node: '>=0.8'} + + thenify@3.3.1: + resolution: {integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==} + thread-stream@3.1.0: resolution: {integrity: sha512-OqyPZ9u96VohAyMfJykzmivOrY2wfMSf3C5TtFJVgN+Hm6aj+voFhlK+kZEIv2FBh1X6Xp3DlnCOfEQ3B2J86A==} @@ -10455,10 +10533,17 @@ packages: tr46@0.0.3: resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} + tr46@1.0.1: + resolution: {integrity: sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA==} + tr46@5.1.1: resolution: {integrity: sha512-hdF5ZgjTqgAntKkklYw0R03MG2x/bSzTtkxmIRw/sTNV8YXsCJ1tfLAX23lhxhHJlEf3CRCOCGGWw3vI3GaSPw==} engines: {node: '>=18'} + tree-kill@1.2.2: + resolution: {integrity: sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==} + hasBin: true + trim-lines@3.0.1: resolution: {integrity: sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==} @@ -10485,6 +10570,9 @@ packages: resolution: {integrity: sha512-q5W7tVM71e2xjHZTlgfTDoPF/SmqKG5hddq9SzR49CH2hayqRKJtQ4mtRlSxKaJlR/+9rEM+mnBHf7I2/BQcpQ==} engines: {node: '>=6.10'} + ts-interface-checker@0.1.13: + resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} + ts-pnp@1.2.0: resolution: {integrity: sha512-csd+vJOb/gkzvcCHgTGSChYpy5f1/XKNsmvBGO4JXS+z1v2HobugDz4s1IeFXM3wZB44uczs+eazB5Q/ccdhQw==} engines: {node: '>=6'} @@ -10534,6 +10622,25 @@ packages: tslib@2.8.1: resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} + tsup@8.5.0: + resolution: {integrity: sha512-VmBp77lWNQq6PfuMqCHD3xWl22vEoWsKajkF8t+yMBawlUS8JzEI+vOVMeuNZIuMML8qXRizFKi9oD5glKQVcQ==} + engines: {node: '>=18'} + hasBin: true + peerDependencies: + '@microsoft/api-extractor': ^7.36.0 + '@swc/core': ^1 + postcss: ^8.4.12 + typescript: '>=4.5.0' + peerDependenciesMeta: + '@microsoft/api-extractor': + optional: true + '@swc/core': + optional: true + postcss: + optional: true + typescript: + optional: true + tsx@4.20.3: resolution: {integrity: sha512-qjbnuR9Tr+FJOMBqJCW5ehvIo/buZq7vH7qD7JziU98h6l3qGy0a/yPFjwO+y0/T7GFpNgNAvEcPPVfyT8rrPQ==} engines: {node: '>=18.0.0'} @@ -10961,6 +11068,9 @@ packages: webidl-conversions@3.0.1: resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} + webidl-conversions@4.0.2: + resolution: {integrity: sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==} + webidl-conversions@7.0.0: resolution: {integrity: sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==} engines: {node: '>=12'} @@ -11014,6 +11124,9 @@ packages: whatwg-url@5.0.0: resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} + whatwg-url@7.1.0: + resolution: {integrity: sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==} + which-boxed-primitive@1.1.1: resolution: {integrity: sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA==} engines: {node: '>= 0.4'} @@ -17283,6 +17396,8 @@ snapshots: dependencies: antlr4ng-cli: 1.0.7 + any-promise@1.3.0: {} + anymatch@3.1.3: dependencies: normalize-path: 3.0.0 @@ -17690,6 +17805,11 @@ snapshots: dependencies: run-applescript: 7.0.0 + bundle-require@5.1.0(esbuild@0.25.5): + dependencies: + esbuild: 0.25.5 + load-tsconfig: 0.2.5 + busboy@1.6.0: dependencies: streamsearch: 1.1.0 @@ -17948,6 +18068,8 @@ snapshots: commander@2.20.3: {} + commander@4.1.1: {} + commander@7.2.0: {} commander@8.3.0: {} @@ -17962,6 +18084,8 @@ snapshots: confbox@0.1.8: {} + consola@3.4.2: {} + console-browserify@1.2.0: {} console.table@0.10.0: @@ -19085,6 +19209,12 @@ snapshots: locate-path: 7.2.0 path-exists: 5.0.0 + fix-dts-default-cjs-exports@1.0.1: + dependencies: + magic-string: 0.30.17 + mlly: 1.7.4 + rollup: 4.44.2 + flat-cache@3.2.0: dependencies: flatted: 3.3.3 @@ -20220,8 +20350,12 @@ snapshots: lightningcss-win32-arm64-msvc: 1.30.1 lightningcss-win32-x64-msvc: 1.30.1 + lilconfig@3.1.3: {} + lines-and-columns@1.2.4: {} + load-tsconfig@0.2.5: {} + loader-runner@4.3.0: {} loader-utils@2.0.4: @@ -20272,6 +20406,8 @@ snapshots: lodash.once@4.1.1: {} + lodash.sortby@4.7.0: {} + lodash@4.17.21: {} logform@2.7.0: @@ -20929,6 +21065,12 @@ snapshots: seq-queue: 0.0.5 sqlstring: 2.3.3 + mz@2.7.0: + dependencies: + any-promise: 1.3.0 + object-assign: 4.1.1 + thenify-all: 1.6.0 + named-placeholders@1.1.3: dependencies: lru-cache: 7.18.3 @@ -21440,6 +21582,8 @@ snapshots: sonic-boom: 4.2.0 thread-stream: 3.1.0 + pirates@4.0.7: {} + pkg-dir@4.2.0: dependencies: find-up: 4.1.0 @@ -21476,6 +21620,15 @@ snapshots: possible-typed-array-names@1.1.0: {} + postcss-load-config@6.0.1(jiti@2.4.2)(postcss@8.5.6)(tsx@4.20.3)(yaml@2.8.0): + dependencies: + lilconfig: 3.1.3 + optionalDependencies: + jiti: 2.4.2 + postcss: 8.5.6 + tsx: 4.20.3 + yaml: 2.8.0 + postcss-loader@8.1.1(postcss@8.5.6)(typescript@5.8.3)(webpack@5.99.9(esbuild@0.25.5)): dependencies: cosmiconfig: 9.0.0(typescript@5.8.3) @@ -22476,6 +22629,10 @@ snapshots: source-map@0.7.4: {} + source-map@0.8.0-beta.0: + dependencies: + whatwg-url: 7.1.0 + space-separated-tokens@1.1.5: {} space-separated-tokens@2.0.2: {} @@ -22702,6 +22859,16 @@ snapshots: optionalDependencies: '@babel/core': 7.28.0 + sucrase@3.35.0: + dependencies: + '@jridgewell/gen-mapping': 0.3.12 + commander: 4.1.1 + glob: 10.4.5 + lines-and-columns: 1.2.4 + mz: 2.7.0 + pirates: 4.0.7 + ts-interface-checker: 0.1.13 + superjson@2.2.2: dependencies: copy-anything: 3.0.5 @@ -22850,6 +23017,14 @@ snapshots: text-table@0.2.0: {} + thenify-all@1.6.0: + dependencies: + thenify: 3.3.1 + + thenify@3.3.1: + dependencies: + any-promise: 1.3.0 + thread-stream@3.1.0: dependencies: real-require: 0.2.0 @@ -22918,10 +23093,16 @@ snapshots: tr46@0.0.3: {} + tr46@1.0.1: + dependencies: + punycode: 2.3.1 + tr46@5.1.1: dependencies: punycode: 2.3.1 + tree-kill@1.2.2: {} + trim-lines@3.0.1: {} triple-beam@1.4.1: {} @@ -22938,6 +23119,8 @@ snapshots: ts-dedent@2.2.0: {} + ts-interface-checker@0.1.13: {} + ts-pnp@1.2.0(typescript@5.8.3): optionalDependencies: typescript: 5.8.3 @@ -22976,6 +23159,34 @@ snapshots: tslib@2.8.1: {} + tsup@8.5.0(jiti@2.4.2)(postcss@8.5.6)(tsx@4.20.3)(typescript@5.8.3)(yaml@2.8.0): + dependencies: + bundle-require: 5.1.0(esbuild@0.25.5) + cac: 6.7.14 + chokidar: 4.0.3 + consola: 3.4.2 + debug: 4.4.1 + esbuild: 0.25.5 + fix-dts-default-cjs-exports: 1.0.1 + joycon: 3.1.1 + picocolors: 1.1.1 + postcss-load-config: 6.0.1(jiti@2.4.2)(postcss@8.5.6)(tsx@4.20.3)(yaml@2.8.0) + resolve-from: 5.0.0 + rollup: 4.44.2 + source-map: 0.8.0-beta.0 + sucrase: 3.35.0 + tinyexec: 0.3.2 + tinyglobby: 0.2.14 + tree-kill: 1.2.2 + optionalDependencies: + postcss: 8.5.6 + typescript: 5.8.3 + transitivePeerDependencies: + - jiti + - supports-color + - tsx + - yaml + tsx@4.20.3: dependencies: esbuild: 0.25.5 @@ -23503,6 +23714,8 @@ snapshots: webidl-conversions@3.0.1: {} + webidl-conversions@4.0.2: {} + webidl-conversions@7.0.0: {} webpack-bundle-analyzer@4.10.1: @@ -23591,6 +23804,12 @@ snapshots: tr46: 0.0.3 webidl-conversions: 3.0.1 + whatwg-url@7.1.0: + dependencies: + lodash.sortby: 4.7.0 + tr46: 1.0.1 + webidl-conversions: 4.0.2 + which-boxed-primitive@1.1.1: dependencies: is-bigint: 1.1.0 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 23791e54a..ee2f7bb8f 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -20,6 +20,7 @@ catalog: drizzle-orm: "^0.44.2" hono: "^4.8.0" pg: "^8.16.2" + tsup: "^8.5.0" uuid: "^11.0.0" vite: "6.3.5" "vite-tsconfig-paths": "^5.1.4"