@protobase/cli 0.12.18 → 0.12.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dev/run.js +4 -1
- package/dist/package.js +1 -1
- package/dist/serve/lifecycle.js +4 -1
- package/package.json +6 -6
package/dist/dev/run.js
CHANGED
|
@@ -42,7 +42,10 @@ const appDependencies = [
|
|
|
42
42
|
"@tanstack/react-table",
|
|
43
43
|
"@tanstack/react-virtual",
|
|
44
44
|
"recharts",
|
|
45
|
-
"@sentry/browser"
|
|
45
|
+
"@sentry/browser",
|
|
46
|
+
"maplibre-gl",
|
|
47
|
+
"pmtiles",
|
|
48
|
+
"react-map-gl/maplibre"
|
|
46
49
|
];
|
|
47
50
|
const runDev = async (options, out) => {
|
|
48
51
|
loadNearestEnvFile(options.projectDir);
|
package/dist/package.js
CHANGED
package/dist/serve/lifecycle.js
CHANGED
|
@@ -38,7 +38,10 @@ const startServe = async ({ project, env, createDb = (url) => createPgDb(pg, url
|
|
|
38
38
|
...jobs && { jobs },
|
|
39
39
|
...env.drainToken && { drainToken: env.drainToken }
|
|
40
40
|
});
|
|
41
|
-
const server = createAdaptorServer({
|
|
41
|
+
const server = createAdaptorServer({
|
|
42
|
+
fetch: app.fetch,
|
|
43
|
+
overrideGlobalObjects: false
|
|
44
|
+
});
|
|
42
45
|
await listen(server, env.port).catch(async (error) => {
|
|
43
46
|
await jobs?.stop();
|
|
44
47
|
throw error;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@protobase/cli",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.20",
|
|
4
4
|
"description": "The protobase command: scaffold, doctor, dev, build and serve a Protobase project.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@hono/node-server": "^2.1.3",
|
|
36
36
|
"@hono/vite-dev-server": "^0.26.1",
|
|
37
|
-
"@protobase/layout": "0.12.
|
|
38
|
-
"@protobase/query": "0.12.
|
|
39
|
-
"@protobase/schema": "0.12.
|
|
40
|
-
"@protobase/server": "0.12.
|
|
41
|
-
"@protobase/ui": "0.12.
|
|
37
|
+
"@protobase/layout": "0.12.20",
|
|
38
|
+
"@protobase/query": "0.12.20",
|
|
39
|
+
"@protobase/schema": "0.12.20",
|
|
40
|
+
"@protobase/server": "0.12.20",
|
|
41
|
+
"@protobase/ui": "0.12.20",
|
|
42
42
|
"@scalar/hono-api-reference": "^0.12.10",
|
|
43
43
|
"@tailwindcss/vite": "^4.3.3",
|
|
44
44
|
"@vitejs/plugin-react": "^6.1.2",
|