-
Notifications
You must be signed in to change notification settings - Fork 0
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
Extend API for directives and attributes #49
base: main
Are you sure you want to change the base?
Conversation
This commit implements many DirectiveNode creation methods, and introduces node transform functions and custom vue-sfcmod metadata on Nodes, so that ForNodes are easier to work with. ForNodes now have a distinct element for end users to work with, regardless of whether generated or built by the compiler.
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #49 +/- ##
==========================================
+ Coverage 78.45% 81.07% +2.62%
==========================================
Files 20 22 +2
Lines 1467 1982 +515
Branches 163 229 +66
==========================================
+ Hits 1151 1607 +456
- Misses 313 371 +58
- Partials 3 4 +1 ☔ View full report in Codecov by Sentry. |
This branch extends API support for creating and search directives and attributes. As part of that work, ForNode/ForDirective was heavily normalised through compiler transforms, leading to an AST now distinct from that produced by Vue 3's SFC compiler.
Work to do: