-
Notifications
You must be signed in to change notification settings - Fork 2
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
breaking: migrate to cjs #163
Conversation
TS is failing 💩 |
@Eomm and @mateonunez, I think there is the same problem with the CI here |
Sigh. I wasn't able to reproduce it locally. We need to fix that flaky before Do you have more information about the error, @Puppo? In that case, we can open an issue with all the needed information to reproduce it locally and provide a fix. |
@mateonunez I don't have any info yet. It seems to be stuck but randomly. I'll look it over. |
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 new typing system rocks, man! Thanks a lot.
I think we can send these improvements to v1.0
, we just need to verify why tests sometimes struggle with Node v20.
@@ -1,42 +1,47 @@ | |||
import type { FastifyPluginCallback } from 'fastify' | |||
import type { Document, Orama, ProvidedTypes, Results, SearchParams, create } from '@orama/orama' | |||
import type { TypedDocument, insert, Orama, Results, SearchParams, create, AnyOrama, PartialSchemaDeep, Schema } from '@orama/orama' |
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.
Can insert
and AnyOrama
be removed here? They are no longer used.
@mateonunez, the problem with the test is something relative to the reporter; I'm on it to understand the problem; it seems something rests ongoing and doesn't close the process. But it's random and not easy to debug. |
I think this is the issue |
I would wait a sec for a fix before switching. Tap changed license and I see everybody is migrating to node test runner. |
Any new here guys? |
I saw a new version of Node has been released, but don't know if it fixes the issue you attached. I'll read the changelog later. Meanwhile I've re-run the CI. |
Green missing approve 😄 |
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.
fixes #162
I think after this PR, we could ship the v1
WDYT @mateonunez?