Skip to content

chore: fix workspace config resolution and setup shared vitest#85

Merged
ladparth merged 1 commit intomainfrom
chore/workspace-config-fixes
Mar 19, 2026
Merged

chore: fix workspace config resolution and setup shared vitest#85
ladparth merged 1 commit intomainfrom
chore/workspace-config-fixes

Conversation

@ladparth
Copy link
Copy Markdown
Contributor

Key Changes

  • Fixed @repo/typescript-config resolution: Added an exports map to the package.json so tools like tsup and modern Node resolution can properly find the shared .json configuration files.
  • Resolved @repo/eslint-config type errors: Created .d.ts declaration files for the internal ESLint configs (base, next, react-internal) and updated the package.json exports to map the types, fixing the implicit any warnings in TypeScript.
  • Set up shared Vitest workspace:
    • Extracted the base testing configuration to a root vitest.shared.ts file.
    • Added a vitest.workspace.ts to automatically discover and run tests across all apps/* and packages/*.
    • Updated packages/form-core/vitest.config.ts to inherit from the shared root configuration.
  • Wired up Turbo testing tasks: Added a test task to turbo.json (depending on ^build to prevent cache misses) and added convenient test and test:watch scripts to the root package.json.

@ladparth ladparth self-assigned this Mar 19, 2026
@ladparth ladparth added the enhancement New feature or request label Mar 19, 2026
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 19, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
buzzform Ready Ready Preview, Comment Mar 19, 2026 8:49pm

@ladparth ladparth merged commit b71e73b into main Mar 19, 2026
3 checks passed
@ladparth ladparth deleted the chore/workspace-config-fixes branch March 19, 2026 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant