@tamagui/cli 1.74.7 → 1.74.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (237) hide show
  1. package/package.json +8 -8
  2. package/dist/dev/clientInjectPlugin.js +0 -71
  3. package/dist/dev/clientInjectPlugin.js.map +0 -6
  4. package/dist/dev/clientInjectPlugin.native.js +0 -72
  5. package/dist/dev/clientInjectPlugin.native.js.map +0 -6
  6. package/dist/dev/createDevServer.js +0 -130
  7. package/dist/dev/createDevServer.js.map +0 -6
  8. package/dist/dev/createDevServer.native.js +0 -131
  9. package/dist/dev/createDevServer.native.js.map +0 -6
  10. package/dist/dev/types.js +0 -14
  11. package/dist/dev/types.js.map +0 -6
  12. package/dist/dev/types.native.js +0 -15
  13. package/dist/dev/types.native.js.map +0 -6
  14. package/dist/dev.js +0 -373
  15. package/dist/dev.js.map +0 -6
  16. package/dist/dev.native.js +0 -374
  17. package/dist/dev.native.js.map +0 -6
  18. package/dist/test.js +0 -36
  19. package/dist/test.js.map +0 -6
  20. package/dist/test.native.js +0 -37
  21. package/dist/test.native.js.map +0 -6
  22. package/dist/utils/constants.js +0 -25
  23. package/dist/utils/constants.js.map +0 -6
  24. package/dist/utils/constants.native.js +0 -26
  25. package/dist/utils/constants.native.js.map +0 -6
  26. package/dist/vendor/debugger-app/index.js +0 -23
  27. package/dist/vendor/debugger-app/index.js.map +0 -6
  28. package/dist/vendor/debugger-app/index.native.js +0 -24
  29. package/dist/vendor/debugger-app/index.native.js.map +0 -6
  30. package/dist/vendor/debugger-app/src/debuggerWorker.js +0 -47
  31. package/dist/vendor/debugger-app/src/debuggerWorker.js.map +0 -6
  32. package/dist/vendor/debugger-app/src/debuggerWorker.native.js +0 -48
  33. package/dist/vendor/debugger-app/src/debuggerWorker.native.js.map +0 -6
  34. package/dist/vendor/debugger-app/src/index.css +0 -41
  35. package/dist/vendor/debugger-app/src/index.css.map +0 -6
  36. package/dist/vendor/debugger-app/src/index.js +0 -105
  37. package/dist/vendor/debugger-app/src/index.js.map +0 -6
  38. package/dist/vendor/debugger-app/src/index.native.js +0 -106
  39. package/dist/vendor/debugger-app/src/index.native.js.map +0 -6
  40. package/dist/vendor/repack/dev-server/src/createServer.js +0 -120
  41. package/dist/vendor/repack/dev-server/src/createServer.js.map +0 -6
  42. package/dist/vendor/repack/dev-server/src/createServer.native.js +0 -121
  43. package/dist/vendor/repack/dev-server/src/createServer.native.js.map +0 -6
  44. package/dist/vendor/repack/dev-server/src/index.js +0 -21
  45. package/dist/vendor/repack/dev-server/src/index.js.map +0 -6
  46. package/dist/vendor/repack/dev-server/src/index.native.js +0 -22
  47. package/dist/vendor/repack/dev-server/src/index.native.js.map +0 -6
  48. package/dist/vendor/repack/dev-server/src/plugins/api/apiPlugin.js +0 -51
  49. package/dist/vendor/repack/dev-server/src/plugins/api/apiPlugin.js.map +0 -6
  50. package/dist/vendor/repack/dev-server/src/plugins/api/apiPlugin.native.js +0 -52
  51. package/dist/vendor/repack/dev-server/src/plugins/api/apiPlugin.native.js.map +0 -6
  52. package/dist/vendor/repack/dev-server/src/plugins/api/index.js +0 -29
  53. package/dist/vendor/repack/dev-server/src/plugins/api/index.js.map +0 -6
  54. package/dist/vendor/repack/dev-server/src/plugins/api/index.native.js +0 -30
  55. package/dist/vendor/repack/dev-server/src/plugins/api/index.native.js.map +0 -6
  56. package/dist/vendor/repack/dev-server/src/plugins/compiler/compilerPlugin.js +0 -77
  57. package/dist/vendor/repack/dev-server/src/plugins/compiler/compilerPlugin.js.map +0 -6
  58. package/dist/vendor/repack/dev-server/src/plugins/compiler/compilerPlugin.native.js +0 -78
  59. package/dist/vendor/repack/dev-server/src/plugins/compiler/compilerPlugin.native.js.map +0 -6
  60. package/dist/vendor/repack/dev-server/src/plugins/compiler/index.js +0 -33
  61. package/dist/vendor/repack/dev-server/src/plugins/compiler/index.js.map +0 -6
  62. package/dist/vendor/repack/dev-server/src/plugins/compiler/index.native.js +0 -34
  63. package/dist/vendor/repack/dev-server/src/plugins/compiler/index.native.js.map +0 -6
  64. package/dist/vendor/repack/dev-server/src/plugins/compiler/types.js +0 -14
  65. package/dist/vendor/repack/dev-server/src/plugins/compiler/types.js.map +0 -6
  66. package/dist/vendor/repack/dev-server/src/plugins/compiler/types.native.js +0 -15
  67. package/dist/vendor/repack/dev-server/src/plugins/compiler/types.native.js.map +0 -6
  68. package/dist/vendor/repack/dev-server/src/plugins/devtools/devtoolsPlugin.js +0 -95
  69. package/dist/vendor/repack/dev-server/src/plugins/devtools/devtoolsPlugin.js.map +0 -6
  70. package/dist/vendor/repack/dev-server/src/plugins/devtools/devtoolsPlugin.native.js +0 -96
  71. package/dist/vendor/repack/dev-server/src/plugins/devtools/devtoolsPlugin.native.js.map +0 -6
  72. package/dist/vendor/repack/dev-server/src/plugins/devtools/index.js +0 -29
  73. package/dist/vendor/repack/dev-server/src/plugins/devtools/index.js.map +0 -6
  74. package/dist/vendor/repack/dev-server/src/plugins/devtools/index.native.js +0 -30
  75. package/dist/vendor/repack/dev-server/src/plugins/devtools/index.native.js.map +0 -6
  76. package/dist/vendor/repack/dev-server/src/plugins/favicon/faviconPlugin.js +0 -36
  77. package/dist/vendor/repack/dev-server/src/plugins/favicon/faviconPlugin.js.map +0 -6
  78. package/dist/vendor/repack/dev-server/src/plugins/favicon/faviconPlugin.native.js +0 -37
  79. package/dist/vendor/repack/dev-server/src/plugins/favicon/faviconPlugin.native.js.map +0 -6
  80. package/dist/vendor/repack/dev-server/src/plugins/favicon/index.js +0 -29
  81. package/dist/vendor/repack/dev-server/src/plugins/favicon/index.js.map +0 -6
  82. package/dist/vendor/repack/dev-server/src/plugins/favicon/index.native.js +0 -30
  83. package/dist/vendor/repack/dev-server/src/plugins/favicon/index.native.js.map +0 -6
  84. package/dist/vendor/repack/dev-server/src/plugins/multipart/index.js +0 -33
  85. package/dist/vendor/repack/dev-server/src/plugins/multipart/index.js.map +0 -6
  86. package/dist/vendor/repack/dev-server/src/plugins/multipart/index.native.js +0 -34
  87. package/dist/vendor/repack/dev-server/src/plugins/multipart/index.native.js.map +0 -6
  88. package/dist/vendor/repack/dev-server/src/plugins/multipart/multipartPlugin.js +0 -61
  89. package/dist/vendor/repack/dev-server/src/plugins/multipart/multipartPlugin.js.map +0 -6
  90. package/dist/vendor/repack/dev-server/src/plugins/multipart/multipartPlugin.native.js +0 -62
  91. package/dist/vendor/repack/dev-server/src/plugins/multipart/multipartPlugin.native.js.map +0 -6
  92. package/dist/vendor/repack/dev-server/src/plugins/multipart/types.js +0 -14
  93. package/dist/vendor/repack/dev-server/src/plugins/multipart/types.js.map +0 -6
  94. package/dist/vendor/repack/dev-server/src/plugins/multipart/types.native.js +0 -15
  95. package/dist/vendor/repack/dev-server/src/plugins/multipart/types.native.js.map +0 -6
  96. package/dist/vendor/repack/dev-server/src/plugins/symbolicate/Symbolicator.js +0 -185
  97. package/dist/vendor/repack/dev-server/src/plugins/symbolicate/Symbolicator.js.map +0 -6
  98. package/dist/vendor/repack/dev-server/src/plugins/symbolicate/Symbolicator.native.js +0 -186
  99. package/dist/vendor/repack/dev-server/src/plugins/symbolicate/Symbolicator.native.js.map +0 -6
  100. package/dist/vendor/repack/dev-server/src/plugins/symbolicate/index.js +0 -35
  101. package/dist/vendor/repack/dev-server/src/plugins/symbolicate/index.js.map +0 -6
  102. package/dist/vendor/repack/dev-server/src/plugins/symbolicate/index.native.js +0 -36
  103. package/dist/vendor/repack/dev-server/src/plugins/symbolicate/index.native.js.map +0 -6
  104. package/dist/vendor/repack/dev-server/src/plugins/symbolicate/sybmolicatePlugin.js +0 -55
  105. package/dist/vendor/repack/dev-server/src/plugins/symbolicate/sybmolicatePlugin.js.map +0 -6
  106. package/dist/vendor/repack/dev-server/src/plugins/symbolicate/sybmolicatePlugin.native.js +0 -56
  107. package/dist/vendor/repack/dev-server/src/plugins/symbolicate/sybmolicatePlugin.native.js.map +0 -6
  108. package/dist/vendor/repack/dev-server/src/plugins/symbolicate/types.js +0 -14
  109. package/dist/vendor/repack/dev-server/src/plugins/symbolicate/types.js.map +0 -6
  110. package/dist/vendor/repack/dev-server/src/plugins/symbolicate/types.native.js +0 -15
  111. package/dist/vendor/repack/dev-server/src/plugins/symbolicate/types.native.js.map +0 -6
  112. package/dist/vendor/repack/dev-server/src/plugins/wss/WebSocketRouter.js +0 -65
  113. package/dist/vendor/repack/dev-server/src/plugins/wss/WebSocketRouter.js.map +0 -6
  114. package/dist/vendor/repack/dev-server/src/plugins/wss/WebSocketRouter.native.js +0 -66
  115. package/dist/vendor/repack/dev-server/src/plugins/wss/WebSocketRouter.native.js.map +0 -6
  116. package/dist/vendor/repack/dev-server/src/plugins/wss/WebSocketServer.js +0 -54
  117. package/dist/vendor/repack/dev-server/src/plugins/wss/WebSocketServer.js.map +0 -6
  118. package/dist/vendor/repack/dev-server/src/plugins/wss/WebSocketServer.native.js +0 -50
  119. package/dist/vendor/repack/dev-server/src/plugins/wss/WebSocketServer.native.js.map +0 -6
  120. package/dist/vendor/repack/dev-server/src/plugins/wss/index.js +0 -35
  121. package/dist/vendor/repack/dev-server/src/plugins/wss/index.js.map +0 -6
  122. package/dist/vendor/repack/dev-server/src/plugins/wss/index.native.js +0 -36
  123. package/dist/vendor/repack/dev-server/src/plugins/wss/index.native.js.map +0 -6
  124. package/dist/vendor/repack/dev-server/src/plugins/wss/servers/HermesInspectorProxy.js +0 -118
  125. package/dist/vendor/repack/dev-server/src/plugins/wss/servers/HermesInspectorProxy.js.map +0 -6
  126. package/dist/vendor/repack/dev-server/src/plugins/wss/servers/HermesInspectorProxy.native.js +0 -118
  127. package/dist/vendor/repack/dev-server/src/plugins/wss/servers/HermesInspectorProxy.native.js.map +0 -6
  128. package/dist/vendor/repack/dev-server/src/plugins/wss/servers/WebSocketApiServer.js +0 -69
  129. package/dist/vendor/repack/dev-server/src/plugins/wss/servers/WebSocketApiServer.js.map +0 -6
  130. package/dist/vendor/repack/dev-server/src/plugins/wss/servers/WebSocketApiServer.native.js +0 -70
  131. package/dist/vendor/repack/dev-server/src/plugins/wss/servers/WebSocketApiServer.native.js.map +0 -6
  132. package/dist/vendor/repack/dev-server/src/plugins/wss/servers/WebSocketDebuggerServer.js +0 -110
  133. package/dist/vendor/repack/dev-server/src/plugins/wss/servers/WebSocketDebuggerServer.js.map +0 -6
  134. package/dist/vendor/repack/dev-server/src/plugins/wss/servers/WebSocketDebuggerServer.native.js +0 -103
  135. package/dist/vendor/repack/dev-server/src/plugins/wss/servers/WebSocketDebuggerServer.native.js.map +0 -6
  136. package/dist/vendor/repack/dev-server/src/plugins/wss/servers/WebSocketDevClientServer.js +0 -71
  137. package/dist/vendor/repack/dev-server/src/plugins/wss/servers/WebSocketDevClientServer.js.map +0 -6
  138. package/dist/vendor/repack/dev-server/src/plugins/wss/servers/WebSocketDevClientServer.native.js +0 -72
  139. package/dist/vendor/repack/dev-server/src/plugins/wss/servers/WebSocketDevClientServer.native.js.map +0 -6
  140. package/dist/vendor/repack/dev-server/src/plugins/wss/servers/WebSocketEventsServer.js +0 -160
  141. package/dist/vendor/repack/dev-server/src/plugins/wss/servers/WebSocketEventsServer.js.map +0 -6
  142. package/dist/vendor/repack/dev-server/src/plugins/wss/servers/WebSocketEventsServer.native.js +0 -162
  143. package/dist/vendor/repack/dev-server/src/plugins/wss/servers/WebSocketEventsServer.native.js.map +0 -6
  144. package/dist/vendor/repack/dev-server/src/plugins/wss/servers/WebSocketHMRServer.js +0 -86
  145. package/dist/vendor/repack/dev-server/src/plugins/wss/servers/WebSocketHMRServer.js.map +0 -6
  146. package/dist/vendor/repack/dev-server/src/plugins/wss/servers/WebSocketHMRServer.native.js +0 -87
  147. package/dist/vendor/repack/dev-server/src/plugins/wss/servers/WebSocketHMRServer.native.js.map +0 -6
  148. package/dist/vendor/repack/dev-server/src/plugins/wss/servers/WebSocketMessageServer.js +0 -323
  149. package/dist/vendor/repack/dev-server/src/plugins/wss/servers/WebSocketMessageServer.js.map +0 -6
  150. package/dist/vendor/repack/dev-server/src/plugins/wss/servers/WebSocketMessageServer.native.js +0 -325
  151. package/dist/vendor/repack/dev-server/src/plugins/wss/servers/WebSocketMessageServer.native.js.map +0 -6
  152. package/dist/vendor/repack/dev-server/src/plugins/wss/types.js +0 -14
  153. package/dist/vendor/repack/dev-server/src/plugins/wss/types.js.map +0 -6
  154. package/dist/vendor/repack/dev-server/src/plugins/wss/types.native.js +0 -15
  155. package/dist/vendor/repack/dev-server/src/plugins/wss/types.native.js.map +0 -6
  156. package/dist/vendor/repack/dev-server/src/plugins/wss/wssPlugin.js +0 -50
  157. package/dist/vendor/repack/dev-server/src/plugins/wss/wssPlugin.js.map +0 -6
  158. package/dist/vendor/repack/dev-server/src/plugins/wss/wssPlugin.native.js +0 -51
  159. package/dist/vendor/repack/dev-server/src/plugins/wss/wssPlugin.native.js.map +0 -6
  160. package/dist/vendor/repack/dev-server/src/types.js +0 -29
  161. package/dist/vendor/repack/dev-server/src/types.js.map +0 -6
  162. package/dist/vendor/repack/dev-server/src/types.native.js +0 -30
  163. package/dist/vendor/repack/dev-server/src/types.native.js.map +0 -6
  164. package/types/dev/clientInjectPlugin.d.ts +0 -7
  165. package/types/dev/clientInjectPlugin.d.ts.map +0 -1
  166. package/types/dev/createDevServer.d.ts +0 -31
  167. package/types/dev/createDevServer.d.ts.map +0 -1
  168. package/types/dev/types.d.ts +0 -5
  169. package/types/dev/types.d.ts.map +0 -1
  170. package/types/dev.d.ts +0 -3
  171. package/types/dev.d.ts.map +0 -1
  172. package/types/test.d.ts +0 -3
  173. package/types/test.d.ts.map +0 -1
  174. package/types/utils/constants.d.ts +0 -2
  175. package/types/utils/constants.d.ts.map +0 -1
  176. package/types/vendor/repack/dev-server/src/createServer.d.ts +0 -14
  177. package/types/vendor/repack/dev-server/src/createServer.d.ts.map +0 -1
  178. package/types/vendor/repack/dev-server/src/index.d.ts +0 -3
  179. package/types/vendor/repack/dev-server/src/index.d.ts.map +0 -1
  180. package/types/vendor/repack/dev-server/src/plugins/api/apiPlugin.d.ts +0 -7
  181. package/types/vendor/repack/dev-server/src/plugins/api/apiPlugin.d.ts.map +0 -1
  182. package/types/vendor/repack/dev-server/src/plugins/api/index.d.ts +0 -2
  183. package/types/vendor/repack/dev-server/src/plugins/api/index.d.ts.map +0 -1
  184. package/types/vendor/repack/dev-server/src/plugins/compiler/compilerPlugin.d.ts +0 -6
  185. package/types/vendor/repack/dev-server/src/plugins/compiler/compilerPlugin.d.ts.map +0 -1
  186. package/types/vendor/repack/dev-server/src/plugins/compiler/index.d.ts +0 -3
  187. package/types/vendor/repack/dev-server/src/plugins/compiler/index.d.ts.map +0 -1
  188. package/types/vendor/repack/dev-server/src/plugins/compiler/types.d.ts +0 -32
  189. package/types/vendor/repack/dev-server/src/plugins/compiler/types.d.ts.map +0 -1
  190. package/types/vendor/repack/dev-server/src/plugins/devtools/devtoolsPlugin.d.ts +0 -6
  191. package/types/vendor/repack/dev-server/src/plugins/devtools/devtoolsPlugin.d.ts.map +0 -1
  192. package/types/vendor/repack/dev-server/src/plugins/devtools/index.d.ts +0 -2
  193. package/types/vendor/repack/dev-server/src/plugins/devtools/index.d.ts.map +0 -1
  194. package/types/vendor/repack/dev-server/src/plugins/favicon/faviconPlugin.d.ts +0 -3
  195. package/types/vendor/repack/dev-server/src/plugins/favicon/faviconPlugin.d.ts.map +0 -1
  196. package/types/vendor/repack/dev-server/src/plugins/favicon/index.d.ts +0 -2
  197. package/types/vendor/repack/dev-server/src/plugins/favicon/index.d.ts.map +0 -1
  198. package/types/vendor/repack/dev-server/src/plugins/multipart/index.d.ts +0 -3
  199. package/types/vendor/repack/dev-server/src/plugins/multipart/index.d.ts.map +0 -1
  200. package/types/vendor/repack/dev-server/src/plugins/multipart/multipartPlugin.d.ts +0 -3
  201. package/types/vendor/repack/dev-server/src/plugins/multipart/multipartPlugin.d.ts.map +0 -1
  202. package/types/vendor/repack/dev-server/src/plugins/multipart/types.d.ts +0 -13
  203. package/types/vendor/repack/dev-server/src/plugins/multipart/types.d.ts.map +0 -1
  204. package/types/vendor/repack/dev-server/src/plugins/symbolicate/Symbolicator.d.ts +0 -47
  205. package/types/vendor/repack/dev-server/src/plugins/symbolicate/Symbolicator.d.ts.map +0 -1
  206. package/types/vendor/repack/dev-server/src/plugins/symbolicate/index.d.ts +0 -4
  207. package/types/vendor/repack/dev-server/src/plugins/symbolicate/index.d.ts.map +0 -1
  208. package/types/vendor/repack/dev-server/src/plugins/symbolicate/sybmolicatePlugin.d.ts +0 -6
  209. package/types/vendor/repack/dev-server/src/plugins/symbolicate/sybmolicatePlugin.d.ts.map +0 -1
  210. package/types/vendor/repack/dev-server/src/plugins/symbolicate/types.d.ts +0 -66
  211. package/types/vendor/repack/dev-server/src/plugins/symbolicate/types.d.ts.map +0 -1
  212. package/types/vendor/repack/dev-server/src/plugins/wss/WebSocketRouter.d.ts +0 -33
  213. package/types/vendor/repack/dev-server/src/plugins/wss/WebSocketRouter.d.ts.map +0 -1
  214. package/types/vendor/repack/dev-server/src/plugins/wss/WebSocketServer.d.ts +0 -38
  215. package/types/vendor/repack/dev-server/src/plugins/wss/WebSocketServer.d.ts.map +0 -1
  216. package/types/vendor/repack/dev-server/src/plugins/wss/index.d.ts +0 -4
  217. package/types/vendor/repack/dev-server/src/plugins/wss/index.d.ts.map +0 -1
  218. package/types/vendor/repack/dev-server/src/plugins/wss/servers/HermesInspectorProxy.d.ts +0 -25
  219. package/types/vendor/repack/dev-server/src/plugins/wss/servers/HermesInspectorProxy.d.ts.map +0 -1
  220. package/types/vendor/repack/dev-server/src/plugins/wss/servers/WebSocketApiServer.d.ts +0 -33
  221. package/types/vendor/repack/dev-server/src/plugins/wss/servers/WebSocketApiServer.d.ts.map +0 -1
  222. package/types/vendor/repack/dev-server/src/plugins/wss/servers/WebSocketDebuggerServer.d.ts +0 -65
  223. package/types/vendor/repack/dev-server/src/plugins/wss/servers/WebSocketDebuggerServer.d.ts.map +0 -1
  224. package/types/vendor/repack/dev-server/src/plugins/wss/servers/WebSocketDevClientServer.d.ts +0 -33
  225. package/types/vendor/repack/dev-server/src/plugins/wss/servers/WebSocketDevClientServer.d.ts.map +0 -1
  226. package/types/vendor/repack/dev-server/src/plugins/wss/servers/WebSocketEventsServer.d.ts +0 -76
  227. package/types/vendor/repack/dev-server/src/plugins/wss/servers/WebSocketEventsServer.d.ts.map +0 -1
  228. package/types/vendor/repack/dev-server/src/plugins/wss/servers/WebSocketHMRServer.d.ts +0 -39
  229. package/types/vendor/repack/dev-server/src/plugins/wss/servers/WebSocketHMRServer.d.ts.map +0 -1
  230. package/types/vendor/repack/dev-server/src/plugins/wss/servers/WebSocketMessageServer.d.ts +0 -141
  231. package/types/vendor/repack/dev-server/src/plugins/wss/servers/WebSocketMessageServer.d.ts.map +0 -1
  232. package/types/vendor/repack/dev-server/src/plugins/wss/types.d.ts +0 -17
  233. package/types/vendor/repack/dev-server/src/plugins/wss/types.d.ts.map +0 -1
  234. package/types/vendor/repack/dev-server/src/plugins/wss/wssPlugin.d.ts +0 -29
  235. package/types/vendor/repack/dev-server/src/plugins/wss/wssPlugin.d.ts.map +0 -1
  236. package/types/vendor/repack/dev-server/src/types.d.ts +0 -162
  237. package/types/vendor/repack/dev-server/src/types.d.ts.map +0 -1
