one 1.1.294 → 1.1.296

Sign up to get free protection for your applications and to get access to all the features.
Files changed (212) hide show
  1. package/dist/cjs/Root.native.js.map +1 -1
  2. package/dist/cjs/Route.native.js.map +1 -1
  3. package/dist/cjs/cleanUrl.native.js.map +1 -1
  4. package/dist/cjs/cli/label-process.js +25 -0
  5. package/dist/cjs/cli/label-process.js.map +6 -0
  6. package/dist/cjs/cli/label-process.native.js +30 -0
  7. package/dist/cjs/cli/label-process.native.js.map +6 -0
  8. package/dist/cjs/cli/main.native.js.map +1 -1
  9. package/dist/cjs/cli/prebuild.native.js.map +1 -1
  10. package/dist/cjs/cli/run.js +2 -1
  11. package/dist/cjs/cli/run.js.map +1 -1
  12. package/dist/cjs/cli/run.native.js +2 -1
  13. package/dist/cjs/cli/run.native.js.map +3 -3
  14. package/dist/cjs/cli.js +15 -7
  15. package/dist/cjs/cli.js.map +2 -2
  16. package/dist/cjs/cli.native.js +15 -7
  17. package/dist/cjs/cli.native.js.map +3 -3
  18. package/dist/cjs/clientLoaderResolver.native.js.map +1 -1
  19. package/dist/cjs/config.native.js.map +1 -1
  20. package/dist/cjs/constants.native.js.map +1 -1
  21. package/dist/cjs/createApp.native.js.map +1 -1
  22. package/dist/cjs/createHandleRequest.native.js.map +1 -1
  23. package/dist/cjs/createRoute.native.js.map +1 -1
  24. package/dist/cjs/fallbackViews/Sitemap.native.js.map +1 -1
  25. package/dist/cjs/fallbackViews/Unmatched.native.js.map +1 -1
  26. package/dist/cjs/fork/NavigationContainer.native.js.map +1 -1
  27. package/dist/cjs/fork/createMemoryHistory.native.js.map +1 -1
  28. package/dist/cjs/fork/extractPathFromURL.native.js.map +1 -1
  29. package/dist/cjs/fork/findFocusedRoute.native.js.map +1 -1
  30. package/dist/cjs/fork/getPathFromState.native.js.map +1 -1
  31. package/dist/cjs/fork/getStateFromPath.native.js.map +1 -1
  32. package/dist/cjs/fork/useLinking.native.js.map +1 -1
  33. package/dist/cjs/fork/validatePathConfig.native.js.map +1 -1
  34. package/dist/cjs/getLinkingConfig.native.js.map +1 -1
  35. package/dist/cjs/getReactNavigationConfig.native.js.map +1 -1
  36. package/dist/cjs/getRoutes.native.js.map +1 -1
  37. package/dist/cjs/getURL.native.js.map +1 -1
  38. package/dist/cjs/head/Head.android.js.map +1 -1
  39. package/dist/cjs/head/Head.ios.js.map +1 -1
  40. package/dist/cjs/head/Head.native.js.map +1 -1
  41. package/dist/cjs/head/HeadModule.native.js.map +1 -1
  42. package/dist/cjs/head/index.native.js.map +1 -1
  43. package/dist/cjs/head/types.native.js.map +1 -1
  44. package/dist/cjs/head/url.native.js.map +1 -1
  45. package/dist/cjs/hooks.native.js.map +1 -1
  46. package/dist/cjs/imperative-api.native.js.map +1 -1
  47. package/dist/cjs/import-mode/index.android.js.map +1 -1
  48. package/dist/cjs/import-mode/index.ios.js.map +1 -1
  49. package/dist/cjs/import-mode/index.native.js.map +1 -1
  50. package/dist/cjs/index.native.js.map +1 -1
  51. package/dist/cjs/interfaces/router.native.js.map +1 -1
  52. package/dist/cjs/layouts/Drawer.native.js.map +1 -1
  53. package/dist/cjs/layouts/Stack.native.js.map +1 -1
  54. package/dist/cjs/layouts/Tabs.native.js.map +1 -1
  55. package/dist/cjs/layouts/withLayoutContext.native.js.map +1 -1
  56. package/dist/cjs/link/Link.native.js.map +1 -1
  57. package/dist/cjs/link/Redirect.native.js.map +1 -1
  58. package/dist/cjs/link/href.native.js.map +1 -1
  59. package/dist/cjs/link/linking.native.js.map +1 -1
  60. package/dist/cjs/link/path.native.js.map +1 -1
  61. package/dist/cjs/link/useLinkTo.native.js.map +1 -1
  62. package/dist/cjs/link/useLoadedNavigation.native.js.map +1 -1
  63. package/dist/cjs/matchers.native.js.map +1 -1
  64. package/dist/cjs/platform.native.js.map +1 -1
  65. package/dist/cjs/polyfills-mobile.native.js.map +1 -1
  66. package/dist/cjs/polyfills-server.native.js.map +1 -1
  67. package/dist/cjs/render.native.js.map +1 -1
  68. package/dist/cjs/router/RouterStore.native.js.map +1 -1
  69. package/dist/cjs/router/constants.native.js.map +1 -1
  70. package/dist/cjs/router/getNormalizedStatePath.native.js.map +1 -1
  71. package/dist/cjs/router/lastAction.native.js.map +1 -1
  72. package/dist/cjs/router/router.native.js.map +1 -1
  73. package/dist/cjs/router/serverLocationContext.native.js.map +1 -1
  74. package/dist/cjs/router/useInitializeOneRouter.native.js.map +1 -1
  75. package/dist/cjs/serve.js +2 -1
  76. package/dist/cjs/serve.js.map +1 -1
  77. package/dist/cjs/serve.native.js +4 -2
  78. package/dist/cjs/serve.native.js.map +3 -3
  79. package/dist/cjs/server/createRoutesManifest.native.js.map +1 -1
  80. package/dist/cjs/server/getServerManifest.native.js.map +1 -1
  81. package/dist/cjs/server-render.native.js.map +1 -1
  82. package/dist/cjs/sortRoutes.native.js.map +1 -1
  83. package/dist/cjs/typed-routes/generateRouteTypes.native.js.map +1 -1
  84. package/dist/cjs/typed-routes/getTypedRoutesDeclarationFile.native.js.map +1 -1
  85. package/dist/cjs/types.native.js.map +1 -1
  86. package/dist/cjs/useFocusEffect.native.js.map +1 -1
  87. package/dist/cjs/useLoader.native.js.map +1 -1
  88. package/dist/cjs/useNavigation.native.js.map +1 -1
  89. package/dist/cjs/useScreens.native.js.map +1 -1
  90. package/dist/cjs/useViteRoutes.native.js.map +1 -1
  91. package/dist/cjs/utils/assertIsReady.native.js.map +1 -1
  92. package/dist/cjs/utils/dynamicImport.native.js.map +1 -1
  93. package/dist/cjs/utils/existsAsync.native.js.map +1 -1
  94. package/dist/cjs/utils/getPageExport.native.js.map +1 -1
  95. package/dist/cjs/utils/globDir.native.js.map +1 -1
  96. package/dist/cjs/utils/hashString.native.js.map +1 -1
  97. package/dist/cjs/utils/isResponse.native.js.map +1 -1
  98. package/dist/cjs/utils/isStatus.native.js.map +1 -1
  99. package/dist/cjs/utils/promiseWithResolvers.native.js.map +1 -1
  100. package/dist/cjs/utils/rand.native.js.map +1 -1
  101. package/dist/cjs/utils/redirect.native.js.map +1 -1
  102. package/dist/cjs/utils/removeSearch.native.js.map +1 -1
  103. package/dist/cjs/utils/removeUndefined.native.js.map +1 -1
  104. package/dist/cjs/utils/requireResolve.native.js.map +1 -1
  105. package/dist/cjs/utils/url.native.js.map +1 -1
  106. package/dist/cjs/utils/weakKey.native.js.map +1 -1
  107. package/dist/cjs/utils/weakMemo.native.js.map +1 -1
  108. package/dist/cjs/views/EmptyRoute.native.js.map +1 -1
  109. package/dist/cjs/views/ErrorBoundary.native.js.map +1 -1
  110. package/dist/cjs/views/LoadProgressBar.native.js.map +1 -1
  111. package/dist/cjs/views/Navigator.native.js.map +1 -1
  112. package/dist/cjs/views/PreloadLinks.native.js.map +1 -1
  113. package/dist/cjs/views/RootErrorBoundary.native.js.map +1 -1
  114. package/dist/cjs/views/Screen.native.js.map +1 -1
  115. package/dist/cjs/views/ScrollRestoration.native.js.map +1 -1
  116. package/dist/cjs/views/Try.native.js.map +1 -1
  117. package/dist/cjs/vite/build.js +6 -1
  118. package/dist/cjs/vite/build.js.map +1 -1
  119. package/dist/cjs/vite/build.native.js +8 -2
  120. package/dist/cjs/vite/build.native.js.map +3 -3
  121. package/dist/cjs/vite/clientTreeShakePlugin.native.js.map +1 -1
  122. package/dist/cjs/vite/constants.native.js.map +1 -1
  123. package/dist/cjs/vite/createFileSystemRouter.native.js.map +1 -1
  124. package/dist/cjs/vite/customNodeExternals.native.js.map +1 -1
  125. package/dist/cjs/vite/ensureTsConfig.native.js.map +1 -1
  126. package/dist/cjs/vite/findDepsToOptimize.native.js.map +1 -1
  127. package/dist/cjs/vite/fixDependenciesPlugin.native.js.map +1 -1
  128. package/dist/cjs/vite/generateTypesForRoutes.native.js.map +1 -1
  129. package/dist/cjs/vite/getManifest.native.js.map +1 -1
  130. package/dist/cjs/vite/headers.native.js.map +1 -1
  131. package/dist/cjs/vite/loadEnv.native.js.map +1 -1
  132. package/dist/cjs/vite/makePluginWebOnly.native.js.map +1 -1
  133. package/dist/cjs/vite/one.js +3 -3
  134. package/dist/cjs/vite/one.js.map +1 -1
  135. package/dist/cjs/vite/one.native.js +3 -3
  136. package/dist/cjs/vite/one.native.js.map +2 -2
  137. package/dist/cjs/vite/removeReactNativeWebAnimatedPlugin.native.js.map +1 -1
  138. package/dist/cjs/vite/replaceLoader.native.js.map +1 -1
  139. package/dist/cjs/vite/resolveAPIRequest.native.js.map +1 -1
  140. package/dist/cjs/vite/server.native.js.map +1 -1
  141. package/dist/cjs/vite/types.native.js.map +1 -1
  142. package/dist/cjs/vite/virtualEntryPlugin.native.js.map +1 -1
  143. package/dist/cjs/vite/vitePluginSsrCss.native.js.map +1 -1
  144. package/dist/cjs/vite.native.js.map +1 -1
  145. package/dist/cjs/zero/getQueryKey.native.js.map +1 -1
  146. package/dist/cjs/zero/isZeroQuery.native.js.map +1 -1
  147. package/dist/cjs/zero/resolveQuery.native.js.map +1 -1
  148. package/dist/cjs/zero/subscribeToQuery.native.js.map +1 -1
  149. package/dist/cjs/zero/types.native.js.map +1 -1
  150. package/dist/cjs/zero/useQuery.native.js.map +1 -1
  151. package/dist/cjs/zero/useQueryZero.native.js.map +1 -1
  152. package/dist/cjs/zero.native.js.map +1 -1
  153. package/dist/esm/cli/label-process.js +9 -0
  154. package/dist/esm/cli/label-process.js.map +6 -0
  155. package/dist/esm/cli/label-process.mjs +8 -0
  156. package/dist/esm/cli/label-process.mjs.map +1 -0
  157. package/dist/esm/cli/label-process.native.js +8 -0
  158. package/dist/esm/cli/label-process.native.js.map +1 -0
  159. package/dist/esm/cli/run.js +2 -0
  160. package/dist/esm/cli/run.js.map +1 -1
  161. package/dist/esm/cli/run.mjs +2 -0
  162. package/dist/esm/cli/run.mjs.map +1 -1
  163. package/dist/esm/cli/run.native.js +2 -0
  164. package/dist/esm/cli/run.native.js.map +1 -1
  165. package/dist/esm/cli.js +16 -6
  166. package/dist/esm/cli.js.map +1 -1
  167. package/dist/esm/cli.mjs +16 -6
  168. package/dist/esm/cli.mjs.map +1 -1
  169. package/dist/esm/cli.native.js +17 -6
  170. package/dist/esm/cli.native.js.map +1 -1
  171. package/dist/esm/createApp.native.js.map +1 -1
  172. package/dist/esm/fork/NavigationContainer.native.js.map +1 -1
  173. package/dist/esm/fork/useLinking.native.js.map +1 -1
  174. package/dist/esm/getURL.native.js.map +1 -1
  175. package/dist/esm/head/Head.android.js.map +1 -1
  176. package/dist/esm/head/Head.ios.js.map +1 -1
  177. package/dist/esm/import-mode/index.android.js.map +1 -1
  178. package/dist/esm/import-mode/index.ios.js.map +1 -1
  179. package/dist/esm/import-mode/index.native.js.map +1 -1
  180. package/dist/esm/render.native.js.map +1 -1
  181. package/dist/esm/serve.js +2 -0
  182. package/dist/esm/serve.js.map +1 -1
  183. package/dist/esm/serve.mjs +2 -0
  184. package/dist/esm/serve.mjs.map +1 -1
  185. package/dist/esm/serve.native.js +4 -2
  186. package/dist/esm/serve.native.js.map +1 -1
  187. package/dist/esm/views/PreloadLinks.native.js.map +1 -1
  188. package/dist/esm/vite/build.js +12 -1
  189. package/dist/esm/vite/build.js.map +1 -1
  190. package/dist/esm/vite/build.mjs +6 -1
  191. package/dist/esm/vite/build.mjs.map +1 -1
  192. package/dist/esm/vite/build.native.js +8 -6
  193. package/dist/esm/vite/build.native.js.map +1 -1
  194. package/dist/esm/vite/headers.native.js.map +1 -1
  195. package/dist/esm/vite/one.js +3 -3
  196. package/dist/esm/vite/one.js.map +1 -1
  197. package/dist/esm/vite/one.mjs +3 -3
  198. package/dist/esm/vite/one.mjs.map +1 -1
  199. package/dist/esm/vite/one.native.js +3 -3
  200. package/dist/esm/vite/one.native.js.map +1 -1
  201. package/package.json +6 -6
  202. package/src/cli/label-process.ts +7 -0
  203. package/src/cli/run.ts +2 -0
  204. package/src/cli.ts +25 -7
  205. package/src/serve.ts +2 -0
  206. package/src/vite/build.ts +15 -1
  207. package/src/vite/one.ts +3 -3
  208. package/types/cli/label-process.d.ts +2 -0
  209. package/types/cli/label-process.d.ts.map +1 -0
  210. package/types/cli/run.d.ts.map +1 -1
  211. package/types/serve.d.ts.map +1 -1
  212. package/types/vite/build.d.ts.map +1 -1
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/zero/Users/n8/vxrn/packages/one/src/zero/useQueryZero.ts"],
3
+ "sources": ["../../../src/zero/Users/n8/one/packages/one/src/zero/useQueryZero.ts"],
4
4
  "mappings": ";;;;;;;;;;;;;;;AAAA;;;;;mBAA0C;AASnC,SAASA,SACdC,GAA0B;MAC1BC,SAAAA,UAAAA,SAAAA,KAAAA,UAAAA,CAAAA,MAAAA,SAAAA,UAAAA,CAAAA,IAAS,IAEHC,YAAYF,GAEZ,CAACG,UAAUC,WAAAA,QAAeC,uBAAyBC,MAAAA,GACnD,CAAA,EAAGC,OAAAA,QAAWF,uBAAgDC,MAAAA;AAEpEE;IAAgB,WAAA;AACd,UAAIP,QAAQ;AACV,YAAMQ,OAAOT,EAAEU,YAAW;AAC1BH,gBAAQE,IAAAA;AACR,YAAME,cAAcF,KAAKG,YAAY,SAACT,WAAAA;AACpCC,sBAAYS,gBAAgBV,SAAAA,CAAAA;QAC9B,CAAA;AACAM,oBAAKK,QAAO,GACL,WAAA;AACLH,sBAAAA,GACAF,KAAKM,QAAO;QACd;MACF;AACAX,yBAAaF,UAAUc,WAAWV,SAAY,CAAA,CAAE,GAChDC,QAAQD,MAAAA,GACD,WAAA;MAEP;IACF;;IAAG;MAACW,KAAKC,UAAUjB,SAAUD,EAA8BmB,MAAM,IAAA;;EAAM,GAEhEhB;AACT;",
5
5
  "names": ["useQuery", "q", "enable", "queryImpl", "snapshot", "setSnapshot", "useState", "undefined", "setView", "useLayoutEffect", "view", "materialize", "unsubscribe", "addListener", "structuredClone", "hydrate", "destroy", "singular", "JSON", "stringify", "ast"]
6
6
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/Users/n8/vxrn/packages/one/src/zero.ts"],
3
+ "sources": ["../../src/Users/n8/one/packages/one/src/zero.ts"],
4
4
  "mappings": ";;;;;;;;;;;;;;;AAAA;;;;;;;sBAAyB,4BACzB,sBAAiC,gCACjC,qBAA4B;",
5
5
  "names": []
6
6
  }
@@ -0,0 +1,9 @@
1
+ import { homedir } from "node:os";
2
+ function labelProcess(title) {
3
+ const home = homedir(), cwd = process.cwd();
4
+ process.title = `Onejs:${title} > ${cwd.replace(home, "~")}`;
5
+ }
6
+ export {
7
+ labelProcess
8
+ };
9
+ //# sourceMappingURL=label-process.js.map
@@ -0,0 +1,6 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/cli/label-process.ts"],
4
+ "mappings": "AAAA,SAAS,eAAe;AAEjB,SAAS,aAAa,OAAe;AAC1C,QAAM,OAAO,QAAQ,GACf,MAAM,QAAQ,IAAI;AACxB,UAAQ,QAAQ,SAAS,KAAK,MAAM,IAAI,QAAQ,MAAM,GAAG,CAAC;AAC5D;",
5
+ "names": []
6
+ }
@@ -0,0 +1,8 @@
1
+ import { homedir } from "node:os";
2
+ function labelProcess(title) {
3
+ const home = homedir(),
4
+ cwd = process.cwd();
5
+ process.title = `Onejs:${title} > ${cwd.replace(home, "~")}`;
6
+ }
7
+ export { labelProcess };
8
+ //# sourceMappingURL=label-process.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["homedir","labelProcess","title","home","cwd","process","replace"],"sources":["../../../src/cli/label-process.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,OAAA,QAAe;AAEjB,SAASC,aAAaC,KAAA,EAAe;EAC1C,MAAMC,IAAA,GAAOH,OAAA,CAAQ;IACfI,GAAA,GAAMC,OAAA,CAAQD,GAAA,CAAI;EACxBC,OAAA,CAAQH,KAAA,GAAQ,SAASA,KAAK,MAAME,GAAA,CAAIE,OAAA,CAAQH,IAAA,EAAM,GAAG,CAAC;AAC5D","ignoreList":[]}
@@ -0,0 +1,8 @@
1
+ import { homedir } from "node:os";
2
+ function labelProcess(title) {
3
+ var home = homedir(),
4
+ cwd = process.cwd();
5
+ process.title = `Onejs:${title} > ${cwd.replace(home, "~")}`;
6
+ }
7
+ export { labelProcess };
8
+ //# sourceMappingURL=label-process.native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["homedir","labelProcess","title","home","cwd","process","replace"],"sources":["../../../src/cli/label-process.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,OAAA,QAAe;AAEjB,SAASC,aAAaC,KAAA,EAAe;EAC1C,IAAAC,IAAM,GAAAH,OAAO;IAAQI,GACf,GAAAC,OAAM,CAAAD,GAAQ;EACpBC,OAAA,CAAQH,KAAA,GAAQ,SAASA,KAAK,MAAME,GAAA,CAAIE,OAAA,CAAQH,IAAA,EAAM,GAAG,CAAC;AAC5D","ignoreList":[]}
@@ -1,5 +1,7 @@
1
1
  import { virtualEntryIdNative } from "../vite/virtualEntryPlugin";
2
+ import { labelProcess } from "./label-process";
2
3
  async function run(args) {
4
+ labelProcess("dev");
3
5
  const { dev } = await import("vxrn"), { start, stop } = await dev({
4
6
  clean: args.clean,
5
7
  root: process.cwd(),
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/cli/run.ts"],
4
- "mappings": "AAAA,SAAS,4BAA4B;AAErC,eAAsB,IAAI,MAKvB;AACD,QAAM,EAAE,IAAI,IAAI,MAAM,OAAO,MAAM,GAC7B,EAAE,OAAO,KAAK,IAAI,MAAM,IAAI;AAAA,IAChC,OAAO,KAAK;AAAA,IACZ,MAAM,QAAQ,IAAI;AAAA,IAClB,QAAQ;AAAA,MACN,OAAO,KAAK;AAAA,MACZ,MAAM,KAAK;AAAA,MACX,MAAM,KAAK,OAAO,CAAC,KAAK,OAAO;AAAA,IACjC;AAAA,IACA,SAAS;AAAA,MACP,QAAQ;AAAA,IACV;AAAA,EACF,CAAC,GAEK,EAAE,aAAa,IAAI,MAAM,MAAM;AAErC,UAAQ,GAAG,cAAc,MAAM;AAC7B,SAAK;AAAA,EACP,CAAC,GAED,QAAQ,GAAG,UAAU,MAAM;AACzB,SAAK;AAAA,EACP,CAAC,GAED,QAAQ,GAAG,qBAAqB,CAAC,QAAQ;AACvC,YAAQ,MAAM,KAAK,WAAW,GAAG;AAAA,EACnC,CAAC,GAED,MAAM;AACR;",
4
+ "mappings": "AAAA,SAAS,4BAA4B;AACrC,SAAS,oBAAoB;AAE7B,eAAsB,IAAI,MAKvB;AACD,eAAa,KAAK;AAClB,QAAM,EAAE,IAAI,IAAI,MAAM,OAAO,MAAM,GAC7B,EAAE,OAAO,KAAK,IAAI,MAAM,IAAI;AAAA,IAChC,OAAO,KAAK;AAAA,IACZ,MAAM,QAAQ,IAAI;AAAA,IAClB,QAAQ;AAAA,MACN,OAAO,KAAK;AAAA,MACZ,MAAM,KAAK;AAAA,MACX,MAAM,KAAK,OAAO,CAAC,KAAK,OAAO;AAAA,IACjC;AAAA,IACA,SAAS;AAAA,MACP,QAAQ;AAAA,IACV;AAAA,EACF,CAAC,GAEK,EAAE,aAAa,IAAI,MAAM,MAAM;AAErC,UAAQ,GAAG,cAAc,MAAM;AAC7B,SAAK;AAAA,EACP,CAAC,GAED,QAAQ,GAAG,UAAU,MAAM;AACzB,SAAK;AAAA,EACP,CAAC,GAED,QAAQ,GAAG,qBAAqB,CAAC,QAAQ;AACvC,YAAQ,MAAM,KAAK,WAAW,GAAG;AAAA,EACnC,CAAC,GAED,MAAM;AACR;",
5
5
  "names": []
6
6
  }
@@ -1,5 +1,7 @@
1
1
  import { virtualEntryIdNative } from "../vite/virtualEntryPlugin.mjs";
2
+ import { labelProcess } from "./label-process.mjs";
2
3
  async function run(args) {
4
+ labelProcess("dev");
3
5
  const {
4
6
  dev
5
7
  } = await import("vxrn"),
@@ -1 +1 @@
1
- {"version":3,"names":["virtualEntryIdNative","run","args","dev","start","stop","clean","root","process","cwd","server","https","host","port","entries","native","closePromise","on","err","console","error","message"],"sources":["../../../src/cli/run.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,oBAAA,QAA4B;AAErC,eAAsBC,IAAIC,IAAA,EAKvB;EACD,MAAM;MAAEC;IAAI,IAAI,MAAM,OAAO,MAAM;IAC7B;MAAEC,KAAA;MAAOC;IAAK,IAAI,MAAMF,GAAA,CAAI;MAChCG,KAAA,EAAOJ,IAAA,CAAKI,KAAA;MACZC,IAAA,EAAMC,OAAA,CAAQC,GAAA,CAAI;MAClBC,MAAA,EAAQ;QACNC,KAAA,EAAOT,IAAA,CAAKS,KAAA;QACZC,IAAA,EAAMV,IAAA,CAAKU,IAAA;QACXC,IAAA,EAAMX,IAAA,CAAKW,IAAA,GAAO,CAACX,IAAA,CAAKW,IAAA,GAAO;MACjC;MACAC,OAAA,EAAS;QACPC,MAAA,EAAQf;MACV;IACF,CAAC;IAEK;MAAEgB;IAAa,IAAI,MAAMZ,KAAA,CAAM;EAErCI,OAAA,CAAQS,EAAA,CAAG,cAAc,MAAM;IAC7BZ,IAAA,CAAK;EACP,CAAC,GAEDG,OAAA,CAAQS,EAAA,CAAG,UAAU,MAAM;IACzBZ,IAAA,CAAK;EACP,CAAC,GAEDG,OAAA,CAAQS,EAAA,CAAG,qBAAsBC,GAAA,IAAQ;IACvCC,OAAA,CAAQC,KAAA,CAAMF,GAAA,EAAKG,OAAA,IAAWH,GAAG;EACnC,CAAC,GAED,MAAMF,YAAA;AACR","ignoreList":[]}
1
+ {"version":3,"names":["virtualEntryIdNative","labelProcess","run","args","dev","start","stop","clean","root","process","cwd","server","https","host","port","entries","native","closePromise","on","err","console","error","message"],"sources":["../../../src/cli/run.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,oBAAA,QAA4B;AACrC,SAASC,YAAA,QAAoB;AAE7B,eAAsBC,IAAIC,IAAA,EAKvB;EACDF,YAAA,CAAa,KAAK;EAClB,MAAM;MAAEG;IAAI,IAAI,MAAM,OAAO,MAAM;IAC7B;MAAEC,KAAA;MAAOC;IAAK,IAAI,MAAMF,GAAA,CAAI;MAChCG,KAAA,EAAOJ,IAAA,CAAKI,KAAA;MACZC,IAAA,EAAMC,OAAA,CAAQC,GAAA,CAAI;MAClBC,MAAA,EAAQ;QACNC,KAAA,EAAOT,IAAA,CAAKS,KAAA;QACZC,IAAA,EAAMV,IAAA,CAAKU,IAAA;QACXC,IAAA,EAAMX,IAAA,CAAKW,IAAA,GAAO,CAACX,IAAA,CAAKW,IAAA,GAAO;MACjC;MACAC,OAAA,EAAS;QACPC,MAAA,EAAQhB;MACV;IACF,CAAC;IAEK;MAAEiB;IAAa,IAAI,MAAMZ,KAAA,CAAM;EAErCI,OAAA,CAAQS,EAAA,CAAG,cAAc,MAAM;IAC7BZ,IAAA,CAAK;EACP,CAAC,GAEDG,OAAA,CAAQS,EAAA,CAAG,UAAU,MAAM;IACzBZ,IAAA,CAAK;EACP,CAAC,GAEDG,OAAA,CAAQS,EAAA,CAAG,qBAAsBC,GAAA,IAAQ;IACvCC,OAAA,CAAQC,KAAA,CAAMF,GAAA,EAAKG,OAAA,IAAWH,GAAG;EACnC,CAAC,GAED,MAAMF,YAAA;AACR","ignoreList":[]}
@@ -1,5 +1,7 @@
1
1
  import { virtualEntryIdNative } from "../vite/virtualEntryPlugin.native.js";
2
+ import { labelProcess } from "./label-process.native.js";
2
3
  async function run(args) {
4
+ labelProcess("dev");
3
5
  var {
4
6
  dev
5
7
  } = await import("vxrn"),
@@ -1 +1 @@
1
- {"version":3,"names":["virtualEntryIdNative","run","args","dev","start","stop","clean","root","process","cwd","server","https","host","port","entries","native","closePromise","on","err","console","error","message"],"sources":["../../../src/cli/run.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,oBAAA,QAA4B;AAErC,eAAsBC,IAAIC,IAAA,EAKvB;EACD;MAAMC;IAAE,IAAI,MAAI,MAAM,OAAO;IAAM;MAC7BC,KAAE;MAAAC;IAAO,IAAK,MAAIF,GAAM;MAC5BG,KAAA,EAAOJ,IAAA,CAAKI,KAAA;MACZC,IAAA,EAAMC,OAAA,CAAQC,GAAA,CAAI;MAClBC,MAAA,EAAQ;QACNC,KAAA,EAAOT,IAAA,CAAKS,KAAA;QACZC,IAAA,EAAMV,IAAA,CAAKU,IAAA;QACXC,IAAA,EAAMX,IAAA,CAAKW,IAAA,GAAO,CAACX,IAAA,CAAKW,IAAA,GAAO;MACjC;MACAC,OAAA,EAAS;QACPC,MAAA,EAAQf;MACV;IACF,CAAC;IAEK;MAAEgB;IAAa,IAAI,MAAMZ,KAAA,CAAM;EAErCI,OAAA,CAAQS,EAAA,CAAG,cAAc,YAAM;IAC7BZ,IAAA,CAAK;EACP,CAAC,GAEDG,OAAA,CAAQS,EAAA,CAAG,UAAU,YAAM;IACzBZ,IAAA,CAAK;EACP,CAAC,GAEDG,OAAA,CAAQS,EAAA,CAAG,qBAAqB,UAASC,GAAA;IACvCC,OAAA,CAAQC,KAAA,CAAMF,GAAA,EAAKG,OAAA,IAAWH,GAAG;EACnC,CAAC,GAED,MAAMF,YAAA;AACR","ignoreList":[]}
1
+ {"version":3,"names":["virtualEntryIdNative","labelProcess","run","args","dev","start","stop","clean","root","process","cwd","server","https","host","port","entries","native","closePromise","on","err","console","error","message"],"sources":["../../../src/cli/run.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,oBAAA,QAA4B;AACrC,SAASC,YAAA,QAAoB;AAE7B,eAAsBC,IAAIC,IAAA,EAKvB;EACDF,YAAA,CAAa,KAAK;EAClB;MAAMG;IAAE,IAAI,MAAI,MAAM,OAAO;IAAM;MAC7BC,KAAE;MAAAC;IAAO,IAAK,MAAIF,GAAM;MAC5BG,KAAA,EAAOJ,IAAA,CAAKI,KAAA;MACZC,IAAA,EAAMC,OAAA,CAAQC,GAAA,CAAI;MAClBC,MAAA,EAAQ;QACNC,KAAA,EAAOT,IAAA,CAAKS,KAAA;QACZC,IAAA,EAAMV,IAAA,CAAKU,IAAA;QACXC,IAAA,EAAMX,IAAA,CAAKW,IAAA,GAAO,CAACX,IAAA,CAAKW,IAAA,GAAO;MACjC;MACAC,OAAA,EAAS;QACPC,MAAA,EAAQhB;MACV;IACF,CAAC;IAEK;MAAEiB;IAAa,IAAI,MAAMZ,KAAA,CAAM;EAErCI,OAAA,CAAQS,EAAA,CAAG,cAAc,YAAM;IAC7BZ,IAAA,CAAK;EACP,CAAC,GAEDG,OAAA,CAAQS,EAAA,CAAG,UAAU,YAAM;IACzBZ,IAAA,CAAK;EACP,CAAC,GAEDG,OAAA,CAAQS,EAAA,CAAG,qBAAqB,UAASC,GAAA;IACvCC,OAAA,CAAQC,KAAA,CAAMF,GAAA,EAAKG,OAAA,IAAWH,GAAG;EACnC,CAAC,GAED,MAAMF,YAAA;AACR","ignoreList":[]}
package/dist/esm/cli.js CHANGED
@@ -1,10 +1,20 @@
1
1
  import { defineCommand, runMain } from "citty";
2
2
  import { loadEnv } from "./vite/loadEnv";
3
+ import { readFileSync } from "node:fs";
4
+ import path from "node:path";
5
+ import { fileURLToPath } from "node:url";
6
+ function getPackageVersion() {
7
+ let dirname;
8
+ typeof __dirname < "u" ? dirname = __dirname : dirname = path.dirname(fileURLToPath(import.meta.url));
9
+ const packagePath = path.join(dirname, "..", "..", "package.json");
10
+ return JSON.parse(readFileSync(packagePath, "utf-8")).version;
11
+ }
12
+ const version = getPackageVersion();
3
13
  loadEnv(process.cwd());
4
14
  const dev = defineCommand({
5
15
  meta: {
6
16
  name: "dev",
7
- // version: packageJson.version,
17
+ version,
8
18
  description: "Start the dev server"
9
19
  },
10
20
  args: {
@@ -28,7 +38,7 @@ const dev = defineCommand({
28
38
  }), buildCommand = defineCommand({
29
39
  meta: {
30
40
  name: "build",
31
- version: "0.0.0",
41
+ version,
32
42
  description: "Build your app"
33
43
  },
34
44
  args: {
@@ -49,7 +59,7 @@ const dev = defineCommand({
49
59
  }), serveCommand = defineCommand({
50
60
  meta: {
51
61
  name: "serve",
52
- version: "0.0.0",
62
+ version,
53
63
  description: "Serve a built app for production"
54
64
  },
55
65
  args: {
@@ -82,7 +92,7 @@ const dev = defineCommand({
82
92
  }), prebuild = defineCommand({
83
93
  meta: {
84
94
  name: "prebuild",
85
- version: "0.0.0",
95
+ version,
86
96
  description: "Prebuild native iOS project"
87
97
  // TODO: Android
88
98
  },
@@ -107,8 +117,8 @@ const dev = defineCommand({
107
117
  }), main = defineCommand({
108
118
  meta: {
109
119
  name: "main",
110
- version: "0.0.0",
111
- description: "Welcome to vxrn"
120
+ version,
121
+ description: "Welcome to One"
112
122
  },
113
123
  args: {},
114
124
  async run({ args }) {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/cli.ts"],
4
- "mappings": "AAAA,SAAS,eAAe,eAAe;AACvC,SAAS,eAAe;AAGnB,QAAQ,QAAQ,IAAI,CAAC;AAE1B,MAAM,MAAM,cAAc;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,eAAe,cAAc;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;AAAA,IACZ;AAAA,EACF;AAAA,EACA,MAAM,IAAI,EAAE,KAAK,GAAG;AAClB,UAAM,EAAE,MAAM,IAAI,MAAM,OAAO,cAAc;AAC7C,UAAM,MAAM,IAAI,GAEhB,QAAQ,KAAK,CAAC;AAAA,EAChB;AACF,CAA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MAAM;AAAA,IACN;AAAA,IACA,aAAa;AAAA;AAAA,EACf;AAAA,EACA,MAAM,CAAC;AAAA,EACP,MAAM,IAAI,EAAE,KAAK,GAAG;AAClB,UAAM,EAAE,IAAI,IAAI,MAAM,OAAO,gBAAgB;AAC7C,UAAM,IAAI,IAAI;AAAA,EAChB;AACF,CAAC,GAEK,QAAQ,cAAc;AAAA,EAC1B,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,SAAS;AAAA,IACT,aAAa;AAAA,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,OAAO,cAAc;AAAA,EACzB,MAAM;AAAA,IACJ,MAAM;AAAA,IACN;AAAA,IACA,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;AAED,QAAQ,IAAI;",
5
5
  "names": []
6
6
  }
package/dist/esm/cli.mjs CHANGED
@@ -1,10 +1,20 @@
1
1
  import { defineCommand, runMain } from "citty";
2
2
  import { loadEnv } from "./vite/loadEnv.mjs";
3
+ import { readFileSync } from "node:fs";
4
+ import path from "node:path";
5
+ import { fileURLToPath } from "node:url";
6
+ function getPackageVersion() {
7
+ let dirname;
8
+ typeof __dirname < "u" ? dirname = __dirname : dirname = path.dirname(fileURLToPath(import.meta.url));
9
+ const packagePath = path.join(dirname, "..", "..", "package.json");
10
+ return JSON.parse(readFileSync(packagePath, "utf-8")).version;
11
+ }
12
+ const version = getPackageVersion();
3
13
  loadEnv(process.cwd());
4
14
  const dev = defineCommand({
5
15
  meta: {
6
16
  name: "dev",
7
- // version: packageJson.version,
17
+ version,
8
18
  description: "Start the dev server"
9
19
  },
10
20
  args: {
@@ -33,7 +43,7 @@ const dev = defineCommand({
33
43
  buildCommand = defineCommand({
34
44
  meta: {
35
45
  name: "build",
36
- version: "0.0.0",
46
+ version,
37
47
  description: "Build your app"
38
48
  },
39
49
  args: {
@@ -59,7 +69,7 @@ const dev = defineCommand({
59
69
  serveCommand = defineCommand({
60
70
  meta: {
61
71
  name: "serve",
62
- version: "0.0.0",
72
+ version,
63
73
  description: "Serve a built app for production"
64
74
  },
65
75
  args: {
@@ -97,7 +107,7 @@ const dev = defineCommand({
97
107
  prebuild = defineCommand({
98
108
  meta: {
99
109
  name: "prebuild",
100
- version: "0.0.0",
110
+ version,
101
111
  description: "Prebuild native iOS project"
102
112
  // TODO: Android
103
113
  },
@@ -130,8 +140,8 @@ const dev = defineCommand({
130
140
  main = defineCommand({
131
141
  meta: {
132
142
  name: "main",
133
- version: "0.0.0",
134
- description: "Welcome to vxrn"
143
+ version,
144
+ description: "Welcome to One"
135
145
  },
136
146
  args: {},
137
147
  async run({
@@ -1 +1 @@
1
- {"version":3,"names":["defineCommand","runMain","loadEnv","process","cwd","dev","meta","name","description","args","clean","type","host","port","https","run","buildCommand","version","step","required","only","build","exit","serveCommand","platform","compress","cacheHeaders","serve","prebuild","vxrnClean","root","main","includes","_","cliMain","subCommands"],"sources":["../../src/cli.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,aAAA,EAAeC,OAAA,QAAe;AACvC,SAASC,OAAA,QAAe;AAGnBA,OAAA,CAAQC,OAAA,CAAQC,GAAA,CAAI,CAAC;AAE1B,MAAMC,GAAA,GAAML,aAAA,CAAc;IACxBM,IAAA,EAAM;MACJC,I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AQ,IAAI,MAAM,OAAO,gBAAY;MAC7C,MAAMA,OAAA,CAAQzB,IAAI;IACpB;IACA0B,WAAA,EAAa;MACX9B,GAAA;MACAK,KAAA;MACAW,KAAA,EAAOL,YAAA;MACPY,QAAA;MACAD,KAAA,EAAOJ;IACT;EACF,CAAC;AAEDtB,OAAA,CAAQ8B,IAAI","ignoreList":[]}
1
+ {"version":3,"names":["defineCommand","runMain","loadEnv","readFileSync","path","fileURLToPath","getPackageVersion","dirname","__dirname","import","meta","url","packagePath","join","JSON","parse","version","process","cwd","dev","name","description","args","clean","type","host","port","https","run","buildCommand","step","required","only","build","exit","serveCommand","platform","compress","cacheHeaders","serve","prebuild","vxrnClean","root","main","includes","_","cliMain","subCommands"],"sources":["../../src/cli.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,aAAA,EAAeC,OAAA,QAAe;AACvC,SAASC,OAAA,QAAe;AACxB,SAASC,YAAA,QAAoB;AAC7B,OAAOC,IAAA,MAAU;AACjB,SAASC,aAAA,QAAqB;AAE9B,SAASC,kBAAA,EAAoB;EAC3B,IAAIC,OAAA;EACA,OAAOC,SAAA,GAAc,MAEvBD,OAAA,GAAUC,SAAA,GAGVD,OAAA,GAAUH,IAAA,CAAKG,OAAA,CAAQF,aAAA,CAAcI,MAAA,CAAAC,IAAA,CAAYC,GAAG,CAAC;EAEvD,MAAMC,WAAA,GAAcR,IAAA,CAAKS,IAAA,CAAKN,OAAA,EAAS,MAAM,MAAM,cAAc;EAEjE,OADoBO,IAAA,CAAKC,KAAA,CAAMZ,YAAA,CAAaS,WAAA,EAAa,OAAO,CAAC,EAC9CI,OAAA;AACrB;AAEA,MAAMA,OAAA,GAAUV,iBAAA,CAAkB;AAE7BJ,OAAA,CAAQe,OAAA,CAAQC,GAAA,CAAI,CAAC;AAE1B,MAAMC,GAAA,GAAMnB,aAAA,CAAc;IACxBU,IAAA,EAAM;MACJU,IAAA,EAAM;MACNJ,OAAA;MACAK,WAAA,EAAa;IACf;IACAC,I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B;IACAyB,WAAA,EAAa;MACX5B,GAAA;MACAI,KAAA;MACAU,KAAA,EAAOJ,YAAA;MACPW,QAAA;MACAD,KAAA,EAAOJ;IACT;EACF,CAAC;AAEDlC,OAAA,CAAQ0C,IAAI","ignoreList":[]}
@@ -1,10 +1,21 @@
1
1
  import { defineCommand, runMain } from "citty";
2
2
  import { loadEnv } from "./vite/loadEnv.native.js";
3
+ import { readFileSync } from "node:fs";
4
+ import path from "node:path";
5
+ import { fileURLToPath } from "node:url";
6
+ function getPackageVersion() {
7
+ var dirname;
8
+ typeof __dirname < "u" ? dirname = __dirname : dirname = path.dirname(fileURLToPath(import.meta.url));
9
+ var packagePath = path.join(dirname, "..", "..", "package.json"),
10
+ packageJson = JSON.parse(readFileSync(packagePath, "utf-8"));
11
+ return packageJson.version;
12
+ }
13
+ var version = getPackageVersion();
3
14
  loadEnv(process.cwd());
4
15
  var dev = defineCommand({
5
16
  meta: {
6
17
  name: "dev",
7
- // version: packageJson.version,
18
+ version,
8
19
  description: "Start the dev server"
9
20
  },
10
21
  args: {
@@ -34,7 +45,7 @@ var dev = defineCommand({
34
45
  buildCommand = defineCommand({
35
46
  meta: {
36
47
  name: "build",
37
- version: "0.0.0",
48
+ version,
38
49
  description: "Build your app"
39
50
  },
40
51
  args: {
@@ -61,7 +72,7 @@ var dev = defineCommand({
61
72
  serveCommand = defineCommand({
62
73
  meta: {
63
74
  name: "serve",
64
- version: "0.0.0",
75
+ version,
65
76
  description: "Serve a built app for production"
66
77
  },
67
78
  args: {
@@ -100,7 +111,7 @@ var dev = defineCommand({
100
111
  prebuild = defineCommand({
101
112
  meta: {
102
113
  name: "prebuild",
103
- version: "0.0.0",
114
+ version,
104
115
  description: "Prebuild native iOS project"
105
116
  },
106
117
  // TODO: Android
@@ -134,8 +145,8 @@ var dev = defineCommand({
134
145
  main = defineCommand({
135
146
  meta: {
136
147
  name: "main",
137
- version: "0.0.0",
138
- description: "Welcome to vxrn"
148
+ version,
149
+ description: "Welcome to One"
139
150
  },
140
151
  args: {},
141
152
  async run(param) {
@@ -1 +1 @@
1
- {"version":3,"names":["defineCommand","runMain","loadEnv","process","cwd","dev","meta","name","description","args","clean","type","host","port","https","run","param","buildCommand","version","step","required","only","build","exit","serveCommand","platform","compress","cacheHeaders","serve","prebuild","vxrnClean","root","main","includes","_","cliMain","subCommands"],"sources":["../../src/cli.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,aAAA,EAAeC,OAAA,QAAe;AACvC,SAASC,OAAA,QAAe;AAGnBA,OAAA,CAAQC,OAAA,CAAQC,GAAA,CAAI,CAAC;AAE1B,IAAAC,GAAM,GAAAL,aAAM;IACVM,IAAA,EAAM;MACJC,IAAA,EAAM;MAAA;MAENC,WAAA,EAAa;IACf;IACAC,IAAA,EAAM;MACJC,KAAA,EAAO;QACLC,IAAA,EAAM;MACR;MACAC,IAAA,EAAM;QACJD,IAAA,EAAM;MACR;MACAE,IAAA,EAAM;QACJF,IAAA,EAAM;MACR;MACAG,KAAA,EAAO;QACLH,IAAA,EAAM;MACR;IACF;IACA,MAAMI,IAAIC,KAAE,EAAK;MACf;UAAMP;QAAE,CAAI,GAAAO,KAAI;QAAM;UAAAD;QAAA,CAAO,eAAW;MACxC,MAAMA,GAAA,CAAIN,IAAI;IAChB;EACF,CAAC;EAEKQ,YAAA,GAAejB,aAAA,CAAc;IACjCM,IAAA,EAAM;MACJC,IAAA,EAAM;MACNW,OAAA,EAAS;MACTV,WAAA,EAAa;IACf;IACAC,IAAA,EAAM;MACJU,IAAA,EAAM;QACJR,IAAA,EAAM;QACNS,QAAA,EAAU;MACZ;MAAA;MAEAC,IAAA,EAAM;QACJV,IAAA,EAAM;QACNS,QAAA,EAAU;MACZ;IACF;IACA,MAAML,IAAIC,KAAE,EAAK;MACf;UAAMP;QAAE,IAAMO,KAAI;QAAA;UAAMM;QAAA,CAAO,eAAc;MAC7C,MAAMA,KAAA,CAAMb,IAAI,GAEhBN,OAAA,CAAQoB,IAAA,CAAK,CAAC;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AA,EAAM;MACV;QAAML,KAAE,EAAAoB;MAAO,IAAU,MAAI,MAAM,OAAO;MAC1C,MAAMA,SAAA,CAAU;QACdC,IAAA,EAAM5B,OAAA,CAAQC,GAAA,CAAI;MACpB,CAAC;IACH;EACF,CAAC;EAEK4B,IAAA,GAAOhC,aAAA,CAAc;IACzBM,IAAA,EAAM;MACJC,IAAA,EAAM;MACNW,OAAA,EAAS;MACTV,WAAA,EAAa;IACf;IACAC,IAAA,EAAM,CAAC;IACP,MAAMM,IAAIC,KAAE,EAAK;MACf,IAAI;QAACP;MAAA,IAASO,KAAA;MAEZ,MAGF,OAAQ,EACR,UAAM,CACR,CAAAiB,QAAA,CAAAxB,IAAA,CAAAyB,CAAA;QACA;UAAAC;QAAa;QACX,MAAAA,OAAA,CAAA1B,IAAA;MACA;IAAA;IACO2B,WACP;MACA/B,GAAA;MACFK,KAAA;MACDY,KAAA,EAAAL,YAAA;MAEDY,QAAY","ignoreList":[]}
1
+ {"version":3,"names":["defineCommand","runMain","loadEnv","readFileSync","path","fileURLToPath","getPackageVersion","dirname","__dirname","import","meta","url","packagePath","join","packageJson","JSON","parse","version","process","cwd","dev","name","description","args","clean","type","host","port","https","run","param","buildCommand","step","required","only","build","exit","serveCommand","platform","compress","cacheHeaders","serve","prebuild","vxrnClean","root","main","includes","_","cliMain","subCommands"],"sources":["../../src/cli.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,aAAA,EAAeC,OAAA,QAAe;AACvC,SAASC,OAAA,QAAe;AACxB,SAASC,YAAA,QAAoB;AAC7B,OAAOC,IAAA,MAAU;AACjB,SAASC,aAAA,QAAqB;AAE9B,SAASC,kBAAA,EAAoB;EAC3B,IAAIC,OAAA;EACA,OAAOC,SAAA,GAAc,MAEvBD,OAAA,GAAUC,SAAA,GAGVD,OAAA,GAAUH,IAAA,CAAKG,OAAA,CAAQF,aAAA,CAAcI,MAAA,CAAAC,IAAA,CAAYC,GAAG,CAAC;EAEvD,IAAAC,WAAM,GAAAR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QC,GAAA,CAAI;MACpB,CAAC;IACH;EACF,CAAC;EAEK0B,IAAA,GAAO7C,aAAA,CAAc;IACzBU,IAAA,EAAM;MACJW,IAAA,EAAM;MACNJ,OAAA;MACAK,WAAA,EAAa;IACf;IACAC,IAAA,EAAM,CAAC;IACP,MAAMM,IAAIC,KAAE,EAAK;MACf,IAAI;QAACP;MAAA,IAASO,KAAA;MAEZ,MAGF,OAAQ,EACR,UAAM,CACR,CAAAgB,QAAA,CAAAvB,IAAA,CAAAwB,CAAA;QACA;UAAAC;QAAa;QACX,MAAAA,OAAA,CAAAzB,IAAA;MACA;IAAA;IACO0B,WACP;MACA7B,GAAA;MACFI,KAAA;MACDW,KAAA,EAAAJ,YAAA;MAEDW,QAAY","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["Root","AppRegistry","LogBox","ignoreLogs","createApp","options","App","_jsx","isClient","routes","path","registerComponent","process","env","One_APP_NAME"],"sources":["../../src/Users/n8/vxrn/packages/one/src/createApp.native.tsx"],"sourcesContent":[null],"mappings":";AAAA,OAAO;AACP,SAASA,IAAA,QAAY;AACrB,SAASC,WAAA,EAAaC,MAAA,QAAc;AAKpCA,MAAA,CAAOC,UAAA,CAAW,CAAC,0CAA0C;AAEtD,SAASC,UAAUC,OAAA,EAAuB;EAC/C,IAAMC,GAAA,GAAM,SAAAA,CAAA;WAAM,eAAAC,IAAA,CAACP,IAAA;MAAKQ,QAAA,EAAQ;MAACC,MAAA,EAAQJ,OAAA,CAAQI,MAAA;MAAQC,IAAA,EAAK;;;EAE9DT,WAAA,CAAYU,iBAAA,CAAkB,QAAQ;WAAML,GAAA;MAG5CL,WAAA,CAAYU,iBAAA,CAAkB,sBAAsB;WAAML,GAAA;MAEtDM,OAAA,CAAQC,GAAA,CAAIC,YAAA,IACdb,WAAA,CAAYU,iBAAA,CAAkBC,OAAA,CAAQC,GAAA,CAAIC,YAAA,EAAc;WAAMR,GAAA;;AAElE","ignoreList":[]}
1
+ {"version":3,"names":["Root","AppRegistry","LogBox","ignoreLogs","createApp","options","App","_jsx","isClient","routes","path","registerComponent","process","env","One_APP_NAME"],"sources":["../../src/Users/n8/one/packages/one/src/createApp.native.tsx"],"sourcesContent":[null],"mappings":";AAAA,OAAO;AACP,SAASA,IAAA,QAAY;AACrB,SAASC,WAAA,EAAaC,MAAA,QAAc;AAKpCA,MAAA,CAAOC,UAAA,CAAW,CAAC,0CAA0C;AAEtD,SAASC,UAAUC,OAAA,EAAuB;EAC/C,IAAMC,GAAA,GAAM,SAAAA,CAAA;WAAM,eAAAC,IAAA,CAACP,IAAA;MAAKQ,QAAA,EAAQ;MAACC,MAAA,EAAQJ,OAAA,CAAQI,MAAA;MAAQC,IAAA,EAAK;;;EAE9DT,WAAA,CAAYU,iBAAA,CAAkB,QAAQ;WAAML,GAAA;MAG5CL,WAAA,CAAYU,iBAAA,CAAkB,sBAAsB;WAAML,GAAA;MAEtDM,OAAA,CAAQC,GAAA,CAAIC,YAAA,IACdb,WAAA,CAAYU,iBAAA,CAAkBC,OAAA,CAAQC,GAAA,CAAIC,YAAA,EAAc;WAAMR,GAAA;;AAElE","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["BaseNavigationContainer","getActionFromState","getPathFromState","getStateFromPath","validatePathConfig","DefaultTheme","LinkingContext","ThemeProvider","useDocumentTitle","useThenable","React","useLinking","global","REACT_NAVIGATION_DEVTOOLS","WeakMap","NavigationContainerInner","param","ref","theme","linking","fallback","documentTitle","onReady","rest","isLinkingEnabled","enabled","config","refContainer","useRef","getInitialState","prefixes","useEffect","current","set","_linking_prefixes","_linking_getStateFromPath","_linking_getPathFromState","_linking_getActionFromState","isResolved","initialState","useImperativeHandle","linkingContext","useMemo","options","isReady","onReadyRef","_onReadyRef_current","call","_jsx","Provider","value","NavigationContainer","forwardRef","NavigationContainer_native_default"],"sources":["../../../src/fork/Users/n8/vxrn/packages/one/src/fork/NavigationContainer.native.tsx"],"sourcesContent":[null],"mappings":";AAEA,SACEA,uBAAA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chB,IAAA,CAAKgB,YAAA,IAAgB,OAAOA,YAAA,GAAehB,IAAA,CAAKgB,YAAA;QAC9DtB,GAAA,EAAKU;;;OATJP,QAAA;AAcX;AAEA,IAAM+B,mBAAA,GAAsB,eAAAzC,KAAA,CAAM0C,UAAA,CAAWrC,wBAAA;EAQ7CsC,kCAAA,GAAeF,mBAAA","ignoreList":[]}
1
+ {"version":3,"names":["BaseNavigationContainer","getActionFromState","getPathFromState","getStateFromPath","validatePathConfig","DefaultTheme","LinkingContext","ThemeProvider","useDocumentTitle","useThenable","React","useLinking","global","REACT_NAVIGATION_DEVTOOLS","WeakMap","NavigationContainerInner","param","ref","theme","linking","fallback","documentTitle","onReady","rest","isLinkingEnabled","enabled","config","refContainer","useRef","getInitialState","prefixes","useEffect","current","set","_linking_prefixes","_linking_getStateFromPath","_linking_getPathFromState","_linking_getActionFromState","isResolved","initialState","useImperativeHandle","linkingContext","useMemo","options","isReady","onReadyRef","_onReadyRef_current","call","_jsx","Provider","value","NavigationContainer","forwardRef","NavigationContainer_native_default"],"sources":["../../../src/fork/Users/n8/one/packages/one/src/fork/NavigationContainer.native.tsx"],"sourcesContent":[null],"mappings":";AAEA,SACEA,uBAAA,EAIAC,kBAAA,EACAC,gBAAA,EACAC,gBAAA,EACAC,kBAAA,QACK;AACP,SACEC,YAAA,EAEAC,cAAA,EAGAC,aAAA,QACK;AAEP,OAAOC,gBAAA,MAAsB;AAC7B,OAAOC,WAAA,MAAiB;AACxB,YAAYC,KAAA,MAAW;AAEvB,OAAOC,UAAA,MAAgB;AAEvBC,MAAA,CAAOC,yBAAA,GAA4B,mBAAIC,OAAA;AAwBvC,SAASC,yBACPC,KAAA,EAQAC,GAAA,EAA6D;MAR7D;MACEC,KAAA,GAAQb,YAAA;MACRc,OAAA;MACAC,QAAA,GAAW;MACXC,aAAA;MACAC,OAAA;MACA,GAAGC;IAAA,IANLP,KAAA;IAUMQ,gBAAA,GAAmBL,OAAA,GAAUA,OAAA,CAAQM,OAAA,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MgC,OAAA,CAAQ;aAAO;QAAEC,OAAA,EAASxB;MAAQ;OAAI,CAACA,OAAA,CAAQ;IAEtEyB,OAAA,GAAUrB,IAAA,CAAKgB,YAAA,IAAgB,QAAQ,CAACf,gBAAA,IAAoBc,UAAA;IAE5DO,UAAA,GAAanC,KAAA,CAAMkB,MAAA,CAAON,OAAA;EAYhC,OAVAZ,KAAA,CAAMqB,SAAA,CAAU;IACdc,UAAA,CAAWb,OAAA,GAAUV,OAAA;EACvB,IAEAZ,KAAA,CAAMqB,SAAA,CAAU;IACd,IAAIa,OAAA,EAAS;UACXE,mBAAA;OAAAA,mBAAA,GAAAD,UAAA,CAAWb,OAAA,MAAO,QAAlBc,mBAAA,eAAAA,mBAAA,CAAAC,IAAA,CAAAF,UAAA;IACF;EACF,GAAG,CAACD,OAAA,CAAQ,GAEPA,OAAA,GAOH,eAAAI,IAAA,CAAC1C,cAAA,CAAe2C,QAAA,EAAQ;IAACC,KAAA,EAAOT,cAAA;cAC9B,eAAAO,IAAA,CAACzC,aAAA;MAAc2C,KAAA,EAAOhC,KAAA;gBACpB,eAAA8B,IAAA,CAAChD,uBAAA;QACE,GAAGuB,IAAA;QACJgB,YAAA,EAAchB,IAAA,CAAKgB,YAAA,IAAgB,OAAOA,YAAA,GAAehB,IAAA,CAAKgB,YAAA;QAC9DtB,GAAA,EAAKU;;;OATJP,QAAA;AAcX;AAEA,IAAM+B,mBAAA,GAAsB,eAAAzC,KAAA,CAAM0C,UAAA,CAAWrC,wBAAA;EAQ7CsC,kCAAA,GAAeF,mBAAA","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["getActionFromState","getActionFromStateDefault","getStateFromPath","getStateFromPathDefault","React","Linking","Platform","extractExpoPathFromURL","linkingHandlers","useLinking","ref","param","filter","config","getInitialURL","Promise","race","resolve","setTimeout","subscribe","listener","callback","param2","url","subscription","addEventListener","remove","useEffect","process","env","NODE_ENV","length","console","error","OS","join","trim","handler","Symbol","push","index","indexOf","splice","filterRef","useRef","configRef","getInitialURLRef","getStateFromPathRef","getActionFromStateRef","current","getStateFromURL","useCallback","path","getInitialState","then","url2","state2","state","thenable","onfulfilled","catch","navigation","rootState","getRootState","routes","some","r","routeNames","includes","name","warn","action","dispatch","e","message","resetRoot"],"sources":["../../../src/fork/Users/n8/vxrn/packages/one/src/fork/useLinking.native.ts"],"sourcesContent":[null],"mappings":"AAIA,SAGEA,kBAAA,IAAsBC,yBAAA,EACtBC,gBAAA,IAAoBC,uBAAA,QACf;AAEP,YAAYC,KAAA,MAAW;AACvB,SAASC,OAAA,EAASC,QAAA,QAAgB;AAElC,SAASC,sBAAA,QAA8B;AAMvC,IAAMC,eAAA,GAA4B;AAEnB,SAAfC,WACEC,GAAA,EACAC,KAAA,EA2BU;MA3BV;;;IAGEC,MAAA;IACAC,MAAA;IACAC,aAAA,GAAgB,SAAAA,CAAA;aACdC,OAAA,CAAQC,IAAA,CAAK,CACXX,OAAA,CAAQS,aAAA,CAAa,GACrB,IAAIC,OAAA,CAAmB,UAACE,OAAA;;;;UAGtBC,UAAA,CAAWD,OAAA,EAAS;QAAA;SAEvB;;IACHE,SAAA,GAAY,SAAAA,CAACC,QAAA;MACX,IAAMC,QAAA,GAAW,SAAAA,CAAAC,MAAA;cAAC;YAAEC;UAAG,IAAmBD,MAAA;iBAAKF,QAAA,CAASG,GAAA;;QAElDC,YAAA,GAAenB,OAAA,CAAQoB,gBAAA,CAAiB,OAAOJ,QAAA;MAIrD,OAAO;QACLG,YAAA,EAAcE,MAAA,CAAM;MACtB;IACF;IACAxB,gBAAA,GAAmBC,uBAAA;IACnBH,kBAAA,GAAqBC;EAAyB,IA1BhDU,KAAA;EA+BAP,KAAA,CAAMuB,SAAA,CACJ;IACE,IAAIC,OAAA,CAAQC,GAAA,CAAIC,QAAA,KAAa,cAQ7B;;MAEEtB,eAAA,CAAgBuB,MAAA,IAEhBC,OAAA,CAAQC,KAAA,CACN,CACE,+KACA,yFACA,8DACA3B,QAAA,CAAS4B,EA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D,OAAOkD,CAAA,IAAM,YAAYA,CAAA,IAAK,QAAQ,aAAaA,CAAA,GAAIA,CAAA,CAAEC,OAAA,GAAUD,CAAA,EACnE;QAEN,OAEAZ,UAAA,CAAWc,SAAA,CAAUlB,KAAA;MAEzB;IACF;IAEA,OAAOtC,SAAA,CAAUC,QAAA;EACnB,GAAG;;EAED8B,eAAA,EACAxC,GAAA,EACAS,SAAA,CACD,GAEM;IACLkC;EACF;AACF","ignoreList":[]}
1
+ {"version":3,"names":["getActionFromState","getActionFromStateDefault","getStateFromPath","getStateFromPathDefault","React","Linking","Platform","extractExpoPathFromURL","linkingHandlers","useLinking","ref","param","filter","config","getInitialURL","Promise","race","resolve","setTimeout","subscribe","listener","callback","param2","url","subscription","addEventListener","remove","useEffect","process","env","NODE_ENV","length","console","error","OS","join","trim","handler","Symbol","push","index","indexOf","splice","filterRef","useRef","configRef","getInitialURLRef","getStateFromPathRef","getActionFromStateRef","current","getStateFromURL","useCallback","path","getInitialState","then","url2","state2","state","thenable","onfulfilled","catch","navigation","rootState","getRootState","routes","some","r","routeNames","includes","name","warn","action","dispatch","e","message","resetRoot"],"sources":["../../../src/fork/Users/n8/one/packages/one/src/fork/useLinking.native.ts"],"sourcesContent":[null],"mappings":"AAIA,SAGEA,kBAAA,IAAsBC,yBAAA,EACtBC,gBAAA,IAAoBC,uBAAA,QACf;AAEP,YAAYC,KAAA,MAAW;AACvB,SAASC,OAAA,EAASC,QAAA,QAAgB;AAElC,SAASC,sBAAA,QAA8B;AAMvC,IAAMC,eAAA,GAA4B;AAEnB,SAAfC,WACEC,GAAA,EACAC,KAAA,EA2BU;MA3BV;;;IAGEC,MAAA;IACAC,MAAA;IACAC,aAAA,GAAgB,SAAAA,CAAA;aACdC,OAAA,CAAQC,IAAA,CAAK,CACXX,OAAA,CAAQS,aAAA,CAAa,GACrB,IAAIC,OAAA,CAAmB,UAACE,OAAA;;;;UAGtBC,UAAA,CAAWD,OAAA,EAAS;QAAA;SAEvB;;IACHE,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A,IAAO;MAElD,IAAIsC,UAAA,IAAcJ,KAAA,EAAO;QAGvB,IAAMK,SAAA,GAAYD,UAAA,CAAWE,YAAA,CAAY;QAEzC,IAAIN,KAAA,CAAMO,MAAA,CAAOC,IAAA,CAAK,UAACC,CAAA;iBAAM,CAACJ,SAAA,EAAWK,UAAA,CAAWC,QAAA,CAASF,CAAA,CAAEG,IAAI;YAAI;UACrErC,OAAA,CAAQsC,IAAA,CACN;UAEF;QACF;QAEA,IAAMC,MAAA,GAASvB,qBAAA,CAAsBC,OAAA,CAAQQ,KAAA,EAAOZ,SAAA,CAAUI,OAAO;QAErE,IAAIsB,MAAA,KAAW,QACb,IAAI;UACFV,UAAA,CAAWW,QAAA,CAASD,MAAA;QACtB,SAASE,CAAA,EAAG;UAGVzC,OAAA,CAAQsC,IAAA,CACN,qDAAqD/C,GAAA,MACnD,OAAOkD,CAAA,IAAM,YAAYA,CAAA,IAAK,QAAQ,aAAaA,CAAA,GAAIA,CAAA,CAAEC,OAAA,GAAUD,CAAA,EACnE;QAEN,OAEAZ,UAAA,CAAWc,SAAA,CAAUlB,KAAA;MAEzB;IACF;IAEA,OAAOtC,SAAA,CAAUC,QAAA;EACnB,GAAG;;EAED8B,eAAA,EACAxC,GAAA,EACAS,SAAA,CACD,GAEM;IACLkC;EACF;AACF","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["getDevServer","getURL","url","process","env","ONE_SERVER_URL","__DEV__","console","warn","devServerUrl","replace"],"sources":["../../src/Users/n8/vxrn/packages/one/src/getURL.native.ts"],"sourcesContent":[null],"mappings":"AAAA,OAAOA,YAAA,MAAkB;AAElB,SAASC,OAAA;EACd,IAAIC,GAAA,GAAMC,OAAA,CAAQC,GAAA,CAAIC,cAAA;EAEtB,IAAIC,OAAA,EAAS;IAENJ,GAAA,IACHK,OAAA,CAAQC,IAAA,CACN,qOAAqO;IAIzO,IAAM;MAAEN,GAAA,EAAKO;IAAY,IAAKT,YAAA;IAC9BE,GAAA,GAAMO,YAAA;EACR;EAEA,OAAKP,GAAA,KAEHA,GAAA,GAAM,kCAGDA,GAAA,CAAIQ,OAAA,CAAQ,QAAQ;AAC7B","ignoreList":[]}
1
+ {"version":3,"names":["getDevServer","getURL","url","process","env","ONE_SERVER_URL","__DEV__","console","warn","devServerUrl","replace"],"sources":["../../src/Users/n8/one/packages/one/src/getURL.native.ts"],"sourcesContent":[null],"mappings":"AAAA,OAAOA,YAAA,MAAkB;AAElB,SAASC,OAAA;EACd,IAAIC,GAAA,GAAMC,OAAA,CAAQC,GAAA,CAAIC,cAAA;EAEtB,IAAIC,OAAA,EAAS;IAENJ,GAAA,IACHK,OAAA,CAAQC,IAAA,CACN,qOAAqO;IAIzO,IAAM;MAAEN,GAAA,EAAKO;IAAY,IAAKT,YAAA;IAC9BE,GAAA,GAAMO,YAAA;EACR;EAEA,OAAKP,GAAA,KAEHA,GAAA,GAAM,kCAGDA,GAAA,CAAIQ,OAAA,CAAQ,QAAQ;AAC7B","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["HeadModule","Head","props","Object","assign"],"sources":["../../../src/head/Users/n8/vxrn/packages/one/src/head/Head.android.tsx"],"sourcesContent":[null],"mappings":"AACA,SAASA,UAAA,QAAkB;AAIpB,IAAMC,IAAA,GAAiB,SAAAA,CAACC,KAAA;SAA6B;;AAE5DC,MAAA,CAAOC,MAAA,CAAOH,IAAA,EAAMD,UAAA","ignoreList":[]}
1
+ {"version":3,"names":["HeadModule","Head","props","Object","assign"],"sources":["../../../src/head/Users/n8/one/packages/one/src/head/Head.android.tsx"],"sourcesContent":[null],"mappings":"AACA,SAASA,UAAA,QAAkB;AAIpB,IAAMC,IAAA,GAAiB,SAAAA,CAACC,KAAA;SAA6B;;AAE5DC,MAAA,CAAOC,MAAA,CAAOH,IAAA,EAAMD,UAAA","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["useIsFocused","React","HeadModule","getStaticUrlFromOneRouter","useParams","useUnstableGlobalHref","usePathname","useSegments","urlToId","url","replace","getLastSegment","path","_path_split_pop","lastSegment","split","pop","useAddressableLink","pathname","params","useMetaChildren","children","useMemo","renderableChildren","metaChildren","Children","forEach","child","isValidElement","type","push","serializedMetaChildren","meta","validMeta","filter","map","props","property","content","useActivityFromMetaChildren","href","previousMeta","useRef","cachedActivity","sortedMeta","urlMeta","find","_urlMeta_props_content","startsWith","title","titleTag","_titleTag_props_children","titleMeta","_titleMeta_props_content","activity","current","deepObjectCompare","userActivity","description","isEligibleForHandoff","isTruthy","isEligibleForSearch","parsedActivity","keywords","webpageURL","activityType","Head","activities","INDEXED_ROUTE","userInfo","value","includes","HeadNative","isFocused","_jsx","FocusedHead","UnfocusedHead","_Fragment","useRegisterCurrentActivity","Map","activityId","cascadingId","join","cascadingActivity","cascadingActivity2","has","get","id","set","previousActivity","useEffect","Error","createActivity","suspendActivity","a","b","Array","isArray","length","every","item","index","aKeys","Object","keys","bKeys","key","Provider","Fragment","HeadShim","assign"],"sources":["../../../src/head/Users/n8/vxrn/packages/one/src/head/Head.ios.tsx"],"sourcesContent":[null],"mappings":";AAAA,SAASA,YAAA,QAAoB;AAC7B,OAAOC,KAAA,MAAW;AAClB,SAASC,UAAA,QAAqC;AAC9C,SAASC,yBAAA,QAAiC;AAC1C,SAASC,SAAA,EAAWC,qBAAA,EAAuBC,WAAA,EAAaC,WAAA,QAAmB;AAG3E,SAASC,QAAQC,GAAA,EAAW;EAC1B,OAAOA,GAAA,CAAIC,OAAA,CAAQ,iBAAiB;AACtC;AAEA,SAASC,eAAeC,IAAA,EAAY;MAEdC,eAAA;IAAdC,WAAA,IAAcD,eAAA,GAAAD,IAAA,CAAKG,KAAA,CAAM,KAAKC,GAAA,CAAG,eAAnBH,eAAA,cAAAA,eAAA,GAAyB;EAC7C,OAAOC,WAAA,CAAYJ,OAAA,CAAQ,aAAa,IAAIK,KAAA,CAAM,KAAK;AACzD;AAIA,SAASE,mBAAA;EACP,IAAMC,QAAA,GAAWb,qBAAA;IACXc,MA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AkB4C,IAAA,EAAML,CAAA,CAAEM,KAAA,CAAM;;IAGlE,IAAIP,CAAA,KAAM,QAAQC,CAAA,KAAM,MACtB,OAAOD,CAAA,KAAMC,CAAA;IAEf,IAAMO,KAAA,GAAQC,MAAA,CAAOC,IAAA,CAAKV,CAAA;MACpBW,KAAA,GAAQF,MAAA,CAAOC,IAAA,CAAKT,CAAA;IAC1B,OAAIO,KAAA,CAAMJ,MAAA,KAAWO,KAAA,CAAMP,MAAA,GAClB,KAEFI,KAAA,CAAMH,KAAA,CAAM,UAACO,GAAA;aAAQlD,iBAAA,CAAkBsC,CAAA,CAAEY,GAAA,GAAMX,CAAA,CAAEW,GAAA,CAAI;;EAC9D;EACA,OAAOZ,CAAA,KAAMC,CAAA;AACf;AAEAvB,UAAA,CAAWmC,QAAA,GAAW1G,KAAA,CAAM2G,QAAA;AAE5B,SAASC,SAASzE,KAAA,EAA8B;EAC9C,OAAO;AACT;AAEAyE,QAAA,CAASF,QAAA,GAAW1G,KAAA,CAAM2G,QAAA;AAInB,IAAM1C,IAAA,GAAiBhE,UAAA,GAAasE,UAAA,GAAaqC,QAAA;AAExDN,MAAA,CAAOO,MAAA,CAAO5C,IAAA,EAAMhE,UAAA","ignoreList":[]}
1
+ {"version":3,"names":["useIsFocused","React","HeadModule","getStaticUrlFromOneRouter","useParams","useUnstableGlobalHref","usePathname","useSegments","urlToId","url","replace","getLastSegment","path","_path_split_pop","lastSegment","split","pop","useAddressableLink","pathname","params","useMetaChildren","children","useMemo","renderableChildren","metaChildren","Children","forEach","child","isValidElement","type","push","serializedMetaChildren","meta","validMeta","filter","map","props","property","content","useActivityFromMetaChildren","href","previousMeta","useRef","cachedActivity","sortedMeta","urlMeta","find","_urlMeta_props_content","startsWith","title","titleTag","_titleTag_props_children","titleMeta","_titleMeta_props_content","activity","current","deepObjectCompare","userActivity","description","isEligibleForHandoff","isTruthy","isEligibleForSearch","parsedActivity","keywords","webpageURL","activityType","Head","activities","INDEXED_ROUTE","userInfo","value","includes","HeadNative","isFocused","_jsx","FocusedHead","UnfocusedHead","_Fragment","useRegisterCurrentActivity","Map","activityId","cascadingId","join","cascadingActivity","cascadingActivity2","has","get","id","set","previousActivity","useEffect","Error","createActivity","suspendActivity","a","b","Array","isArray","length","every","item","index","aKeys","Object","keys","bKeys","key","Provider","Fragment","HeadShim","assign"],"sources":["../../../src/head/Users/n8/one/packages/one/src/head/Head.ios.tsx"],"sourcesContent":[null],"mappings":";AAAA,SAASA,YAAA,QAAoB;AAC7B,OAAOC,KAAA,MAAW;AAClB,SAASC,UAAA,QAAqC;AAC9C,SAASC,yBAAA,QAAiC;AAC1C,SAASC,SAAA,EAAWC,qBAAA,EAAuBC,WAAA,EAAaC,WAAA,QAAmB;AAG3E,SAASC,QAAQC,GAAA,EAAW;EAC1B,OAAOA,GAAA,CAAIC,OAAA,CAAQ,iBAAiB;AACtC;AAEA,SAASC,eAAeC,IAAA,EAAY;MAEdC,eAAA;IAAdC,WAAA,IAAcD,eAAA,GAAAD,IAAA,CAAKG,KAAA,CAAM,KAAKC,GAAA,CAAG,eAAnBH,eAAA,cAAAA,eAAA,GAAyB;EAC7C,OAAOC,WAAA,CAAYJ,OAAA,CAAQ,aAAa,IAAIK,KAAA,CAAM,KAAK;AACzD;AAIA,SAASE,mBAAA;EACP,IAAMC,QAAA,GAAWb,qBAAA;IACXc,MAAA,GAASf,SAAA;IACTK,GAAA,GAAMN,yBAAA,CAA0Be,QAAA;EACtC,OAAO;IAAET,GAAA;IAAKS,QAAA;IAAUC;EAAO;AACjC;AAMA,SAASC,gBAAgBC,QAAA,EAAyB;EAChD,OAAOpB,KAAA,CAAMqB,OAAA,CAAQ;IACnB,IAAMC,kBAAA,GAAwC;MACxCC,YAAA,GAA2B;IAEjC,OAAAvB,KAAA,CAAMwB,QAAA,CAASC,OAAA,CAAQL,QAAA,EAAU,UAACM,KAAA;MAC3B,eAAA1B,KAAA,CAAM2B,cAAA,CAAeD,KAAA,MAGtB,OAAOA,KAAA,CAA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,GAAMX,CAAA,CAAEW,GAAA,CAAI;;EAC9D;EACA,OAAOZ,CAAA,KAAMC,CAAA;AACf;AAEAvB,UAAA,CAAWmC,QAAA,GAAW1G,KAAA,CAAM2G,QAAA;AAE5B,SAASC,SAASzE,KAAA,EAA8B;EAC9C,OAAO;AACT;AAEAyE,QAAA,CAASF,QAAA,GAAW1G,KAAA,CAAM2G,QAAA;AAInB,IAAM1C,IAAA,GAAiBhE,UAAA,GAAasE,UAAA,GAAaqC,QAAA;AAExDN,MAAA,CAAOO,MAAA,CAAO5C,IAAA,EAAMhE,UAAA","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_process_env_One_ROUTER_IMPORT_MODE_ANDROID","index_android_default","process","env","One_ROUTER_IMPORT_MODE_ANDROID"],"sources":["../../../src/import-mode/Users/n8/vxrn/packages/one/src/import-mode/index.android.ts"],"sourcesContent":[null],"mappings":"IAAeA,2CAAA;EAAfC,qBAAA,IAAeD,2CAAA,GAAAE,OAAA,CAAQC,GAAA,CAAIC,8BAAA,MAA8B,QAA1CJ,2CAAA,cAAAA,2CAAA,GAA8C","ignoreList":[]}
1
+ {"version":3,"names":["_process_env_One_ROUTER_IMPORT_MODE_ANDROID","index_android_default","process","env","One_ROUTER_IMPORT_MODE_ANDROID"],"sources":["../../../src/import-mode/Users/n8/one/packages/one/src/import-mode/index.android.ts"],"sourcesContent":[null],"mappings":"IAAeA,2CAAA;EAAfC,qBAAA,IAAeD,2CAAA,GAAAE,OAAA,CAAQC,GAAA,CAAIC,8BAAA,MAA8B,QAA1CJ,2CAAA,cAAAA,2CAAA,GAA8C","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_process_env_One_ROUTER_IMPORT_MODE_IOS","index_ios_default","process","env","One_ROUTER_IMPORT_MODE_IOS"],"sources":["../../../src/import-mode/Users/n8/vxrn/packages/one/src/import-mode/index.ios.ts"],"sourcesContent":[null],"mappings":"IAAeA,uCAAA;EAAfC,iBAAA,IAAeD,uCAAA,GAAAE,OAAA,CAAQC,GAAA,CAAIC,0BAAA,MAA0B,QAAtCJ,uCAAA,cAAAA,uCAAA,GAA0C","ignoreList":[]}
1
+ {"version":3,"names":["_process_env_One_ROUTER_IMPORT_MODE_IOS","index_ios_default","process","env","One_ROUTER_IMPORT_MODE_IOS"],"sources":["../../../src/import-mode/Users/n8/one/packages/one/src/import-mode/index.ios.ts"],"sourcesContent":[null],"mappings":"IAAeA,uCAAA;EAAfC,iBAAA,IAAeD,uCAAA,GAAAE,OAAA,CAAQC,GAAA,CAAIC,0BAAA,MAA0B,QAAtCJ,uCAAA,cAAAA,uCAAA,GAA0C","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["index_native_default"],"sources":["../../../src/import-mode/Users/n8/vxrn/packages/one/src/import-mode/index.native.ts"],"sourcesContent":[null],"mappings":"AAEA,IAAAA,oBAAA,GAAe","ignoreList":[]}
1
+ {"version":3,"names":["index_native_default"],"sources":["../../../src/import-mode/Users/n8/one/packages/one/src/import-mode/index.native.ts"],"sourcesContent":[null],"mappings":"AAEA,IAAAA,oBAAA,GAAe","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["render","element","console","warn"],"sources":["../../src/Users/n8/vxrn/packages/one/src/render.native.tsx"],"sourcesContent":[null],"mappings":"AAAO,SAASA,OAAOC,OAAA,EAAwB;EAC7CC,OAAA,CAAQC,IAAA,CAAK,OAAO;AACtB","ignoreList":[]}
1
+ {"version":3,"names":["render","element","console","warn"],"sources":["../../src/Users/n8/one/packages/one/src/render.native.tsx"],"sourcesContent":[null],"mappings":"AAAO,SAASA,OAAOC,OAAA,EAAwB;EAC7CC,OAAA,CAAQC,IAAA,CAAK,OAAO;AACtB","ignoreList":[]}
package/dist/esm/serve.js CHANGED
@@ -8,10 +8,12 @@ import { isStatusRedirect } from "./utils/isStatus";
8
8
  import { removeUndefined } from "./utils/removeUndefined";
9
9
  import { resolveAPIRequest } from "./vite/resolveAPIRequest";
10
10
  import { loadUserOneOptions } from "./vite/one";
11
+ import { labelProcess } from "./cli/label-process";
11
12
  process.on("uncaughtException", (err) => {
12
13
  console.error("[one] Uncaught exception", err?.stack || err);
13
14
  });
14
15
  async function serve(args = {}) {
16
+ labelProcess("serve");
15
17
  const oneOptions = await loadUserOneOptions("serve");
16
18
  return process.env.VXRN_REACT_19 = "1", await vxrnServe({
17
19
  server: {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/serve.ts"],
4
- "mappings": "AAAA,OAAO;AAEP,OAAO,aAAa;AAEpB,OAAO,QAAQ,YAAY;AAE3B,SAAS,gBAAgB,SAAS,iBAAiB;AACnD,SAAS,2BAA2B;AAEpC,SAAS,kBAAkB;AAC3B,SAAS,wBAAwB;AACjC,SAAS,uBAAuB;AAChC,SAAS,yBAAyB;AAElC,SAAS,0BAA0B;AAEnC,QAAQ,GAAG,qBAAqB,CAAC,QAAQ;AACvC,UAAQ,MAAM,4BAA4B,KAAK,SAAS,GAAG;AAC7D,CAAC;AAED,eAAsB,MAAM,OAA8B,CAAC,GAAG;AAC5D,QAAM,aAAa,MAAM,mBAAmB,OAAO;AAGnD,iBAAQ,IAAI,gBAAgB,KAErB,MAAM,UAAU;AAAA,IACrB,QAAQ;AAAA;AAAA,MAEN,GAAG,WAAW;AAAA;AAAA,MAEd,GAAG,gBAAgB;AAAA,QACjB,MAAM,KAAK,OAAO,CAAC,KAAK,OAAO;AAAA,QAC/B,MAAM,KAAK;AAAA,QACX,UAAU,KAAK;AAAA,QACf,UAAU,KAAK;AAAA,QACf,cAAc,KAAK;AAAA,MACrB,CAAC;AAAA,MAED,MAAM,YAAY,SAAS,KAAK;AAC9B,cAAM,WAAW,QAAQ,cAAc,SAAS,GAAG,GACnD,MAAM,SAAS,YAAY,SAAS,GAAG;AAAA,MACzC;AAAA,IACF;AAAA,EACF,CAAC;AACH;AAEA,eAAe,SAAS,SAAsB,aAA0B,KAAW;AACjF,QAAM,OAAO,QAAQ,QAAQ,YAAY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AACH;",
5
5
  "names": ["buildInfo"]
6
6
  }
@@ -8,10 +8,12 @@ import { isStatusRedirect } from "./utils/isStatus.mjs";
8
8
  import { removeUndefined } from "./utils/removeUndefined.mjs";
9
9
  import { resolveAPIRequest } from "./vite/resolveAPIRequest.mjs";
10
10
  import { loadUserOneOptions } from "./vite/one.mjs";
11
+ import { labelProcess } from "./cli/label-process.mjs";
11
12
  process.on("uncaughtException", err => {
12
13
  console.error("[one] Uncaught exception", err?.stack || err);
13
14
  });
14
15
  async function serve(args = {}) {
16
+ labelProcess("serve");
15
17
  const oneOptions = await loadUserOneOptions("serve");
16
18
  return process.env.VXRN_REACT_19 = "1", await vxrnServe({
17
19
  server: {
@@ -1 +1 @@
1
- {"version":3,"names":["FSExtra","Path","join","getServerEntry","serve","vxrnServe","createHandleRequest","isResponse","isStatusRedirect","removeUndefined","resolveAPIRequest","loadUserOneOptions","process","on","err","console","error","stack","args","oneOptions","env","VXRN_REACT_19","server","port","host","compress","platform","cacheHeaders","beforeStart","options","app","oneServe","vxrnOptions","root","isAPIRequest","WeakMap","toAbsolute","p","resolve","redirects","web","redirect","get","source","context","destinationUrl","destination","replace","param","paramName","substring","req","permanent","buildInfo","readJSON","Error","routeMap","builtRoutes","routeToBuildInfo","route","cleanPath","serverOptions","render","default","apiCJS","build","api","outputFormat","handleRequest","handleAPI","request","loaderProps","apiFile","cwd","page","set","params","handleSSR","url","type","buildInfo2","loaderData","serverJsPath","loader","preloads","headers","Headers","Response","path","htmlFiles","key","readFile","use","next","html","raw","response","handler","status","location","info","json"],"sources":["../../src/serve.ts"],"sourcesContent":[null],"mappings":"AAAA,OAAO;AAEP,OAAOA,OAAA,MAAa;AAEpB,OAAOC,IAAA,IAAQC,IAAA,QAAY;AAE3B,SAASC,cAAA,EAAgBC,KAAA,IAASC,SAAA,QAAiB;AACnD,SAASC,mBAAA,QAA2B;AAEpC,SAASC,UAAA,QAAkB;AAC3B,SAASC,gBAAA,QAAwB;AACjC,SAASC,eAAA,QA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AASX,OAAA,CAAQ3C,GAAA,CAAI,eAAe,CAAC,cAC7D5B,GACF;UACF;UAGF,OAAOkF,QAAA;QACT;QAEA,OAAOpD,OAAA,CAAQyD,IAAA,CACbL,QAAA,EACA,KACA9D,YAAA,CAAaQ,GAAA,CAAI4B,OAAO,IACpB;UACE,iBAAiB;QACnB,IACA,MACN;MACF;IACF,SAASxD,GAAA,EAAK;MACZC,OAAA,CAAQC,KAAA,CAAM,kCAAmCF,GAAA,CAAYG,KAAQ,EAAE;IACzE;IAEA,MAAM4E,IAAA,CAAK;EACb,CAAC;AACH","ignoreList":[]}
1
+ {"version":3,"names":["FSExtra","Path","join","getServerEntry","serve","vxrnServe","createHandleRequest","isResponse","isStatusRedirect","removeUndefined","resolveAPIRequest","loadUserOneOptions","labelProcess","process","on","err","console","error","stack","args","oneOptions","env","VXRN_REACT_19","server","port","host","compress","platform","cacheHeaders","beforeStart","options","app","oneServe","vxrnOptions","root","isAPIRequest","WeakMap","toAbsolute","p","resolve","redirects","web","redirect","get","source","context","destinationUrl","destination","replace","param","paramName","substring","req","permanent","buildInfo","readJSON","Error","routeMap","builtRoutes","routeToBuildInfo","route","cleanPath","serverOptions","render","default","apiCJS","build","api","outputFormat","handleRequest","handleAPI","request","loaderProps","apiFile","cwd","page","set","params","handleSSR","url","type","buildInfo2","loaderData","serverJsPath","loader","preloads","headers","Headers","Response","path","htmlFiles","key","readFile","use","next","html","raw","response","handler","status","location","info","json"],"sources":["../../src/serve.ts"],"sourcesContent":[null],"mappings":"AAAA,OAAO;AAEP,OAAOA,OAAA,MAAa;AAEpB,OAAOC,IAAA,IAAQC,IAAA,QAAY;AAE3B,SAASC,cAAA,EAAgBC,KAAA,IAASC,SAAA,QAAiB;AACnD,SAASC,mBAAA,QAA2B;AAEpC,SAASC,UAAA,QAAkB;AAC3B,SAASC,gBAAA,QAAwB;AACjC,SAASC,eAAA,QAAuB;AAChC,SAASC,iBAAA,QAAyB;AAElC,SAASC,kBAAA,QAA0B;AACnC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