@jay-framework/production-server 0.21.0 → 0.22.0
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/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/{init-services-J5GZMNJT.js → init-services-rQvbbkCm.js} +8 -4
- package/dist/{serve-index-oMDgTHRv.d.ts → serve-index-lg6huJYm.d.ts} +1 -0
- package/dist/serve-index.d.ts +1 -1
- package/dist/serve-index.js +1 -1
- package/package.json +12 -12
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BuildOptions, R as RouteManifest, a as RouteEntry } from './serve-index-
|
|
2
|
-
export { A as ActionEntry, e as ArtifactStore, c as BuildMetadata, C as CacheEntry, F as FilesystemArtifactStore, I as InstanceEntry, M as MatchResult, d as PageModule, P as PluginEntry, n as PreImportedPlugin, b as RouteSegment, S as ServerElementModule, g as fetchActionRequest, f as fetchPageRequest, j as fetchStaticFile, k as initializeServices, l as initializeServicesFromModules, i as isActionRequest, m as matchRequest, r as registerActionsFromManifest, h as registerActionsFromModules } from './serve-index-
|
|
1
|
+
import { B as BuildOptions, R as RouteManifest, a as RouteEntry } from './serve-index-lg6huJYm.js';
|
|
2
|
+
export { A as ActionEntry, e as ArtifactStore, c as BuildMetadata, C as CacheEntry, F as FilesystemArtifactStore, I as InstanceEntry, M as MatchResult, d as PageModule, P as PluginEntry, n as PreImportedPlugin, b as RouteSegment, S as ServerElementModule, g as fetchActionRequest, f as fetchPageRequest, j as fetchStaticFile, k as initializeServices, l as initializeServicesFromModules, i as isActionRequest, m as matchRequest, r as registerActionsFromManifest, h as registerActionsFromModules } from './serve-index-lg6huJYm.js';
|
|
3
3
|
import '@jay-framework/ssr-runtime';
|
|
4
4
|
import '@jay-framework/compiler-shared';
|
|
5
5
|
import '@jay-framework/stack-server-runtime';
|
package/dist/index.js
CHANGED
|
@@ -6,8 +6,8 @@ import path from "node:path";
|
|
|
6
6
|
import fs from "node:fs/promises";
|
|
7
7
|
import { createRequire } from "node:module";
|
|
8
8
|
import { DevSlowlyChangingPhase, slowRenderInstances, scanPlugins, runLoadParams, parseCookies } from "@jay-framework/stack-server-runtime";
|
|
9
|
-
import { l as loadProductionPageParts, g as buildPagePartsConfig, d as initializeServices, r as registerActionsFromManifest, i as isActionRequest, a as fetchActionRequest, c as fetchStaticFile, m as matchRequest, f as fetchPageRequest, F as FilesystemArtifactStore } from "./init-services-
|
|
10
|
-
import { e, b } from "./init-services-
|
|
9
|
+
import { l as loadProductionPageParts, g as buildPagePartsConfig, d as initializeServices, r as registerActionsFromManifest, i as isActionRequest, a as fetchActionRequest, c as fetchStaticFile, m as matchRequest, f as fetchPageRequest, F as FilesystemArtifactStore } from "./init-services-rQvbbkCm.js";
|
|
10
|
+
import { e, b } from "./init-services-rQvbbkCm.js";
|
|
11
11
|
import crypto, { createHash } from "node:crypto";
|
|
12
12
|
import fs$1 from "node:fs";
|
|
13
13
|
import { jayRuntime } from "@jay-framework/vite-plugin";
|
|
@@ -75,7 +75,8 @@ async function loadProductionPageParts(route, pageModule, jayHtmlContent, projec
|
|
|
75
75
|
compDefinition: headlessCompDef,
|
|
76
76
|
clientImport: "",
|
|
77
77
|
clientPart: "",
|
|
78
|
-
contractInfo: ci
|
|
78
|
+
contractInfo: ci,
|
|
79
|
+
headlessProps: headlessImport.headlessProps
|
|
79
80
|
});
|
|
80
81
|
keyedPartModules.push({
|
|
81
82
|
key: headlessImport.key,
|
|
@@ -87,7 +88,8 @@ async function loadProductionPageParts(route, pageModule, jayHtmlContent, projec
|
|
|
87
88
|
exportName: name,
|
|
88
89
|
isLocal: isLocalModule,
|
|
89
90
|
key: headlessImport.key,
|
|
90
|
-
contractInfo: ci
|
|
91
|
+
contractInfo: ci,
|
|
92
|
+
headlessProps: headlessImport.headlessProps
|
|
91
93
|
});
|
|
92
94
|
}
|
|
93
95
|
if (!headlessImport.key && headlessImport.contract) {
|
|
@@ -152,7 +154,8 @@ function buildPagePartsConfig(pageParts, pageServerModule, pageExportName, build
|
|
|
152
154
|
exportName: info.exportName,
|
|
153
155
|
source: info.isLocal ? "local" : "npm",
|
|
154
156
|
key: info.key,
|
|
155
|
-
contractInfo: info.contractInfo
|
|
157
|
+
contractInfo: info.contractInfo,
|
|
158
|
+
headlessProps: info.headlessProps
|
|
156
159
|
});
|
|
157
160
|
}
|
|
158
161
|
}
|
|
@@ -198,7 +201,8 @@ async function loadPagePartsFromConfig(configPath, artifacts) {
|
|
|
198
201
|
key: entry.key,
|
|
199
202
|
clientImport: "",
|
|
200
203
|
clientPart: "",
|
|
201
|
-
contractInfo: entry.contractInfo
|
|
204
|
+
contractInfo: entry.contractInfo,
|
|
205
|
+
headlessProps: entry.headlessProps
|
|
202
206
|
});
|
|
203
207
|
}
|
|
204
208
|
const headlessInstanceComponents = [];
|
package/dist/serve-index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { e as ArtifactStore, C as CacheEntry, F as FilesystemArtifactStore, I as InstanceEntry, M as MatchResult, n as PreImportedPlugin, a as RouteEntry, R as RouteManifest, S as ServerElementModule, g as fetchActionRequest, f as fetchPageRequest, j as fetchStaticFile, k as initializeServices, l as initializeServicesFromModules, i as isActionRequest, m as matchRequest, r as registerActionsFromManifest, h as registerActionsFromModules } from './serve-index-
|
|
1
|
+
export { e as ArtifactStore, C as CacheEntry, F as FilesystemArtifactStore, I as InstanceEntry, M as MatchResult, n as PreImportedPlugin, a as RouteEntry, R as RouteManifest, S as ServerElementModule, g as fetchActionRequest, f as fetchPageRequest, j as fetchStaticFile, k as initializeServices, l as initializeServicesFromModules, i as isActionRequest, m as matchRequest, r as registerActionsFromManifest, h as registerActionsFromModules } from './serve-index-lg6huJYm.js';
|
|
2
2
|
import '@jay-framework/ssr-runtime';
|
|
3
3
|
import '@jay-framework/compiler-shared';
|
|
4
4
|
import '@jay-framework/stack-server-runtime';
|
package/dist/serve-index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jay-framework/production-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -30,20 +30,20 @@
|
|
|
30
30
|
"test:watch": "vitest"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@jay-framework/compiler-jay-html": "^0.
|
|
34
|
-
"@jay-framework/compiler-jay-stack": "^0.
|
|
35
|
-
"@jay-framework/compiler-shared": "^0.
|
|
36
|
-
"@jay-framework/fullstack-component": "^0.
|
|
37
|
-
"@jay-framework/logger": "^0.
|
|
38
|
-
"@jay-framework/ssr-runtime": "^0.
|
|
39
|
-
"@jay-framework/stack-route-scanner": "^0.
|
|
40
|
-
"@jay-framework/stack-server-runtime": "^0.
|
|
41
|
-
"@jay-framework/view-state-merge": "^0.
|
|
42
|
-
"@jay-framework/vite-plugin": "^0.
|
|
33
|
+
"@jay-framework/compiler-jay-html": "^0.22.0",
|
|
34
|
+
"@jay-framework/compiler-jay-stack": "^0.22.0",
|
|
35
|
+
"@jay-framework/compiler-shared": "^0.22.0",
|
|
36
|
+
"@jay-framework/fullstack-component": "^0.22.0",
|
|
37
|
+
"@jay-framework/logger": "^0.22.0",
|
|
38
|
+
"@jay-framework/ssr-runtime": "^0.22.0",
|
|
39
|
+
"@jay-framework/stack-route-scanner": "^0.22.0",
|
|
40
|
+
"@jay-framework/stack-server-runtime": "^0.22.0",
|
|
41
|
+
"@jay-framework/view-state-merge": "^0.22.0",
|
|
42
|
+
"@jay-framework/vite-plugin": "^0.22.0",
|
|
43
43
|
"vite": "^5.0.11"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@jay-framework/dev-environment": "^0.
|
|
46
|
+
"@jay-framework/dev-environment": "^0.22.0",
|
|
47
47
|
"@types/node": "^22.15.21",
|
|
48
48
|
"rimraf": "^5.0.5",
|
|
49
49
|
"tsup": "^8.0.1",
|