Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: clean up tsconfig and add types to package-bundler #4679

Merged
merged 13 commits into from
May 27, 2024

Conversation

HeartSquared
Copy link
Contributor

@HeartSquared HeartSquared commented May 15, 2024

Why

Our root tsconfig was shared with packages, often giving false errors as our packages used ESM while the root (for Storybook) used CommonJS.

What

  • Separate tsconfig for packages to be more self-contained
  • Delete root tsconfig.dist
  • Update root tsconfig to use module ESNext and moduleResolution Bundler
  • Add TS linting per package
  • Include types in dist for package-bundler

Copy link

changeset-bot bot commented May 15, 2024

🦋 Changeset detected

Latest commit: 1dac2e0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@kaizen/package-bundler Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@HeartSquared HeartSquared force-pushed the heartsquared/tsconfig-clean-up branch from 4dd7399 to 27b96cd Compare May 24, 2024 05:51
@HeartSquared HeartSquared changed the title WIP: clean up tsconfig chore: clean up tsconfig and add types to package-bundler May 24, 2024
@HeartSquared HeartSquared marked this pull request as ready for review May 24, 2024 07:34
@HeartSquared HeartSquared requested a review from a team as a code owner May 24, 2024 07:34
Copy link
Contributor

github-actions bot commented May 24, 2024

✨ Here is your branch preview! ✨

Last updated for commit 1dac2e0: fixup! fixup! fixup! chore: add ts linting

@gyfchong
Copy link
Contributor

@HeartSquared HeartSquared merged commit 12bf8bc into main May 27, 2024
17 checks passed
@HeartSquared HeartSquared deleted the heartsquared/tsconfig-clean-up branch May 27, 2024 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants