Open
Conversation
Collaborator
Author
- Upgraded various dependencies in package.json files, including TypeScript, ESLint, Prettier, and several NestJS packages. - Replaced the old ESLint configuration files with new ones using the modern ES module format. - Removed outdated ESLint configuration files from apps/api and apps/web. - Added new tsconfig.eslint.json files for better TypeScript integration with ESLint. - Updated lock files to reflect the changes in dependencies. - Enhanced linting commands for improved code quality checks.
- Added peer dependency rules for eslint-plugin-react-hooks in package.json. - Updated @types/react and @types/react-dom versions to 19.2.14 and 19.2.3 respectively. - Adjusted globals version to 15.15.0 across multiple package.json files. - Introduced parser options in ESLint configuration for better TypeScript support. - Refactored useRef initialization in useVersionCheck.ts for improved type safety. - Enhanced KeyAnalytics component with better formatting and tooltip handling for charts. - Updated devDependencies in multiple packages to ensure compatibility with the latest TypeScript and Node types.
- Upgraded lucide-react to version 1.0.1 in apps/web. - Updated @vitejs/plugin-react to version 6.0.1 in apps/web. - Bumped typescript-eslint to version 8.57.2 in apps/web, apps/api, and packages/cli. - Updated class-validator to version 0.15.1 in proprietary/entitlement and apps/api. - Upgraded @fastify/static to version 9.0.0 in apps/api. - Updated @types/supertest to version 7.2.0 in apps/api. - Upgraded commander to version 14.0.3 in packages/cli. - Updated esbuild to version 0.27.4 in packages/cli. - Added new peer dependency rule for @nestjs/mapped-types in the root package.json.
- Updated `globals` version to 17.4.0 in apps/api and apps/web. - Added `@tailwindcss/vite` dependency in apps/web. - Removed outdated PostCSS and Tailwind configuration files from apps/web. - Integrated Tailwind CSS into the Vite configuration for apps/web. - Updated ESLint configuration to use `vitest` instead of `jest` for testing in proprietary/entitlement. - Refactored tests to utilize `vitest` and updated related imports. - Added new integration tests for entitlement functionality. - Updated Prisma client and related configurations for better compatibility.
The entitlement package migrated from Jest to Vitest, but the API's Jest config includes `../../proprietary` in its roots, causing it to pick up Vitest-based specs that can't run under Jest/CJS. Made-with: Cursor
Runs Vitest for entitlement specs (excluding integration tests that require a running Postgres) alongside the existing API Jest suite. Made-with: Cursor
Adds vitest ^4.1.1 as devDependency and "test": "vitest run" script. The 2 existing test files already import from vitest — this just makes them runnable via pnpm test. Made-with: Cursor
c4bd62b to
a70ddc8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Closes #57
Summary
Phased dependency upgrade across the monorepo, targeting all actionable outdated packages while deferring items blocked on upstream ecosystem support.
P0 — Low-risk bumps
P1 — API
@fastify/static8 → 9,class-validator0.14 → 0.15,@types/supertest6 → 7typescript-eslintpatch, ESLint migrated to flat config (eslint.config.mjs)P2 — CLI
commander12 → 14,esbuild0.25 → 0.27P3 — Entitlement (breaking upgrades)
@prisma/adapter-pg),prisma.config.ts, removedurlfrom schema, updated all import paths to generated clientapiVersionfrom constructor,current_period_start/endmoved tosubscription.items.data[0]ts-jest/@types/jest, native ESM/TS supportreflect-metadata0.1 → 0.2,@types/node20 → 22"type": "module", updatedtsconfig.json(module: ESNext, moduleResolution: bundler)scripts/run-integration-tests.sh(Docker checks, schema push, test runner)P4 — Web
@vitejs/plugin-react4 → 6,lucide-react0.x → 1.xuseRefexplicit init, RechartsTooltipformatter arity)P5 — Tailwind + ESLint
@import "tailwindcss",@themedirectives),@tailwindcss/viteplugin, removedpostcss.config.js+tailwind.config.jsglobals15 → 17,eslint-plugin-react-hooksflat config fixDeferred (blocked on upstream)
@lancedb/lancedb0.23 → 0.27apache-arrowpeer conflict (needs ≤18.1.0, have 21.x)@inquirer/prompts7 → 8typescript5.9 → 6.0typescript-eslint+ts-jest(api) lack TS 6 support@types/node22 → 25Verification
pnpm build— all packages/apps build clean (Turbo)tsc --noEmit— no type errors in api, web, entitlement, clipnpm --filter @betterdb/semantic-cache test— passespnpm --filter @app/entitlement test— 18 tests pass (12 unit + 6 integration)Made with Cursor