internal: (studio) enable studio to access the protocol database with a new connection (#31502)

* internal: (studio) improvements to how studio can access the protocol database

* fix

* fix build

* refactor due to downstream changes

* Update packages/app/src/studio/studio-app-types.ts

* Update packages/server/lib/cloud/studio.ts
This commit is contained in:
Ryan Manuel
2025-04-17 20:32:29 -05:00
committed by GitHub
parent 480d7d9cf7
commit ac3bb18dbc
11 changed files with 143 additions and 59 deletions

View File

@@ -59,6 +59,8 @@ const getDependencyPathsToKeep = async (buildAppDir) => {
'node_modules/string-width/index.js',
'node_modules/proxy-from-env/index.js',
// end needed deps for geckodriver
// better-sqlite3 is needed to be loaded in dynamically in studio
'node_modules/better-sqlite3/lib/index.js',
]
let entryPoints = new Set([