Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: introducedumpComponentsInfo option#830

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@ilyaliao
Copy link
Collaborator

@ilyaliaoilyaliao commentedFeb 24, 2025
edited
Loading

Description

This PR will add adumpUnimportComponents option to export information about all components.

I recently created aneslint-plugin-unimport-components tool to automatically complete imports, inspired byeslint-plugin-unimport. I hope to collaborate withunplugin-vue-components to obtain information about all components, allowing ESLint to automatically import components.

(Automatically Generated Components JSON File)
截圖 2025-02-25 凌晨2 01 29

(Eslint Error Message)
截圖 2025-02-25 凌晨2 04 46

@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz CodeflowRun & review this pull request inStackBlitz Codeflow.

@antfu
Copy link
Member

Why this is calledunimport? it seems to be unrelated to unimport

@ilyaliao
Copy link
CollaboratorAuthor

ilyaliao commentedMar 26, 2025
edited
Loading

Why this is calledunimport? it seems to be unrelated to unimport

Sorry, I referenced the namedumpUnimportItems fromunplugin-auto-import. Do you want me to change it?

https://github.com/unplugin/unplugin-auto-import/blob/c5a84dcf0f11a91d327fcd3dabfa85569ef203da/src/types.ts#L234

@ilyaliaoilyaliaoforce-pushed thefeat/introduce-dump-unimport-components branch fromb7a55a1 toac5be69CompareMarch 27, 2025 02:12
@antfu
Copy link
Member

The should bedumpComponentsInfo ordumpComponentsMeta, as this is not related to unimport

@ilyaliao
Copy link
CollaboratorAuthor

ilyaliao commentedApr 13, 2025
edited
Loading

The should bedumpComponentsInfo ordumpComponentsMeta, as this is not related to unimport

Sure, I will change it.

@ilyaliaoilyaliao changed the titlefeat: introducedumpUnimportComponents optionfeat: introducedumpComponentsInfo optionApr 13, 2025
@antfuantfuenabled auto-merge (squash)April 14, 2025 05:42
@antfuantfu merged commit1f1eb86 intounplugin:mainApr 14, 2025
6 checks passed
@ilyaliaoilyaliao deleted the feat/introduce-dump-unimport-components branchApril 21, 2025 15:56
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@antfuantfuantfu approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@ilyaliao@antfu

[8]ページ先頭

©2009-2025 Movatter.jp