royanger
royanger
PD🧩 Plasmo Developers
Created by royanger on 8/14/2024 in #👟framework
Default port and `--serve-port`
Here is the output of npx envinfo --system --browsers --binaries --npmPackages
System:
OS: macOS 14.5
CPU: (12) arm64 Apple M2 Pro
Memory: 123.11 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.15.1 - ~/.nvm/versions/node/v20.15.1/bin/node
Yarn: 1.22.22 - /opt/homebrew/bin/yarn
npm: 10.7.0 - ~/.nvm/versions/node/v20.15.1/bin/npm
pnpm: 9.6.0 - ~/Library/pnpm/pnpm
bun: 1.0.4 - ~/.bun/bin/bun
Watchman: 2024.07.15.00 - /opt/homebrew/bin/watchman
Browsers:
Brave Browser: 127.1.68.137
Chrome: 127.0.6533.119
Safari: 17.5
npmPackages:
@clerk/chrome-extension: 1.2.0 => 1.2.0
@ianvs/prettier-plugin-sort-imports: 4.1.1 => 4.1.1
@types/chrome: 0.0.258 => 0.0.258
@types/node: 20.11.5 => 20.11.5
@types/react: 18.2.48 => 18.2.48
@types/react-dom: 18.2.18 => 18.2.18
plasmo: 0.88.0 => 0.88.0
postcss: 8.4.33 => 8.4.33
prettier: 3.2.4 => 3.2.4
react: 18.2.0 => 18.2.0
react-dom: 18.2.0 => 18.2.0
tailwindcss: 3.4.1 => 3.4.1
typescript: 5.3.3 => 5.3.3
System:
OS: macOS 14.5
CPU: (12) arm64 Apple M2 Pro
Memory: 123.11 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.15.1 - ~/.nvm/versions/node/v20.15.1/bin/node
Yarn: 1.22.22 - /opt/homebrew/bin/yarn
npm: 10.7.0 - ~/.nvm/versions/node/v20.15.1/bin/npm
pnpm: 9.6.0 - ~/Library/pnpm/pnpm
bun: 1.0.4 - ~/.bun/bin/bun
Watchman: 2024.07.15.00 - /opt/homebrew/bin/watchman
Browsers:
Brave Browser: 127.1.68.137
Chrome: 127.0.6533.119
Safari: 17.5
npmPackages:
@clerk/chrome-extension: 1.2.0 => 1.2.0
@ianvs/prettier-plugin-sort-imports: 4.1.1 => 4.1.1
@types/chrome: 0.0.258 => 0.0.258
@types/node: 20.11.5 => 20.11.5
@types/react: 18.2.48 => 18.2.48
@types/react-dom: 18.2.18 => 18.2.18
plasmo: 0.88.0 => 0.88.0
postcss: 8.4.33 => 8.4.33
prettier: 3.2.4 => 3.2.4
react: 18.2.0 => 18.2.0
react-dom: 18.2.0 => 18.2.0
tailwindcss: 3.4.1 => 3.4.1
typescript: 5.3.3 => 5.3.3
3 replies
TTCTheo's Typesafe Cult
Created by Pavstermeister on 11/5/2023 in #questions
Configuring Clerk on the latest release of t3 with tRPC
T3 has or is about to release a fix for this.
123 replies
TTCTheo's Typesafe Cult
Created by Pavstermeister on 11/5/2023 in #questions
Configuring Clerk on the latest release of t3 with tRPC
Yes, please add this to your iframe thread so I can help you.
123 replies
TTCTheo's Typesafe Cult
Created by Pavstermeister on 11/5/2023 in #questions
Configuring Clerk on the latest release of t3 with tRPC
You can solve "2) clerk related headers conveying different message:" by making the trpc route public. And since usually auth checks are done trpc side this isn't an issue. Add something like publicRoutes: ["/api/<your trpc route>"] or publicRoutes: ["/api(.*)"] to your middleware.ts. The latter makes all api routes public. However after that step the cookie from Clerk still isn't normally in the header. What Theo mentioned might solve that -- need to look into that.
123 replies
TTCTheo's Typesafe Cult
Created by Pavstermeister on 11/5/2023 in #questions
Configuring Clerk on the latest release of t3 with tRPC
And unfortunately most of the conversation with shikishikichangchang on the Clerk discord was more general stuff or talk about App Router. Its not really relevant here.
123 replies
TTCTheo's Typesafe Cult
Created by Pavstermeister on 11/5/2023 in #questions
Configuring Clerk on the latest release of t3 with tRPC
Does anyone happen to have a relatively basic repo trying Theo's suggestion they can share with me to look into this?
123 replies
TTCTheo's Typesafe Cult
Created by Pavstermeister on 11/5/2023 in #questions
Configuring Clerk on the latest release of t3 with tRPC
I was just made aware of this thead. The suggestion Theo made on stream seems like the correct path here. I suspect that once that's implemented the req.header might include the cookie information that clerk is expecting. What's the issue with Edge/Lambda @Spark?
123 replies
TTCTheo's Typesafe Cult
Created by Thimo_o on 3/18/2023 in #questions
Tailwind vscode extension not working
That plugin has worked fine for me without issue. Maybe someone else can provide some insight. Best of luck.
6 replies