Closed ahkhanjani closed 3 months ago
I don't think there is any need for tailwind.config.ts
and its dependencies in the UI package. Can anyone please confirm this?
@juliusmarminge When do we default to /src/**/*.ts
and use generated .d.ts
files like in validators package? I don't know why sometimes we would use generated .js
files and sometimes just the .ts
files. Could you please explain?
I have enabled emitDeclarationOnly
for the validators package since we're not using .js
files but I suspect I lack the required TS knowledge to understand something here.
The declaration is mainly to speed up typescript editor performance since it's faster to scan d.ts files than inferring from .ts files.
The transpiled .js isn't really the point, especially since Next.js still transpiles on it's own. We can unify and only have emitDeclarationOnly
on all packages if you think that's less mental overhead
The transpiled .js isn't really the point, especially since Next.js still transpiles on it's own. We can unify and only have
emitDeclarationOnly
on all packages if you think that's less mental overhead
That would be awesome. Let's go with that
I think we're good to go @juliusmarminge. Please review
@juliusmarminge I did not update the React Native libraries since I didn't wanna break anything. Could you please look into that? Or should I leave them as they are?
I did not update the React Native libraries since I didn't wanna break anything
Let's do that in a separate one. React Native 0.75 was just released so I'm guessing there's gonna be a new Expo update etc soon
Tidied up config files and updated deps, node and pnpm versions.