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

Fix ts-node examples and introduce improved typescript eslint rules #619

Merged
merged 3 commits into from
Oct 23, 2024

Conversation

chmanie
Copy link
Member

@chmanie chmanie commented Oct 23, 2024

Description

ts-node seems to be completely broken for esm packages, so I opted to use tsx instead.

This change required some adjustments to the type imports, specifically mentioning type exports or imports explicitly. For that I added an eslint rule that is also able to fix it automatically.

Copy link

changeset-bot bot commented Oct 23, 2024

🦋 Changeset detected

Latest commit: b06828e

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

This PR includes changesets to release 5 packages
Name Type
@colony/colony-js Patch
@colony/events Patch
@colony/tokens Patch
@colony/core Patch
@colony/sdk 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

@chmanie chmanie merged commit c84bb1d into main Oct 23, 2024
4 checks passed
@chmanie chmanie deleted the fix/eslint-tsx branch October 23, 2024 12:23
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