@guren/server 0.1.1-alpha.5 → 0.2.0-alpha.6
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/{chunk-GDCUIM6V.js → chunk-FK2XQSBF.js} +50 -11
- package/dist/index.d.ts +205 -28
- package/dist/index.js +2613 -187
- package/dist/vite/index.d.ts +5 -1
- package/dist/vite/index.js +1 -1
- package/package.json +8 -2
package/dist/vite/index.d.ts
CHANGED
|
@@ -9,8 +9,12 @@ interface GurenVitePluginOptions {
|
|
|
9
9
|
resourcesDir?: string;
|
|
10
10
|
/** Path to the primary frontend entry file (defaults to `resources/js/app.tsx`). */
|
|
11
11
|
entry?: string;
|
|
12
|
+
/** Path to the SSR entry file (defaults to `resources/js/ssr.tsx`). */
|
|
13
|
+
ssrEntry?: string;
|
|
12
14
|
/** Output directory for compiled assets (defaults to `public/assets`). */
|
|
13
15
|
outDir?: string;
|
|
16
|
+
/** Output directory for SSR bundles (defaults to `.guren/ssr`). */
|
|
17
|
+
ssrOutDir?: string;
|
|
14
18
|
/** Default dev server port (defaults to 5173). */
|
|
15
19
|
devPort?: number;
|
|
16
20
|
/** Default preview server port (defaults to 4173). */
|
|
@@ -25,7 +29,7 @@ interface GurenVitePluginOptions {
|
|
|
25
29
|
declare function gurenVitePlugin(options?: GurenVitePluginOptions): {
|
|
26
30
|
name: string;
|
|
27
31
|
enforce: "pre";
|
|
28
|
-
config(config: Record<string, any>,
|
|
32
|
+
config(config: Record<string, any>, env: Record<string, any>): void;
|
|
29
33
|
};
|
|
30
34
|
|
|
31
35
|
export { type GurenVitePluginOptions, gurenVitePlugin as default, gurenVitePlugin };
|
package/dist/vite/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@guren/server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0-alpha.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -37,9 +37,15 @@
|
|
|
37
37
|
"test": "bun test"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@guren/inertia-client": "^0.
|
|
40
|
+
"@guren/inertia-client": "^0.2.0-alpha.6",
|
|
41
|
+
"chalk": "^5.3.0",
|
|
42
|
+
"consola": "^3.4.2",
|
|
43
|
+
"figlet": "^1.7.0",
|
|
41
44
|
"hono": "^4.4.0"
|
|
42
45
|
},
|
|
46
|
+
"peerDependencies": {
|
|
47
|
+
"vite": ">=7.0.0"
|
|
48
|
+
},
|
|
43
49
|
"devDependencies": {
|
|
44
50
|
"@types/node": "^20.14.10",
|
|
45
51
|
"vite": "^7.0.0",
|