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: improve Vue type definition appending #1671

Merged
merged 1 commit into from
Dec 31, 2023

Conversation

nozomuikuta
Copy link
Contributor

@nozomuikuta nozomuikuta commented Dec 31, 2023

This PR is created based on a conversation on Twitter.

With this PR, we do no longer need to manage from which line of <target>/src/vue.d.ts should be appended to <target>/dist/<target>.d.ts. All the content below the marker string will be automatically appended.

Diffs in vue.d.ts files are mostly generated by Prettier.
All I did to those was to add "// --- THE CONTENT BELOW THIS LINE WILL BE APPENDED TO DTS FILE IN DIST DIRECTORY --- //" as the marker string.


This PR change build process, so please review carefully.

@kazupon kazupon added Type: Refactoring A code change that neither fixes a bug nor adds a feature Type: Improvement Includes backwards-compatible fixes labels Dec 31, 2023
Copy link
Member

@kazupon kazupon left a comment

Choose a reason for hiding this comment

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

Thank you so much!
Your PR is first contribution on this year :)

LGTM!

@kazupon kazupon merged commit 78583cf into intlify:master Dec 31, 2023
18 checks passed
@nozomuikuta nozomuikuta deleted the chore/improve-types-build branch December 31, 2023 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Improvement Includes backwards-compatible fixes Type: Refactoring A code change that neither fixes a bug nor adds a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants