one 1.1.312 → 1.1.314
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/cleanUrl.cjs +1 -1
- package/dist/cjs/cleanUrl.cjs.map +1 -1
- package/dist/cjs/cleanUrl.native.js +1 -1
- package/dist/cjs/cleanUrl.native.js.map +2 -2
- package/dist/cjs/constants.cjs +2 -0
- package/dist/cjs/constants.cjs.map +1 -1
- package/dist/cjs/constants.native.js +3 -1
- package/dist/cjs/constants.native.js.map +2 -2
- package/dist/cjs/createHandleRequest.cjs +1 -1
- package/dist/cjs/createHandleRequest.cjs.map +1 -1
- package/dist/cjs/createHandleRequest.native.js +1 -1
- package/dist/cjs/createHandleRequest.native.js.map +2 -2
- package/dist/cjs/serve.cjs +41 -23
- package/dist/cjs/serve.cjs.map +2 -2
- package/dist/cjs/serve.native.js +22 -19
- package/dist/cjs/serve.native.js.map +2 -2
- package/dist/cjs/vite/build.cjs +6 -2
- package/dist/cjs/vite/build.cjs.map +1 -1
- package/dist/cjs/vite/build.native.js +5 -2
- package/dist/cjs/vite/build.native.js.map +2 -2
- package/dist/esm/cleanUrl.js +2 -2
- package/dist/esm/cleanUrl.js.map +1 -1
- package/dist/esm/cleanUrl.mjs +2 -2
- package/dist/esm/cleanUrl.mjs.map +1 -1
- package/dist/esm/cleanUrl.native.js +2 -2
- package/dist/esm/cleanUrl.native.js.map +2 -2
- package/dist/esm/constants.js +2 -1
- package/dist/esm/constants.js.map +1 -1
- package/dist/esm/constants.mjs +2 -1
- package/dist/esm/constants.mjs.map +1 -1
- package/dist/esm/constants.native.js +2 -1
- package/dist/esm/constants.native.js.map +2 -2
- package/dist/esm/createHandleRequest.js +1 -1
- package/dist/esm/createHandleRequest.js.map +1 -1
- package/dist/esm/createHandleRequest.mjs +1 -1
- package/dist/esm/createHandleRequest.mjs.map +1 -1
- package/dist/esm/createHandleRequest.native.js +1 -1
- package/dist/esm/createHandleRequest.native.js.map +2 -2
- package/dist/esm/serve.js +14 -14
- package/dist/esm/serve.js.map +1 -1
- package/dist/esm/serve.mjs +33 -15
- package/dist/esm/serve.mjs.map +1 -1
- package/dist/esm/serve.native.js +15 -19
- package/dist/esm/serve.native.js.map +2 -2
- package/dist/esm/vite/build.js +3 -1
- package/dist/esm/vite/build.js.map +1 -1
- package/dist/esm/vite/build.mjs +5 -1
- package/dist/esm/vite/build.mjs.map +1 -1
- package/dist/esm/vite/build.native.js +5 -1
- package/dist/esm/vite/build.native.js.map +2 -2
- package/package.json +7 -7
- package/src/cleanUrl.ts +2 -2
- package/src/constants.ts +1 -0
- package/src/createHandleRequest.ts +3 -1
- package/src/serve.ts +37 -15
- package/src/vite/build.ts +2 -0
- package/src/vite/types.ts +5 -1
- package/types/cleanUrl.d.ts.map +1 -1
- package/types/constants.d.ts +1 -0
- package/types/constants.d.ts.map +1 -1
- package/types/createHandleRequest.d.ts.map +1 -1
- package/types/serve.d.ts.map +1 -1
- package/types/vite/build.d.ts.map +1 -1
- package/types/vite/types.d.ts +5 -1
- package/types/vite/types.d.ts.map +1 -1
package/dist/esm/serve.native.js
CHANGED
@@ -1,19 +1,14 @@
|
|
1
1
|
import "./polyfills-server";
|
2
2
|
import FSExtra from "fs-extra";
|
3
|
-
import
|
3
|
+
import { join } from "node:path";
|
4
4
|
import { getServerEntry, loadEnv, serve as vxrnServe } from "vxrn";
|
5
|
-
import { labelProcess } from "./cli/label-process";
|
6
|
-
import { createHandleRequest } from "./createHandleRequest";
|
7
|
-
import { isResponse } from "./utils/isResponse";
|
8
|
-
import { isStatusRedirect } from "./utils/isStatus";
|
9
|
-
import { removeUndefined } from "./utils/removeUndefined";
|
10
|
-
import { loadUserOneOptions } from "./vite/one";
|
11
|
-
import { resolveAPIRequest } from "./vite/resolveAPIRequest";
|
12
5
|
process.on("uncaughtException", function(err) {
|
13
6
|
console.error("[one] Uncaught exception", err?.stack || err);
|
14
7
|
});
|
15
8
|
async function serve() {
|
16
|
-
var args = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
9
|
+
var args = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, buildInfo = await FSExtra.readJSON("dist/buildInfo.json");
|
10
|
+
process.env.ONE_CACHE_KEY = buildInfo.constants.CACHE_KEY;
|
11
|
+
var { labelProcess } = await import("./cli/label-process"), { removeUndefined } = await import("./utils/removeUndefined"), { loadUserOneOptions } = await import("./vite/one");
|
17
12
|
labelProcess("serve"), loadEnv("production");
|
18
13
|
var oneOptions = await loadUserOneOptions("serve");
|
19
14
|
return process.env.VXRN_REACT_19 = "1", await vxrnServe({
|
@@ -30,15 +25,13 @@ async function serve() {
|
|
30
25
|
}),
|
31
26
|
async beforeStart(options, app) {
|
32
27
|
var _oneOptions_server_beforeStart, _oneOptions_server;
|
33
|
-
await ((_oneOptions_server = oneOptions.server) === null || _oneOptions_server === void 0 || (_oneOptions_server_beforeStart = _oneOptions_server.beforeStart) === null || _oneOptions_server_beforeStart === void 0 ? void 0 : _oneOptions_server_beforeStart.call(_oneOptions_server, options, app)), await oneServe(oneOptions, options, app);
|
28
|
+
await ((_oneOptions_server = oneOptions.server) === null || _oneOptions_server === void 0 || (_oneOptions_server_beforeStart = _oneOptions_server.beforeStart) === null || _oneOptions_server_beforeStart === void 0 ? void 0 : _oneOptions_server_beforeStart.call(_oneOptions_server, options, app)), await oneServe(oneOptions, options, buildInfo, app);
|
34
29
|
}
|
35
30
|
}
|
36
31
|
});
|
37
32
|
}
|
38
|
-
async function oneServe(options, vxrnOptions, app) {
|
39
|
-
var _options_web, _options_build_api, _options_build,
|
40
|
-
return Path.resolve(root, p);
|
41
|
-
}, redirects = (_options_web = options.web) === null || _options_web === void 0 ? void 0 : _options_web.redirects;
|
33
|
+
async function oneServe(options, vxrnOptions, buildInfo, app) {
|
34
|
+
var _options_web, _options_build_api, _options_build, { createHandleRequest } = await import("./createHandleRequest"), { isResponse } = await import("./utils/isResponse"), { isStatusRedirect } = await import("./utils/isStatus"), { resolveAPIRequest } = await import("./vite/resolveAPIRequest"), isAPIRequest = /* @__PURE__ */ new WeakMap(), root = vxrnOptions.root || ".", redirects = (_options_web = options.web) === null || _options_web === void 0 ? void 0 : _options_web.redirects;
|
42
35
|
if (redirects) {
|
43
36
|
var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
|
44
37
|
try {
|
@@ -63,7 +56,6 @@ async function oneServe(options, vxrnOptions, app) {
|
|
63
56
|
}
|
64
57
|
}
|
65
58
|
}
|
66
|
-
var buildInfo = await FSExtra.readJSON(toAbsolute("dist/buildInfo.json"));
|
67
59
|
if (!buildInfo)
|
68
60
|
throw new Error("No build info found, have you run build?");
|
69
61
|
var { routeMap, builtRoutes } = buildInfo, routeToBuildInfo = {}, _iteratorNormalCompletion1 = !0, _didIteratorError1 = !1, _iteratorError1 = void 0;
|
@@ -71,6 +63,10 @@ async function oneServe(options, vxrnOptions, app) {
|
|
71
63
|
for (var _iterator1 = builtRoutes[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = !0) {
|
72
64
|
var route = _step1.value;
|
73
65
|
routeToBuildInfo[route.cleanPath] = route;
|
66
|
+
var bracketRoutePath = route.cleanPath.split("/").map(function(part) {
|
67
|
+
return part[0] === ":" ? `[${part.slice(1)}]` : part;
|
68
|
+
}).join("/");
|
69
|
+
routeToBuildInfo[bracketRoutePath] = route;
|
74
70
|
}
|
75
71
|
} catch (err) {
|
76
72
|
_didIteratorError1 = !0, _iteratorError1 = err;
|
@@ -111,11 +107,11 @@ async function oneServe(options, vxrnOptions, app) {
|
|
111
107
|
async handleSSR(param) {
|
112
108
|
var { route: route2, url, loaderProps } = param;
|
113
109
|
if (route2.type === "ssr") {
|
114
|
-
var
|
115
|
-
if (!
|
116
|
-
throw new Error(`No buildinfo found for ${url}, route: ${route2.page}`);
|
110
|
+
var _$buildInfo = routeToBuildInfo[route2.page];
|
111
|
+
if (!_$buildInfo)
|
112
|
+
throw new Error(`No buildinfo found for ${url}, route: ${route2.page}, in keys: ${Object.keys(routeToBuildInfo)}`);
|
117
113
|
try {
|
118
|
-
var _exported_loader, exported = await import(
|
114
|
+
var _exported_loader, exported = await import(_$buildInfo.serverJsPath), loaderData = await ((_exported_loader = exported.loader) === null || _exported_loader === void 0 ? void 0 : _exported_loader.call(exported, loaderProps)), preloads = _$buildInfo.preloads, headers = new Headers();
|
119
115
|
return headers.set("content-type", "text/html"), new Response(await render({
|
120
116
|
loaderData,
|
121
117
|
loaderProps,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/Users/n8/one/packages/one/src/serve.ts"],
|
4
|
-
"mappings": "AAAA,OAAO;AAEP,OAAOA,aAAa;AAEpB,
|
5
|
-
"names": ["FSExtra", "
|
4
|
+
"mappings": "AAAA,OAAO;AAEP,OAAOA,aAAa;AAEpB,SAASC,YAAY;AAErB,SAASC,gBAAgBC,SAASC,SAASC,iBAAiB;AAK5DC,QAAQC,GAAG,qBAAqB,SAACC,KAAAA;AAC/BC,UAAQC,MAAM,4BAA4BF,KAAKG,SAASH,GAAAA;AAC1D,CAAA;AAEA,eAAsBJ,QAAAA;MAAMQ,OAAAA,UAAAA,SAAAA,KAAAA,UAAAA,CAAAA,MAAAA,SAAAA,UAAAA,CAAAA,IAA8B,CAAC,GACnDC,YAAa,MAAMb,QAAQc,SAAS,qBAAqB;AAG/DR,UAAQS,IAAIC,gBAAgBH,UAAUI,UAAUC;AAGhD,MAAM,EAAEC,aAAY,IAAK,MAAM,OAAO,qBAAA,GAChC,EAAEC,gBAAe,IAAK,MAAM,OAAO,yBAAA,GACnC,EAAEC,mBAAkB,IAAK,MAAM,OAAO,YAAA;AAE5CF,eAAa,OAAA,GACbhB,QAAQ,YAAA;AAER,MAAMmB,aAAa,MAAMD,mBAAmB,OAAA;AAG5Cf,iBAAQS,IAAIQ,gBAAgB,KAErB,MAAMlB,UAAU;IACrBmB,QAAQ;;MAEN,GAAGF,WAAWE;;MAEd,GAAGJ,gBAAgB;QAC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nServe", "process", "on", "err", "console", "error", "stack", "args", "buildInfo", "readJSON", "env", "ONE_CACHE_KEY", "constants", "CACHE_KEY", "labelProcess", "removeUndefined", "loadUserOneOptions", "oneOptions", "VXRN_REACT_19", "server", "port", "undefined", "host", "compress", "platform", "cacheHeaders", "beforeStart", "options", "app", "oneServe", "vxrnOptions", "createHandleRequest", "isResponse", "isStatusRedirect", "resolveAPIRequest", "isAPIRequest", "WeakMap", "root", "redirects", "web", "redirect", "get", "source", "context", "destinationUrl", "destination", "replace", "param", "paramName", "substring", "req", "permanent", "Error", "routeMap", "builtRoutes", "routeToBuildInfo", "route", "cleanPath", "bracketRoutePath", "split", "map", "part", "slice", "serverOptions", "entryServer", "entry", "render", "default", "apiCJS", "build", "api", "outputFormat", "handleRequest", "handleAPI", "request", "loaderProps", "apiFile", "cwd", "page", "set", "params", "handleSSR", "url", "type", "Object", "keys", "exported", "serverJsPath", "loaderData", "loader", "preloads", "headers", "Headers", "Response", "path", "htmlFiles", "key", "info", "readFile", "use", "next", "html", "raw", "response", "handler", "status", "location", "json"]
|
6
6
|
}
|
package/dist/esm/vite/build.js
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import * as constants from "../constants";
|
1
2
|
import FSExtra from "fs-extra";
|
2
3
|
import MicroMatch from "micromatch";
|
3
4
|
import { createRequire } from "node:module";
|
@@ -291,7 +292,8 @@ ${JSON.stringify(params || null, null, 2)}`
|
|
291
292
|
await moveAllFiles(staticDir, clientDir), await FSExtra.rm(staticDir, { force: !0, recursive: !0 });
|
292
293
|
const buildInfoForWriting = {
|
293
294
|
routeMap: builtRoutes.reduce((acc, { cleanPath, htmlPath }) => (acc[cleanPath] = htmlPath, acc), {}),
|
294
|
-
builtRoutes
|
295
|
+
builtRoutes,
|
296
|
+
constants: JSON.parse(JSON.stringify({ ...constants }))
|
295
297
|
}, buildInfo = {
|
296
298
|
...buildInfoForWriting,
|
297
299
|
...vxrnOutput
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{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,KAAK,EAAE,EAAE,QAAQ,KAAK,EAAE;AAAA,QACpD;AACA,eAAO;AAAA,MACT;AACA,aAAO;AAAA,IACT,CAAC,EACA,KAAK,GAAG,CAAC;AAAA,EACd,GAAG;AAEH,SAAO,GAAG,OAAO,GAAG,cAAc,GAAG,QAAQ,WAAW,GAAG;AAC7D;AAEA,SAAS,YAAY,QAAgB;AACnC,SAAO,OAAO,QAAQ,uBAAuB,MAAM;AACrD;AAEA,SAAS,wBAAwB,MAAgB;AAM/C,QAAM,eAAe,oBAJC,KAAK,IAAI,CAAC,QAAQ,YAAY,GAAG,CAAC,EAEjB,KAAK,GAAG,CAEU;AACzD,SAAO,IAAI,OAAO,YAAY;AAChC;",
|
5
5
|
"names": ["file"]
|
6
6
|
}
|
package/dist/esm/vite/build.mjs
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import * as constants from "../constants.mjs";
|
1
2
|
import FSExtra from "fs-extra";
|
2
3
|
import MicroMatch from "micromatch";
|
3
4
|
import { createRequire } from "node:module";
|
@@ -316,7 +317,10 @@ ${JSON.stringify(params || null, null, 2)}`), console.error(err), process.exit(1
|
|
316
317
|
cleanPath,
|
317
318
|
htmlPath
|
318
319
|
}) => (acc[cleanPath] = htmlPath, acc), {}),
|
319
|
-
builtRoutes
|
320
|
+
builtRoutes,
|
321
|
+
constants: JSON.parse(JSON.stringify({
|
322
|
+
...constants
|
323
|
+
}))
|
320
324
|
},
|
321
325
|
buildInfo = {
|
322
326
|
...buildInfoForWriting,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["FSExtra","MicroMatch","createRequire","Path","join","relative","nodeExternals","mergeConfig","build","viteBuild","fillOptions","getOptimizeDeps","rollupRemoveUnusedImportsPlugin","vxrnBuild","getLoaderPath","getPreloadPath","labelProcess","getManifest","loadUserOneOptions","replaceLoader","ensureDir","readFile","outputFile","process","on","err","console","error","message","args","userOptions","serverOutputFormat","server","outputFormat","env","VXRN_REACT_19","ONE_SERVER_URL","warn","vxrnOutput","analyze","options","toAbsolute","p","resolve","root","manifest","optimizeDeps","apiBuildConfig","webBuildConfig","configFile","appType","apiRoutes","length","info","processEnvDefines","Object","fromEntries","entries","map","key","value","JSON","stringify","apiRouteExternalRegex","buildRegexExcludingDeps","include","apiEntryPoints","reduce","page","file","slice","apiOutputFormat","api","treeshake","plugins","exclude","define","ssr","noExternal","external","emptyOutDir","outDir","copyPublicDir","minify","rollupOptions","moduleSideEffects","filter","Boolean","preserveEntrySignatures","input","output","entryFileNames","exports","format","esModule","chunkInfo","name","replace","chunkFileNames","dir","dirname","basename","extname","assetFileNames","assetInfo","baseName","ext","globalThis","require","import","meta","url","assets","builtRoutes","render","entryServer","serverEntry","serverImport","default","exit","stack","staticDir","clientDir","outputEntries","serverOutput","index","collectImports","imports","css","type","Set","flatMap","found","clientManifest","flat","x","endsWith","startsWith","push","id","facadeModuleId","includes","relativeId","cwd","onlyBuild","buildArgs","only","contains","clientManifestKey","keys","find","clientManifestEntry","findMatchingRoute","route","foundRoute","pageRoutes","entryImports","layoutEntries","layouts","layout","clientKey","contextKey","layoutImports","entry","preloadSetupFilePreloads","setupFile","needle","file2","preloads","path","allEntries","allCSS","DEBUG","serverJsPath","fileName","exported","Error","cause","generateStaticParams","paramsList","params","cleanId","getPathnameFromFilePath","htmlPath","removeTrailingSlash","clientJsPath","htmlOutPath","loaderData","cleanPath","preloadPath","writeFile","preload","loaderProps","__vxrnLoaderProps__","__vxrnresetState","loader","code","withLoader","loaderPartialPath","html","errMsg","moveAllFiles","rm","force","recursive","buildInfoForWriting","routeMap","acc","buildInfo","writeJSON","postBuildLogs","web","deploy","platform","afterBuild","VXRN_ANALYZE_BUNDLE","forEach","log","src","dest","copy","overwrite","errorOnExist","strict","nameWithParams","part","split","escapeRegex","string","deps","regexPattern","dep","RegExp"],"sources":["../../../src/vite/build.ts"],"sourcesContent":[null],"mappings":"AAAA,OAAOA,OAAA,MAAa;AACpB,OAAOC,UAAA,MAAgB;AACvB,SAASC,aAAA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AACrD;AAEA,SAASjC,wBAAwBqK,IAAA,EAAgB;EAM/C,MAAMC,YAAA,GAAe,oBAJCD,IAAA,CAAK3K,GAAA,CAAK6K,GAAA,IAAQJ,WAAA,CAAYI,GAAG,CAAC,EAEjBnO,IAAA,CAAK,GAAG,CAEU;EACzD,OAAO,IAAIoO,MAAA,CAAOF,YAAY;AAChC","ignoreList":[]}
|
1
|
+
{"version":3,"names":["constants","FSExtra","MicroMatch","createRequire","Path","join","relative","nodeExternals","mergeConfig","build","viteBuild","fillOptions","getOptimizeDeps","rollupRemoveUnusedImportsPlugin","vxrnBuild","getLoaderPath","getPreloadPath","labelProcess","getManifest","loadUserOneOptions","replaceLoader","ensureDir","readFile","outputFile","process","on","err","console","error","message","args","userOptions","serverOutputFormat","server","outputFormat","env","VXRN_REACT_19","ONE_SERVER_URL","warn","vxrnOutput","analyze","options","toAbsolute","p","resolve","root","manifest","optimizeDeps","apiBuildConfig","webBuildConfig","configFile","appType","apiRoutes","length","info","processEnvDefines","Object","fromEntries","entries","map","key","value","JSON","stringify","apiRouteExternalRegex","buildRegexExcludingDeps","include","apiEntryPoints","reduce","page","file","slice","apiOutputFormat","api","treeshake","plugins","exclude","define","ssr","noExternal","external","emptyOutDir","outDir","copyPublicDir","minify","rollupOptions","moduleSideEffects","filter","Boolean","preserveEntrySignatures","input","output","entryFileNames","exports","format","esModule","chunkInfo","name","replace","chunkFileNames","dir","dirname","basename","extname","assetFileNames","assetInfo","baseName","ext","globalThis","require","import","meta","url","assets","builtRoutes","render","entryServer","serverEntry","serverImport","default","exit","stack","staticDir","clientDir","outputEntries","serverOutput","index","collectImports","imports","css","type","Set","flatMap","found","clientManifest","flat","x","endsWith","startsWith","push","id","facadeModuleId","includes","relativeId","cwd","onlyBuild","buildArgs","only","contains","clientManifestKey","keys","find","clientManifestEntry","findMatchingRoute","route","foundRoute","pageRoutes","entryImports","layoutEntries","layouts","layout","clientKey","contextKey","layoutImports","entry","preloadSetupFilePreloads","setupFile","needle","file2","preloads","path","allEntries","allCSS","DEBUG","serverJsPath","fileName","exported","Error","cause","generateStaticParams","paramsList","params","cleanId","getPathnameFromFilePath","htmlPath","removeTrailingSlash","clientJsPath","htmlOutPath","loaderData","cleanPath","preloadPath","writeFile","preload","loaderProps","__vxrnLoaderProps__","__vxrnresetState","loader","code","withLoader","loaderPartialPath","html","errMsg","moveAllFiles","rm","force","recursive","buildInfoForWriting","routeMap","acc","parse","buildInfo","writeJSON","postBuildLogs","web","deploy","platform","afterBuild","VXRN_ANALYZE_BUNDLE","forEach","log","src","dest","copy","overwrite","errorOnExist","strict","nameWithParams","part","split","escapeRegex","string","deps","regexPattern","dep","RegExp"],"sources":["../../../src/vite/build.ts"],"sourcesContent":[null],"mappings":"AAAA,YAAYA,SAAA,MAAe;AAC3B,OAAOC,OAAA,MAAa;AACpB,OAAOC,UAAA,MAAgB;AACvB,SAASC,aAAA,QAAqB;AAC9B,OAAOC,IAAA,IAAQC,IAAA,EAAMC,QAAA,QAAgB;AAErC,SAASC,aAAA,QAAqB;AAC9B,SAASC,WAAA,EAAaC,KAAA,IAASC,SAAA,QAAoC;AACnE,SACEC,WAAA,EACAC,eAAA,EACAC,+BAAA,EACAJ,KAAA,IAASK,SAAA,QAEJ;AACP,SAASC,aAAA,EAAeC,cAAA,QAAsB;AAC9C,SAASC,YAAA,QAAoB;AAG7B,SAASC,WAAA,QAAmB;AAC5B,SAASC,kBAAA,QAA0B;AACnC,SAASC,aAAA,QAAqB;AAG9B,MAAM;EAAEC,SAAA;EAAWC,QAAA;EAAUC;AAAW,IAAItB,OAAA;AAE5CuB,OAAA,CAAQC,EAAA,CAAG,qBAAsBC,GAAA,IAAQ;EACvCC,OAAA,CAAQC,KAAA,CAAMF,GAAA,EAAKG,OAAA,IAAWH,GAAG;AACnC,CAAC;AAED,eAAsBjB,MAAMqB,IAAA,EAGzB;EACDb,YAAA,CAAa,OAAO;EAEpB,MAAMc,WAAA,GAAc,MAAMZ,kBAAA,CAAmB,OAAO;IAC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KAAA,CAAM,GAAG4J,IAAA,CAAK9K,MAAA,GAAS,CAAC,CAAC;UACnD,IAAI,CAACgF,KAAA,EAAO;YACV,IAAI4F,MAAA,EACF,MAAM,IAAIhD,KAAA,CACR;AAAA;AAAA,0BAEUP,IAAI;AAAA,0BACJyD,IAAI;AAAA,8BACApD,QAAQ;AAAA;AAAA;AAAA,IAGlCjH,IAAA,CAAKC,SAAA,CAAUsH,MAAA,EAAQ,MAAM,CAAC,CAAC,EACrB;YAGF,OAAO,MAAM8C,IAAA,CAAKjI,OAAA,CAAQ,KAAK,EAAE,EAAEA,OAAA,CAAQ,KAAK,EAAE;UACpD;UACA,OAAOmC,KAAA;QACT;QACA,OAAO8F,IAAA;MACT,CAAC,EACA9N,IAAA,CAAK,GAAG,CAAC;IACd,GAAG;EAEH,OAAO,GAAGgG,OAAO,GAAG6H,cAAc,GAAGhI,OAAA,CAAQ,WAAW,GAAG;AAC7D;AAEA,SAASmI,YAAYC,MAAA,EAAgB;EACnC,OAAOA,MAAA,CAAOpI,OAAA,CAAQ,uBAAuB,MAAM;AACrD;AAEA,SAASjC,wBAAwBsK,IAAA,EAAgB;EAM/C,MAAMC,YAAA,GAAe,oBAJCD,IAAA,CAAK5K,GAAA,CAAK8K,GAAA,IAAQJ,WAAA,CAAYI,GAAG,CAAC,EAEjBpO,IAAA,CAAK,GAAG,CAEU;EACzD,OAAO,IAAIqO,MAAA,CAAOF,YAAY;AAChC","ignoreList":[]}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import * as constants from "../constants";
|
1
2
|
import FSExtra from "fs-extra";
|
2
3
|
import MicroMatch from "micromatch";
|
3
4
|
import { createRequire } from "node:module";
|
@@ -360,7 +361,10 @@ ${JSON.stringify(params || null, null, 2)}`), console.error(err), process.exit(1
|
|
360
361
|
return acc[cleanPath] = htmlPath, acc;
|
361
362
|
}, {}), buildInfoForWriting = {
|
362
363
|
routeMap,
|
363
|
-
builtRoutes
|
364
|
+
builtRoutes,
|
365
|
+
constants: JSON.parse(JSON.stringify({
|
366
|
+
...constants
|
367
|
+
}))
|
364
368
|
}, buildInfo = {
|
365
369
|
...buildInfoForWriting,
|
366
370
|
...vxrnOutput
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/vite/Users/n8/one/packages/one/src/vite/build.ts"],
|
4
|
-
"mappings": "AAAA,OAAOA,aAAa;AACpB,OAAOC,gBAAgB;AACvB,SAASC,qBAAqB;AAC9B,OAAOC,QAAQC,MAAMC,gBAAgB;AAErC,SAASC,qBAAqB;AAC9B,SAASC,aAAaC,SAASC,iBAAoC;AACnE,SACEC,aACAC,iBACAC,iCACAJ,SAASK,iBAEJ;AACP,SAASC,eAAeC,sBAAsB;AAC9C,SAASC,oBAAoB;AAG7B,SAASC,mBAAmB;AAC5B,SAASC,0BAA0B;AACnC,SAASC,qBAAqB;AAG9B,IAAM,EAAEC,WAAWC,UAAUC,WAAU,IAAKtB;AAE5CuB,QAAQC,GAAG,qBAAqB,SAACC,KAAAA;AAC/BC,UAAQC,MAAMF,KAAKG,WAAWH,GAAAA;AAChC,CAAA;AAEA,eAAsBjB,MAAMqB,MAG3B;MAI4BC,2BAAAA,oBAseVA,kBAA2BC;AAze5Cf,eAAa,OAAA;AAEb,MAAMc,cAAc,MAAMZ,mBAAmB,OAAA,GAClBY,wCAArBE,sBAAqBF,0CAAAA,qBAAAA,YAAYtB,WAAK,QAAjBsB,uBAAAA,WAAAA,4BAAAA,mBAAmBG,YAAM,QAAzBH,8BAAAA,SAAAA,SAAAA,0BAA2BI,kBAAY,QAAvCJ,2CAAAA,SAAAA,yCAA2C;AAGtEP,UAAQY,IAAIC,gBAAgB,KAEvBb,QAAQY,IAAIE,kBACfX,QAAQY,KACN,+FAAqF;AAIzF,MAAMC,aAAa,MAAM1B,UACvB;IACEoB,QAAQH,YAAYG;IACpBzB,OAAO;MACLgC,SAAS;MACTP,QAAQ;QACNC,cAAcF;MAChB;IACF;EACF,G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A,EACNtK,IAAI,SAACqK,OAAAA;AACJ,UAAIA,MAAK,CAAA,MAAO,KAAK;AACnB,YAAMzE,QAAQ6B,OAAO4C,MAAKzJ,MAAM,GAAGyJ,MAAK3K,SAAS,CAAA,CAAA;AACjD,YAAI,CAACkG,OAAO;AACV,cAAIuE;AACF,kBAAM,IAAIlD,MACR;;0BAEUN,IAAAA;0BACA0D,KAAAA;8BACIrD,QAAAA;;;IAG1B7G,KAAKC,UAAUqH,QAAQ,MAAM,CAAA,CAAA,EAAI;AAIzB,iBAAO,MAAM4C,MAAK9H,QAAQ,KAAK,EAAA,EAAIA,QAAQ,KAAK,EAAA;QAClD;AACA,eAAOqD;MACT;AACA,aAAOyE;IACT,CAAA,EACC3N,KAAK,GAAA,CAAA;EACV,EAAA;AAEA,SAAO,GAAGgG,OAAAA,GAAU0H,cAAAA,GAAiB7H,QAAQ,WAAW,GAAA;AAC1D;AAEA,SAASgI,YAAYC,QAAc;AACjC,SAAOA,OAAOjI,QAAQ,uBAAuB,MAAA;AAC/C;AAEA,SAASjC,wBAAwBmK,MAAc;AAE7C,MAAMC,gBAAgBD,KAAKzK,IAAI,SAAC2K,KAAAA;WAAQJ,YAAYI,GAAAA;MAE9CC,mBAAmBF,cAAchO,KAAK,GAAA,GAEtCmO,eAAe,oBAAoBD,gBAAAA;AACzC,SAAO,IAAIE,OAAOD,YAAAA;AACpB;",
|
5
|
-
"names": ["FSExtra", "MicroMatch", "createRequire", "Path", "join", "relative", "nodeExternals", "mergeConfig", "build", "viteBuild", "fillOptions", "getOptimizeDeps", "rollupRemoveUnusedImportsPlugin", "vxrnBuild", "getLoaderPath", "getPreloadPath", "labelProcess", "getManifest", "loadUserOneOptions", "replaceLoader", "ensureDir", "readFile", "outputFile", "process", "on", "err", "console", "error", "message", "args", "userOptions", "options", "serverOutputFormat", "server", "outputFormat", "env", "VXRN_REACT_19", "ONE_SERVER_URL", "warn", "vxrnOutput", "analyze", "toAbsolute", "p", "resolve", "root", "manifest", "optimizeDeps", "apiBuildConfig", "webBuildConfig", "configFile", "appType", "apiRoutes", "length", "info", "processEnvDefines", "Object", "fromEntries", "entries", "map", "key", "value", "JSON", "stringify", "apiRouteExternalRegex", "buildRegexExcludingDeps", "include", "apiEntryPoints", "reduce", "page", "file", "slice", "apiOutputFormat", "api", "treeshake", "plugins", "exclude", "define", "ssr", "noExternal", "external", "emptyOutDir", "outDir", "copyPublicDir", "minify", "rollupOptions", "moduleSideEffects", "filter", "Boolean", "preserveEntrySignatures", "input", "output", "entryFileNames", "exports", "format", "esModule", "chunkInfo", "name", "replace", "chunkFileNames", "dir", "dirname", "basename", "extname", "assetFileNames", "assetInfo", "baseName", "ext", "globalThis", "url", "assets", "builtRoutes", "render", "entryServer", "serverEntry", "serverImport", "default", "exit", "staticDir", "clientDir", "outputEntries", "serverOutput", "index", "foundRoute", "exported", "type", "push", "id", "facadeModuleId", "includes", "relativeId", "cwd", "onlyBuild", "buildArgs", "only", "contains", "clientManifestKey", "keys", "clientManifest", "find", "endsWith", "clientManifestEntry", "findMatchingRoute", "route", "pageRoutes", "startsWith", "collectImports", "imports", "css", "Set", "flatMap", "found", "flat", "x", "entryImports", "layoutEntries", "layouts", "layout", "clientKey", "contextKey", "layoutImports", "entry", "preloadSetupFilePreloads", "setupFile", "needle", "preloads", "path", "allEntries", "allCSS", "DEBUG", "serverJsPath", "fileName", "Error", "cause", "generateStaticParams", "paramsList", "_iteratorNormalCompletion", "_didIteratorError", "_iteratorError", "_iterator", "params", "cleanId", "getPathnameFromFilePath", "htmlPath", "removeTrailingSlash", "clientJsPath", "htmlOutPath", "loaderData", "cleanPath", "preloadPath", "writeFile", "preload", "loaderProps", "loader", "code", "withLoader", "loaderPartialPath", "html", "errMsg", "stack", "moveAllFiles", "rm", "force", "recursive", "routeMap", "acc", "buildInfoForWriting", "buildInfo", "writeJSON", "postBuildLogs", "platform", "web", "deploy", "afterBuild", "VXRN_ANALYZE_BUNDLE", "forEach", "log", "src", "dest", "copy", "overwrite", "errorOnExist", "strict", "nameWithParams", "part", "split", "escapeRegex", "string", "deps", "sanitizedDeps", "dep", "exclusionPattern", "regexPattern", "RegExp"]
|
4
|
+
"mappings": "AAAA,YAAYA,eAAe;AAC3B,OAAOC,aAAa;AACpB,OAAOC,gBAAgB;AACvB,SAASC,qBAAqB;AAC9B,OAAOC,QAAQC,MAAMC,gBAAgB;AAErC,SAASC,qBAAqB;AAC9B,SAASC,aAAaC,SAASC,iBAAoC;AACnE,SACEC,aACAC,iBACAC,iCACAJ,SAASK,iBAEJ;AACP,SAASC,eAAeC,sBAAsB;AAC9C,SAASC,oBAAoB;AAG7B,SAASC,mBAAmB;AAC5B,SAASC,0BAA0B;AACnC,SAASC,qBAAqB;AAG9B,IAAM,EAAEC,WAAWC,UAAUC,WAAU,IAAKtB;AAE5CuB,QAAQC,GAAG,qBAAqB,SAACC,KAAAA;AAC/BC,UAAQC,MAAMF,KAAKG,WAAWH,GAAAA;AAChC,CAAA;AAEA,eAAsBjB,MAAMqB,MAG3B;MAI4BC,2BAAAA,oBAueVA,kBAA2BC;AA1e5Cf,eAAa,OAAA;AAEb,MAAMc,cAAc,MAAMZ,mBAAmB,OAAA,GAClBY,wCAArBE,sBAAqBF,0CAAAA,qBAAAA,YAAYtB,WAAK,QAAjBsB,uBAAAA,WAAAA,4BAAAA,mBAAmBG,YAAM,QAAzBH,8BAAAA,SAAAA,SAAAA,0BAA2BI,kBAAY,QAAvCJ,2CAAAA,SAAAA,yCAA2C;AAGtEP,UAAQY,IAAIC,gBAAgB,KAEvBb,QAAQY,IAAIE,kBACfX,QAAQY,KACN,+FAAqF;AAIzF,MAAMC,aAAa,MAAM1B,UACvB;IACEoB,QAAQH,YAAYG;IACpBzB,OAAO;MACLgC,SAAS;MACTP,QAAQ;QACNC,cAAcF;MAChB;IACF;EACF,GACAH,IAAAA,GAGIE,UAAU,MAAMrB,YAAY6B,WAAWR,OAAO,GAE9CU,aAAa,SAACC,GAAAA;WAAMvC,KAAKwC,QAAQZ,Q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J,UAAIA,MAAK,CAAA,MAAO,KAAK;AACnB,YAAM1E,QAAQ6B,OAAO6C,MAAK1J,MAAM,GAAG0J,MAAK5K,SAAS,CAAA,CAAA;AACjD,YAAI,CAACkG,OAAO;AACV,cAAIwE;AACF,kBAAM,IAAInD,MACR;;0BAEUN,IAAAA;0BACA2D,KAAAA;8BACItD,QAAAA;;;IAG1B7G,KAAKC,UAAUqH,QAAQ,MAAM,CAAA,CAAA,EAAI;AAIzB,iBAAO,MAAM6C,MAAK/H,QAAQ,KAAK,EAAA,EAAIA,QAAQ,KAAK,EAAA;QAClD;AACA,eAAOqD;MACT;AACA,aAAO0E;IACT,CAAA,EACC5N,KAAK,GAAA,CAAA;EACV,EAAA;AAEA,SAAO,GAAGgG,OAAAA,GAAU2H,cAAAA,GAAiB9H,QAAQ,WAAW,GAAA;AAC1D;AAEA,SAASiI,YAAYC,QAAc;AACjC,SAAOA,OAAOlI,QAAQ,uBAAuB,MAAA;AAC/C;AAEA,SAASjC,wBAAwBoK,MAAc;AAE7C,MAAMC,gBAAgBD,KAAK1K,IAAI,SAAC4K,KAAAA;WAAQJ,YAAYI,GAAAA;MAE9CC,mBAAmBF,cAAcjO,KAAK,GAAA,GAEtCoO,eAAe,oBAAoBD,gBAAAA;AACzC,SAAO,IAAIE,OAAOD,YAAAA;AACpB;",
|
5
|
+
"names": ["constants", "FSExtra", "MicroMatch", "createRequire", "Path", "join", "relative", "nodeExternals", "mergeConfig", "build", "viteBuild", "fillOptions", "getOptimizeDeps", "rollupRemoveUnusedImportsPlugin", "vxrnBuild", "getLoaderPath", "getPreloadPath", "labelProcess", "getManifest", "loadUserOneOptions", "replaceLoader", "ensureDir", "readFile", "outputFile", "process", "on", "err", "console", "error", "message", "args", "userOptions", "options", "serverOutputFormat", "server", "outputFormat", "env", "VXRN_REACT_19", "ONE_SERVER_URL", "warn", "vxrnOutput", "analyze", "toAbsolute", "p", "resolve", "root", "manifest", "optimizeDeps", "apiBuildConfig", "webBuildConfig", "configFile", "appType", "apiRoutes", "length", "info", "processEnvDefines", "Object", "fromEntries", "entries", "map", "key", "value", "JSON", "stringify", "apiRouteExternalRegex", "buildRegexExcludingDeps", "include", "apiEntryPoints", "reduce", "page", "file", "slice", "apiOutputFormat", "api", "treeshake", "plugins", "exclude", "define", "ssr", "noExternal", "external", "emptyOutDir", "outDir", "copyPublicDir", "minify", "rollupOptions", "moduleSideEffects", "filter", "Boolean", "preserveEntrySignatures", "input", "output", "entryFileNames", "exports", "format", "esModule", "chunkInfo", "name", "replace", "chunkFileNames", "dir", "dirname", "basename", "extname", "assetFileNames", "assetInfo", "baseName", "ext", "globalThis", "url", "assets", "builtRoutes", "render", "entryServer", "serverEntry", "serverImport", "default", "exit", "staticDir", "clientDir", "outputEntries", "serverOutput", "index", "foundRoute", "exported", "type", "push", "id", "facadeModuleId", "includes", "relativeId", "cwd", "onlyBuild", "buildArgs", "only", "contains", "clientManifestKey", "keys", "clientManifest", "find", "endsWith", "clientManifestEntry", "findMatchingRoute", "route", "pageRoutes", "startsWith", "collectImports", "imports", "css", "Set", "flatMap", "found", "flat", "x", "entryImports", "layoutEntries", "layouts", "layout", "clientKey", "contextKey", "layoutImports", "entry", "preloadSetupFilePreloads", "setupFile", "needle", "preloads", "path", "allEntries", "allCSS", "DEBUG", "serverJsPath", "fileName", "Error", "cause", "generateStaticParams", "paramsList", "_iteratorNormalCompletion", "_didIteratorError", "_iteratorError", "_iterator", "params", "cleanId", "getPathnameFromFilePath", "htmlPath", "removeTrailingSlash", "clientJsPath", "htmlOutPath", "loaderData", "cleanPath", "preloadPath", "writeFile", "preload", "loaderProps", "loader", "code", "withLoader", "loaderPartialPath", "html", "errMsg", "stack", "moveAllFiles", "rm", "force", "recursive", "routeMap", "acc", "buildInfoForWriting", "parse", "buildInfo", "writeJSON", "postBuildLogs", "platform", "web", "deploy", "afterBuild", "VXRN_ANALYZE_BUNDLE", "forEach", "log", "src", "dest", "copy", "overwrite", "errorOnExist", "strict", "nameWithParams", "part", "split", "escapeRegex", "string", "deps", "sanitizedDeps", "dep", "exclusionPattern", "regexPattern", "RegExp"]
|
6
6
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "one",
|
3
|
-
"version": "1.1.
|
3
|
+
"version": "1.1.314",
|
4
4
|
"source": "src/index.ts",
|
5
5
|
"types": "./types/index.d.ts",
|
6
6
|
"sideEffects": false,
|
@@ -91,14 +91,14 @@
|
|
91
91
|
"@react-navigation/native-stack": "~6.9.13",
|
92
92
|
"@react-navigation/routers": "~6.1.9",
|
93
93
|
"@ungap/structured-clone": "^1.2.0",
|
94
|
-
"@vxrn/resolve": "1.1.
|
95
|
-
"@vxrn/tslib-lite": "1.1.
|
96
|
-
"@vxrn/universal-color-scheme": "1.1.
|
97
|
-
"@vxrn/use-isomorphic-layout-effect": "1.1.
|
94
|
+
"@vxrn/resolve": "1.1.314",
|
95
|
+
"@vxrn/tslib-lite": "1.1.314",
|
96
|
+
"@vxrn/universal-color-scheme": "1.1.314",
|
97
|
+
"@vxrn/use-isomorphic-layout-effect": "1.1.314",
|
98
98
|
"babel-dead-code-elimination": "^1.0.6",
|
99
99
|
"citty": "^0.1.6",
|
100
100
|
"core-js": "^3.38.1",
|
101
|
-
"create-vxrn": "1.1.
|
101
|
+
"create-vxrn": "1.1.314",
|
102
102
|
"escape-string-regexp": "^5.0.0",
|
103
103
|
"expo-linking": "~6.3.1",
|
104
104
|
"expo-modules-core": "^1.12.24",
|
@@ -120,7 +120,7 @@
|
|
120
120
|
"url-parse": "^1.5.10",
|
121
121
|
"vite": "6.0.0-beta.1",
|
122
122
|
"vite-tsconfig-paths": "^5.0.1",
|
123
|
-
"vxrn": "1.1.
|
123
|
+
"vxrn": "1.1.314",
|
124
124
|
"ws": "^8.18.0",
|
125
125
|
"xxhashjs": "^0.2.2"
|
126
126
|
},
|
package/src/cleanUrl.ts
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
import {
|
2
2
|
isNative,
|
3
3
|
LOADER_JS_POSTFIX,
|
4
|
+
LOADER_JS_POSTFIX_REGEX,
|
4
5
|
LOADER_JS_POSTFIX_UNCACHED,
|
5
6
|
PRELOAD_JS_POSTFIX,
|
6
7
|
} from './constants'
|
@@ -41,8 +42,7 @@ export function getLoaderPath(
|
|
41
42
|
|
42
43
|
export function getPathFromLoaderPath(loaderPath: string) {
|
43
44
|
return loaderPath
|
44
|
-
.replace(
|
45
|
-
.replace(/_\d+/, '')
|
45
|
+
.replace(LOADER_JS_POSTFIX_REGEX, '')
|
46
46
|
.replace(/^(\/_one)?\/assets/, '')
|
47
47
|
.replaceAll(/_/g, '/')
|
48
48
|
}
|
package/src/constants.ts
CHANGED
@@ -5,5 +5,6 @@ export const isNative = process.env.TAMAGUI_TARGET === 'native'
|
|
5
5
|
export const CACHE_KEY = `${process.env.ONE_CACHE_KEY ?? Math.round(Math.random() * 100_000_000)}`
|
6
6
|
|
7
7
|
export const LOADER_JS_POSTFIX_UNCACHED = `_vxrn_loader.js`
|
8
|
+
export const LOADER_JS_POSTFIX_REGEX = new RegExp(`_\\d+${LOADER_JS_POSTFIX_UNCACHED}$`)
|
8
9
|
export const LOADER_JS_POSTFIX = `_${CACHE_KEY}${LOADER_JS_POSTFIX_UNCACHED}`
|
9
10
|
export const PRELOAD_JS_POSTFIX = `_${CACHE_KEY}_preload.js`
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { getPathFromLoaderPath } from './cleanUrl'
|
2
|
-
import {
|
2
|
+
import { LOADER_JS_POSTFIX_REGEX, LOADER_JS_POSTFIX_UNCACHED } from './constants'
|
3
3
|
import type { RouteInfo } from './server/createRoutesManifest'
|
4
4
|
import { isResponse } from './utils/isResponse'
|
5
5
|
import { promiseWithResolvers } from './utils/promiseWithResolvers'
|
@@ -104,6 +104,7 @@ export function createHandleRequest(
|
|
104
104
|
|
105
105
|
if (isClientRequestingNewRoute) {
|
106
106
|
const originalUrl = getPathFromLoaderPath(pathname)
|
107
|
+
|
107
108
|
const finalUrl = new URL(originalUrl, url.origin)
|
108
109
|
|
109
110
|
for (const route of pageRoutes) {
|
@@ -207,6 +208,7 @@ function getLoaderParams(
|
|
207
208
|
) {
|
208
209
|
const params: Record<string, string> = {}
|
209
210
|
const match = new RegExp(config.workingRegex).exec(url.pathname)
|
211
|
+
console.log('getting loader params', url)
|
210
212
|
if (match?.groups) {
|
211
213
|
for (const [key, value] of Object.entries(match.groups)) {
|
212
214
|
const namedKey = config.routeKeys[key]
|
package/src/serve.ts
CHANGED
@@ -2,17 +2,11 @@ import './polyfills-server'
|
|
2
2
|
|
3
3
|
import FSExtra from 'fs-extra'
|
4
4
|
import type { Hono } from 'hono'
|
5
|
-
import
|
5
|
+
import { join } from 'node:path'
|
6
6
|
import type { VXRNOptions } from 'vxrn'
|
7
7
|
import { getServerEntry, loadEnv, serve as vxrnServe } from 'vxrn'
|
8
|
-
import { labelProcess } from './cli/label-process'
|
9
|
-
import { createHandleRequest } from './createHandleRequest'
|
10
8
|
import type { RenderAppProps } from './types'
|
11
|
-
|
12
|
-
import { isStatusRedirect } from './utils/isStatus'
|
13
|
-
import { removeUndefined } from './utils/removeUndefined'
|
14
|
-
import { loadUserOneOptions } from './vite/one'
|
15
|
-
import { resolveAPIRequest } from './vite/resolveAPIRequest'
|
9
|
+
|
16
10
|
import type { One } from './vite/types'
|
17
11
|
|
18
12
|
process.on('uncaughtException', (err) => {
|
@@ -20,6 +14,16 @@ process.on('uncaughtException', (err) => {
|
|
20
14
|
})
|
21
15
|
|
22
16
|
export async function serve(args: VXRNOptions['server'] = {}) {
|
17
|
+
const buildInfo = (await FSExtra.readJSON(`dist/buildInfo.json`)) as One.BuildInfo
|
18
|
+
|
19
|
+
// ensure cache key matches build
|
20
|
+
process.env.ONE_CACHE_KEY = buildInfo.constants.CACHE_KEY
|
21
|
+
|
22
|
+
// to avoid loading the CACHE_KEY before we set it use async imports:
|
23
|
+
const { labelProcess } = await import('./cli/label-process')
|
24
|
+
const { removeUndefined } = await import('./utils/removeUndefined')
|
25
|
+
const { loadUserOneOptions } = await import('./vite/one')
|
26
|
+
|
23
27
|
labelProcess('serve')
|
24
28
|
loadEnv('production')
|
25
29
|
|
@@ -43,16 +47,25 @@ export async function serve(args: VXRNOptions['server'] = {}) {
|
|
43
47
|
|
44
48
|
async beforeStart(options, app) {
|
45
49
|
await oneOptions.server?.beforeStart?.(options, app)
|
46
|
-
await oneServe(oneOptions, options, app)
|
50
|
+
await oneServe(oneOptions, options, buildInfo, app)
|
47
51
|
},
|
48
52
|
},
|
49
53
|
})
|
50
54
|
}
|
51
55
|
|
52
|
-
async function oneServe(
|
53
|
-
|
56
|
+
async function oneServe(
|
57
|
+
options: One.PluginOptions,
|
58
|
+
vxrnOptions: VXRNOptions,
|
59
|
+
buildInfo: One.BuildInfo,
|
60
|
+
app: Hono
|
61
|
+
) {
|
62
|
+
const { createHandleRequest } = await import('./createHandleRequest')
|
63
|
+
const { isResponse } = await import('./utils/isResponse')
|
64
|
+
const { isStatusRedirect } = await import('./utils/isStatus')
|
65
|
+
const { resolveAPIRequest } = await import('./vite/resolveAPIRequest')
|
66
|
+
|
54
67
|
const isAPIRequest = new WeakMap<any, boolean>()
|
55
|
-
const
|
68
|
+
const root = vxrnOptions.root || '.'
|
56
69
|
|
57
70
|
// add redirects
|
58
71
|
const redirects = options.web?.redirects
|
@@ -68,8 +81,6 @@ async function oneServe(options: One.Options, vxrnOptions: VXRNOptions, app: Hon
|
|
68
81
|
}
|
69
82
|
}
|
70
83
|
|
71
|
-
const buildInfo = await FSExtra.readJSON(toAbsolute(`dist/buildInfo.json`))
|
72
|
-
|
73
84
|
if (!buildInfo) {
|
74
85
|
throw new Error(`No build info found, have you run build?`)
|
75
86
|
}
|
@@ -79,6 +90,15 @@ async function oneServe(options: One.Options, vxrnOptions: VXRNOptions, app: Hon
|
|
79
90
|
const routeToBuildInfo: Record<string, One.RouteBuildInfo> = {}
|
80
91
|
for (const route of builtRoutes) {
|
81
92
|
routeToBuildInfo[route.cleanPath] = route
|
93
|
+
|
94
|
+
// temp - make it back into brackets style
|
95
|
+
const bracketRoutePath = route.cleanPath
|
96
|
+
.split('/')
|
97
|
+
.map((part) => {
|
98
|
+
return part[0] === ':' ? `[${part.slice(1)}]` : part
|
99
|
+
})
|
100
|
+
.join('/')
|
101
|
+
routeToBuildInfo[bracketRoutePath] = route
|
82
102
|
}
|
83
103
|
|
84
104
|
const serverOptions = {
|
@@ -132,7 +152,9 @@ async function oneServe(options: One.Options, vxrnOptions: VXRNOptions, app: Hon
|
|
132
152
|
if (route.type === 'ssr') {
|
133
153
|
const buildInfo = routeToBuildInfo[route.page]
|
134
154
|
if (!buildInfo) {
|
135
|
-
throw new Error(
|
155
|
+
throw new Error(
|
156
|
+
`No buildinfo found for ${url}, route: ${route.page}, in keys: ${Object.keys(routeToBuildInfo)}`
|
157
|
+
)
|
136
158
|
}
|
137
159
|
|
138
160
|
try {
|
package/src/vite/build.ts
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import * as constants from '../constants'
|
1
2
|
import FSExtra from 'fs-extra'
|
2
3
|
import MicroMatch from 'micromatch'
|
3
4
|
import { createRequire } from 'node:module'
|
@@ -509,6 +510,7 @@ ${JSON.stringify(params || null, null, 2)}`
|
|
509
510
|
const buildInfoForWriting = {
|
510
511
|
routeMap,
|
511
512
|
builtRoutes,
|
513
|
+
constants: JSON.parse(JSON.stringify({ ...constants })),
|
512
514
|
}
|
513
515
|
|
514
516
|
const buildInfo = {
|