-
Notifications
You must be signed in to change notification settings - Fork 3
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: fix ipfs-companion import error #60
Conversation
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.
the web analytics sdk looks like cjs, which may not be importable by node as such, if this works it works, but this should be reported to countly, maybe they wanna ship an ESM too.
CI on companion was flaky, re-run fixed it.
|
||
constructor ({ autoTrack = true, url = COUNTLY_API_URL, appKey }: MetricsProviderConstructorOptions) { | ||
constructor ({ autoTrack = true, url = COUNTLY_API_URL, appKey, metricsService }: MetricsProviderConstructorOptions<T>) { |
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.
opt: long lines can be split
constructor ({ autoTrack = true, url = COUNTLY_API_URL, appKey, metricsService }: MetricsProviderConstructorOptions<T>) { | |
constructor ({ | |
autoTrack = true, | |
url = COUNTLY_API_URL, | |
appKey, | |
metricsService | |
}: MetricsProviderConstructorOptions<T>) { |
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.
Usually the lint will fix this when it needs breaking out. We shouldn't need to worry about style things like this since our build does it (should do it?) for us.
And if we want it to be broken up earlier, we should update rules so that it happens automatically.
🎉 This PR is included in version 1.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
* main: chore(release): 1.1.0 [skip ci] feat: export for browser and node chore: fix ipfs-companion import error (#60)
This fixes the error at https://github.com/ipfs/ipfs-companion/actions/runs/3915854281/jobs/6694404888. it's required to get CI passing at ipfs/ipfs-companion#1117