-
-
Notifications
You must be signed in to change notification settings - Fork 982
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
Resolve circular dependencies on JS side #2970
Merged
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
366ecc8
resolve circular dependencies in gestureHandlerCommon
latekvo b179bb8
move event payloads to separate file to resolve circular dependencies
latekvo b5f7b2d
resolve button props circ deps
latekvo 736ddef
resolve generic and native touchable circ deps
latekvo 188622d
fix handler registry circ dep
latekvo b65d478
fix invalid autolinter suggestion
latekvo ce2c30a
fix invalid autolinter suggestion
latekvo c2843e6
Merge branch '@latekvo/resolve-circular-dependencies' of https://gith…
latekvo 129258b
fix invalid package imports
latekvo ccd6e59
fix missed invalid import
latekvo fafec8f
resolve last hammer circ dep
latekvo 8ecf756
roll back node manager split
latekvo 2e3d271
change gestureButtonProps from tsx to ts
latekvo 58f8d3e
optimize imports for prop files
latekvo 3221b96
optimize imports for type importing
latekvo 35eee5c
optimize prop imports for type importing
latekvo 71ecccc
rename file as per suggestion
latekvo b3ed53a
rename one-function file as per suggestion
latekvo df5e728
rename and optimize file as per suggestion
latekvo 045fd66
add yarn madge workflow
latekvo 52a970b
simplify workflow
latekvo c8cc982
update function name as per request
latekvo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is enough, we don't have to overcomplicate that name. Also I think using
-
as separator is more readable than camelCase, but since we havecheckIntegrity
script we can leave that (or we can change both, cc @j-piasecki)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, i agree but preferred to follow the convention instead of having both cases in a single filename next to eachother.
Same for the name, but since you prefer the latter one, I'll change it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, I get what you mean by "same for the name" 😅 Currently we have only one script that starts with
check
so I think it is a bit different compared to-
and camelCase. Starting withcheck
prefix isn't that bad, but having many scripts starting with the same prefix would maketab
autocomplete a bit frustrating 😅This is a topic for discussion and I think that following
Reanimated
convention would be better, but let's hear @j-piasecki opinion on that.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can merge it as is, but create a follow-up that will take care of this, given that we already have a
ts-check
script (to use dashes instead of camelCase).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alright
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#2973
@j-piasecki