Skip to content

chore: 🔧 refactor TypeScript configuration files#3

Merged
andrewdyer merged 1 commit into
mainfrom
tsconfig
Oct 8, 2025
Merged

chore: 🔧 refactor TypeScript configuration files#3
andrewdyer merged 1 commit into
mainfrom
tsconfig

Conversation

@andrewdyer
Copy link
Copy Markdown
Owner

Removed obsolete tsconfig.build.json and created separate tsconfig files for library, node, and test configurations to improve project structure and clarity.

Removed obsolete tsconfig.build.json and created separate tsconfig files for library, node, and test configurations to improve project structure and clarity.
@andrewdyer andrewdyer requested a review from Copilot October 8, 2025 23:05
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors TypeScript configuration by replacing the obsolete tsconfig.build.json with three specialized configuration files to improve project organization and clarity.

  • Removed the obsolete tsconfig.build.json configuration file
  • Created three new specialized TypeScript configurations: library, node, and test environments
  • Updated Vite configuration to reference the new TypeScript config files

Reviewed Changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
vite.config.ts Updated to use new tsconfig.lib.json and tsconfig.test.json references
tsconfig.test.json New TypeScript configuration specifically for test files with testing types
tsconfig.node.json New TypeScript configuration for Node.js environment files
tsconfig.lib.json New TypeScript configuration for library source code with React support
tsconfig.build.json Removed obsolete build configuration file

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread vite.config.ts
environment: 'jsdom',
setupFiles: ['src/setupTests.ts'],
include: ['src/**/*.{test,spec}.{ts,tsx}'],
typecheck: {
Copy link

Copilot AI Oct 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inconsistent indentation: the 'typecheck' property has 8 spaces while the 'tsconfig' property has 6 spaces. Both should use consistent indentation.

Suggested change
typecheck: {
typecheck: {

Copilot uses AI. Check for mistakes.
@andrewdyer andrewdyer merged commit 15512a2 into main Oct 8, 2025
3 checks passed
@andrewdyer andrewdyer deleted the tsconfig branch October 14, 2025 21:21
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.

2 participants