lab
Explore posts from serversDTDrizzle Team
•Created by lab on 5/20/2023 in #help
How to declare PostgreSQL extensions/plugin?
Reference: https://www.prisma.io/docs/concepts/components/prisma-schema/postgresql-extensions
Is there a way to declare postgresql plugin? Perhaps through the raw sql statement?
Thanks in advance!
1 replies
DTDrizzle Team
•Created by lab on 5/20/2023 in #help
How to consume existing supabase migration?
I have a supabase migrations and would like to reuse them as a starter for drizzle. When trying to point drizzle migration to the supabase's migration, it throws the error:
The only way I've found to migrate is to introspect the db for the initial migration and schema, which'd leave me to drop all the previous supabase migration.
Hope I'm not missing a configuration or docs section on this, thanks in advance!
2 replies
PD🧩 Plasmo Developers
•Created by lab on 4/3/2023 in #🔰newbie
Production Source Map?
How would i get sourcemaps to build in production so i can upload them to something like sentry? i'm finding that they work in dev, but when i do build / package, they are no where to be found
4 replies
PD🧩 Plasmo Developers
•Created by lab on 3/22/2023 in #👟framework
CS Config Not evaluated?
why is that? when I declare the value of matches outside of the config it ignores the config (content script is loaded on every url ...)
4 replies
PD🧩 Plasmo Developers
•Created by lab on 3/17/2023 in #👾extension
What is "injecting code into the main world"?
Can someone explain the concept of "injecting code into the main world"? Does this just mean adding new objects to the global window scope?
ref: https://discord.com/channels/946290204443025438/946290204904390690/1086103033919832064
24 replies
PD🧩 Plasmo Developers
•Created by lab on 2/1/2023 in #👾extension
AWS Amplify Auth in Extension
It's mostly understanding the authorization flow. I am trying to use a Google Social Auth flow to sign in my user but I'm not familiar with Auth sessions and tokens.
ref: https://discord.com/channels/946290204443025438/1070188420225323038/1070188993603444757
15 replies
PD🧩 Plasmo Developers
•Created by lab on 1/25/2023 in #👾extension
How to use AudioContext
Hey hopefully this is the right place to add this. My Company is moving over our chrome extension, which was built with just raw javascript, to using Plasmo.
In our ext we are using the AudioContext from the WebAudio API. I was wondering how I can get access to this in the background.ts file? It keeps showing undefined not sure if I need to import something into the file? thanks
How I'm calling it:
var context = new AudioContext();
33 replies
PD🧩 Plasmo Developers
•Created by lab on 1/6/2023 in #👟framework
Live reloading Discussion
Bug, discuss, implementation detail, how to improve Live reloading in Plasmo
46 replies
PD🧩 Plasmo Developers
•Created by lab on 12/28/2022 in #👟framework
How to access the current anchor in CSUI
Would it be possible to get current anchor inside the content component?
Like if I'm mounting to multiple anchors and the logic needs to get input from a child element of that specific element
@Jenya : https://discord.com/channels/946290204443025438/946290204904390690/1057702630404653057
8 replies
PD🧩 Plasmo Developers
•Created by lab on 12/19/2022 in #👟framework
How do I check the size of my Plasmo cache
The cache is located in
.plasmo/cache
. The size of these files are the size of your cache.7 replies
PD🧩 Plasmo Developers
•Created by lab on 12/19/2022 in #👟framework
How do I use Plasmo Canary?
What is Plasmo Canary and how do I use it?
9 replies
PD🧩 Plasmo Developers
•Created by lab on 12/13/2022 in #🔰newbie
How to use Inline Anchor
COMPLETE noob to javascript and html, and I'm trying to setup an inline anchor for the twitter checkmark. Can anyone help me understand how to do that? Documentation is leaving me dazed and confused
@nullport Moved this to here for future look-up (we will also improve the doc using these Q/A as well :p)
38 replies
PD🧩 Plasmo Developers
•Created by lab on 11/22/2022 in #👟framework
CSUI without ShadowDOM
From @tyn1998
Ref: https://discord.com/channels/946290204443025438/946290204904390690/1044536470133809182
I'm developing an extension called which injects some charts to GitHub pages. Recently I consider to refactor the project with the great framework Plasmo and I read about the article about "CSUI" which points out that Plasmo makes use of shadowDOM to inject the UI, so host page's stylesheet won't affect the CSUI we inject into the page.
However, Hypercrx does want to use the stylesheets from GitHub directly so it can looks similar to other elements on GitHub. Can shadowDOM feature be an opt in/out option or is there any other way that I can use the styles provided by the host page?
13 replies
PD🧩 Plasmo Developers
•Created by lab on 11/22/2022 in #🔰newbie
How to run and test an example
Hi guys, I'm learning Plasmo and at the moment I want to run examples in PlasmoHQ/examples. However, after cloning the project and cd into a certain example dir then run
pnpm i
I get this error.
Is it because I missed some important steps?
ref: https://discord.com/channels/946290204443025438/946290204904390690/10445338966682583279 replies
PD🧩 Plasmo Developers
•Created by lab on 11/22/2022 in #👟framework
Asset was skipped or not found
From @holden
Ref:
https://discord.com/channels/946290204443025438/946290204904390690/1044409148718203001
98 replies
PD🧩 Plasmo Developers
•Created by lab on 11/22/2022 in #👟framework
How to run plasmo build --target=firefox-mv2
3 replies
PD🧩 Plasmo Developers
•Created by lab on 11/10/2022 in #👟framework
How to use css module
14 replies