Skip to content

build: consolidate tsconfig#138

Merged
techniq merged 1 commit into
techniq:mainfrom
ch-stuart:build-consolidate-tsconfig
May 13, 2025
Merged

build: consolidate tsconfig#138
techniq merged 1 commit into
techniq:mainfrom
ch-stuart:build-consolidate-tsconfig

Conversation

@ch-stuart
Copy link
Copy Markdown

I think given that the project is all ESM it seems fine to consolidate down to one tsconfig. I ran the build with this config and the previous config and diffed the files outputted to dist and they are identical. No worries if you don't want to merge after the recent churn/issues. I looked at the docs for each of the changes I made, there are no issues reported by tac and the tests still pass. These changes might potentially make the TS upgrade smoother if this project ever updates to typescript@5.

Before I discovered the issue with the script ordering I was seeing if these changes would resolve the issue with the d.ts files not being included when publishing.

I think given that the project is all ESM it seems fine to consolidate
down to one tsconfig. I ran the build with this config and the previous
config and diffed the files outputted to dist and they are identical. No
worries if you don't want to merge after the recent churn/issues. I
looked at the docs for each of the changes I made, there are no issues
reported by  and the tests still pass.
Copy link
Copy Markdown
Owner

@techniq techniq left a comment

Choose a reason for hiding this comment

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

I was already having the same thought (I'm all for simplicity) and I don't for see adding CommonJS support back (you can continue to use 7.x if needed). Thanks!

@techniq techniq merged commit b9e06b0 into techniq:main May 13, 2025
1 check 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.

2 participants