one 1.1.269 → 1.1.271
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +2 -2
- package/dist/cjs/cli.js +2 -2
- package/dist/cjs/cli.js.map +1 -1
- package/dist/cjs/cli.native.js +2 -2
- package/dist/cjs/cli.native.js.map +2 -2
- package/dist/cjs/serve.js +1 -1
- package/dist/cjs/serve.js.map +1 -1
- package/dist/cjs/serve.native.js +1 -1
- package/dist/cjs/serve.native.js.map +2 -2
- package/dist/cjs/server/createRoutesManifest.js.map +1 -1
- package/dist/cjs/server/createRoutesManifest.native.js.map +1 -1
- package/dist/cjs/vite/build.js +8 -1
- package/dist/cjs/vite/build.js.map +1 -1
- package/dist/cjs/vite/build.native.js +13 -3
- package/dist/cjs/vite/build.native.js.map +2 -2
- package/dist/cjs/vite/createFileSystemRouter.js +7 -3
- package/dist/cjs/vite/createFileSystemRouter.js.map +1 -1
- package/dist/cjs/vite/createFileSystemRouter.native.js +12 -3
- package/dist/cjs/vite/createFileSystemRouter.native.js.map +2 -2
- package/dist/cjs/vite/one.js +11 -1
- package/dist/cjs/vite/one.js.map +2 -2
- package/dist/cjs/vite/one.native.js +14 -1
- package/dist/cjs/vite/one.native.js.map +2 -2
- package/dist/cjs/vite/types.native.js.map +1 -1
- package/dist/esm/cli.js +2 -2
- package/dist/esm/cli.js.map +1 -1
- package/dist/esm/cli.mjs +2 -2
- package/dist/esm/cli.mjs.map +1 -1
- package/dist/esm/cli.native.js +2 -2
- package/dist/esm/cli.native.js.map +1 -1
- package/dist/esm/serve.js +1 -1
- package/dist/esm/serve.js.map +1 -1
- package/dist/esm/serve.mjs +1 -1
- package/dist/esm/serve.mjs.map +1 -1
- package/dist/esm/serve.native.js +1 -1
- package/dist/esm/serve.native.js.map +1 -1
- package/dist/esm/server/createRoutesManifest.js.map +1 -1
- package/dist/esm/server/createRoutesManifest.mjs.map +1 -1
- package/dist/esm/server/createRoutesManifest.native.js.map +1 -1
- package/dist/esm/vite/build.js +8 -1
- package/dist/esm/vite/build.js.map +1 -1
- package/dist/esm/vite/build.mjs +8 -1
- package/dist/esm/vite/build.mjs.map +1 -1
- package/dist/esm/vite/build.native.js +12 -2
- package/dist/esm/vite/build.native.js.map +1 -1
- package/dist/esm/vite/createFileSystemRouter.js +7 -3
- package/dist/esm/vite/createFileSystemRouter.js.map +1 -1
- package/dist/esm/vite/createFileSystemRouter.mjs +18 -8
- package/dist/esm/vite/createFileSystemRouter.mjs.map +1 -1
- package/dist/esm/vite/createFileSystemRouter.native.js +18 -8
- package/dist/esm/vite/createFileSystemRouter.native.js.map +1 -1
- package/dist/esm/vite/one.js +11 -1
- package/dist/esm/vite/one.js.map +1 -1
- package/dist/esm/vite/one.mjs +15 -1
- package/dist/esm/vite/one.mjs.map +1 -1
- package/dist/esm/vite/one.native.js +19 -1
- package/dist/esm/vite/one.native.js.map +1 -1
- package/package.json +12 -8
- package/src/cli.ts +2 -3
- package/src/serve.ts +1 -1
- package/src/server/createRoutesManifest.ts +1 -0
- package/src/vite/build.ts +11 -1
- package/src/vite/createFileSystemRouter.tsx +11 -4
- package/src/vite/one.ts +25 -1
- package/src/vite/types.ts +33 -20
- package/types/serve.d.ts.map +1 -1
- package/types/server/createRoutesManifest.d.ts +1 -0
- package/types/server/createRoutesManifest.d.ts.map +1 -1
- package/types/vite/build.d.ts.map +1 -1
- package/types/vite/createFileSystemRouter.d.ts.map +1 -1
- package/types/vite/one.d.ts.map +1 -1
- package/types/vite/types.d.ts +30 -17
- package/types/vite/types.d.ts.map +1 -1
package/README.md
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
|
1
|
+
One is a new React Framework that makes Vite serve both native and web.
|
2
2
|
|
3
|
-
|
3
|
+
See: https://onestack.dev
|
package/dist/cjs/cli.js
CHANGED
@@ -80,7 +80,7 @@ const dev = (0, import_citty.defineCommand)({
|
|
80
80
|
platform: {
|
81
81
|
type: "string"
|
82
82
|
},
|
83
|
-
|
83
|
+
compress: {
|
84
84
|
type: "boolean"
|
85
85
|
},
|
86
86
|
cacheHeaders: {
|
@@ -93,7 +93,7 @@ const dev = (0, import_citty.defineCommand)({
|
|
93
93
|
port: args.port ? +args.port : void 0,
|
94
94
|
host: args.host,
|
95
95
|
cacheHeaders: args.cacheHeaders === !1 ? "off" : void 0,
|
96
|
-
|
96
|
+
compress: args.compress,
|
97
97
|
platform: args.platform === "vercel" ? "vercel" : "node"
|
98
98
|
});
|
99
99
|
}
|
package/dist/cjs/cli.js.map
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/cli.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;AAAA,mBAAuC,kBACvC,iBAAwB;AAAA,
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;AAAA,mBAAuC,kBACvC,iBAAwB;AAAA,IAGnB,wBAAQ,QAAQ,IAAI,CAAC;AAE1B,MAAM,UAAM,4BAAc;AAAA,EACxB,MAAM;AAAA,IACJ,MAAM;AAAA;AAAA,IAEN,aAAa;AAAA,EACf;AAAA,EACA,MAAM;AAAA,IACJ,OAAO;AAAA,MACL,MAAM;AAAA,IACR;AAAA,IACA,MAAM;AAAA,MACJ,MAAM;AAAA,IACR;AAAA,IACA,MAAM;AAAA,MACJ,MAAM;AAAA,IACR;AAAA,IACA,OAAO;AAAA,MACL,MAAM;AAAA,IACR;AAAA,EACF;AAAA,EACA,MAAM,IAAI,EAAE,KAAK,GAAG;AAClB,UAAM,EAAE,IAAI,IAAI,MAAM,OAAO,WAAW;AACxC,UAAM,IAAI,IAAI;AAAA,EAChB;AACF,CAAC,GAEK,mBAAe,4BAAc;AAAA,EACjC,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,SAAS;AAAA,IACT,aAAa;AAAA,EACf;AAAA,EACA,MAAM;AAAA,IACJ,MAAM;AAAA,MACJ,MAAM;AAAA,MACN,UAAU;AAAA,IACZ;AAAA;AAAA,IAEA,MAAM;AAAA,MACJ,MAAM;AAAA,MACN,UAAU;AA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AAA,EACf;AAAA,EACA,MAAM,CAAC;AAAA,EACP,MAAM,MAAM;AACV,UAAM,EAAE,OAAO,UAAU,IAAI,MAAM,OAAO,MAAM;AAChD,UAAM,UAAU;AAAA,MACd,MAAM,QAAQ,IAAI;AAAA,IACpB,CAAC;AAAA,EACH;AACF,CAAC,GAEK,WAAO,4BAAc;AAAA,EACzB,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,SAAS;AAAA,IACT,aAAa;AAAA,EACf;AAAA,EACA,MAAM,CAAC;AAAA,EACP,MAAM,IAAI,EAAE,KAAK,GAAG;AAClB,QAAI,CAAC,SAAS,UAAU,EAAE,SAAS,KAAK,EAAE,CAAC,CAAC;AAE1C;AAGF,UAAM,EAAE,QAAQ,IAAI,MAAM,OAAO,YAAY;AAC7C,UAAM,QAAQ,IAAI;AAAA,EACpB;AAAA,EACA,aAAa;AAAA,IACX;AAAA,IACA;AAAA,IACA,OAAO;AAAA,IACP;AAAA,IACA,OAAO;AAAA,EACT;AACF,CAAC;AAAA,IAED,sBAAQ,IAAI;",
|
5
5
|
"names": []
|
6
6
|
}
|
package/dist/cjs/cli.native.js
CHANGED
@@ -81,7 +81,7 @@ var dev = (0, import_citty.defineCommand)({
|
|
81
81
|
platform: {
|
82
82
|
type: "string"
|
83
83
|
},
|
84
|
-
|
84
|
+
compress: {
|
85
85
|
type: "boolean"
|
86
86
|
},
|
87
87
|
cacheHeaders: {
|
@@ -94,7 +94,7 @@ var dev = (0, import_citty.defineCommand)({
|
|
94
94
|
port: args.port ? +args.port : void 0,
|
95
95
|
host: args.host,
|
96
96
|
cacheHeaders: args.cacheHeaders === !1 ? "off" : void 0,
|
97
|
-
|
97
|
+
compress: args.compress,
|
98
98
|
platform: args.platform === "vercel" ? "vercel" : "node"
|
99
99
|
});
|
100
100
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/Users/n8/vxrn/packages/one/src/cli.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA,mBAAuC,kBACvC,iBAAwB;
|
5
|
-
"names": ["loadEnv", "process", "cwd", "dev", "defineCommand", "meta", "name", "description", "args", "clean", "type", "host", "port", "https", "run", "buildCommand", "version", "step", "required", "only", "build", "exit", "serveCommand", "platform", "
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA,mBAAuC,kBACvC,iBAAwB;IAGnBA,wBAAQC,QAAQC,IAAG,CAAA;AAExB,IAAMC,UAAMC,4BAAc;EACxBC,MAAM;IACJC,MAAM;;IAENC,aAAa;EACf;EACAC,MAAM;IACJC,OAAO;MACLC,MAAM;IACR;IACAC,MAAM;MACJD,MAAM;IACR;IACAE,MAAM;MACJF,MAAM;IACR;IACAG,OAAO;MACLH,MAAM;IACR;EACF;EACA,MAAMI,IAAI,OAAQ;QAAR,EAAEN,KAAI,IAAN,OACF,EAAEM,IAAG,IAAK,MAAM,OAAO,WAAA;AAC7B,UAAMA,IAAIN,IAAAA;EACZ;AACF,CAAA,GAEMO,mBAAeX,4BAAc;EACjCC,MAAM;IACJC,MAAM;IACNU,SAAS;IACTT,aAAa;EACf;EACAC,MAAM;IACJS,MAAM;MACJP,MAAM;MACNQ,UAAU;IACZ;;IAEAC,MAAM;MACJT,MAAM;MACNQ,UAAU;IACZ;EACF;EACA,MAAMJ,IAAI,OAAQ;QAAR,EAAEN,KAAI,IAAN,OACF,EAAEY,MAAK,IAAK,MAAM,OAAO,cAAA;AAC/B,UAAMA,MAAMZ,IAAAA,GAEZP,QAAQoB,KAAK,CAAA;EACf;AACF,CAAA,GAEMC,mBAAelB,4BAAc;EACjCC,MAAM;IACJC,MAAM;IACNU,SAAS;IACTT,aAAa;EACf;EACAC,MAAM;IACJG,MAAM;MACJD,MAAM;IACR;IACAE,MAAM;MACJF,MAAM;IACR;IACAa,UAAU;MACRb,MAAM;IACR;IACAc,UAAU;MACRd,MAAM;IACR;IACAe,cAAc;MACZf,MAAM;IACR;EACF;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"process", "cwd", "dev", "defineCommand", "meta", "name", "description", "args", "clean", "type", "host", "port", "https", "run", "buildCommand", "version", "step", "required", "only", "build", "exit", "serveCommand", "platform", "compress", "cacheHeaders", "serve", "undefined", "prebuild", "vxrnClean", "root", "main", "includes", "_", "cliMain", "subCommands", "runMain"]
|
6
6
|
}
|
package/dist/cjs/serve.js
CHANGED
@@ -39,7 +39,7 @@ async function serve(args = {}) {
|
|
39
39
|
...(0, import_removeUndefined.removeUndefined)({
|
40
40
|
port: args.port ? +args.port : void 0,
|
41
41
|
host: args.host,
|
42
|
-
|
42
|
+
compress: args.compress,
|
43
43
|
platform: args.platform,
|
44
44
|
cacheHeaders: args.cacheHeaders
|
45
45
|
}),
|
package/dist/cjs/serve.js.map
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/serve.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,8BAAO,+BAEP,kBAAoB,iCAEpB,mBAA2B,kCAE3B,cAAmD,iBACnD,6BAAoC,kCAEpC,oBAA2B,+BAC3B,kBAAiC,6BACjC,yBAAgC,oCAChC,2BAAkC,qCAElC,aAAmC;AAEnC,QAAQ,GAAG,qBAAqB,CAAC,QAAQ;AACvC,UAAQ,MAAM,4BAA4B,KAAK,SAAS,GAAG;AAC7D,CAAC;AAED,eAAsB,MAAM,OAA8B,CAAC,GAAG;AAC5D,QAAM,aAAa,UAAM,+BAAmB,OAAO;AAGnD,iBAAQ,IAAI,gBAAgB,KAErB,UAAM,YAAAA,OAAU;AAAA,IACrB,QAAQ;AAAA;AAAA,MAEN,GAAG,WAAW;AAAA;AAAA,MAEd,OAAG,wCAAgB;AAAA,QACjB,MAAM,KAAK,OAAO,CAAC,KAAK,OAAO;AAAA,QAC/B,MAAM,KAAK;AAAA,QACX,
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA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iB,UAAU;AAAA,YAClD,SAAS,KAAK;AACZ,sBAAQ;AAAA,gBACN,6CACE,QAAQ,IAAI,IACd,wBAAwB,SAAS,QAAQ,IAAI,eAAe,CAAC;AAAA,gBAC7D;AAAA,cACF;AAAA,YACF;AAGF,iBAAO;AAAA,QACT;AAEA,eAAO,QAAQ;AAAA,UACb;AAAA,UACA;AAAA,UACA,aAAa,IAAI,OAAO,IACpB;AAAA,YACE,iBAAiB;AAAA,UACnB,IACA;AAAA,QACN;AAAA,MACF;AAAA,IACF,SAAS,KAAK;AACZ,cAAQ,MAAM,kCAAmC,IAAY,KAAQ,EAAE;AAAA,IACzE;AAEA,UAAM,KAAK;AAAA,EACb,CAAC;AACH;",
|
5
5
|
"names": ["vxrnServe", "Path", "FSExtra", "buildInfo"]
|
6
6
|
}
|
package/dist/cjs/serve.native.js
CHANGED
@@ -40,7 +40,7 @@ async function serve() {
|
|
40
40
|
...(0, import_removeUndefined.removeUndefined)({
|
41
41
|
port: args.port ? +args.port : void 0,
|
42
42
|
host: args.host,
|
43
|
-
|
43
|
+
compress: args.compress,
|
44
44
|
platform: args.platform,
|
45
45
|
cacheHeaders: args.cacheHeaders
|
46
46
|
}),
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/Users/n8/vxrn/packages/one/src/serve.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;8BAAO,+BAEP,kBAAoB,iCAEpB,mBAA2B,kCAE3B,cAAmD,iBACnD,6BAAoC,kCAEpC,oBAA2B,+BAC3B,kBAAiC,6BACjC,yBAAgC,oCAChC,2BAAkC,qCAElC,aAAmC;AAEnCA,QAAQC,GAAG,qBAAqB,SAACC,KAAAA;AAC/BC,UAAQC,MAAM,6BAA4BF,OAAAA,OAAAA,SAAAA,IAAKG,UAASH,GAAAA;AAC1D,CAAA;AAEA,eAAsBI,QAAAA;MAAMC,OAAAA,UAAAA,SAAAA,KAAAA,UAAAA,CAAAA,MAAAA,SAAAA,UAAAA,CAAAA,IAA8B,CAAC,GACnDC,aAAa,UAAMC,+BAAmB,OAAA;AAG5CT,iBAAQU,IAAIC,gBAAgB,KAErB,UAAMC,YAAAA,OAAU;IACrBC,QAAQ;;MAEN,GAAGL,WAAWK;;MAEd,OAAGC,wCAAgB;QACjBC,MAAMR,KAAKQ,OAAO,CAACR,KAAKQ,OAAOC;QAC/BC,MAAMV,KAAKU;QACXC,
|
5
|
-
"names": ["process", "on", "err", "console", "error", "stack", "serve", "args", "oneOptions", "loadUserOneOptions", "env", "VXRN_REACT_19", "vxrnServe", "server", "removeUndefined", "port", "undefined", "host", "
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;8BAAO,+BAEP,kBAAoB,iCAEpB,mBAA2B,kCAE3B,cAAmD,iBACnD,6BAAoC,kCAEpC,oBAA2B,+BAC3B,kBAAiC,6BACjC,yBAAgC,oCAChC,2BAAkC,qCAElC,aAAmC;AAEnCA,QAAQC,GAAG,qBAAqB,SAACC,KAAAA;AAC/BC,UAAQC,MAAM,6BAA4BF,OAAAA,OAAAA,SAAAA,IAAKG,UAASH,GAAAA;AAC1D,CAAA;AAEA,eAAsBI,QAAAA;MAAMC,OAAAA,UAAAA,SAAAA,KAAAA,UAAAA,CAAAA,MAAAA,SAAAA,UAAAA,CAAAA,IAA8B,CAAC,GACnDC,aAAa,UAAMC,+BAAmB,OAAA;AAG5CT,iBAAQU,IAAIC,gBAAgB,KAErB,UAAMC,YAAAA,OAAU;IACrBC,QAAQ;;MAEN,GAAGL,WAAWK;;MAEd,OAAGC,wCAAgB;QACjBC,MAAMR,KAAKQ,OAAO,CAACR,KAAKQ,OAAOC;QAC/BC,MAAMV,KAAKU;QACXC,UAAUX,KAAKW;QACfC,UAAUZ,KAAKY;QACfC,cAAcb,KAAKa;MACrB,CAAA;MAEA,MAAMC,YAAYC,SAASC,KAAG;YACtBf,gCAAAA;AAAN,gBAA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AAQO,IAAIoD,KACtBC,WAAW,MAAMhC,cAAciC,QAAQ9B,OAAAA;AAE7C,UAAI6B,UAAU;AACZ,gBAAIE,8BAAWF,QAAAA,GAAW;AACxB,kBAAIG,kCAAiBH,SAASI,MAAM,GAAG;AACrC,gBAAMC,WAAW,GAAGL,SAASZ,QAAQlD,IAAI,UAAA,KAAe,EAAA;AACxD,mBAAOE,QAAQH,SAASoE,UAAUL,SAASI,MAAM;UACnD;AAEA,cAAI3E,aAAaS,IAAIiC,OAAAA;AACnB,gBAAI;AAEF6B,uBAASZ,QAAQX,IAAI,iBAAiB,UAAA;YACxC,SAASzE,KAAK;AACZC,sBAAQyF,KACN,6CACEtD,QAAQO,IAAI4C,IAAI,wBACMS,SAASZ,QAAQlD,IAAI,eAAA,CAAA,cAC7ClC,GAAAA;YAEJ;AAGF,iBAAOgG;QACT;AAEA,eAAO5D,QAAQkE,KACbN,UACA,KACAvE,aAAaS,IAAIiC,OAAAA,IACb;UACE,iBAAiB;QACnB,IACArD,MAAAA;MAER;IACF,SAASd,KAAK;AACZC,cAAQC,MAAM,kCAAmCF,IAAY,KAAQ,EAAE;IACzE;AAEA,UAAM6F,KAAAA;EACR,CAAA;AACF;",
|
5
|
+
"names": ["process", "on", "err", "console", "error", "stack", "serve", "args", "oneOptions", "loadUserOneOptions", "env", "VXRN_REACT_19", "vxrnServe", "server", "removeUndefined", "port", "undefined", "host", "compress", "platform", "cacheHeaders", "beforeStart", "options", "app", "oneServe", "vxrnOptions", "root", "isAPIRequest", "WeakMap", "toAbsolute", "p", "Path", "resolve", "redirects", "web", "redirect", "get", "source", "context", "destinationUrl", "destination", "replace", "param", "paramName", "substring", "req", "permanent", "buildInfo", "FSExtra", "readJSON", "Error", "routeMap", "builtRoutes", "routeToBuildInfo", "route", "cleanPath", "serverOptions", "entryServer", "getServerEntry", "entry", "render", "default", "apiCJS", "build", "api", "outputFormat", "handleRequest", "createHandleRequest", "handleAPI", "request", "loaderProps", "apiFile", "join", "cwd", "page", "set", "resolveAPIRequest", "params", "handleSSR", "url", "type", "exported", "serverJsPath", "loaderData", "loader", "preloads", "headers", "Headers", "Response", "path", "htmlFiles", "key", "info", "readFile", "use", "next", "html", "raw", "response", "handler", "isResponse", "isStatusRedirect", "status", "location", "json"]
|
6
6
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/server/createRoutesManifest.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAAwC,yBACxC,2BAAkC;
|
4
|
+
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAAwC,yBACxC,2BAAkC;AAqBlC,SAAS,4BAA4B,MAAgB,CAAC,GAAG;AACvD,QAAM,gBAAgB,CAAC,SAAS,EAAE,UAAU;AAAA,EAAC,EAAE;AAE/C,gBAAO,eAAe,eAAe,QAAQ;AAAA,IAC3C,OAAO,MAAM;AAAA,EACf,CAAC,GAEM;AACT;AAEO,SAAS,qBAAqB,OAAiB,SAAyC;AAC7F,QAAM,gBAAY,4BAAU,4BAA4B,KAAK,GAAG;AAAA,IAC9D,GAAG;AAAA,IACH,mBAAmB;AAAA,IACnB,qBAAqB;AAAA,IACrB,mBAAmB;AAAA,IACnB,UAAU;AAAA,EACZ,CAAC;AAED,MAAI,CAAC;AACH,UAAM,IAAI,MAAM,iCAAiC,KAAK,UAAU,KAAK,CAAC,EAAE;AAG1E,aAAO,4CAAkB,SAAS;AACpC;",
|
5
5
|
"names": []
|
6
6
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/server/Users/n8/vxrn/packages/one/src/server/createRoutesManifest.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;AAAA;;;;;uBAAwC,yBACxC,2BAAkC;
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;AAAA;;;;;uBAAwC,yBACxC,2BAAkC;AAqBlC,SAASA,8BAAAA;MAA4BC,MAAAA,UAAAA,SAAAA,KAAAA,UAAAA,CAAAA,MAAAA,SAAAA,UAAAA,CAAAA,IAAgB,CAAA,GAC7CC,gBAAgB,SAACC,KAAAA;WAAS;MAAEC,UAAAA;MAAW;IAAE;;AAE/CC,gBAAOC,eAAeJ,eAAe,QAAQ;IAC3CK,OAAO,WAAA;aAAMN;;EACf,CAAA,GAEOC;AACT;AAEO,SAASM,qBAAqBC,OAAiBC,SAAgB;AACpE,MAAMC,gBAAYC,4BAAUZ,4BAA4BS,KAAAA,GAAQ;IAC9D,GAAGC;IACHG,mBAAmB;IACnBC,qBAAqB;IACrBC,mBAAmB;IACnBC,UAAU;EACZ,CAAA;AAEA,MAAI,CAACL;AACH,UAAM,IAAIM,MAAM,iCAAiCC,KAAKC,UAAUV,KAAAA,CAAAA,EAAQ;AAG1E,aAAOW,4CAAkBT,SAAAA;AAC3B;",
|
5
5
|
"names": ["createMockModuleWithContext", "map", "contextModule", "key", "default", "Object", "defineProperty", "value", "createRoutesManifest", "paths", "options", "routeTree", "getRoutes", "preserveApiRoutes", "ignoreRequireErrors", "ignoreEntryPoints", "platform", "Error", "JSON", "stringify", "getServerManifest"]
|
6
6
|
}
|
package/dist/cjs/vite/build.js
CHANGED
@@ -74,7 +74,14 @@ async function build(args) {
|
|
74
74
|
define: {
|
75
75
|
...processEnvDefines
|
76
76
|
},
|
77
|
+
ssr: {
|
78
|
+
noExternal: !0,
|
79
|
+
// we patched them to switch to react 19
|
80
|
+
external: ["react", "react-dom"],
|
81
|
+
optimizeDeps
|
82
|
+
},
|
77
83
|
build: {
|
84
|
+
ssr: !0,
|
78
85
|
emptyOutDir: !1,
|
79
86
|
outDir: "dist/api",
|
80
87
|
copyPublicDir: !1,
|
@@ -296,7 +303,7 @@ ${JSON.stringify(params || null, null, 2)}`
|
|
296
303
|
};
|
297
304
|
await import_fs_extra.default.writeJSON(toAbsolute("dist/buildInfo.json"), buildInfoForWriting);
|
298
305
|
let postBuildLogs = [];
|
299
|
-
options.server?.platform === "vercel" && (await import_fs_extra.default.writeFile(
|
306
|
+
(userOptions.web?.deploy ?? options.server?.platform) === "vercel" && (await import_fs_extra.default.writeFile(
|
300
307
|
(0, import_node_path.join)(options.root, "dist", "index.js"),
|
301
308
|
`import { serve } from 'one/serve'
|
302
309
|
const handler = await serve()
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/vite/build.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAAoB,iCACpB,oBAAuB,mCACvB,qBAA8B,wBAC9B,mBAAqC,kCAErC,sCAA8B,yCAC9B,cAAmE,iBACnE,cAA2F,iBAG3F,qBAA4B,0BAC5B,aAAmC,kBACnC,uBAA8B;AAZ9B,wBAeM,EAAE,WAAW,UAAU,WAAW,IAAI,gBAAAA;AAE5C,QAAQ,GAAG,qBAAqB,CAAC,QAAQ;AACvC,UAAQ,MAAM,KAAK,WAAW,GAAG;AACnC,CAAC;AAED,eAAsB,MAAM,MAGzB;AACD,QAAM,cAAc,UAAM,+BAAmB,OAAO,GAC9C,qBAAqB,YAAY,OAAO,QAAQ,gBAAgB;AAGtE,UAAQ,IAAI,gBAAgB,KAEvB,QAAQ,IAAI,kBACf,QAAQ;AAAA,IACN;AAAA,EACF;AAGF,QAAM,aAAa,UAAM,YAAAC;AAAA,IACvB;AAAA,MACE,QAAQ,YAAY;AAAA,MACpB,OAAO;AAAA,QACL,SAAS;AAAA,QACT,QAAQ;AAAA,UACN,cAAc;AAAA,QAChB;AAAA,MACF;AAAA,IACF;AAAA,IACA;AAAA,EACF,GAEM,UAAU,UAAM,yBAAY,WAAW,OAAO,GAE9C,aAAa,CAAC,MAAM,iBAAAC,QAAK,QAAQ,QAAQ,MAAM,CAAC,GAChD,eAAW,gCAAY,GACvB,EAAE,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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": ["FSExtra", "vxrnBuild", "Path", "viteBuild", "MicroMatch", "file"]
|
6
6
|
}
|
@@ -33,7 +33,7 @@ process.on("uncaughtException", function(err) {
|
|
33
33
|
console.error((err == null ? void 0 : err.message) || err);
|
34
34
|
});
|
35
35
|
async function build(args) {
|
36
|
-
var _userOptions_build_server, _userOptions_build, _options_server, userOptions = await (0, import_one.loadUserOneOptions)("build"), _userOptions_build_server_outputFormat, serverOutputFormat = (_userOptions_build_server_outputFormat = (_userOptions_build = userOptions.build) === null || _userOptions_build === void 0 || (_userOptions_build_server = _userOptions_build.server) === null || _userOptions_build_server === void 0 ? void 0 : _userOptions_build_server.outputFormat) !== null && _userOptions_build_server_outputFormat !== void 0 ? _userOptions_build_server_outputFormat : "esm";
|
36
|
+
var _userOptions_build_server, _userOptions_build, _userOptions_web, _options_server, userOptions = await (0, import_one.loadUserOneOptions)("build"), _userOptions_build_server_outputFormat, serverOutputFormat = (_userOptions_build_server_outputFormat = (_userOptions_build = userOptions.build) === null || _userOptions_build === void 0 || (_userOptions_build_server = _userOptions_build.server) === null || _userOptions_build_server === void 0 ? void 0 : _userOptions_build_server.outputFormat) !== null && _userOptions_build_server_outputFormat !== void 0 ? _userOptions_build_server_outputFormat : "esm";
|
37
37
|
process.env.VXRN_REACT_19 = "1", process.env.ONE_SERVER_URL || console.warn("\u26A0\uFE0F No ONE_SERVER_URL environment set, set it in your .env to your target deploy URL");
|
38
38
|
var vxrnOutput = await (0, import_vxrn.build)({
|
39
39
|
server: userOptions.server,
|
@@ -80,7 +80,17 @@ async function build(args) {
|
|
80
80
|
define: {
|
81
81
|
...processEnvDefines
|
82
82
|
},
|
83
|
+
ssr: {
|
84
|
+
noExternal: !0,
|
85
|
+
// we patched them to switch to react 19
|
86
|
+
external: [
|
87
|
+
"react",
|
88
|
+
"react-dom"
|
89
|
+
],
|
90
|
+
optimizeDeps
|
91
|
+
},
|
83
92
|
build: {
|
93
|
+
ssr: !0,
|
84
94
|
emptyOutDir: !1,
|
85
95
|
outDir: "dist/api",
|
86
96
|
copyPublicDir: !1,
|
@@ -364,8 +374,8 @@ ${JSON.stringify(params || null, null, 2)}`), console.error(err), process.exit(1
|
|
364
374
|
...vxrnOutput
|
365
375
|
};
|
366
376
|
await import_fs_extra.default.writeJSON(toAbsolute("dist/buildInfo.json"), buildInfoForWriting);
|
367
|
-
var postBuildLogs = [];
|
368
|
-
if (
|
377
|
+
var postBuildLogs = [], _userOptions_web_deploy, platform = (_userOptions_web_deploy = (_userOptions_web = userOptions.web) === null || _userOptions_web === void 0 ? void 0 : _userOptions_web.deploy) !== null && _userOptions_web_deploy !== void 0 ? _userOptions_web_deploy : (_options_server = options.server) === null || _options_server === void 0 ? void 0 : _options_server.platform;
|
378
|
+
if (platform === "vercel" && (await import_fs_extra.default.writeFile((0, import_node_path.join)(options.root, "dist", "index.js"), `import { serve } from 'one/serve'
|
369
379
|
const handler = await serve()
|
370
380
|
export const { GET, POST, PUT, PATCH, OPTIONS } = handler`), postBuildLogs.push(`wrote vercel entry to: ${(0, import_node_path.join)(".", "dist", "index.js")}`), postBuildLogs.push("point vercel outputDirectory to dist")), userOptions != null && userOptions.afterBuild) {
|
371
381
|
var _userOptions_afterBuild;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/vite/Users/n8/vxrn/packages/one/src/vite/build.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;;;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C,SAAO,IAAIE,OAAOD,YAAAA;AACpB;",
|
5
|
-
"names": ["ensureDir", "readFile", "outputFile", "FSExtra", "process", "on", "err", "console", "error", "message", "build", "args", "userOptions", "options", "loadUserOneOptions", "serverOutputFormat", "server", "outputFormat", "env", "VXRN_REACT_19", "ONE_SERVER_URL", "warn", "vxrnOutput", "vxrnBuild", "analyze", "fillOptions", "toAbsolute", "p", "Path", "resolve", "root", "manifest", "getManifest", "optimizeDeps", "getOptimizeDeps", "apiBuildConfig", "mergeConfig", "webBuildConfig", "configFile", "appType", "apiRoutes", "length", "info", "processEnvDefines", "Object", "fromEntries", "entries", "map", "key", "value", "JSON", "stringify", "apiRouteExternalRegex", "buildRegexExcludingDeps", "include", "apiEntryPoints", "reduce", "page", "file", "slice", "join", "apiOutputFormat", "api", "viteBuild", "plugins", "nodeExternals", "exclude", "define", "emptyOutDir", "outDir", "copyPublicDir", "minify", "rollupOptions", "treeshake", "moduleSideEffects", "preserveEntrySignatures", "input", "
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;sBAAoB,iCACpB,oBAAuB,mCACvB,qBAA8B,wBAC9B,mBAAqC,kCAErC,sCAA8B,yCAC9B,cAAmE,iBACnE,cAA2F,iBAG3F,qBAA4B,0BAC5B,aAAmC,kBACnC,uBAA8B;AAZ9B;AAeA,IAAM,EAAEA,WAAWC,UAAUC,WAAU,IAAKC,gBAAAA;AAE5CC,QAAQC,GAAG,qBAAqB,SAACC,KAAAA;AAC/BC,UAAQC,OAAMF,OAAAA,OAAAA,SAAAA,IAAKG,YAAWH,GAAAA;AAChC,CAAA;AAEA,eAAsBI,MAAMC,MAG3B;MAE4BC,2BAAAA,oBA8dVA,kBAA2BC,iBA/dtCD,cAAc,UAAME,+BAAmB,OAAA,GAClBF,wCAArBG,sBAAqBH,0CAAAA,qBAAAA,YAAYF,WAAK,QAAjBE,uBAAAA,WAAAA,4BAAAA,mBAAmBI,YAAM,QAAzBJ,8BAAAA,SAAA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c,OAAO6C,IAAAA,CAAK;IACzB;AACA,WAAO,IAAItD,SACRuD,MAAM,GAAA,EACN5K,IAAI,SAAC2K,OAAAA;AACJ,UAAIA,MAAK,CAAA,MAAO,KAAK;AACnB,YAAM3E,QAAQ8B,OAAO6C,MAAK/J,MAAM,GAAG+J,MAAKjL,SAAS,CAAA,CAAA;AACjD,YAAI,CAACsG,OAAO;AACV,cAAIyE;AACF,kBAAM,IAAInD,MACR;;0BAEUN,IAAAA;0BACA2D,KAAAA;8BACItD,QAAAA;;;IAG1BlH,KAAKC,UAAU0H,QAAQ,MAAM,CAAA,CAAA,EAAI;AAIzB,iBAAO,MAAM6C,MAAKnI,QAAQ,KAAK,EAAA,EAAIA,QAAQ,KAAK,EAAA;QAClD;AACA,eAAOwD;MACT;AACA,aAAO2E;IACT,CAAA,EACC9J,KAAK,GAAA,CAAA;EACV,EAAA;AAEA,SAAO,GAAG8B,OAAAA,GAAU+H,cAAAA,GAAiBlI,QAAQ,WAAW,GAAA;AAC1D;AAEA,SAASqI,YAAYC,QAAc;AACjC,SAAOA,OAAOtI,QAAQ,uBAAuB,MAAA;AAC/C;AAEA,SAASlC,wBAAwByK,MAAc;AAE7C,MAAMC,gBAAgBD,KAAK/K,IAAI,SAACiL,KAAAA;WAAQJ,YAAYI,GAAAA;MAE9CC,mBAAmBF,cAAcnK,KAAK,GAAA,GAEtCsK,eAAe,oBAAoBD,gBAAAA;AACzC,SAAO,IAAIE,OAAOD,YAAAA;AACpB;",
|
5
|
+
"names": ["ensureDir", "readFile", "outputFile", "FSExtra", "process", "on", "err", "console", "error", "message", "build", "args", "userOptions", "options", "loadUserOneOptions", "serverOutputFormat", "server", "outputFormat", "env", "VXRN_REACT_19", "ONE_SERVER_URL", "warn", "vxrnOutput", "vxrnBuild", "analyze", "fillOptions", "toAbsolute", "p", "Path", "resolve", "root", "manifest", "getManifest", "optimizeDeps", "getOptimizeDeps", "apiBuildConfig", "mergeConfig", "webBuildConfig", "configFile", "appType", "apiRoutes", "length", "info", "processEnvDefines", "Object", "fromEntries", "entries", "map", "key", "value", "JSON", "stringify", "apiRouteExternalRegex", "buildRegexExcludingDeps", "include", "apiEntryPoints", "reduce", "page", "file", "slice", "join", "apiOutputFormat", "api", "viteBuild", "plugins", "nodeExternals", "exclude", "define", "ssr", "noExternal", "external", "emptyOutDir", "outDir", "copyPublicDir", "minify", "rollupOptions", "treeshake", "moduleSideEffects", "preserveEntrySignatures", "input", "output", "entryFileNames", "exports", "format", "esModule", "chunkInfo", "name", "replace", "chunkFileNames", "dir", "dirname", "basename", "extname", "assetFileNames", "assetInfo", "baseName", "ext", "globalThis", "createRequire", "url", "assets", "builtRoutes", "render", "entryServer", "serverEntry", "serverImport", "default", "exit", "staticDir", "clientDir", "outputEntries", "serverOutput", "index", "foundRoute", "exported", "type", "push", "id", "facadeModuleId", "includes", "relativeId", "relative", "cwd", "onlyBuild", "buildArgs", "only", "MicroMatch", "contains", "clientManifestKey", "keys", "clientManifest", "find", "endsWith", "clientManifestEntry", "findMatchingRoute", "route", "pageRoutes", "startsWith", "collectImports", "imports", "css", "Set", "flatMap", "found", "flat", "filter", "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", "loaderProps", "loader", "code", "withLoader", "replaceLoader", "loaderPartialPath", "replaceAll", "html", "preload", "errMsg", "stack", "moveAllFiles", "rm", "force", "recursive", "routeMap", "acc", "buildInfoForWriting", "buildInfo", "writeJSON", "postBuildLogs", "platform", "web", "deploy", "writeFile", "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
|
}
|
@@ -44,19 +44,23 @@ function createFileSystemRouter(options) {
|
|
44
44
|
renderPromise = promise;
|
45
45
|
try {
|
46
46
|
const routeFile = (0, import_node_path.join)("app", route.file);
|
47
|
-
runner.clearCache(), globalThis.__vxrnresetState?.();
|
47
|
+
console.log({ routeFile, url }), runner.clearCache(), globalThis.__vxrnresetState?.();
|
48
48
|
const exported = routeFile === "" ? {} : await runner.import(routeFile), loaderData = await exported.loader?.(loaderProps);
|
49
49
|
eval("process.env.TAMAGUI_IS_SERVER = '1'");
|
50
50
|
const entry = await runner.import(import_virtualEntryPlugin.virtualEntryId), render = entry.default.render;
|
51
51
|
globalThis.__vxrnLoaderData__ = loaderData, globalThis.__vxrnLoaderProps__ = loaderProps, import_constants.LoaderDataCache[route.file] = loaderData;
|
52
|
-
const html = await render({
|
52
|
+
const is404 = route.isNotFound || !exported.default, html = await render({
|
53
53
|
loaderData,
|
54
54
|
loaderProps,
|
55
55
|
path: loaderProps?.path || "/",
|
56
56
|
preloads
|
57
57
|
});
|
58
|
-
return html
|
58
|
+
return is404 ? new Response(html, {
|
59
|
+
status: 404,
|
60
|
+
headers: { "Content-Type": "text/html" }
|
61
|
+
}) : html;
|
59
62
|
} catch (err) {
|
63
|
+
console.error("Error in handleSSR:", err);
|
60
64
|
const title = `Error rendering ${url.pathname} on server`, message = err instanceof Error ? err.message : `${err}`, stack = err instanceof Error ? err.stack : "";
|
61
65
|
return console.error(`${title}
|
62
66
|
${message}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/vite/createFileSystemRouter.tsx"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAAqB,sBACrB,0BAAyB,6BAEzB,cAAyC,iBAEzC,6BAAoC,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,EACF,CAAC;AACH;AAEA,SAAS,WAAW,QAAkD;AACpE,SAAO,IAAI,QAAQ,CAACI,UAAS,WAAW;AACtC,UAAM,SAAuB,CAAC;AAC9B,WAAO,GAAG,QAAQ,CAAC,UAAsB,OAAO,KAAK,KAAK,CAAC,GAC3D,OAAO,GAAG,OAAO,MAAMA,SAAQ,OAAO,OAAO,MAAM,CAAC,CAAC,GACrD,OAAO,GAAG,SAAS,MAAM;AAAA,EAC3B,CAAC;AACH;",
|
5
5
|
"names": ["route", "url", "loaderProps", "routeFile", "loaderData", "resolve"]
|
6
6
|
}
|
@@ -52,19 +52,28 @@ function createFileSystemRouter(options) {
|
|
52
52
|
renderPromise = promise;
|
53
53
|
try {
|
54
54
|
var _globalThis___vxrnresetState, _globalThis, _exported_loader, routeFile = (0, import_node_path.join)("app", route.file);
|
55
|
-
|
55
|
+
console.log({
|
56
|
+
routeFile,
|
57
|
+
url
|
58
|
+
}), runner.clearCache(), (_globalThis___vxrnresetState = (_globalThis = globalThis).__vxrnresetState) === null || _globalThis___vxrnresetState === void 0 || _globalThis___vxrnresetState.call(_globalThis);
|
56
59
|
var exported = routeFile === "" ? {} : await runner.import(routeFile), loaderData = await ((_exported_loader = exported.loader) === null || _exported_loader === void 0 ? void 0 : _exported_loader.call(exported, loaderProps));
|
57
60
|
eval("process.env.TAMAGUI_IS_SERVER = '1'");
|
58
61
|
var entry = await runner.import(import_virtualEntryPlugin.virtualEntryId), render = entry.default.render;
|
59
62
|
globalThis.__vxrnLoaderData__ = loaderData, globalThis.__vxrnLoaderProps__ = loaderProps, import_constants.LoaderDataCache[route.file] = loaderData;
|
60
|
-
var html = await render({
|
63
|
+
var is404 = route.isNotFound || !exported.default, html = await render({
|
61
64
|
loaderData,
|
62
65
|
loaderProps,
|
63
66
|
path: (loaderProps == null ? void 0 : loaderProps.path) || "/",
|
64
67
|
preloads
|
65
68
|
});
|
66
|
-
return html
|
69
|
+
return is404 ? new Response(html, {
|
70
|
+
status: 404,
|
71
|
+
headers: {
|
72
|
+
"Content-Type": "text/html"
|
73
|
+
}
|
74
|
+
}) : html;
|
67
75
|
} catch (err) {
|
76
|
+
console.error("Error in handleSSR:", err);
|
68
77
|
var title = `Error rendering ${url.pathname} on server`, message = err instanceof Error ? err.message : `${err}`, stack = err instanceof Error ? err.stack : "";
|
69
78
|
return console.error(`${title}
|
70
79
|
${message}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/vite/Users/n8/vxrn/packages/one/src/vite/createFileSystemRouter.tsx"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA,uBAAqB,sBACrB,0BAAyB,6BAEzB,cAAyC,iBAEzC,6BAAoC,mCAEpC,oBAA2B,gCAC3B,kBAAiC,8BACjC,8BAAqC,0CACrC,mBAAgC,wBAChC,uBAA8B,4BAC9B,2BAAkC,gCAElC,4BAAoD;;;;;AAGpD,IAAMA,iBAAiB;AAAM;AAEtB,SAASC,uBAAuBC,SAA0B;AAG/D,MAAMC,WAAW;IAAC;IAAiBC;KAE/BC,QACAC,QAEAC,gBAAgBC,qBAAAA,GAEhBC,gBAAsC;AAE1C,WAASD,uBAAAA;AACP,eAAOE,gDAAoBR,SAAS;MAClC,MAAMS,UAAU,OAA2B;YAA3B,EAAEC,OAAOC,KAAKC,YAAW,IAAzB;AAGd,YAFAC,QAAQC,KAAK,aAAQJ,MAAMK,IAAI,KAAKJ,GAAAA,gBAAmBD,MAAMM,IAAI,EAAE,GAE/DN,MAAMK,SAAS;AAEjB,iBAAO;;;;;;;;;;;;AAcT,QAAIR,iBACF,MAAMA;AAGR,YAAM,EAAEU,SAASC,QAAO,QAAKC,kDAAAA;AAC7BZ,wBAAgBU;AAEhB,YAAI;cAKFG,8BAAAA,
|
5
|
-
"names": ["USE_SERVER_ENV", "createFileSystemRouter", "options", "preloads", "virtalEntryIdClient", "runner", "server", "handleRequest", "createRequestHandler", "renderPromise", "createHandleRequest", "handleSSR", "route", "url", "loaderProps", "console", "info", "type", "file", "promise", "resolve", "promiseWithResolvers", "globalThis", "exported", "routeFile", "join", "clearCache", "import", "loaderData", "loader", "eval", "entry", "virtualEntryId", "render", "default", "LoaderDataCache", "html", "path", "err", "title", "pathname", "message", "Error", "stack", "
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA,uBAAqB,sBACrB,0BAAyB,6BAEzB,cAAyC,iBAEzC,6BAAoC,mCAEpC,oBAA2B,gCAC3B,kBAAiC,8BACjC,8BAAqC,0CACrC,mBAAgC,wBAChC,uBAA8B,4BAC9B,2BAAkC,gCAElC,4BAAoD;;;;;AAGpD,IAAMA,iBAAiB;AAAM;AAEtB,SAASC,uBAAuBC,SAA0B;AAG/D,MAAMC,WAAW;IAAC;IAAiBC;KAE/BC,QACAC,QAEAC,gBAAgBC,qBAAAA,GAEhBC,gBAAsC;AAE1C,WAASD,uBAAAA;AACP,eAAOE,gDAAoBR,SAAS;MAClC,MAAMS,UAAU,OAA2B;YAA3B,EAAEC,OAAOC,KAAKC,YAAW,IAAzB;AAGd,YAFAC,QAAQC,KAAK,aAAQJ,MAAMK,IAAI,KAAKJ,GAAAA,gBAAmBD,MAAMM,IAAI,EAAE,GAE/DN,MAAMK,SAAS;AAEjB,iBAAO;;;;;;;;;;;;AAcT,QAAIR,iBACF,MAAMA;AAGR,YAAM,EAAEU,SAASC,QAAO,QAAKC,kDAAAA;AAC7BZ,wBAAgBU;AAEhB,YAAI;cAKFG,8BAAAA,aAGyBC,kBAPnBC,gBAAYC,uBAAK,OAAOb,MAAMM,IAAI;AACxCH,kBAAQW,IAAI;YAAEF;YAAWX;UAAI,CAAA,GAC7BR,OAAOsB,WAAU,IAEjBL,gCAAAA,cAAAA,YAAW,sBAAmB,QAA9BA,iCAAAA,UAAAA,6BAAAA,KAAAA,WAAAA;AAEA,cAAMC,WAAWC,cAAc,KAAK,CAAC,IAAI,MAAMnB,OAAOuB,OAAOJ,SAAAA,GACvDK,aAAa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VrF,gBAAUmF,QAAQI,OAAOxB,OAAO;QAAEiB,QAAQ;MAAK,CAAA;IACjD;EACF,SAAStG,OAAO;AACd9B,YAAQ8B,MAAM,6BAA6BA,KAAAA;EAC7C,UAAA;AACEuG,WAAOO,YAAW;EACpB;AAEA,SAAOxF;AACT;AAEA,IAAMwD,kCAAkC,eAAOvB,KAAAA;AAC7C,MAAI,CAACA,IAAIwD;AACP,UAAM,IAAI3G,MAAM,eAAe;AAGjC,MAAM4G,UAAU,UAAUzD,IAAIzD,QAAQ+D,IAAI,IACpCoD,YAAY1D,IAAIwD,eAAe,IAC/B/I,OAAM,IAAI4F,IAAIqD,WAAWD,OAAAA,GAEzBlH,UAAU,IAAIoH,QAAAA;AACpB,WAAW5B,OAAO/B,IAAIzD;AACpB,IAAIyD,IAAIzD,QAAQwF,GAAAA,KAAMxF,QAAQqH,OAAO7B,KAAK/B,IAAIzD,QAAQwF,GAAAA,CAAI;AAG5D,SAAO,IAAI8B,QAAQpJ,MAAK;IACtBqJ,QAAQ9D,IAAI8D;IACZnB,MAAM;MAAC;MAAQ;MAAO;MAAS;MAAUoB,SAAS/D,IAAI8D,UAAU,EAAA,IAC5D,MAAME,WAAWhE,GAAAA,IACjB;IACJzD;EACF,CAAA;AACF;AAEA,SAASyH,WAAWjB,QAA+B;AACjD,SAAO,IAAIkB,QAAQ,SAACjJ,UAASkJ,QAAAA;AAC3B,QAAMC,SAAuB,CAAA;AAC7BpB,WAAOqB,GAAG,QAAQ,SAACC,OAAAA;aAAsBF,OAAOG,KAAKD,KAAAA;QACrDtB,OAAOqB,GAAG,OAAO,WAAA;aAAMpJ,SAAQuJ,OAAOC,OAAOL,MAAAA,CAAAA;QAC7CpB,OAAOqB,GAAG,SAASF,MAAAA;EACrB,CAAA;AACF;",
|
5
|
+
"names": ["USE_SERVER_ENV", "createFileSystemRouter", "options", "preloads", "virtalEntryIdClient", "runner", "server", "handleRequest", "createRequestHandler", "renderPromise", "createHandleRequest", "handleSSR", "route", "url", "loaderProps", "console", "info", "type", "file", "promise", "resolve", "promiseWithResolvers", "globalThis", "exported", "routeFile", "join", "log", "clearCache", "import", "loaderData", "loader", "eval", "entry", "virtualEntryId", "render", "default", "LoaderDataCache", "is404", "isNotFound", "html", "path", "Response", "status", "headers", "err", "error", "title", "pathname", "message", "Error", "stack", "handleLoader", "param", "request", "transformedJS", "transformRequest", "code", "replaceLoader", "platform", "searchParams", "get", "environment", "environments", "nativeTransformedJS", "JSON", "stringify", "handleAPI", "result", "resolveAPIRequest", "params", "name", "enforce", "apply", "config", "userConfig", "manifest", "pageRoutes", "routesAndLayouts", "Set", "flatMap", "layouts", "map", "layout", "contextKey", "optimizeDeps", "entries", "configureServer", "serverIn", "createServerModuleRunner", "ssr", "appDir", "process", "cwd", "fileWatcherChangeListener", "debounce", "startsWith", "watcher", "addListener", "middlewares", "use", "req", "res", "next", "redirects", "web", "URL", "host", "redirect", "regexStr", "source", "replace", "match", "RegExp", "destination", "forEach", "index", "warn", "writeHead", "permanent", "Location", "end", "reply", "handler", "convertIncomingMessageToRequest", "isResponse", "isStatusRedirect", "location", "statusCode", "statusMessage", "statusText", "value", "key", "cookies", "split", "_iteratorNormalCompletion", "_didIteratorError", "_iteratorError", "_iterator", "_step", "cookie", "appendHeader", "setHeader", "outString", "body", "locked", "streamToString", "write", "stream", "reader", "getReader", "decoder", "TextDecoder", "done", "read", "decode", "releaseLock", "originalUrl", "urlBase", "urlString", "Headers", "append", "Request", "method", "includes", "readStream", "Promise", "reject", "chunks", "on", "chunk", "push", "Buffer", "concat"]
|
6
6
|
}
|
package/dist/cjs/vite/one.js
CHANGED
@@ -26,8 +26,9 @@ __export(one_exports, {
|
|
26
26
|
one: () => one
|
27
27
|
});
|
28
28
|
module.exports = __toCommonJS(one_exports);
|
29
|
-
var import_node_events = __toESM(require("node:events"), 1), import_node_path = require("node:path"), import_vite = require("vite"), import_vite_tsconfig_paths = __toESM(require("vite-tsconfig-paths"), 1), import_vxrn = require("vxrn"), import_polyfills_server = require("../polyfills-server"), import_existsAsync = require("../utils/existsAsync"), import_requireResolve = require("../utils/requireResolve"), import_clientTreeShakePlugin = require("./clientTreeShakePlugin"), import_createFileSystemRouter = require("./createFileSystemRouter"), import_ensureTsConfig = require("./ensureTsConfig"), import_fixDependenciesPlugin = require("./fixDependenciesPlugin"), import_generateTypesForRoutes = require("./generateTypesForRoutes"), import_loadEnv = require("./loadEnv"), import_virtualEntryPlugin = require("./virtualEntryPlugin"), import_vitePluginSsrCss = require("./vitePluginSsrCss");
|
29
|
+
var import_node_events = __toESM(require("node:events"), 1), import_node_path = __toESM(require("node:path"), 1), import_vite = require("vite"), import_vite_tsconfig_paths = __toESM(require("vite-tsconfig-paths"), 1), import_vxrn = require("vxrn"), import_polyfills_server = require("../polyfills-server"), import_existsAsync = require("../utils/existsAsync"), import_requireResolve = require("../utils/requireResolve"), import_clientTreeShakePlugin = require("./clientTreeShakePlugin"), import_createFileSystemRouter = require("./createFileSystemRouter"), import_ensureTsConfig = require("./ensureTsConfig"), import_fixDependenciesPlugin = require("./fixDependenciesPlugin"), import_generateTypesForRoutes = require("./generateTypesForRoutes"), import_loadEnv = require("./loadEnv"), import_virtualEntryPlugin = require("./virtualEntryPlugin"), import_vitePluginSsrCss = require("./vitePluginSsrCss");
|
30
30
|
import_node_events.default.setMaxListeners(1e3);
|
31
|
+
globalThis.__vxrnEnableNativeEnv = !0;
|
31
32
|
function one(options = {}) {
|
32
33
|
oneOptions = options, (0, import_loadEnv.loadEnv)(process.cwd()), options.config?.ensureTSConfig !== !1 && (0, import_ensureTsConfig.ensureTSConfig)(), globalThis.__vxrnPluginConfig__ = options;
|
33
34
|
const { optimizeDeps } = (0, import_vxrn.getOptimizeDeps)("build"), optimizeIds = optimizeDeps.include, optimizeIdRegex = new RegExp(
|
@@ -115,6 +116,15 @@ function one(options = {}) {
|
|
115
116
|
}
|
116
117
|
};
|
117
118
|
}
|
119
|
+
},
|
120
|
+
{
|
121
|
+
name: "route-module-hmr-fix",
|
122
|
+
hotUpdate({ server, modules }) {
|
123
|
+
return modules.map((m) => {
|
124
|
+
const { id } = m;
|
125
|
+
return id && import_node_path.default.relative(server.config.root, id).split(import_node_path.default.sep)[0] === "app" && (m.acceptedHmrExports = /* @__PURE__ */ new Set()), m;
|
126
|
+
});
|
127
|
+
}
|
118
128
|
}
|
119
129
|
];
|
120
130
|
return globalThis.__vxrnAddNativePlugins = [(0, import_clientTreeShakePlugin.clientTreeShakePlugin)()], globalThis.__vxrnAddWebPluginsProd = devAndProdPlugins, [
|