@@ -1,374 +0,0 @@
1
- "use strict";
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: !0 });
10
- }, __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from == "object" || typeof from == "function")
12
- for (let key of __getOwnPropNames(from))
13
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- return to;
15
- };
16
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
17
- // If the importer is in node compatibility mode or this is not an ESM
18
- // file that has been converted to a CommonJS file using a Babel-
19
- // compatible transform (i.e. "__esModule" has not been set), then set
20
- // "default" to the CommonJS "module.exports" for node compatibility.
21
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
22
- mod
23
- )), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
24
- var dev_exports = {};
25
- __export(dev_exports, {
26
- dev: () => dev
27
- });
28
- module.exports = __toCommonJS(dev_exports);
29
- var import_promises = require("fs/promises"), import_path = require("path"), babel = __toESM(require("@babel/core")), import_vite_native_swc = __toESM(require("@tamagui/vite-native-swc")), import_vite_plugin = require("@tamagui/vite-plugin"), import_plugin_react_swc = __toESM(require("@vitejs/plugin-react-swc")), import_chalk = __toESM(require("chalk")), import_es_module_lexer = require("es-module-lexer"), import_fs_extra = require("fs-extra"), import_vite = require("vite"), import_utils = require("./utils");
30
- const dev = async (options) => {
31
- const { root } = options;
32
- process.on("uncaughtException", (err) => {
33
- console.log((err == null ? void 0 : err.message) || err);
34
- });
35
- const packageRootDir = (0, import_path.join)(__dirname, ".."), port = options.port || 8081, plugins = [
36
- (0, import_vite_plugin.tamaguiPlugin)({
37
- ...options.tamaguiOptions
38
- })
39
- ];
40
- if (process.env.IS_TAMAGUI_DEV) {
41
- const inspect = require("vite-plugin-inspect");
42
- plugins.push(inspect());
43
- }
44
- const hmrListeners = [], hotUpdatedCJSFiles = /* @__PURE__ */ new Map();
45
- let serverConfig = {
46
- root,
47
- mode: "development",
48
- clearScreen: !1,
49
- resolve: {
50
- alias: {
51
- "react-native": "react-native-web"
52
- }
53
- },
54
- plugins: [
55
- ...plugins,
56
- (0, import_plugin_react_swc.default)(),
57
- {
58
- name: "tamagui-client-transform",
59
- async handleHotUpdate({ read, modules, file }) {
60
- var _a, _b;
61
- try {
62
- if (!file.includes("/src/"))
63
- return;
64
- const [module2] = modules;
65
- if (!module2)
66
- return;
67
- const id = (module2 == null ? void 0 : module2.url) || file.replace(root, ""), code = await read();
68
- if (code.startsWith("'use strict';") || !code)
69
- return;
70
- let source = code;
71
- source = ((_a = await (0, import_vite_native_swc.transformForBuild)(id, source)) == null ? void 0 : _a.code) || "";
72
- const importsMap = {}, [imports] = (0, import_es_module_lexer.parse)(source);
73
- let accumulatedSliceOffset = 0;
74
- for (const specifier of imports) {
75
- const { n: importName, s: start } = specifier;
76
- if (importName) {
77
- const id2 = await (0, import_vite_plugin.getVitePath)(file, importName);
78
- if (!id2) {
79
- console.warn("???");
80
- continue;
81
- }
82
- importsMap[id2] = id2.replace(/^(\.\.\/)+/, "");
83
- const len = importName.length, extraLen = id2.length - len;
84
- source = source.slice(0, start + accumulatedSliceOffset) + id2 + source.slice(start + accumulatedSliceOffset + len), accumulatedSliceOffset += extraLen;
85
- }
86
- }
87
- if (source = ((_b = await (0, import_vite_native_swc.swcTransform)(id, source, {
88
- mode: "serve-cjs"
89
- })) == null ? void 0 : _b.code) || "", !source)
90
- throw "\u274C no source";
91
- const hotUpdateSource = `exports = ((exports) => {
92
- const require = createRequire(${JSON.stringify(importsMap, null, 2)})
93
- ${source.replace("import.meta.hot.accept(() => {})", "").replaceAll(
94
- /import.meta.glob\(.*\)/gi,
95
- "globalThis['__importMetaGlobbed'] || {}"
96
- )};
97
- return exports })({})`;
98
- hotUpdatedCJSFiles.set(id, hotUpdateSource);
99
- } catch (err) {
100
- console.log("Error processing hmr update:", err);
101
- }
102
- }
103
- }
104
- ],
105
- server: {
106
- cors: !0,
107
- port: options.port,
108
- host: options.host || "127.0.0.1"
109
- }
110
- };
111
- const resolvedConfig = await (0, import_vite.resolveConfig)(serverConfig, "serve"), viteRNClientPlugin = clientInjectionsPlugin(resolvedConfig);
112
- serverConfig = {
113
- ...serverConfig,
114
- plugins: [...serverConfig.plugins]
115
- };
116
- const server = await (0, import_vite.createServer)(serverConfig);
117
- server.watcher.addListener("change", async (path) => {
118
- const id = path.replace(process.cwd(), "");
119
- if (!(!id.endsWith("tsx") && !id.endsWith("jsx")))
120
- try {
121
- server.transformRequest(id);
122
- } catch (err) {
123
- console.log("err", err);
124
- }
125
- }), await server.listen();
126
- let isBuilding = null;
127
- const dispose = await createDevServer(options, {
128
- hotUpdatedCJSFiles,
129
- listenForHMR(cb) {
130
- hmrListeners.push(cb);
131
- },
132
- getIndexBundle: getBundleCode,
133
- indexJson: getIndexJsonReponse({ port, root })
134
- });
135
- console.log("Listening on:", import_chalk.default.green(`http://localhost:${port}`)), server.printUrls(), (0, import_utils.registerDispose)(() => {
136
- dispose(), server.close();
137
- }), await new Promise((res) => {
138
- var _a;
139
- return (_a = server.httpServer) == null ? void 0 : _a.on("close", res);
140
- });
141
- async function getBundleCode() {
142
- const tmpBundle = (0, import_path.join)(process.cwd(), "bundle.tmp.js");
143
- if (await (0, import_fs_extra.pathExists)(tmpBundle))
144
- return console.log(
145
- "\u26A0\uFE0F\u26A0\uFE0F\u26A0\uFE0F\u26A0\uFE0F\u26A0\uFE0F\u26A0\uFE0F\u26A0\uFE0F\u26A0\uFE0F\u26A0\uFE0F\u26A0\uFE0F\u26A0\uFE0F\u26A0\uFE0F returning temp bundle \u26A0\uFE0F\u26A0\uFE0F\u26A0\uFE0F\u26A0\uFE0F\u26A0\uFE0F\u26A0\uFE0F\u26A0\uFE0F\u26A0\uFE0F\u26A0\uFE0F\u26A0\uFE0F",
146
- tmpBundle
147
- ), await (0, import_promises.readFile)(tmpBundle, "utf-8");
148
- if (isBuilding)
149
- return await isBuilding;
150
- let done;
151
- isBuilding = new Promise((res) => {
152
- done = res;
153
- });
154
- const jsxRuntime = {
155
- alias: "virtual:react-jsx",
156
- contents: await (0, import_promises.readFile)(
157
- require.resolve("@tamagui/react-native-prebuilt/jsx-runtime"),
158
- "utf-8"
159
- )
160
- }, virtualModules = {
161
- "react-native": {
162
- alias: "virtual:react-native",
163
- contents: await (0, import_promises.readFile)(
164
- require.resolve("@tamagui/react-native-prebuilt"),
165
- "utf-8"
166
- )
167
- },
168
- react: {
169
- alias: "virtual:react",
170
- contents: await (0, import_promises.readFile)(
171
- require.resolve("@tamagui/react-native-prebuilt/react"),
172
- "utf-8"
173
- )
174
- },
175
- "react/jsx-runtime": jsxRuntime,
176
- "react/jsx-dev-runtime": jsxRuntime
177
- }, swapRnPlugin = {
178
- name: "swap-react-native",
179
- enforce: "pre",
180
- resolveId(id) {
181
- if (id.startsWith("react-native/Libraries"))
182
- return `virtual:rn-internals:${id}`;
183
- for (const targetId in virtualModules)
184
- if (id === targetId || id.includes(`node_modules/${targetId}/`))
185
- return virtualModules[targetId].alias;
186
- },
187
- load(id) {
188
- if (id.startsWith("virtual:rn-internals"))
189
- return `const val = __cachedModules["${id.replace("virtual:rn-internals:", "")}"]
190
- export const PressabilityDebugView = val.PressabilityDebugView
191
- export default val ? val.default || val : val`;
192
- for (const targetId in virtualModules) {
193
- const info = virtualModules[targetId];
194
- if (id === info.alias)
195
- return info.contents;
196
- }
197
- }
198
- };
199
- async function babelReanimated(input, filename) {
200
- return await new Promise((res, rej) => {
201
- babel.transform(
202
- input,
203
- {
204
- plugins: ["react-native-reanimated/plugin"],
205
- filename
206
- },
207
- (err, result) => {
208
- (!result || err) && rej(err || "no res"), res(result.code);
209
- }
210
- );
211
- });
212
- }
213
- const buildConfig = {
214
- plugins: [
215
- swapRnPlugin,
216
- (0, import_vite_plugin.tamaguiPlugin)({
217
- disableWatchTamaguiConfig: !0,
218
- ...options.tamaguiOptions,
219
- platform: "native"
220
- }),
221
- // needs to run before resolve... smh
222
- // {
223
- // name: `react-native-screens`,
224
- // enforce: 'pre',
225
- // async transform(code, id) {
226
- // if (id.includes('react-native-screens') && id.endsWith('.index.native.js')) {
227
- // const cjsExport = /exports\.([a-z0-9]+) = (.*)\n/gi
228
- // const out = code
229
- // .split('\n')
230
- // .map((line) => {
231
- // const matched = line.match(cjsExport)
232
- // if (!matched) return line
233
- // return line.replace(
234
- // cjsExport,
235
- // `
236
- // $1 = $2
237
- // export { $1 }
238
- // `
239
- // )
240
- // })
241
- // .join('\n')
242
- // console.log('now', out)
243
- // return out
244
- // }
245
- // },
246
- // },
247
- {
248
- name: "reanimated",
249
- async transform(code, id) {
250
- if (code.includes("worklet"))
251
- return await babelReanimated(code, id);
252
- }
253
- },
254
- viteRNClientPlugin,
255
- (0, import_vite_plugin.nativePlugin)({
256
- port,
257
- mode: "build"
258
- }),
259
- (0, import_vite_native_swc.default)({
260
- tsDecorators: !0,
261
- mode: "build"
262
- })
263
- ],
264
- appType: "custom",
265
- root,
266
- clearScreen: !1,
267
- build: {
268
- ssr: !1,
269
- minify: !1,
270
- commonjsOptions: {
271
- transformMixedEsModules: !0
272
- },
273
- rollupOptions: {
274
- treeshake: !1,
275
- preserveEntrySignatures: "strict",
276
- output: {
277
- preserveModules: !0,
278
- format: "cjs"
279
- }
280
- }
281
- },
282
- mode: "development",
283
- define: {
284
- "process.env.NODE_ENV": '"development"'
285
- }
286
- }, resolvedConfig2 = await (0, import_vite.resolveConfig)(buildConfig, "build"), buildOutput = await (0, import_vite.build)(buildConfig);
287
- if (!("output" in buildOutput))
288
- throw "\u274C";
289
- let appCode = buildOutput.output.sort((a, b) => a.isEntry ? 1 : -1).map((module2) => {
290
- if (module2.type == "chunk") {
291
- const importsMap = {};
292
- for (const imp of module2.imports) {
293
- const relativePath = (0, import_path.relative)((0, import_path.dirname)(module2.fileName), imp);
294
- importsMap[relativePath[0] === "." ? relativePath : "./" + relativePath] = imp;
295
- }
296
- return `
297
- ___modules___["${module2.fileName}"] = ((exports, module) => {
298
- const require = createRequire(${JSON.stringify(importsMap, null, 2)})
299
-
300
- ${module2.code}
301
- })
302
-
303
- ${module2.isEntry ? `
304
- // run entry
305
- const __require = createRequire({})
306
- __require("react-native")
307
- __require("${module2.fileName}")
308
- ` : ""}
309
- `;
310
- }
311
- }).join(`
312
- `);
313
- if (!appCode)
314
- throw "\u274C";
315
- appCode = appCode.replaceAll("undefined.accept(() => {})", "").replaceAll("undefined.accept(function() {});", "");
316
- const templateFile = (0, import_path.join)(packageRootDir, "react-native-template.js"), out = await (0, import_promises.readFile)(templateFile, "utf-8") + appCode;
317
- return (0, import_promises.writeFile)((0, import_path.join)(process.cwd(), ".tamagui", "bundle.js"), out, "utf-8"), done(out), isBuilding = null, out;
318
- }
319
- };
320
- function getIndexJsonReponse({ port, root }) {
321
- return {
322
- name: "myapp",
323
- slug: "myapp",
324
- scheme: "myapp",
325
- version: "1.0.0",
326
- jsEngine: "jsc",
327
- orientation: "portrait",
328
- icon: "./assets/icon.png",
329
- userInterfaceStyle: "light",
330
- splash: {
331
- image: "./assets/splash.png",
332
- resizeMode: "contain",
333
- backgroundColor: "#ffffff",
334
- imageUrl: "http://127.0.0.1:8081/assets/./assets/splash.png"
335
- },
336
- updates: { fallbackToCacheTimeout: 0 },
337
- assetBundlePatterns: ["**/*"],
338
- ios: { supportsTablet: !0, bundleIdentifier: "com.natew.myapp" },
339
- android: {
340
- package: "com.tamagui.myapp",
341
- adaptiveIcon: {
342
- foregroundImage: "./assets/adaptive-icon.png",
343
- backgroundColor: "#FFFFFF",
344
- foregroundImageUrl: "http://127.0.0.1:8081/assets/./assets/adaptive-icon.png"
345
- }
346
- },
347
- web: { favicon: "./assets/favicon.png" },
348
- extra: { eas: { projectId: "061b4470-78c7-4d6a-b850-8167fb0a3434" } },
349
- _internal: {
350
- isDebug: !1,
351
- projectRoot: root,
352
- dynamicConfigPath: null,
353
- staticConfigPath: (0, import_path.join)(root, "app.json"),
354
- packageJsonPath: (0, import_path.join)(root, "package.json")
355
- },
356
- sdkVersion: "47.0.0",
357
- platforms: ["ios", "android", "web"],
358
- iconUrl: `http://127.0.0.1:${port}/assets/./assets/icon.png`,
359
- debuggerHost: `127.0.0.1:${port}`,
360
- logUrl: `http://127.0.0.1:${port}/logs`,
361
- developer: { tool: "expo-cli", projectRoot: root },
362
- packagerOpts: { dev: !0 },
363
- mainModuleName: "index",
364
- __flipperHack: "React Native packager is running",
365
- hostUri: `127.0.0.1:${port}`,
366
- bundleUrl: `http://127.0.0.1:${port}/index.bundle?platform=ios&dev=true&hot=false&lazy=true`,
367
- id: "@anonymous/myapp-473c4543-3c36-4786-9db1-c66a62ac9b78"
368
- };
369
- }
370
- // Annotate the CommonJS export names for ESM import in node:
371
- 0 && (module.exports = {
372
- dev
373
- });
374
- //# sourceMappingURL=dev.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../src/dev.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAAoC,wBACpC,cAAwC,iBAExC,QAAuB,iCAEvB,yBAGO,8CACP,qBAAyD,iCACzD,0BAAkB,8CAClB,eAAkB,2BAClB,yBAAsB,4BACtB,kBAA2B,qBAC3B,cAAiE,iBAEjE,eAAgC;AAEzB,MAAM,MAAM,OAAO,YAAgC;AACxD,QAAM,EAAE,KAAK,IAAI;AAEjB,UAAQ,GAAG,qBAAqB,CAAC,QAAQ;AAEvC,YAAQ,KAAI,2BAAK,YAAW,GAAG;AAAA,EACjC,CAAC;AAED,QAAM,qBAAiB,kBAAK,WAAW,IAAI,GAGrC,OAAO,QAAQ,QAAQ,MAMvB,UAAU;AAAA,QAJU,kCAAc;AAAA,MACtC,GAAG,QAAQ;AAAA,IACb,CAAC;AAAA,EAKD;AAEA,MAAI,QAAQ,IAAI,gBAAgB;AAC9B,UAAM,UAAU,QAAQ,qBAAqB;AAE7C,YAAQ,KAAK,QAAQ,CAAC;AAAA,EACxB;AAEA,QAAM,eAA8B,CAAC,GAC/B,qBAAqB,oBAAI,IAAoB;AAEnD,MAAI,eAAe;AAAA,IACjB;AAAA,IACA,MAAM;AAAA,IACN,aAAa;AAAA,IAEb,SAAS;AAAA,MACP,OAAO;AAAA,QACL,gBAAgB;AAAA,MAClB;AAAA,IACF;AAAA,IAEA,SAAS;AAAA,MACP,GAAG;AAAA,UAEH,wBAAAA,SAAM;AAAA,M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1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: !0 });
9
- }, __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from == "object" || typeof from == "function")
11
- for (let key of __getOwnPropNames(from))
12
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
- return to;
14
- };
15
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
16
- // If the importer is in node compatibility mode or this is not an ESM
17
- // file that has been converted to a CommonJS file using a Babel-
18
- // compatible transform (i.e. "__esModule" has not been set), then set
19
- // "default" to the CommonJS "module.exports" for node compatibility.
20
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
21
- mod
22
- )), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
23
- var test_exports = {};
24
- __export(test_exports, {
25
- test: () => test
26
- });
27
- module.exports = __toCommonJS(test_exports);
28
- const test = async (options) => {
29
- const { dev } = await import("./dev.js");
30
- dev(options), console.log("run tests");
31
- };
32
- // Annotate the CommonJS export names for ESM import in node:
33
- 0 && (module.exports = {
34
- test
35
- });
36
- //# sourceMappingURL=test.js.map
package/dist/test.js.map DELETED
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../src/test.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGO,MAAM,OAAO,OAAO,YAAgC;AACzD,QAAM,EAAE,IAAI,IAAI,MAAM,OAAO,UAAU;AAIvC,EAAK,IAAI,OAAO,GAEhB,QAAQ,IAAI,WAAW;AACzB;",
5
- "names": []
6
- }
@@ -1,37 +0,0 @@
1
- "use strict";
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: !0 });
10
- }, __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from == "object" || typeof from == "function")
12
- for (let key of __getOwnPropNames(from))
13
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- return to;
15
- };
16
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
17
- // If the importer is in node compatibility mode or this is not an ESM
18
- // file that has been converted to a CommonJS file using a Babel-
19
- // compatible transform (i.e. "__esModule" has not been set), then set
20
- // "default" to the CommonJS "module.exports" for node compatibility.
21
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
22
- mod
23
- )), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
24
- var test_exports = {};
25
- __export(test_exports, {
26
- test: () => test
27
- });
28
- module.exports = __toCommonJS(test_exports);
29
- const test = async (options) => {
30
- const { dev } = await import("./dev.js");
31
- dev(options), console.log("run tests");
32
- };
33
- // Annotate the CommonJS export names for ESM import in node:
34
- 0 && (module.exports = {
35
- test
36
- });
37
- //# sourceMappingURL=test.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../src/test.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGO,MAAM,OAAO,OAAO,YAAgC;AACzD,QAAM,EAAE,IAAI,IAAI,MAAM,OAAO,UAAU;AAIvC,EAAK,IAAI,OAAO,GAEhB,QAAQ,IAAI,WAAW;AACzB;",
5
- "names": []
6
- }
@@ -1,25 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: !0 });
8
- }, __copyProps = (to, from, except, desc) => {
9
- if (from && typeof from == "object" || typeof from == "function")
10
- for (let key of __getOwnPropNames(from))
11
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
12
- return to;
13
- };
14
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
15
- var constants_exports = {};
16
- __export(constants_exports, {
17
- DEFAULT_PORT: () => DEFAULT_PORT
18
- });
19
- module.exports = __toCommonJS(constants_exports);
20
- const DEFAULT_PORT = 8081;
21
- // Annotate the CommonJS export names for ESM import in node:
22
- 0 && (module.exports = {
23
- DEFAULT_PORT
24
- });
25
- //# sourceMappingURL=constants.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/utils/constants.ts"],
4
- "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,eAAe;",
5
- "names": []
6
- }
@@ -1,26 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: !0 });
9
- }, __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from == "object" || typeof from == "function")
11
- for (let key of __getOwnPropNames(from))
12
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
- return to;
14
- };
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
- var constants_exports = {};
17
- __export(constants_exports, {
18
- DEFAULT_PORT: () => DEFAULT_PORT
19
- });
20
- module.exports = __toCommonJS(constants_exports);
21
- const DEFAULT_PORT = 8081;
22
- // Annotate the CommonJS export names for ESM import in node:
23
- 0 && (module.exports = {
24
- DEFAULT_PORT
25
- });
26
- //# sourceMappingURL=constants.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/utils/constants.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,eAAe;",
5
- "names": []
6
- }
@@ -1,23 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: !0 });
8
- }, __copyProps = (to, from, except, desc) => {
9
- if (from && typeof from == "object" || typeof from == "function")
10
- for (let key of __getOwnPropNames(from))
11
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
12
- return to;
13
- };
14
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
15
- var debugger_app_exports = {};
16
- __export(debugger_app_exports, {
17
- default: () => debugger_app_default
18
- });
19
- module.exports = __toCommonJS(debugger_app_exports);
20
- var import_url = require("url");
21
- const import_meta = {};
22
- var debugger_app_default = (0, import_url.fileURLToPath)(new import_url.URL("./dist", import_meta.url));
23
- //# sourceMappingURL=index.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/vendor/debugger-app/index.js"],
4
- "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAAmC;AAAnC;AAEA,IAAO,2BAAQ,0BAAc,IAAI,eAAI,UAAU,YAAY,GAAG,CAAC;",
5
- "names": []
6
- }
@@ -1,24 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: !0 });
9
- }, __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from == "object" || typeof from == "function")
11
- for (let key of __getOwnPropNames(from))
12
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
- return to;
14
- };
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
- var debugger_app_exports = {};
17
- __export(debugger_app_exports, {
18
- default: () => debugger_app_default
19
- });
20
- module.exports = __toCommonJS(debugger_app_exports);
21
- var import_url = require("url");
22
- const import_meta = {};
23
- var debugger_app_default = (0, import_url.fileURLToPath)(new import_url.URL("./dist", import_meta.url));
24
- //# sourceMappingURL=index.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/vendor/debugger-app/index.js"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAAmC;AAAnC;AAEA,IAAO,2BAAQ,0BAAc,IAAI,eAAI,UAAU,YAAY,GAAG,CAAC;",
5
- "names": []
6
- }
@@ -1,47 +0,0 @@
1
- onmessage = function() {
2
- var visibilityState, showVisibilityWarning = function() {
3
- var hasWarned = !1;
4
- return function() {
5
- hasWarned || console.warn.toString().includes("[native code]") || (hasWarned = !0, console.warn(
6
- "Remote debugger is in a background tab which may cause apps to perform slowly. Fix this by foregrounding the tab (or opening it in a separate window)."
7
- ));
8
- };
9
- }(), messageHandlers = {
10
- executeApplicationScript: function(message, sendReply) {
11
- for (var key in message.inject)
12
- self[key] = JSON.parse(message.inject[key]);
13
- var error;
14
- try {
15
- importScripts(message.url);
16
- } catch (err) {
17
- error = err.message;
18
- }
19
- sendReply(null, error);
20
- },
21
- setDebuggerVisibility: function(message) {
22
- visibilityState = message.visibilityState;
23
- }
24
- };
25
- return function(message) {
26
- visibilityState === "hidden" && showVisibilityWarning();
27
- var object = message.data, sendReply = function(result, error2) {
28
- postMessage({ replyID: object.id, result, error: error2 });
29
- }, handler = messageHandlers[object.method];
30
- if (handler)
31
- handler(object, sendReply);
32
- else {
33
- var returnValue = [[], [], [], 0], error;
34
- try {
35
- typeof __fbBatchedBridge == "object" ? returnValue = __fbBatchedBridge[object.method].apply(
36
- null,
37
- object.arguments
38
- ) : error = "Failed to call function, __fbBatchedBridge is undefined";
39
- } catch (err) {
40
- error = err.message;
41
- } finally {
42
- sendReply(JSON.stringify(returnValue), error);
43
- }
44
- }
45
- };
46
- }();
47
- //# sourceMappingURL=debuggerWorker.js.map