You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently @paima/sdk contains two different set of things:
Things that can only run in the backend (@paima/db and @paima/utils-backend)
Things that can also run in the frontend (the rest of the packages)
As well as @paima/utils that awkwardly contains both
This is not necessarily bad, since it means as a user of Paima you just need a single NPM package.
However, at the same time, it's kind of awkward that @paima/sdk contains some code that if you include in the wrong place will cause an error, and it also means this backend code still has to be compiled in a way that doesn't break frontend bundlers
Probably it's best if we separate these even if it means another NPM package people have to include. Or at least maybe split up the folders inside this repo
The text was updated successfully, but these errors were encountered:
Currently @paima/sdk contains two different set of things:
@paima/db
and@paima/utils-backend
)As well as
@paima/utils
that awkwardly contains bothThis is not necessarily bad, since it means as a user of Paima you just need a single NPM package.
However, at the same time, it's kind of awkward that @paima/sdk contains some code that if you include in the wrong place will cause an error, and it also means this backend code still has to be compiled in a way that doesn't break frontend bundlers
Probably it's best if we separate these even if it means another NPM package people have to include. Or at least maybe split up the folders inside this repo
The text was updated successfully, but these errors were encountered: