-
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
feat: change script to support more than 1 git repository gf-589 #590
feat: change script to support more than 1 git repository gf-589 #590
Conversation
845146e
to
a5a77a2
Compare
8e80d83
to
5ec5526
Compare
5ec5526
to
c66eb9b
Compare
c6567b6
to
aff30fd
Compare
@@ -116,4 +122,50 @@ class AnalyticsService { | |||
} | |||
} | |||
|
|||
function mergeStats( |
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.
We keep all helpers separately in a separate folder in libs/helpers, for example
/scripts/analytics/src/modules/analytics/libs/helpers/merge-stats/merge-stats.helper.ts
/scripts/analytics/src/modules/analytics/libs/helpers/merge-by-criteria/merge-by-criteria.helper.ts
And then they should be re-exported from /scripts/analytics/src/modules/analytics/libs/helpers/helper.ts
Take a look at this structure here /apps/backend/src/libs/plugins/authorization/
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.
Also, we use arrow functions instead of function declaration, except for migrations because it's generated by default
c6dacc7
to
2e5d7d6
Compare
…589) - moved helpers into src/libs/helpers - changed functions to arrow functions
2e5d7d6
to
2649618
Compare
No description provided.