Skip to content

chore: uniform dependencies across workspace#1713

Merged
premsgr merged 2 commits into
mainfrom
chore/uniform-dependencies
Apr 22, 2026
Merged

chore: uniform dependencies across workspace#1713
premsgr merged 2 commits into
mainfrom
chore/uniform-dependencies

Conversation

@premsgr

@premsgr premsgr commented Apr 22, 2026

Copy link
Copy Markdown
Contributor

Summary

This change aligns dependency versions and build metadata across the monorepo so packages and the demo app resolve the same toolchain, and refreshes pnpm-lock.yaml accordingly.

Dependency alignment

  • Vite stack: vite 7.3.1, @vitejs/plugin-react 5.1.4 across library packages, config, and demo.
  • Node types: @types/node 25.3.1 everywhere it is used.
  • jsdom: 27.0.1 (replacing mixed 25.x / 26.x) for consistent Vitest/jsdom behavior.
  • Zod: 3.24.2 in demo, form, and user packages.
  • validator: 13.15.26 (form).
  • Root devDependencies: @commitlint/cli and @commitlint/config-conventional 19.7.1, turbo 2.4.4 (aligned with the version exercised after install).

Package metadata and TypeScript

  • exports: add explicit "types" entries pointing at ./dist/src/index.d.ts for config, form, i18n, layout, ui, and user so consumers resolve declarations consistently with ESM/CJS entries.
  • tsconfig.json: set "moduleResolution": "bundler" in package tsconfigs that were updated (config, form, i18n, layout, ui, user) for consistent resolution with the Vite-based setup.

Demo app

  • Move @prefabs.tech/tsconfig from dependencies to devDependencies (build-time only).

Scripts / CI ergonomics

  • test:unit: append --passWithNoTests where unit suites may be empty (form, i18n, layout, user) so turbo run test does not fail on empty unit/ folders.

Verification

Pre-commit hooks ran lint, typecheck, and test successfully on this branch.

premsgr added 2 commits April 22, 2026 10:48
Align shared dev tooling versions, package export metadata, and TS config
across apps and packages; refresh lockfile.
@premsgr premsgr requested a review from uddhab April 22, 2026 05:30
@premsgr premsgr merged commit 8f1274f into main Apr 22, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant