parapheen
parapheen
TTCTheo's Typesafe Cult
Created by parapheen on 10/13/2023 in #questions
Nextjs build fails on Docker due to env amid SKIP_ENV_VALIDATION
so, the issue seems to be related to the way next "collects pages" during the build https://github.com/vercel/next.js/discussions/35534
3 replies
TTCTheo's Typesafe Cult
Created by parapheen on 8/8/2023 in #questions
Subteams design model
3 replies
TTCTheo's Typesafe Cult
Created by ~~ on 7/10/2023 in #questions
Setuping NextAuth with Go Backend
I'd consider app to app authentication. Have a jwt token saved on the nextjs env which signs the requests to the go backend. And have a verification logic on your go backend.
3 replies
TTCTheo's Typesafe Cult
Created by Mendy on 2/19/2023 in #questions
PostgreSQL: Best pgAdmin4 Alternative?
I find DBeaver a good replacement for pgAdmin. But it takes time to get used to UI
13 replies
TTCTheo's Typesafe Cult
Created by harshcut on 2/15/2023 in #questions
Compiling TailwindCSS for Monorepos
As far as I understand, you first compile your lib locally. Then your next app can catch needed components from the bundle by transpiling. And you don’t have to publish your library anywhere. I could be wrong since I’ve struggled the same issue recently trying to share ui between turborepo apps
18 replies
TTCTheo's Typesafe Cult
Created by harshcut on 2/15/2023 in #questions
Compiling TailwindCSS for Monorepos
citing the link from the template I send before This example is setup to build packages/ui and output the transpiled source and compiled styles to dist/. This was chosen to make sharing one tailwind.config.js as easy as possible, and to ensure only the CSS that is used by the current application and its dependencies is generated. Another option is to consume packages/ui directly from source without building. If using this option, you will need to update your tailwind.config.js to be aware of your package locations, so it can find all usages of the tailwindcss class names. For example, in tailwind.config.js: content: [ // app content src/**/*.{js,ts,jsx,tsx}, // include packages if not transpiling "../../packages/*/.{js,ts,jsx,tsx}", ],
18 replies
TTCTheo's Typesafe Cult
Created by harshcut on 2/15/2023 in #questions
Compiling TailwindCSS for Monorepos
another alternative is to compile your ui lib and then use compiled styles from dist/
18 replies
TTCTheo's Typesafe Cult
Created by harshcut on 2/15/2023 in #questions
Compiling TailwindCSS for Monorepos
Check out an example from turborepo github — https://github.com/vercel/turbo/tree/main/examples/with-tailwind
18 replies