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(cli-utils): Add missing --force-ts-format option to generate-output #227

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

kitten
Copy link
Member

@kitten kitten commented Apr 17, 2024

Follow-up to #225

This adds a hidden --force-ts-format option that a hint in the terminal mentions if the output is piped to reactive the .ts format for the piped output. Otherwise the d.ts output is the default.

This also reorders when the file is generated to prevent future mistakes, like the one in #225. For instance, after that PR the piped output would default to whatever the format of tadaOutputLocation is, which is unexpected.

Copy link

changeset-bot bot commented Apr 17, 2024

🦋 Changeset detected

Latest commit: dd7f989

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

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

@kitten kitten enabled auto-merge (squash) April 17, 2024 23:37
@kitten kitten merged commit 9338d99 into main Apr 17, 2024
1 check passed
@kitten kitten deleted the fix/add-arg-for-ts-format branch April 17, 2024 23:38
@github-actions github-actions bot mentioned this pull request Apr 17, 2024
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.

None yet

1 participant