@squadbase/vite-server 0.0.1-build-9 → 0.0.1-build-10
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/vite-plugin.d.ts +0 -1
- package/dist/vite-plugin.js +11 -3
- package/package.json +3 -3
package/dist/vite-plugin.d.ts
CHANGED
package/dist/vite-plugin.js
CHANGED
|
@@ -414,8 +414,17 @@ function squadbasePlugin(options = {}) {
|
|
|
414
414
|
const {
|
|
415
415
|
buildEntry = "@squadbase/vite-server/main",
|
|
416
416
|
devEntry = "@squadbase/vite-server",
|
|
417
|
-
|
|
418
|
-
|
|
417
|
+
external = [
|
|
418
|
+
"pg",
|
|
419
|
+
"@google-cloud/bigquery",
|
|
420
|
+
"snowflake-sdk",
|
|
421
|
+
"mysql2",
|
|
422
|
+
"@databricks/sql",
|
|
423
|
+
"@aws-sdk/client-athena",
|
|
424
|
+
"@aws-sdk/client-redshift-data",
|
|
425
|
+
"@google-analytics/data",
|
|
426
|
+
"@kintone/rest-api-client"
|
|
427
|
+
],
|
|
419
428
|
exclude = DEFAULT_EXCLUDE
|
|
420
429
|
} = options;
|
|
421
430
|
const isServerBuild = (_, { command, mode }) => command === "build" && mode !== "client";
|
|
@@ -423,7 +432,6 @@ function squadbasePlugin(options = {}) {
|
|
|
423
432
|
entry: resolveEntry(buildEntry),
|
|
424
433
|
outputDir: "./dist/server",
|
|
425
434
|
output: "index.js",
|
|
426
|
-
port,
|
|
427
435
|
external
|
|
428
436
|
});
|
|
429
437
|
const rawDevServerPlugin = devServer({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@squadbase/vite-server",
|
|
3
|
-
"version": "0.0.1-build-
|
|
3
|
+
"version": "0.0.1-build-10",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@google-cloud/bigquery": "^7.9.4",
|
|
43
43
|
"@hono/node-server": "^1.19.9",
|
|
44
44
|
"@hono/vite-build": "^1.10.0",
|
|
45
|
-
"@hono/vite-dev-server": "^0.
|
|
45
|
+
"@hono/vite-dev-server": "^0.25.0",
|
|
46
46
|
"@kintone/rest-api-client": "^5.5.0",
|
|
47
47
|
"hono": "^4.11.9",
|
|
48
48
|
"mysql2": "^3.11.0",
|
|
@@ -57,6 +57,6 @@
|
|
|
57
57
|
"tsup": "^8.4.0",
|
|
58
58
|
"tsx": "^4.19.3",
|
|
59
59
|
"typescript": "~5.7.0",
|
|
60
|
-
"vite": "^
|
|
60
|
+
"vite": "^7.0.0"
|
|
61
61
|
}
|
|
62
62
|
}
|